Releases: merkle-open/generator-nitro
9.4.0
9.3.0
9.2.0
Feature:
- webpack production build now uses current cssnano for optimization (configurable in the new 'cssnano.config.js') 9f9a1ea
Maintanance:
- update dependencies and default node version
- documentation updates
... and some other fixes and improvements: 9.1.0...9.2.0
9.1.0
Feature:
- Requests are handled by express also for POST requests (so far only GET) 3f5b2d3
- Update husky to v9 66c7bd6 (see update notice)
Maintanance:
- update dependencies and default node version
- documentation updates
... and some other fixes and improvements: 9.0.0...9.1.0
Update from v9.0:
- Due to the husky update the first two lines in your commit hooks should be removed
Remove these two lines in all your commit hooks:
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
- Due to a stylelint update the temporary rule removals in stylelint.config.js can now be removed
You can safely remove these lines in stylelint.config.js:
// remove deprecated checks - handled by prettier
lintConfig.rules['at-rule-name-case'] = null;
lintConfig.rules['color-hex-case'] = null;
lintConfig.rules['declaration-block-semicolon-newline-after'] = null;
lintConfig.rules['declaration-block-trailing-semicolon'] = null;
lintConfig.rules['declaration-colon-space-after'] = null;
lintConfig.rules['max-empty-lines'] = null;
lintConfig.rules['media-feature-name-case'] = null;
lintConfig.rules['no-missing-end-of-source-newline'] = null;
lintConfig.rules['number-leading-zero'] = null;
lintConfig.rules['property-case'] = null;
lintConfig.rules['selector-list-comma-newline-after'] = null;
lintConfig.rules['selector-pseudo-class-case'] = null;
lintConfig.rules['selector-pseudo-element-case'] = null;
lintConfig.rules['string-quotes'] = null;
lintConfig.rules['unit-case'] = null;
lintConfig.rules['indentation'] = null;
- if you use visual tests, you probably need to update the visual references due to different typo rendering with the new backstopjs version
- and as always, lint & prettify
Release 9
BREAKING
- drop node 16 support ef83d35
Project
- use node 20 as default ef83d35
- (refactor) viewData are now loaded before the routes 159ee1c (potentially breaking if you use some viewData and routes)
If this does not work in your project, this can be undone in the configuration ( setserver.loadViewDataBeforeRoutes
tofalse
- as usual, the information can be found in the readme)
... and some other fixes and improvements: 8.1.0...9.0.0
Update from v8
Node 16 should not be used anymore ;-)
If you are using the themes feature, you will get a new 'viewData/_themes.js' file and an updated 'routes/_themes.js' file, because we spit up the themes functionality into separate viewData and route files. If you didn't customize the '_themes.js' file before, you can simply take over the new ones.
8.1.0
Release 8
BREAKING
- remove node 14 support 25e0dff
Project
- update eslint to v8 1be69a3 (potentially src file changes are necessary)
- remove deprecated tota11y helper 305084c
- remove experimatal docker run mode c3aece8
... and some other fixes and improvements: 7.5.0...8.0.0
Update from v7
Node 14 should not be used anymore ;-)
You may savely remove docker run mode related files:
- .dockerignoere
- Dockerfile
- docker-compose.yml
- docker-compose-dev.yml
- project/docs/nitro-docker.md
... and docker related npm scripts in package.json (section \n# DOCKER -------
)
After installing the new dependencies, it is advisable to run the prettier script and to lint your project.
7.5.0
Feature:
- (project): update typescript to v5 5cb5bbd
- (project): use prettier for scss and update stylelint to v15 95894f3
- (project): use playwright ui-mode for test generation c0b6dd7
Maintanance:
- update dependencies and default node version
- documentation updates
... and some other fixes and improvements: 7.4.0...7.5.0
Update info:
- Using Typescript 5 might require small changes to the code.
- Using stylelint 15 will require changes to the code. A run of
stylelint src/**/*.*ss --fix
may fix some things automatically.
After the update it makes sense to run prettier once: npm run prettier
7.4.0
Feature:
- add playwright configuration as an alternative e2e testing library #207
Fix:
- (project): remove outdated live linting option for eslint & stylelint #208
- (project): gitignore .gitkeep improvement 80b3f9
Maintanance:
- update dependencies
- documentation updates
... and some other fixes and improvements: 7.3.0...7.4.0