For more general information, view the readme.
Releases are added to the github release page.
- Add support for Django 5.1
Support webpack_asset
template tag to render transformed assets URL: {% webpack_asset 'path/to/original/file' %} == "/static/assets/resource-3c9e4020d3e3c7a09c68.txt"
Added skip_common_chunks
option to the get_files()
template tag.
- Fix support for
publicPath: auto
in Webpack config, check updated examples at https://github.com/django-webpack/django-webpack-loader/tree/master/examples - Add support for Python 3.12
- Add support for Django 5.0
- Add support for Django 4.2
- Update examples to use
webpack-bundle-tracker@2.0.0
API and keep version parity with it - Update Django to 3.2.19
- Add mocked
get_assets
method toFakeWebpackLoader
for usage in tests
- Add a
FakeWebpackLoader
for running tests
- Add compatibility for Django 4.1 and Python 3.10
- Bump django to 3.2.15
- Add a setting to configure skip common chunks behaviour globally
- Bump django from 3.2.12 to 3.2.13
- Add support for Django 4.0
- Added support for Subresource Integrity
- Bump django from 3.2.7 to 3.2.12
- Fix get_files on readme
- Use r-prefixed strings in IGNORE
- Fix small typo in README.md
- Use assertNotEqual instead of assertNotEquals for Python 3.11 compatibility
- Readme revamp
- Fixes #300, failsafe request checking #301
- Bump django from 3.2.4 to 3.2.5 #299
- Add issue templates #293
- Add skip_common_chunks functionality #297
- Add option for rel="preload" in JS/CSS tags #203
- Add option for extension appending in the url files #135
- Fixes RemovedInDjango41Warning #290
- Applies IGNORE setting before checking assets #286
- Removed type from link and script tags per #152
NOTE: Skipped version 1.2.0 to match webpack-bundle-tracker
version
- Added compatibility with
webpack-bundle-tracker@1.1.0
- Removes bower references in project
- Fix jinja configuration example in README.md
- Added support for custom loader classes
- Added compatibility with
webpack-bundle-tracker@1.0.0-alpha.1
- Updated and corrected examples
- Updated Python and Django supported versions on tests
- Added support for 'Access-Control-Allow-Origin' header
- Read stats file with unicode support
- Cleaned up exceptions
- Updated and corrected docs
- Added ability to access the webpack asset path information from application
- Fixed potential crash when formatting errors
- Added django 1.11 to test suite
- Added ability to compile webpack to gzip bundles
- Added poll interval option (time to wait between polling the stats file)
- Added timeout (maximum wait-time before throwing an Exception)
- Added django 1.10 to test suite
- Added Makefile for easier development
- Added ability timeout when waiting for webpack to compile a bundle
- Added ability to add attrs to render_bundle tag
- documented webpack_static tag
- breaking 💥: new CACHE setting which when set to true makes the loader cache the contents of the stats files in memory. If set to True, server will restart every time the stats file contents change or it'll keep serving old, cached URLs. CACHE defaults to not DEBUG by default.
- Fixed Exception
- Added django 1.9 to test suite
- Fix unicode errors
- mark safe template tags
- fix webpack exceptions
- add custom exception for WebpackLoaderBadStatsError
- breaking 💥: revised django settings configuration syntax
- webpack loader can now consume the output of multiple stats files in the same project
- add
get_files
template tag
- first documented release