express-sweet 1.0.25 → 1.0.27

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.md CHANGED
@@ -1,6 +1,29 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [1.0.27] - 2023/6/12
5
+ ### Changed
6
+ - Request object has been added to the arguments of the beforeRender function in the view configuration (config/view.js).
7
+ express-sweet v1.0.27 or later (current):
8
+ ```js
9
+ beforeRender: (req, res) => {}
10
+ ```
11
+
12
+ express-sweet v1.0.26 or earlier:
13
+ ```js
14
+ beforeRender: res => {}
15
+ ```
16
+
17
+ ## [1.0.26] - 2023/6/11
18
+ ### Changed
19
+ - Update Sequelize from v5 to v6.
20
+ - Changed the framework debug log to output only when the environment variable EXPRESS_DEBUG is defined.
21
+ .env:
22
+ ```
23
+ EXPRESS_DEBUG=true
24
+ ```
25
+ - A demo application was added [here](./demo).
26
+
4
27
  ## [1.0.25] - 2022/11/24
5
28
  ### Added
6
29
  - Added format_bytes view helper to convert bytes to appropriate units.
@@ -420,4 +443,6 @@ All notable changes to this project will be documented in this file.
420
443
  [1.0.22]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.21...v1.0.22
421
444
  [1.0.23]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.22...v1.0.23
422
445
  [1.0.24]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.23...v1.0.24
423
- [1.0.25]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.24...v1.0.25
446
+ [1.0.25]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.24...v1.0.25
447
+ [1.0.26]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.25...v1.0.26
448
+ [1.0.27]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.26...v1.0.27
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![Express Sweet Logo](hero.svg)](https://takuya-motoshima.github.io/express-sweet/#install)
2
2
 
3
- Extend Express functionality with Express Sweet and start developing fast, minimal web applications.
3
+ Express framework extension.
4
4
 
5
5
  ## Documentation
6
6
  * [Express Sweet Documentation](https://takuya-motoshima.github.io/express-sweet/)