express-sweet 1.1.0 → 1.1.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.md +10 -2
- package/README.md +14 -28
- package/dist/build.common.js +1 -1
- package/dist/build.esm.js +1 -1
- package/docs/src/layout/default.hbs +2 -2
- package/docs/v1/authentication-overview.html +2 -2
- package/docs/v1/base-configuration.html +2 -2
- package/docs/v1/bounding-box-interface.html +2 -2
- package/docs/v1/changelog.html +2 -2
- package/docs/v1/database-class.html +2 -2
- package/docs/v1/environment-variable.html +2 -2
- package/docs/v1/face-details-emotions-interface.html +2 -2
- package/docs/v1/face-details-interface.html +2 -2
- package/docs/v1/face-match-interface.html +2 -2
- package/docs/v1/facial-recognition-overview.html +2 -2
- package/docs/v1/index-face-details-interface.html +2 -2
- package/docs/v1/index.html +2 -2
- package/docs/v1/install.html +2 -2
- package/docs/v1/login-procedure.html +2 -2
- package/docs/v1/logout-procedure.html +2 -2
- package/docs/v1/model-class.html +2 -2
- package/docs/v1/model-overview.html +2 -2
- package/docs/v1/rekognition-class.html +2 -2
- package/docs/v1/routing.html +2 -2
- package/docs/v1/ses-class.html +2 -2
- package/docs/v1/ses-overview.html +2 -2
- package/docs/v1/view.html +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
-
## [1.1.
|
|
4
|
+
## [1.1.1] - 2024/3/23
|
|
5
|
+
### Changed
|
|
6
|
+
- When cookie security is enabled (`config/authentication.js#cookie_secure`) and the application is running on the HTTP protocol, the following warning message is output upon user authentication.
|
|
7
|
+
```sh
|
|
8
|
+
Warning: Cookie security must be disabled for user authentication to work over the HTTP protocol (config/authentication.js#cookie_secure)
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## [1.1.0] - 2024/3/6
|
|
5
12
|
### Changed
|
|
6
13
|
- Updated Express Sweet's dependency packages.
|
|
7
14
|
- [express](https://www.npmjs.com/package/express) from v4.18.2 to v4.18.3
|
|
@@ -826,4 +833,5 @@ All notable changes to this project will be documented in this file.
|
|
|
826
833
|
[1.0.43]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.42...v1.0.43
|
|
827
834
|
[1.0.44]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.43...v1.0.44
|
|
828
835
|
[1.0.45]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.44...v1.0.45
|
|
829
|
-
[1.1.0]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.45...v1.1.0
|
|
836
|
+
[1.1.0]: https://github.com/takuya-motoshima/express-sweet/compare/v1.0.45...v1.1.0
|
|
837
|
+
[1.1.1]: https://github.com/takuya-motoshima/express-sweet/compare/v1.1.0...v1.1.1
|
package/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
This is an extension of Express.
|
|
3
3
|
|
|
4
4
|
- [Express Sweet](#express-sweet)
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
- [Documentation](#documentation)
|
|
6
|
+
- [Quick Start](#quick-start)
|
|
7
|
+
- [How to start the demo with Docker](#how-to-start-the-demo-with-docker)
|
|
8
|
+
- [Release Notes](#release-notes)
|
|
9
|
+
- [Testing](#testing)
|
|
10
|
+
- [Author](#author)
|
|
11
|
+
- [License](#license)
|
|
12
12
|
|
|
13
13
|
## Documentation
|
|
14
14
|
For Express Sweet documentation, please click [here](https://takuya-motoshima.github.io/express-sweet/v1/).
|
|
@@ -22,7 +22,13 @@ See [here](demo/README.md).
|
|
|
22
22
|
## Release Notes
|
|
23
23
|
All changes can be found [here](CHANGELOG.md).
|
|
24
24
|
|
|
25
|
-
- ### [1.1.
|
|
25
|
+
- ### [1.1.1] - 2024/3/23
|
|
26
|
+
#### Changed
|
|
27
|
+
- When cookie security is enabled (`config/authentication.js#cookie_secure`) and the application is running on the HTTP protocol, the following warning message is output upon user authentication.
|
|
28
|
+
```sh
|
|
29
|
+
Warning: Cookie security must be disabled for user authentication to work over the HTTP protocol (config/authentication.js#cookie_secure)
|
|
30
|
+
```
|
|
31
|
+
- ### [1.1.0] - 2024/3/6
|
|
26
32
|
#### Changed
|
|
27
33
|
- Updated Express Sweet's dependency packages.
|
|
28
34
|
- [express](https://www.npmjs.com/package/express) from v4.18.2 to v4.18.3
|
|
@@ -35,26 +41,6 @@ All changes can be found [here](CHANGELOG.md).
|
|
|
35
41
|
|
|
36
42
|
#### Added
|
|
37
43
|
- Demo (./demo) Docker environment added. See [here](demo/README.md) for details.
|
|
38
|
-
- ### [1.0.44] - 2023/12/30
|
|
39
|
-
#### Changed
|
|
40
|
-
- The `Secure` and `HttpOnly` attributes of the session cookie can now be set from the authentication configuration file (`config/authentication.js`).
|
|
41
|
-
|
|
42
|
-
config/authentication.js:
|
|
43
|
-
```js
|
|
44
|
-
/**
|
|
45
|
-
* Specifies the boolean value for the Secure Set-Cookie attribute.
|
|
46
|
-
* The default is true, which sets the Secure attribute on the cookie.
|
|
47
|
-
* @type {boolean|undefined}
|
|
48
|
-
*/
|
|
49
|
-
cookie_secure: true,
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Specifies the boolean value for the HttpOnly Set-Cookie attribute.
|
|
53
|
-
* Defaults to true, which sets the HttpOnly attribute on the cookie.
|
|
54
|
-
* @type {boolean|undefined}
|
|
55
|
-
*/
|
|
56
|
-
cookie_httpOnly: true,
|
|
57
|
-
```
|
|
58
44
|
|
|
59
45
|
## Testing
|
|
60
46
|
With [npm](http://npmjs.org) do:
|