@plone/volto 16.4.0 → 16.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.changelog.draft CHANGED
@@ -1,28 +1,7 @@
1
- ## 16.4.0 (2022-12-12)
2
-
3
- ### Feature
4
-
5
- - Update Traefik version and make volume mount (docker-compose) read-only [#4067](https://github.com/plone/volto/issues/4067)
6
- - Allow addons to provide an `eslint.extend.js` file that customizez eslint configuration @tiberiuichim [#4072](https://github.com/plone/volto/issues/4072)
1
+ ## 16.4.1 (2022-12-13)
7
2
 
8
3
  ### Bugfix
9
4
 
10
- - Update Chinese translation @adam139 [#4009](https://github.com/plone/volto/issues/4009)
11
- - Reset value of search field after submit. [@MAX-786] [#4028](https://github.com/plone/volto/issues/4028)
12
- - Don't crash the view page when dealing with unknown blocks @tiberiuichim [#4070](https://github.com/plone/volto/issues/4070)
13
- - Bump version for plone-backend version used in Makefile @tiberiuichim [#4071](https://github.com/plone/volto/issues/4071)
14
- - Properly handle whitespace in HTML (richtext) slate-based widget @tiberiuichim [#4082](https://github.com/plone/volto/issues/4082)
15
- - Add Finnish translation (contributed by @rioksane)
16
- [erral] [#4084](https://github.com/plone/volto/issues/4084)
17
- - Fix typo in english translation and add missing french translation
18
- [mpeeters, jchandelle] [#4085](https://github.com/plone/volto/issues/4085)
19
-
20
- ### Internal
21
-
22
- - Make Volto compatible with pnpm as package manager [#4023](https://github.com/plone/volto/issues/4023)
23
-
24
- ### Documentation
25
-
26
- - Add content for user-manual of Volto, Plone 6 frontend. [@MAX-786] [#3827](https://github.com/plone/volto/issues/3827)
27
- - Remove duplicate `H1`-level page title, and inherit from Volto's `CHANGELOG.md`. @stevepiercy [#4048](https://github.com/plone/volto/issues/4048)
5
+ - For hot reloading purposes when developing code, the Volto package is no longer excluded @tiberiuichim [#4108](https://github.com/plone/volto/issues/4108)
6
+ - Remove clean-css from the CSS minimizing step, use css-minimizer-webpack-plugin one instead @sneridagh [#4115](https://github.com/plone/volto/issues/4115)
28
7
 
Binary file
package/CHANGELOG.md CHANGED
@@ -8,6 +8,14 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 16.4.1 (2022-12-13)
12
+
13
+ ### Bugfix
14
+
15
+ - For hot reloading purposes when developing code, the Volto package is no longer excluded @tiberiuichim [#4108](https://github.com/plone/volto/issues/4108)
16
+ - Remove clean-css from the CSS minimizing step, use css-minimizer-webpack-plugin one instead @sneridagh [#4115](https://github.com/plone/volto/issues/4115)
17
+
18
+
11
19
  ## 16.4.0 (2022-12-12)
12
20
 
13
21
  ### Feature
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  }
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "16.4.0",
12
+ "version": "16.4.1",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git@github.com:plone/volto.git"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plone/volto-slate",
3
- "version": "16.4.0",
3
+ "version": "16.4.1",
4
4
  "description": "Slate.js integration with Volto",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/razzle.config.js CHANGED
@@ -10,6 +10,8 @@ const RelativeResolverPlugin = require('./webpack-plugins/webpack-relative-resol
10
10
  const createAddonsLoader = require('./create-addons-loader');
11
11
  const AddonConfigurationRegistry = require('./addon-registry');
12
12
  const CircularDependencyPlugin = require('circular-dependency-plugin');
13
+ const TerserPlugin = require('terser-webpack-plugin');
14
+ const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
13
15
 
14
16
  const fileLoaderFinder = makeLoaderFinder('file-loader');
15
17
 
@@ -110,6 +112,25 @@ const defaultModify = ({
110
112
  },
111
113
  });
112
114
 
115
+ // This is needed to override Razzle use of the unmaintained CleanCSS
116
+ // which does not have support for recently CSS features (container queries).
117
+ // Using the default provided (cssnano) by css-minimizer-webpack-plugin
118
+ // should be enough see:
119
+ // (https://github.com/clean-css/clean-css/discussions/1209)
120
+ if (!dev) {
121
+ config.optimization = Object.assign({}, config.optimization, {
122
+ minimizer: [
123
+ new TerserPlugin(options.webpackOptions.terserPluginOptions),
124
+ new CssMinimizerPlugin({
125
+ sourceMap: options.razzleOptions.enableSourceMaps,
126
+ minimizerOptions: {
127
+ sourceMap: options.razzleOptions.enableSourceMaps,
128
+ },
129
+ }),
130
+ ],
131
+ });
132
+ }
133
+
113
134
  config.plugins.unshift(
114
135
  // restrict moment.js locales to en/de
115
136
  // see https://github.com/jmblog/how-to-optimize-momentjs-with-webpack for details
@@ -295,6 +316,10 @@ const defaultModify = ({
295
316
  ]
296
317
  : [];
297
318
 
319
+ if (config.devServer) {
320
+ config.devServer.watchOptions.ignored = /node_modules\/(?!@plone\/volto)/;
321
+ }
322
+
298
323
  return config;
299
324
  };
300
325
 
package/news/4051.bug DELETED
@@ -1 +0,0 @@
1
- Fix space in pseudo selector @reebalazs