Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-webpack-loader for openSUSE:Factory checked in at 2023-05-29 22:48:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-webpack-loader (Old) and /work/SRC/openSUSE:Factory/.python-django-webpack-loader.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-webpack-loader" Mon May 29 22:48:07 2023 rev:7 rq:1089584 version:2.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-webpack-loader/python-django-webpack-loader.changes 2023-02-10 14:36:18.514274836 +0100 +++ /work/SRC/openSUSE:Factory/.python-django-webpack-loader.new.1533/python-django-webpack-loader.changes 2023-05-29 22:48:21.458496426 +0200 @@ -1,0 +2,10 @@ +Mon May 29 14:13:22 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 2.0.0: + * 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 to `FakeWebpackLoader` for + usage in tests + +------------------------------------------------------------------- Old: ---- 1.8.1.tar.gz New: ---- 2.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-webpack-loader.spec ++++++ --- /var/tmp/diff_new_pack.wE4AxS/_old 2023-05-29 22:48:21.914499153 +0200 +++ /var/tmp/diff_new_pack.wE4AxS/_new 2023-05-29 22:48:21.918499178 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-django-webpack-loader -Version: 1.8.1 +Version: 2.0.0 Release: 0 Summary: Django plugin to transparently use webpack License: MIT ++++++ 1.8.1.tar.gz -> 2.0.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/CHANGELOG.md new/django-webpack-loader-2.0.0/CHANGELOG.md --- old/django-webpack-loader-1.8.1/CHANGELOG.md 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/CHANGELOG.md 2023-05-22 13:59:36.000000000 +0200 @@ -5,6 +5,11 @@ Releases are added to the [github release page](https://github.com/ezhome/django-webpack-loader/releases). +## [2.0.0] -- 2023-02-24 +- 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 to `FakeWebpackLoader` for usage in tests + ## [1.8.1] -- 2023-02-06 - Add a `FakeWebpackLoader` for running tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/README.md new/django-webpack-loader-2.0.0/README.md --- old/django-webpack-loader-1.8.1/README.md 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/README.md 2023-05-22 13:59:36.000000000 +0200 @@ -45,7 +45,7 @@ filename: "[name]-[hash].js" }, plugins: [ - new BundleTracker({filename: './webpack-stats.json'}) + new BundleTracker({path: __dirname, filename: 'webpack-stats.json'}) ], } ``` @@ -372,7 +372,7 @@ filename: "[name]-[hash].js" }, plugins: [ - new BundleTracker({ filename: './webpack-stats.json' }) + new BundleTracker({ path: __dirname, filename: 'webpack-stats.json' }) ] } ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/examples/code-splitting/webpack.config.js new/django-webpack-loader-2.0.0/examples/code-splitting/webpack.config.js --- old/django-webpack-loader-1.8.1/examples/code-splitting/webpack.config.js 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/examples/code-splitting/webpack.config.js 2023-05-22 13:59:36.000000000 +0200 @@ -15,7 +15,7 @@ }, plugins: [ - new BundleTracker({filename: './webpack-stats.json'}), + new BundleTracker({path: __dirname, filename: 'webpack-stats.json'}), ], module: { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/examples/hot-reload/webpack.config.js new/django-webpack-loader-2.0.0/examples/hot-reload/webpack.config.js --- old/django-webpack-loader-1.8.1/examples/hot-reload/webpack.config.js 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/examples/hot-reload/webpack.config.js 2023-05-22 13:59:36.000000000 +0200 @@ -14,7 +14,7 @@ }, plugins: [ - new BundleTracker({filename: './webpack-stats.json'}), + new BundleTracker({path: __dirname, filename: 'webpack-stats.json'}), new MiniCssExtractPlugin({ filename: '[name]-[hash].css', chunkFilename: '[name]-[hash].css', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/examples/simple/webpack.config.js new/django-webpack-loader-2.0.0/examples/simple/webpack.config.js --- old/django-webpack-loader-1.8.1/examples/simple/webpack.config.js 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/examples/simple/webpack.config.js 2023-05-22 13:59:36.000000000 +0200 @@ -13,7 +13,7 @@ }, plugins: [ - new BundleTracker({filename: './webpack-stats.json'}), + new BundleTracker({path: __dirname, filename: 'webpack-stats.json'}), new MiniCssExtractPlugin({ filename: '[name]-[hash].css', chunkFilename: '[name]-[hash].css', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/requirements-dev.txt new/django-webpack-loader-2.0.0/requirements-dev.txt --- old/django-webpack-loader-1.8.1/requirements-dev.txt 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/requirements-dev.txt 2023-05-22 13:59:36.000000000 +0200 @@ -1,5 +1,5 @@ twine==3.4.1 -Django==3.2.17 +Django==3.2.19 django-jinja==2.7.0 unittest2==1.1.0 wheel==0.38.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/tests/package.json new/django-webpack-loader-2.0.0/tests/package.json --- old/django-webpack-loader-1.8.1/tests/package.json 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/tests/package.json 2023-05-22 13:59:36.000000000 +0200 @@ -15,7 +15,7 @@ "react": "^16.0.0", "webpack": "^4.0.0", "compression-webpack-plugin": "^6.1.1", - "webpack-bundle-tracker": "1.8.1", + "webpack-bundle-tracker": "2.0.0", "webpack-cli": "^3.3.10", "webpack-dev-server": "^3.0.0" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/webpack_loader/__init__.py new/django-webpack-loader-2.0.0/webpack_loader/__init__.py --- old/django-webpack-loader-1.8.1/webpack_loader/__init__.py 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/webpack_loader/__init__.py 2023-05-22 13:59:36.000000000 +0200 @@ -1,5 +1,5 @@ __author__ = 'Owais Lone' -__version__ = '1.8.1' +__version__ = '2.0.0' import django diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/django-webpack-loader-1.8.1/webpack_loader/loader.py new/django-webpack-loader-2.0.0/webpack_loader/loader.py --- old/django-webpack-loader-1.8.1/webpack_loader/loader.py 2023-02-06 14:56:49.000000000 +0100 +++ new/django-webpack-loader-2.0.0/webpack_loader/loader.py 2023-05-22 13:59:36.000000000 +0200 @@ -148,6 +148,9 @@ For running tests where `render_bundle` is used but assets aren't built. """ + def get_assets(self): + return {} + def get_bundle(self, _bundle_name): return [ {