express-sweet 3.0.2 → 5.0.0
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 +224 -418
- package/LICENSE +1 -1
- package/README.md +211 -1026
- package/dist/build.cjs +37 -72
- package/dist/build.mjs +37 -72
- package/package.json +50 -64
- package/screenshots/avatar.png +0 -0
- package/screenshots/edit-profile.png +0 -0
- package/screenshots/hero-banner.png +0 -0
- package/screenshots/home.png +0 -0
- package/screenshots/mount-flow.mmd +11 -0
- package/screenshots/mount-flow.png +0 -0
- package/screenshots/new-person.png +0 -0
- package/screenshots/people.png +0 -0
- package/screenshots/sign-in.png +0 -0
- package/types/database/DatabaseManager.d.ts +15 -10
- package/types/database/Model.d.ts +29 -43
- package/types/database/index.d.ts +0 -1
- package/types/database/loadModels.d.ts +7 -13
- package/types/helpers/array.d.ts +21 -0
- package/types/helpers/comparison.d.ts +217 -0
- package/types/helpers/date.d.ts +20 -0
- package/types/helpers/html.d.ts +35 -0
- package/types/{handlebars_helpers → helpers}/index.d.ts +0 -2
- package/types/helpers/layouts.d.ts +29 -0
- package/types/helpers/math.d.ts +85 -0
- package/types/helpers/number.d.ts +19 -0
- package/types/helpers/object.d.ts +28 -0
- package/types/helpers/string.d.ts +45 -0
- package/types/index.d.ts +7 -52
- package/types/middleware/auth.d.ts +186 -0
- package/types/middleware/cors.d.ts +19 -0
- package/types/middleware/env.d.ts +24 -0
- package/types/middleware/error.d.ts +26 -0
- package/types/middleware/globals.d.ts +13 -0
- package/types/{middlewares → middleware}/index.d.ts +19 -12
- package/types/middleware/locals.d.ts +33 -0
- package/types/middleware/parser.d.ts +30 -0
- package/types/middleware/router.d.ts +31 -0
- package/types/middleware/views.d.ts +37 -0
- package/types/mount.d.ts +34 -3
- package/types/{interfaces/BasicConfig.d.ts → types/AppConfig.d.ts} +18 -25
- package/types/{interfaces → types}/AuthenticationConfig.d.ts +10 -11
- package/types/{interfaces → types}/DatabaseConfig.d.ts +1 -1
- package/types/{interfaces → types}/LoggingConfig.d.ts +0 -1
- package/types/types/UploadConfig.d.ts +72 -0
- package/types/{interfaces → types}/ViewConfig.d.ts +1 -2
- package/types/{interfaces → types}/index.d.ts +7 -4
- package/types/utils/index.d.ts +7 -4
- package/types/utils/loadAppConfig.d.ts +17 -0
- package/types/utils/loadAuthenticationConfig.d.ts +1 -1
- package/types/utils/loadLoggingConfig.d.ts +1 -1
- package/types/utils/loadUploadConfig.d.ts +20 -0
- package/types/utils/loadViewConfig.d.ts +1 -1
- package/configuration_sample/cjs/authentication.js +0 -138
- package/configuration_sample/cjs/config.js +0 -91
- package/configuration_sample/cjs/database.js +0 -121
- package/configuration_sample/cjs/logging.js +0 -41
- package/configuration_sample/cjs/view.js +0 -54
- package/configuration_sample/esm/authentication.js +0 -136
- package/configuration_sample/esm/config.js +0 -91
- package/configuration_sample/esm/database.js +0 -121
- package/configuration_sample/esm/logging.js +0 -41
- package/configuration_sample/esm/view.js +0 -54
- package/screencaps/belongs-to-many.png +0 -0
- package/screencaps/belongs-to.png +0 -0
- package/screencaps/demonstration.webp +0 -0
- package/screencaps/has-many.png +0 -0
- package/screencaps/has-one.png +0 -0
- package/types/handlebars_helpers/array.d.ts +0 -22
- package/types/handlebars_helpers/comparison.d.ts +0 -222
- package/types/handlebars_helpers/date.d.ts +0 -19
- package/types/handlebars_helpers/html.d.ts +0 -31
- package/types/handlebars_helpers/layouts.d.ts +0 -25
- package/types/handlebars_helpers/math.d.ts +0 -74
- package/types/handlebars_helpers/number.d.ts +0 -18
- package/types/handlebars_helpers/object.d.ts +0 -21
- package/types/handlebars_helpers/string.d.ts +0 -45
- package/types/middlewares/Authentication.d.ts +0 -52
- package/types/middlewares/CORS.d.ts +0 -30
- package/types/middlewares/Environment.d.ts +0 -36
- package/types/middlewares/ErrorHandler.d.ts +0 -34
- package/types/middlewares/Global.d.ts +0 -27
- package/types/middlewares/Http.d.ts +0 -29
- package/types/middlewares/Local.d.ts +0 -42
- package/types/middlewares/View.d.ts +0 -49
- package/types/routing/Router.d.ts +0 -56
- package/types/routing/index.d.ts +0 -37
- package/types/services/Authentication.d.ts +0 -95
- package/types/services/index.d.ts +0 -33
- package/types/types/global.d.ts +0 -38
- package/types/utils/Types.d.ts +0 -23
- package/types/utils/loadBasicConfig.d.ts +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,725 +1,531 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Every release that matters, documented here.
|
|
4
4
|
|
|
5
|
-
## [
|
|
5
|
+
## [5.0.0] - 2026-03-13
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The biggest release yet. Cleaner API surface, proper documentation, and a leaner dependency tree.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
- Added `Authorization` header support for Bearer token and API key authentication
|
|
11
|
-
- Added cache control headers (`Cache-Control`, `If-None-Match`, `If-Modified-Since`) for conditional requests
|
|
12
|
-
- Added `Range` header support for partial content and resumable downloads
|
|
13
|
-
- Added `X-CSRF-Token` header support for CSRF protection
|
|
14
|
-
- Added explicit handling for OPTIONS preflight requests
|
|
15
|
-
|
|
16
|
-
**Demo Improvements**
|
|
17
|
-
- Reorganized demo structure into separate `web-app` and `rest-api` directories
|
|
18
|
-
- Added new REST API demo showcasing CORS functionality with simple CRUD endpoints
|
|
19
|
-
- Improved web-app demo documentation and Docker configuration
|
|
20
|
-
- Updated Docker configuration to use `utf8mb4` character set
|
|
21
|
-
- Optimized Dockerfile with layer reduction and `npm ci` for reproducibility
|
|
22
|
-
- Added SQL comments and ON DELETE CASCADE to foreign keys in schema
|
|
9
|
+
### Breaking Changes
|
|
23
10
|
|
|
24
|
-
|
|
11
|
+
- **Flatter imports** — No more digging into nested namespaces.
|
|
12
|
+
|
|
13
|
+
| Before (v4) | After (v5) |
|
|
14
|
+
|-------------|------------|
|
|
15
|
+
| `expx.services.Authentication` | `expx.Authentication` |
|
|
16
|
+
| `expx.middlewares.*` | `expx.middleware.*` |
|
|
17
|
+
| `expx.interfaces.*` | `expx.types.*` |
|
|
18
|
+
| `expx.handlebars_helpers.*` | `expx.helpers.*` |
|
|
19
|
+
|
|
20
|
+
- **Shorter middleware names** — Internal middleware functions renamed for consistency: `corsPolicy` → `cors`, `envLoader` → `env`, `globalVariables` → `globals`, `httpParser` → `parser`, `localVariables` → `locals`, `viewEngine` → `views`, `urlRouter` → `router`, `authentication` → `auth`. Only matters if you import middleware directly; `mount()` users are unaffected.
|
|
21
|
+
|
|
22
|
+
- **`mariadb` no longer bundled** — Install your own dialect driver (`npm install mariadb`, `mysql2`, `pg`, etc.).
|
|
25
23
|
|
|
26
24
|
### Changed
|
|
27
25
|
|
|
28
|
-
-
|
|
29
|
-
- [ESM Configuration](configuration_sample/esm/database.js)
|
|
30
|
-
- [CJS Configuration](configuration_sample/cjs/database.js)
|
|
26
|
+
- **Dependencies updated** — connect-redis v9, glob v13, dotenv v17, multer v2. No config changes needed on your end.
|
|
31
27
|
|
|
32
|
-
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- **Full documentation suite** — Hand-written reference docs covering every config option, every helper, every API method. See [docs/](docs/).
|
|
31
|
+
- **Migration guide** — Step-by-step upgrade path from v4. See [docs/migration-v5.md](docs/migration-v5.md).
|
|
32
|
+
- **Config examples** — Ready-to-use ESM and CJS config templates in [examples/](examples/). Copy, fill in your values, done.
|
|
33
|
+
- **Demo app** — Full-featured sample app with auth, CRUD, file uploads, and error pages. Both ESM and CommonJS versions included. See [demo/](demo/).
|
|
33
34
|
|
|
34
|
-
|
|
35
|
+
## [4.0.0] - 2025-12-19
|
|
36
|
+
|
|
37
|
+
Express 5 lands. File uploads get first-class support. Middleware goes functional.
|
|
35
38
|
|
|
36
39
|
### Breaking Changes
|
|
37
40
|
|
|
38
|
-
**
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
41
|
+
- **Express 5** — Requires Node.js 18+. Route regex syntax changed: `/:param(\\d+)` is out, named capture groups are in.
|
|
42
|
+
|
|
43
|
+
```js
|
|
44
|
+
// Express 4
|
|
45
|
+
router.get('/:userId(\\d+)', handler);
|
|
46
|
+
|
|
47
|
+
// Express 5
|
|
48
|
+
router.get(/^\/(?<userId>\d+)$/, handler);
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
See the [Express 5 migration guide](https://expressjs.com/en/guide/migrating-5.html) for full details.
|
|
52
|
+
|
|
53
|
+
- **Function-based middleware** — All middleware refactored from classes to plain functions. Internal change only; `mount()` handles everything automatically.
|
|
42
54
|
|
|
43
55
|
### Added
|
|
44
56
|
|
|
45
|
-
|
|
46
|
-
- **`DatabaseManager.getInstance()`** - Get singleton Sequelize database instance
|
|
47
|
-
- **`DatabaseManager.isConnected()`** - Test database connectivity
|
|
48
|
-
- **`DatabaseManager.getConfig()`** - Access original database configuration
|
|
49
|
-
- **`DatabaseManager.getSequelizeOptions()`** - Access runtime Sequelize options
|
|
50
|
-
- **`DatabaseManager.close()`** - Graceful database connection shutdown
|
|
57
|
+
- **File uploads** — Multer integration with per-route middleware resolution. Configure once in `config/upload.js`, and uploads just work. Single files, arrays, multiple fields, memory or disk storage.
|
|
51
58
|
|
|
52
|
-
|
|
53
|
-
- **`config/logging.js`** - Morgan logging configuration support
|
|
59
|
+
### Fixed
|
|
54
60
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
**Default behavior**: Uses 'combined' format with no skip conditions if config file is not provided.
|
|
61
|
+
- **Invalid Host header** — No more `ERR_INVALID_URL` crashes. `baseUrl` gracefully falls back to `undefined` when URL construction fails.
|
|
62
|
+
|
|
63
|
+
## [3.0.2] - 2025-11-28
|
|
64
|
+
|
|
65
|
+
### Changed
|
|
66
|
+
|
|
67
|
+
- **CORS expanded** — Added support for `Authorization`, `Cache-Control`, `If-None-Match`, `If-Modified-Since`, `Range`, and `X-CSRF-Token` headers. OPTIONS preflight handled automatically.
|
|
68
|
+
|
|
69
|
+
## [3.0.1] - 2025-09-02
|
|
68
70
|
|
|
69
71
|
### Changed
|
|
70
72
|
|
|
71
|
-
-
|
|
73
|
+
- Added pool configuration examples to sample database configs.
|
|
72
74
|
|
|
73
|
-
|
|
75
|
+
## [3.0.0] - 2025-08-26
|
|
74
76
|
|
|
75
|
-
|
|
76
|
-
```js
|
|
77
|
-
// v2.x - Old way
|
|
78
|
-
import * as expx from 'express-sweet';
|
|
77
|
+
Database layer rebuilt from the ground up. One connection pool, shared across all models.
|
|
79
78
|
|
|
80
|
-
|
|
81
|
-
const db = new expx.database.Database(config.database, config.username, config.password, config);
|
|
79
|
+
### Breaking Changes
|
|
82
80
|
|
|
83
|
-
|
|
84
|
-
import * as expx from 'express-sweet';
|
|
81
|
+
- **`Database` class removed** — Replaced by `DatabaseManager` singleton. All models share a single connection for better performance.
|
|
85
82
|
|
|
86
|
-
|
|
87
|
-
|
|
83
|
+
```js
|
|
84
|
+
// Before
|
|
85
|
+
const config = await expx.utils.loadDatabaseConfig();
|
|
86
|
+
const db = new expx.database.Database(config.database, config.username, config.password, config);
|
|
87
|
+
|
|
88
|
+
// After
|
|
89
|
+
const db = await expx.database.DatabaseManager.getInstance();
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Added
|
|
93
|
+
|
|
94
|
+
- **DatabaseManager** — Full lifecycle control: `getInstance()`, `isConnected()`, `getConfig()`, `getSequelizeOptions()`, `close()`.
|
|
95
|
+
- **HTTP logging** — Morgan support via `config/logging.js`. Pick your format (`combined`, `dev`, `tiny`, etc.) and optionally skip routes like `/health`.
|
|
96
|
+
|
|
97
|
+
### Changed
|
|
98
|
+
|
|
99
|
+
- Updated Sequelize to v6.37.7.
|
|
88
100
|
|
|
89
101
|
## [2.0.9] - 2025-08-12
|
|
90
102
|
|
|
91
103
|
### Added
|
|
92
104
|
|
|
93
|
-
-
|
|
105
|
+
- `Database.getConfig()` — Retrieve the current database configuration at runtime.
|
|
94
106
|
|
|
95
107
|
### Changed
|
|
96
108
|
|
|
97
|
-
- Updated
|
|
109
|
+
- Updated Multer to v2.0.2.
|
|
98
110
|
|
|
99
111
|
## [2.0.8] - 2025-07-29
|
|
100
112
|
|
|
101
113
|
### Changed
|
|
102
114
|
|
|
103
|
-
-
|
|
115
|
+
- Documentation improvements for `Database.isConnect()`.
|
|
104
116
|
|
|
105
117
|
## [2.0.7] - 2025-07-22
|
|
106
118
|
|
|
107
119
|
### Changed
|
|
108
120
|
|
|
109
|
-
-
|
|
110
|
-
- `express`: 4.19.2 => 4.21.2
|
|
111
|
-
- `express-session`: 1.18.0 => 1.18.2
|
|
112
|
-
- `body-parser`: 1.19.0 => 2.2.0
|
|
113
|
-
- `cookie-parser`: 1.4.4 => 1.4.7
|
|
114
|
-
- `morgan`: 1.10.0 => 1.10.1
|
|
115
|
-
- `rollup`: 4.21.2 => 4.45.1
|
|
121
|
+
- Security updates across core dependencies: Express 4.21.2, express-session 1.18.2, body-parser 2.2.0, cookie-parser 1.4.7, morgan 1.10.1.
|
|
116
122
|
|
|
117
123
|
## [2.0.6] - 2025-02-09
|
|
118
124
|
|
|
119
125
|
### Fixed
|
|
120
126
|
|
|
121
|
-
-
|
|
127
|
+
- Logout redirect now works correctly when the redirect URL contains query parameters.
|
|
122
128
|
|
|
123
129
|
## [2.0.5] - 2025-02-04
|
|
124
130
|
|
|
125
131
|
### Added
|
|
126
132
|
|
|
127
|
-
-
|
|
128
|
-
|
|
129
|
-
Example:
|
|
130
|
-
|
|
131
|
-
```html
|
|
132
|
-
{{!-- results in: lorem ipsum dolor sit amet --}}
|
|
133
|
-
{{{stripTags '<a href="https://example.com">lorem ipsum <strong>dolor</strong> <em>sit</em> amet</a>'}}}
|
|
134
|
-
|
|
135
|
-
{{!-- results in: lorem ipsum <strong>dolor</strong> sit amet --}}
|
|
136
|
-
{{{stripTags '<a href="https://example.com">lorem ipsum <strong>dolor</strong> <em>sit</em> amet</a>' '<strong>' ''}}}
|
|
137
|
-
|
|
138
|
-
{{!-- results in: 🍩lorem ipsum 🍩dolor🍩 🍩sit🍩 amet🍩 --}}
|
|
139
|
-
{{{stripTags '<a href="https://example.com">lorem ipsum <strong>dolor</strong> <em>sit</em> amet</a>' [] '🍩'}}}
|
|
140
|
-
```
|
|
133
|
+
- **`stripTags` helper** — Strip or selectively keep HTML tags in templates. Supports allowlists and custom replacement characters.
|
|
141
134
|
|
|
142
135
|
## [2.0.4] - 2025-01-14
|
|
143
136
|
|
|
144
|
-
### Changed
|
|
145
|
-
|
|
146
|
-
- Refactored variable names.
|
|
147
|
-
- Fixed Docker demo.
|
|
148
|
-
- Changed the directory name for storing custom error classes in the demo from `exceptions` to `errors`.
|
|
149
|
-
- Added a section to the README.md API reference about considerations when using the `hasMany` association with the `findAll` method.
|
|
150
|
-
|
|
151
137
|
### Added
|
|
152
138
|
|
|
153
|
-
- **`findObjectInArray`
|
|
139
|
+
- **`findObjectInArray` helper** — Look up objects in an array by field value, right from your templates.
|
|
154
140
|
|
|
155
|
-
|
|
141
|
+
## [2.0.3] - 2024-09-03
|
|
156
142
|
|
|
157
|
-
|
|
158
|
-
{{!--
|
|
159
|
-
items is an array of objects: [{id: 123, name: 'Item A'}, {id: 456, name: 'Item B'}]
|
|
160
|
-
This code will output: "Item A"
|
|
161
|
-
--}}
|
|
162
|
-
{{#each items}}
|
|
163
|
-
{{#if (eq id 123)}}
|
|
164
|
-
{{lookup (findObjectInArray ../items 'id' id) 'name'}}
|
|
165
|
-
{{/if}}
|
|
166
|
-
{{/each}}
|
|
167
|
-
```
|
|
143
|
+
### Breaking Changes
|
|
168
144
|
|
|
169
|
-
|
|
145
|
+
- **Template engine switched** — Moved from `express-hbs` to `express-handlebars`. `block` and `contentFor` helpers preserved for backward compatibility.
|
|
146
|
+
- **Database class instantiation** — `Database` is now a class you instantiate, not a static singleton.
|
|
147
|
+
- **Async everywhere** — All middleware, config loaders, and services now return Promises.
|
|
170
148
|
|
|
171
149
|
### Changed
|
|
172
150
|
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
|
|
176
|
-
However, the `block` and `contentFor` helpers are still available.
|
|
177
|
-
- `database/Database` has been changed from a `sequelize.Sequelize` instance to a `sequelize.Sequelize` class. If you use it in the future, you need to instantiate it.
|
|
178
|
-
- Return type of `mount()` changed from `void` to `Promise<void>`.
|
|
179
|
-
- Return type of `middlewares/CORS.mount()` changed from `void` to `Promise<void>`.
|
|
180
|
-
- Return type of `middlewares/Environment.mount()` changed from `void` to `Promise<void>`.
|
|
181
|
-
- Return type of `middlewares/ErrorHandler.mount()` changed from `void` to `Promise<void>`.
|
|
182
|
-
- Return type of `middlewares/Http.mount()` changed from `void` to `Promise<void>`.
|
|
183
|
-
- Return type of `middlewares/Local.mount()` changed from `void` to `Promise<void>`.
|
|
184
|
-
- Return type of `middlewares/Router.mount()` changed from `void` to `Promise<void>`.
|
|
185
|
-
- Return type of `middlewares/View.mount()` changed from `void` to `Promise<void>`.
|
|
186
|
-
- Return type of `middlewares/View.mountBeforeRender()` changed from `void` to `Promise<void>`.
|
|
187
|
-
- Return type of `middlewares/Authentication.mount()` changed from `void` to `Promise<void>`.
|
|
188
|
-
- Return type of `utils/loadAuthenticationConfig()` changed from `AuthenticationConfig` to `Promise<AuthenticationConfig>`.
|
|
189
|
-
- Return type of `utils/loadBasicConfig()` changed from `BasicConfig` to `Promise<BasicConfig>`.
|
|
190
|
-
- Return type of `utils/loadDatabaseConfig()` changed from `sequelize.Options` to `Promise<sequelize.Options>`.
|
|
191
|
-
- Return type of `utils/loadViewConfig()` changed from `ViewConfig` to `Promise<ViewConfig>`.
|
|
192
|
-
- Return type of `services/Authentication.successRedirect()` changed from `void` to `Promise<void>`.
|
|
193
|
-
- Return type of `services/Authentication.failureRedirect()` changed from `void` to `Promise<void>`.
|
|
194
|
-
- Return type of `database/Model.initialize()` changed from `typeof Model` to `Promise<typeof Model>`.
|
|
195
|
-
- Return type of `database/loadModels()` changed from `void` to `Promise<void>`.
|
|
196
|
-
- DB connection check method has been changed.
|
|
197
|
-
- After:
|
|
198
|
-
```js
|
|
199
|
-
const expx = require('express-sweet');
|
|
200
|
-
|
|
201
|
-
// Create Database instance.
|
|
202
|
-
const config = await expx.utils.loadDatabaseConfig();
|
|
203
|
-
const database = new expx.database.Database(config.database, config.username, config.password, config);
|
|
204
|
-
|
|
205
|
-
// Check database connection.
|
|
206
|
-
await database.isConnect();
|
|
207
|
-
```
|
|
208
|
-
- Before:
|
|
209
|
-
```js
|
|
210
|
-
const expx = require('express-sweet');
|
|
211
|
-
|
|
212
|
-
// Check database connection.
|
|
213
|
-
await expx.database.Database.isConnect();
|
|
214
|
-
```
|
|
215
|
-
- Updated passport from 0.4.1 to 0.7.0
|
|
216
|
-
|
|
151
|
+
- Full ESM compliance. Dynamic imports replace `require()`.
|
|
152
|
+
- Updated Passport.js to v0.7.0.
|
|
153
|
+
|
|
217
154
|
## [2.0.2] - 2024-09-01
|
|
218
155
|
|
|
219
156
|
### Changed
|
|
220
157
|
|
|
221
|
-
- Updated
|
|
222
|
-
-
|
|
223
|
-
-
|
|
224
|
-
- The express package was excluded from the build file. Instead, users should install express on their own.
|
|
158
|
+
- Updated Express to 4.19.2, Rollup to v4.
|
|
159
|
+
- Build output renamed: `build.common.js` → `build.cjs`, `build.esm.js` → `build.mjs`.
|
|
160
|
+
- Express is now a peer dependency — install it yourself for version flexibility.
|
|
225
161
|
|
|
226
162
|
## [2.0.1] - 2024-04-05
|
|
227
163
|
|
|
228
164
|
### Changed
|
|
229
165
|
|
|
230
|
-
- Removed
|
|
166
|
+
- Removed `nodejs-shared` dependency.
|
|
231
167
|
|
|
232
168
|
## [2.0.0] - 2024-03-24
|
|
233
169
|
|
|
234
|
-
###
|
|
170
|
+
### Breaking Changes
|
|
235
171
|
|
|
236
|
-
-
|
|
237
|
-
The `services.AWSRekognitionClient` and `services.AWSSesClient` have been migrated to the [AWS SDK Extension](https://www.npmjs.com/package/aws-sdk-extension) NPM package, so please install from there if needed.
|
|
172
|
+
- **AWS SDK removed** — `AWSRekognitionClient` and `AWSSesClient` moved to the [aws-sdk-extension](https://www.npmjs.com/package/aws-sdk-extension) package.
|
|
238
173
|
|
|
239
174
|
## [1.1.1] - 2024-03-23
|
|
240
175
|
|
|
241
176
|
### Changed
|
|
242
177
|
|
|
243
|
-
-
|
|
244
|
-
```bash
|
|
245
|
-
Warning: Cookie security must be disabled for user authentication to work over the HTTP protocol (config/authentication.js#cookie_secure)
|
|
246
|
-
```
|
|
178
|
+
- Added a warning when secure cookies are used over HTTP — catches a common misconfiguration before it bites you.
|
|
247
179
|
|
|
248
180
|
## [1.1.0] - 2024-03-06
|
|
249
181
|
|
|
250
182
|
### Changed
|
|
251
183
|
|
|
252
|
-
-
|
|
253
|
-
- [express](https://www.npmjs.com/package/express) from v4.18.2 to v4.18.3
|
|
254
|
-
- [multer](https://www.npmjs.com/package/multer) from v1.4.4 to v1.4.5-lts.1
|
|
255
|
-
- [express-session](https://www.npmjs.com/package/express-session) from v1.17.3 to v1.18.0
|
|
256
|
-
- [sequelize](https://www.npmjs.com/package/sequelize) from v6.32.0 to v6.37.1
|
|
257
|
-
- [mariadb](https://www.npmjs.com/package/mariadb) from v2.4.0 to v3.2.3
|
|
258
|
-
- [moment](https://www.npmjs.com/package/moment) from v2.29.4 to v2.30.1
|
|
184
|
+
- Dependency updates: Express 4.18.3, Multer 1.4.5-lts.1, express-session 1.18.0, Sequelize 6.37.1, mariadb 3.2.3, Moment.js 2.30.1.
|
|
259
185
|
|
|
260
186
|
## [1.0.44] - 2023-12-30
|
|
261
187
|
|
|
262
|
-
###
|
|
188
|
+
### Added
|
|
263
189
|
|
|
264
|
-
-
|
|
190
|
+
- Session cookie `Secure` and `HttpOnly` flags are now configurable via `config/authentication.js`.
|
|
265
191
|
|
|
266
192
|
## [1.0.43] - 2023-12-30
|
|
267
193
|
|
|
268
|
-
###
|
|
194
|
+
### Added
|
|
269
195
|
|
|
270
|
-
-
|
|
196
|
+
- Session cookie name is now configurable.
|
|
271
197
|
|
|
272
198
|
## [1.0.42] - 2023-08-31
|
|
273
199
|
|
|
274
200
|
### Changed
|
|
275
201
|
|
|
276
|
-
-
|
|
277
|
-
- Updated redis dependency packages used for user authentication.
|
|
278
|
-
- Updated redis package version from 4.3.1 to 4.6.8.
|
|
279
|
-
[Here](https://github.com/redis/node-redis/blob/master/CHANGELOG.md) are the changes.
|
|
280
|
-
- Updated connect-redis package version from 6.1.3 to 7.1.0.
|
|
281
|
-
[Here](https://github.com/tj/connect-redis/releases) are the changes.
|
|
282
|
-
|
|
202
|
+
- TypeScript 5.2.2. Updated Redis (v4.6.8) and connect-redis (v7.1.0).
|
|
283
203
|
|
|
284
204
|
## [1.0.41] - 2023-08-04
|
|
285
205
|
|
|
286
206
|
### Changed
|
|
287
207
|
|
|
288
|
-
-
|
|
208
|
+
- Face search now supports an option to throw on missing or multiple face matches.
|
|
289
209
|
|
|
290
210
|
## [1.0.40] - 2023-08-04
|
|
291
211
|
|
|
292
|
-
###
|
|
212
|
+
### Fixed
|
|
293
213
|
|
|
294
|
-
-
|
|
214
|
+
- Face search returns `null` instead of throwing when no face is found in the image.
|
|
295
215
|
|
|
296
216
|
## [1.0.39] - 2023-07-24
|
|
297
217
|
|
|
298
218
|
### Changed
|
|
299
219
|
|
|
300
|
-
-
|
|
301
|
-
<table>
|
|
302
|
-
<thead>
|
|
303
|
-
<tr>
|
|
304
|
-
<th>Before Class Name</th>
|
|
305
|
-
<th>After class name</th>
|
|
306
|
-
<th>Instance member</th>
|
|
307
|
-
<th>Description</th>
|
|
308
|
-
</tr>
|
|
309
|
-
</thead>
|
|
310
|
-
<tbody>
|
|
311
|
-
<tr>
|
|
312
|
-
<td>CollectionCreationError</td>
|
|
313
|
-
<td>FaceCollectionCreateFailed</td>
|
|
314
|
-
<td>
|
|
315
|
-
<ul>
|
|
316
|
-
<li>name: Error Name.</li>
|
|
317
|
-
<li>collectionId: Collection ID.</li>
|
|
318
|
-
<li>httpStatusCode: HTTP status code.</li>
|
|
319
|
-
</ul>
|
|
320
|
-
</td>
|
|
321
|
-
<td>Thrown when face collection creation (<code>AWSRekognitionClient.createCollection()</code>) fails.</td>
|
|
322
|
-
</tr>
|
|
323
|
-
<tr>
|
|
324
|
-
<td>CollectionDeletionError</td>
|
|
325
|
-
<td>FaceCollectionDeleteFailed</td>
|
|
326
|
-
<td>
|
|
327
|
-
<ul>
|
|
328
|
-
<li>name: Error Name.</li>
|
|
329
|
-
<li>collectionId: Collection ID.</li>
|
|
330
|
-
<li>httpStatusCode: HTTP status code.</li>
|
|
331
|
-
</ul>
|
|
332
|
-
</td>
|
|
333
|
-
<td>Thrown when deleting a face collection (<code>AWSRekognitionClient.deleteCollection()</code>) fails.</td>
|
|
334
|
-
</tr>
|
|
335
|
-
<tr>
|
|
336
|
-
<td>FaceIndexError</td>
|
|
337
|
-
<td>FaceIndexFailed</td>
|
|
338
|
-
<td>
|
|
339
|
-
<ul>
|
|
340
|
-
<li>name: Error Name.</li>
|
|
341
|
-
<li>collectionId: Collection ID.</li>
|
|
342
|
-
</ul>
|
|
343
|
-
</td>
|
|
344
|
-
<td>Thrown when face indexing (<code>AWSRekognitionClient.indexFace()</code>) fails.</td>
|
|
345
|
-
</tr>
|
|
346
|
-
<tr>
|
|
347
|
-
<td>MissingFaceInImageError</td>
|
|
348
|
-
<td>FaceMissingInPhoto</td>
|
|
349
|
-
<td>
|
|
350
|
-
<ul>
|
|
351
|
-
<li>name: Error Name.</li>
|
|
352
|
-
</ul>
|
|
353
|
-
</td>
|
|
354
|
-
<td>Thrown if the face to index (<code>AWSRekognitionClient.indexFace()</code>) is not in the photo.</td>
|
|
355
|
-
</tr>
|
|
356
|
-
<tr>
|
|
357
|
-
<td>MultipleFacesInImageError</td>
|
|
358
|
-
<td>FacesMultipleInPhoto</td>
|
|
359
|
-
<td>
|
|
360
|
-
<ul>
|
|
361
|
-
<li>name: Error Name.</li>
|
|
362
|
-
</ul>
|
|
363
|
-
</td>
|
|
364
|
-
<td>Thrown when there are multiple faces to index (<code>AWSRekognitionClient.indexFace()</code>) in a photo.</td>
|
|
365
|
-
</tr>
|
|
366
|
-
</tbody>
|
|
367
|
-
</table>
|
|
220
|
+
- AWS Rekognition error classes renamed for clarity: consistent `Face` prefix with `Failed`/`Missing`/`Multiple` suffixes.
|
|
368
221
|
|
|
369
222
|
## [1.0.38] - 2023-07-17
|
|
370
223
|
|
|
371
224
|
### Fixed
|
|
372
225
|
|
|
373
|
-
-
|
|
226
|
+
- Login user data is now accessible in the `beforeRender` view hook.
|
|
374
227
|
|
|
375
228
|
## [1.0.37] - 2023-07-17
|
|
376
229
|
|
|
377
|
-
### Changed
|
|
378
|
-
|
|
379
|
-
- The beforeRender option in the view configuration (config/view.js) can now specify asynchronous functions.
|
|
380
|
-
|
|
381
230
|
### Added
|
|
382
231
|
|
|
383
|
-
-
|
|
232
|
+
- `beforeRender` hook now supports async functions.
|
|
233
|
+
- **Math helpers** — `add`, `sub`, `multiply`, `divide`, `ceil`, `floor`, `abs` available in templates.
|
|
384
234
|
|
|
385
235
|
## [1.0.36] - 2023-07-12
|
|
386
236
|
|
|
387
237
|
### Changed
|
|
388
238
|
|
|
389
|
-
-
|
|
390
|
-
-
|
|
239
|
+
- `is_ajax` option moved from `config/authentication.js` to `config/config.js`.
|
|
240
|
+
- Error handling replaced with hookable `hook_handle_error` for full control over error responses.
|
|
391
241
|
|
|
392
242
|
## [1.0.35] - 2023-07-11
|
|
393
243
|
|
|
394
244
|
### Changed
|
|
395
245
|
|
|
396
|
-
-
|
|
397
|
-
-
|
|
246
|
+
- `failure_redirect` now accepts a function for dynamic redirect URLs.
|
|
247
|
+
- `Authentication.failureRedirect()` takes both `req` and `res` (was `res` only).
|
|
398
248
|
|
|
399
249
|
## [1.0.34] - 2023-07-01
|
|
400
250
|
|
|
401
|
-
###
|
|
251
|
+
### Fixed
|
|
402
252
|
|
|
403
|
-
-
|
|
253
|
+
- Unauthenticated AJAX requests now return 401 (was 403).
|
|
404
254
|
|
|
405
255
|
## [1.0.33] - 2023-07-01
|
|
406
256
|
|
|
407
257
|
### Added
|
|
408
258
|
|
|
409
|
-
-
|
|
259
|
+
- **`regexMatch` helper** — Regex pattern matching in templates.
|
|
410
260
|
|
|
411
261
|
## [1.0.32] - 2023-07-01
|
|
412
262
|
|
|
413
263
|
### Fixed
|
|
414
264
|
|
|
415
|
-
-
|
|
265
|
+
- Cookies are now accessible in `beforeRender` hook.
|
|
416
266
|
|
|
417
267
|
## [1.0.31] - 2023-06-29
|
|
418
268
|
|
|
419
|
-
###
|
|
269
|
+
### Breaking Changes
|
|
420
270
|
|
|
421
|
-
-
|
|
422
|
-
|After|Before|Description|
|
|
423
|
-
|--|--|--|
|
|
424
|
-
|notEmpty|not_empty|Check that it is not empty.|
|
|
425
|
-
|formatDate|format_date|Use moment to format the date.|
|
|
426
|
-
|cacheBusting|cache_busting|Returns the Assets path containing the file update time parameter.|
|
|
427
|
-
|jsonStringify|json_stringify|Stringify an object using JSON.stringify.|
|
|
428
|
-
|jsonParse|json_parse|Parses the given string using JSON.parse.|
|
|
429
|
-
|formatBytes|format_bytes|Convert bytes to just the right units(KB, MB, GB, TB, PB, EB, ZB, YB).|
|
|
271
|
+
- **Helper names switched to camelCase** — `not_empty` → `notEmpty`, `format_date` → `formatDate`, `cache_busting` → `cacheBusting`, `json_stringify` → `jsonStringify`, `json_parse` → `jsonParse`, `format_bytes` → `formatBytes`.
|
|
430
272
|
|
|
431
273
|
### Added
|
|
432
274
|
|
|
433
|
-
-
|
|
275
|
+
- **`number2locale` helper** — Locale-aware number formatting in templates.
|
|
434
276
|
|
|
435
277
|
## [1.0.30] - 2023-06-26
|
|
436
278
|
|
|
437
|
-
###
|
|
279
|
+
### Fixed
|
|
438
280
|
|
|
439
|
-
-
|
|
281
|
+
- AWS Rekognition credentials passing corrected.
|
|
440
282
|
|
|
441
283
|
## [1.0.29] - 2023-06-20
|
|
442
284
|
|
|
443
|
-
### Changed
|
|
444
|
-
|
|
445
|
-
- Changed class private variables and methods from soft private to hard private.
|
|
446
|
-
|
|
447
285
|
### Added
|
|
448
286
|
|
|
449
|
-
-
|
|
287
|
+
- **AWS SES client** — Send emails via Amazon SES.
|
|
288
|
+
|
|
289
|
+
### Changed
|
|
290
|
+
|
|
291
|
+
- Class internals switched from soft private (`_var`) to hard private (`#var`).
|
|
450
292
|
|
|
451
293
|
## [1.0.28] - 2023-06-16
|
|
452
294
|
|
|
453
295
|
### Changed
|
|
454
296
|
|
|
455
|
-
-
|
|
297
|
+
- AWS SDK upgraded from v2 to v3.
|
|
456
298
|
|
|
457
299
|
## [1.0.27] - 2023-06-12
|
|
458
300
|
|
|
459
301
|
### Changed
|
|
460
302
|
|
|
461
|
-
-
|
|
303
|
+
- `beforeRender` hook now receives the request object for accessing request data during rendering.
|
|
462
304
|
|
|
463
305
|
## [1.0.26] - 2023-06-11
|
|
464
306
|
|
|
465
307
|
### Changed
|
|
466
308
|
|
|
467
|
-
-
|
|
468
|
-
-
|
|
469
|
-
.env:
|
|
470
|
-
```
|
|
471
|
-
EXPRESS_DEBUG=true
|
|
472
|
-
```
|
|
309
|
+
- Sequelize upgraded from v5 to v6.
|
|
310
|
+
- Debug logging now requires `SWEET_DEBUG=true` in your `.env` file.
|
|
473
311
|
|
|
474
312
|
## [1.0.25] - 2022-11-24
|
|
475
313
|
|
|
476
314
|
### Added
|
|
477
315
|
|
|
478
|
-
-
|
|
316
|
+
- **`formatBytes` helper** — Human-readable byte sizes in templates (`1024` → `1KB`).
|
|
479
317
|
|
|
480
318
|
## [1.0.24] - 2022-10-24
|
|
481
319
|
|
|
482
320
|
### Added
|
|
483
321
|
|
|
484
|
-
-
|
|
322
|
+
- AJAX request detection option in authentication config for custom XHR/fetch handling.
|
|
485
323
|
|
|
486
324
|
## [1.0.23] - 2022-10-20
|
|
487
325
|
|
|
488
326
|
### Added
|
|
489
327
|
|
|
490
|
-
-
|
|
328
|
+
- `authenticate_user` callback now receives the full request object as its third parameter.
|
|
491
329
|
|
|
492
330
|
## [1.0.22] - 2022-07-27
|
|
493
331
|
|
|
494
332
|
### Added
|
|
495
333
|
|
|
496
|
-
-
|
|
334
|
+
- **`beforeRender` hook** — Set local variables available in every view, right before rendering.
|
|
497
335
|
|
|
498
336
|
## [1.0.21] - 2022-05-26
|
|
499
337
|
|
|
500
338
|
### Added
|
|
501
339
|
|
|
502
|
-
-
|
|
340
|
+
- Face indexing can now return details: gender, emotion, age group.
|
|
503
341
|
|
|
504
342
|
## [1.0.20] - 2022-05-25
|
|
505
343
|
|
|
506
344
|
### Added
|
|
507
345
|
|
|
508
|
-
-
|
|
346
|
+
- Face detection can now return details: emotion, gender, age group.
|
|
509
347
|
|
|
510
348
|
## [1.0.19] - 2022-05-20
|
|
511
349
|
|
|
512
350
|
### Added
|
|
513
351
|
|
|
514
|
-
-
|
|
352
|
+
- **`formatDate` helper** — Moment.js date formatting in templates.
|
|
515
353
|
|
|
516
354
|
## [1.0.18] - 2022-05-18
|
|
517
355
|
|
|
518
356
|
### Added
|
|
519
357
|
|
|
520
|
-
-
|
|
521
|
-
config/authentication.js:
|
|
522
|
-
```json
|
|
523
|
-
session_store: 'redis',
|
|
524
|
-
redis_host: 'redis://localhost:6379'
|
|
525
|
-
```
|
|
358
|
+
- **Redis session store** — Store authentication sessions in Redis instead of memory. Just set `session_store: 'redis'` in your auth config.
|
|
526
359
|
|
|
527
360
|
## [1.0.17] - 2022-05-17
|
|
528
361
|
|
|
529
362
|
### Changed
|
|
530
363
|
|
|
531
|
-
-
|
|
364
|
+
- Documentation and variable naming improvements.
|
|
532
365
|
|
|
533
366
|
## [1.0.16] - 2022-02-14
|
|
534
367
|
|
|
535
368
|
### Fixed
|
|
536
369
|
|
|
537
|
-
-
|
|
370
|
+
- Missing build files added to the published package.
|
|
538
371
|
|
|
539
372
|
## [1.0.15] - 2022-02-14
|
|
540
373
|
|
|
541
374
|
### Changed
|
|
542
375
|
|
|
543
|
-
-
|
|
376
|
+
- `allow_unauthenticated` now accepts RegExp patterns alongside strings.
|
|
544
377
|
|
|
545
378
|
## [1.0.14] - 2022-01-17
|
|
546
379
|
|
|
547
380
|
### Changed
|
|
548
381
|
|
|
549
|
-
-
|
|
382
|
+
- `empty` helper now works with any type, not just arrays.
|
|
550
383
|
|
|
551
384
|
## [1.0.13] - 2021-12-13
|
|
552
385
|
|
|
553
386
|
### Added
|
|
554
387
|
|
|
555
|
-
-
|
|
556
|
-
```js
|
|
557
|
-
let transaction;
|
|
558
|
-
try {
|
|
559
|
-
transaction = await BookModel.begin({
|
|
560
|
-
isolationLevel: BookModel.Transaction.ISOLATION_LEVELS.REPEATABLE_READ,
|
|
561
|
-
type: BookModel.Transaction.TYPES.DEFERRED,
|
|
562
|
-
});
|
|
563
|
-
const book = await BookModel.findOne({where: {id: 1}}, {transaction});
|
|
564
|
-
book.title = 'When Im Gone';
|
|
565
|
-
await book.save({transaction});
|
|
566
|
-
await transaction.commit();
|
|
567
|
-
|
|
568
|
-
// Load updated data.
|
|
569
|
-
await book.reload();
|
|
570
|
-
} catch (error) {
|
|
571
|
-
if (transaction)
|
|
572
|
-
await transaction.rollback();
|
|
573
|
-
}
|
|
574
|
-
```
|
|
388
|
+
- `Model.begin()` now accepts transaction options (isolation level, type).
|
|
575
389
|
|
|
576
390
|
## [1.0.12] - 2021-11-16
|
|
577
391
|
|
|
578
392
|
### Added
|
|
579
393
|
|
|
580
|
-
-
|
|
581
|
-
```js
|
|
582
|
-
// By default the function will return two arguments - a results array, and an object containing metadata (such as amount of affected rows, etc).
|
|
583
|
-
// Note that since this is a raw query, the metadata are dialect specific.
|
|
584
|
-
const [results, metadata] = await BookModel.query("UPDATE book SET title = 'When Im Gone' WHERE id = 1");
|
|
585
|
-
|
|
586
|
-
// In cases where you don't need to access the metadata you can pass in a query type to tell sequelize how to format the results. For example, for a simple select query you could do:
|
|
587
|
-
// We didn't need to destructure the result here - the results were returned directly
|
|
588
|
-
const users = await BookModel.query("SELECT * FROM book", {type: BookModel.QueryTypes.SELECT});
|
|
589
|
-
```
|
|
394
|
+
- **`Model.query()` — Raw SQL execution.** Run prepared statements and typed queries directly from your models.
|
|
590
395
|
|
|
591
396
|
## [1.0.11] - 2021-11-10
|
|
592
397
|
|
|
593
398
|
### Fixed
|
|
594
399
|
|
|
595
|
-
-
|
|
400
|
+
- Database config now loads after `NODE_ENV` is set, ensuring the correct environment config is used.
|
|
596
401
|
|
|
597
402
|
## [1.0.10] - 2021-10-19
|
|
598
403
|
|
|
599
404
|
### Changed
|
|
600
405
|
|
|
601
|
-
-
|
|
406
|
+
- Face search results now include similarity scores.
|
|
602
407
|
|
|
603
408
|
## [1.0.9] - 2021-10-13
|
|
604
409
|
|
|
605
410
|
### Changed
|
|
606
411
|
|
|
607
|
-
- Updated
|
|
608
|
-
This update statically links sharp's pre-built libvips binaries, eliminating the need to install Python.
|
|
609
|
-
Click [here](https://sharp.pixelplumbing.com/changelog) for sharp change log.
|
|
412
|
+
- Updated `sharp` to v0.29.1 — statically linked libvips, no more Python dependency.
|
|
610
413
|
|
|
611
414
|
## [1.0.8] - 2021-09-25
|
|
612
415
|
|
|
613
416
|
### Fixed
|
|
614
417
|
|
|
615
|
-
-
|
|
418
|
+
- Default router is now accessible from its own endpoint URL.
|
|
616
419
|
|
|
617
420
|
## [1.0.7] - 2021-08-13
|
|
618
421
|
|
|
619
422
|
### Added
|
|
620
423
|
|
|
621
|
-
-
|
|
424
|
+
- `Model.where()` — Create WHERE conditions on function results.
|
|
622
425
|
|
|
623
426
|
## [1.0.6] - 2021-08-13
|
|
624
427
|
|
|
625
428
|
### Added
|
|
626
429
|
|
|
627
|
-
-
|
|
430
|
+
- `Model.fn()`, `Model.col()`, `Model.literal()` — SQL functions, column references, and raw literals in queries.
|
|
628
431
|
|
|
629
432
|
## [1.0.5] - 2021-08-12
|
|
630
433
|
|
|
631
434
|
### Changed
|
|
632
435
|
|
|
633
|
-
-
|
|
436
|
+
- Multipart field size limit removed (was 1MB, now unlimited).
|
|
634
437
|
|
|
635
438
|
## [1.0.4] - 2021-06-13
|
|
636
439
|
|
|
637
440
|
### Fixed
|
|
638
441
|
|
|
639
|
-
-
|
|
442
|
+
- `app.locals.currentPath` now reflects the actual current URL, not the referrer.
|
|
640
443
|
|
|
641
444
|
## [1.0.3] - 2021-06-13
|
|
642
445
|
|
|
643
446
|
### Changed
|
|
644
447
|
|
|
645
|
-
-
|
|
646
|
-
```js
|
|
647
|
-
// For example, when the current URL is "https://example.com/docs/api?q=value", "/docs/api" is set for "app.locals.currentPath".
|
|
648
|
-
console.log(app.locals.currentPath);
|
|
649
|
-
```
|
|
448
|
+
- `app.locals.currentPath` is now a clean pathname without query string or fragment.
|
|
650
449
|
|
|
651
450
|
## [1.0.2] - 2021-06-10
|
|
652
451
|
|
|
653
|
-
###
|
|
452
|
+
### Fixed
|
|
654
453
|
|
|
655
|
-
-
|
|
454
|
+
- Model preloading now works correctly in CommonJS environments.
|
|
656
455
|
|
|
657
|
-
###
|
|
456
|
+
### Changed
|
|
658
457
|
|
|
659
|
-
-
|
|
458
|
+
- Updated Rollup to v2.51.
|
|
660
459
|
|
|
661
460
|
## [1.0.1] - 2021-06-02
|
|
662
461
|
|
|
663
462
|
### Fixed
|
|
664
463
|
|
|
665
|
-
-
|
|
666
|
-
|
|
667
|
-
[1.0.
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
[1.0.
|
|
672
|
-
[1.0.
|
|
673
|
-
[1.0.
|
|
674
|
-
[1.0.
|
|
675
|
-
[1.0.
|
|
676
|
-
[1.0.
|
|
677
|
-
[1.0.
|
|
678
|
-
[1.0.
|
|
679
|
-
[1.0.
|
|
680
|
-
[1.0.
|
|
681
|
-
[1.0.
|
|
682
|
-
[1.0.
|
|
683
|
-
[1.0.
|
|
684
|
-
[1.0.
|
|
685
|
-
[1.0.
|
|
686
|
-
[1.0.
|
|
687
|
-
[1.0.
|
|
688
|
-
[1.0.
|
|
689
|
-
[1.0.
|
|
690
|
-
[1.0.
|
|
691
|
-
[1.0.
|
|
692
|
-
[1.0.
|
|
693
|
-
[1.0.
|
|
694
|
-
[1.0.
|
|
695
|
-
[1.0.
|
|
696
|
-
[1.0.
|
|
697
|
-
[1.0.
|
|
698
|
-
[1.0.
|
|
699
|
-
[1.0.
|
|
700
|
-
[1.0.
|
|
701
|
-
[1.0.
|
|
702
|
-
[1.0.
|
|
703
|
-
[1.0.
|
|
704
|
-
[1.0.
|
|
705
|
-
[1.0.
|
|
706
|
-
[1.0.
|
|
707
|
-
[1.0.
|
|
708
|
-
[1.0.
|
|
709
|
-
[1.0.
|
|
710
|
-
[1.0.
|
|
711
|
-
[1.0.
|
|
712
|
-
[1.
|
|
713
|
-
[1.
|
|
714
|
-
[
|
|
715
|
-
[
|
|
716
|
-
[
|
|
717
|
-
[
|
|
718
|
-
[2.0.
|
|
719
|
-
[2.0.
|
|
720
|
-
[2.0.
|
|
721
|
-
[2.0.
|
|
722
|
-
[2.0.
|
|
723
|
-
[2.0.
|
|
724
|
-
[
|
|
725
|
-
[
|
|
464
|
+
- ESM default export options now load correctly.
|
|
465
|
+
|
|
466
|
+
## [1.0.0] - 2021-05-31
|
|
467
|
+
|
|
468
|
+
Initial release. Express.js extension library with Sequelize ORM, Passport.js authentication, Handlebars views, file-based routing, and AWS Rekognition integration.
|
|
469
|
+
|
|
470
|
+
[1.0.0]: https://github.com/shumatsumonobu/express-sweet/releases/tag/v1.0.0
|
|
471
|
+
[1.0.1]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.0...v1.0.1
|
|
472
|
+
[1.0.2]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.1...v1.0.2
|
|
473
|
+
[1.0.3]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.2...v1.0.3
|
|
474
|
+
[1.0.4]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.3...v1.0.4
|
|
475
|
+
[1.0.5]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.4...v1.0.5
|
|
476
|
+
[1.0.6]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.5...v1.0.6
|
|
477
|
+
[1.0.7]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.6...v1.0.7
|
|
478
|
+
[1.0.8]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.7...v1.0.8
|
|
479
|
+
[1.0.9]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.8...v1.0.9
|
|
480
|
+
[1.0.10]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.9...v1.0.10
|
|
481
|
+
[1.0.11]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.10...v1.0.11
|
|
482
|
+
[1.0.12]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.11...v1.0.12
|
|
483
|
+
[1.0.13]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.12...v1.0.13
|
|
484
|
+
[1.0.14]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.13...v1.0.14
|
|
485
|
+
[1.0.15]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.14...v1.0.15
|
|
486
|
+
[1.0.16]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.15...v1.0.16
|
|
487
|
+
[1.0.17]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.16...v1.0.17
|
|
488
|
+
[1.0.18]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.17...v1.0.18
|
|
489
|
+
[1.0.19]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.18...v1.0.19
|
|
490
|
+
[1.0.20]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.19...v1.0.20
|
|
491
|
+
[1.0.21]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.20...v1.0.21
|
|
492
|
+
[1.0.22]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.21...v1.0.22
|
|
493
|
+
[1.0.23]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.22...v1.0.23
|
|
494
|
+
[1.0.24]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.23...v1.0.24
|
|
495
|
+
[1.0.25]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.24...v1.0.25
|
|
496
|
+
[1.0.26]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.25...v1.0.26
|
|
497
|
+
[1.0.27]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.26...v1.0.27
|
|
498
|
+
[1.0.28]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.27...v1.0.28
|
|
499
|
+
[1.0.29]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.28...v1.0.29
|
|
500
|
+
[1.0.30]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.29...v1.0.30
|
|
501
|
+
[1.0.31]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.30...v1.0.31
|
|
502
|
+
[1.0.32]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.31...v1.0.32
|
|
503
|
+
[1.0.33]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.32...v1.0.33
|
|
504
|
+
[1.0.34]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.33...v1.0.34
|
|
505
|
+
[1.0.35]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.34...v1.0.35
|
|
506
|
+
[1.0.36]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.35...v1.0.36
|
|
507
|
+
[1.0.37]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.36...v1.0.37
|
|
508
|
+
[1.0.38]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.37...v1.0.38
|
|
509
|
+
[1.0.39]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.38...v1.0.39
|
|
510
|
+
[1.0.40]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.39...v1.0.40
|
|
511
|
+
[1.0.41]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.40...v1.0.41
|
|
512
|
+
[1.0.42]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.41...v1.0.42
|
|
513
|
+
[1.0.43]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.42...v1.0.43
|
|
514
|
+
[1.0.44]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.43...v1.0.44
|
|
515
|
+
[1.1.0]: https://github.com/shumatsumonobu/express-sweet/compare/v1.0.44...v1.1.0
|
|
516
|
+
[1.1.1]: https://github.com/shumatsumonobu/express-sweet/compare/v1.1.0...v1.1.1
|
|
517
|
+
[2.0.0]: https://github.com/shumatsumonobu/express-sweet/compare/v1.1.1...v2.0.0
|
|
518
|
+
[2.0.1]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.0...v2.0.1
|
|
519
|
+
[2.0.2]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.1...v2.0.2
|
|
520
|
+
[2.0.3]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.2...v2.0.3
|
|
521
|
+
[2.0.4]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.3...v2.0.4
|
|
522
|
+
[2.0.5]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.4...v2.0.5
|
|
523
|
+
[2.0.6]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.5...v2.0.6
|
|
524
|
+
[2.0.7]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.6...v2.0.7
|
|
525
|
+
[2.0.8]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.7...v2.0.8
|
|
526
|
+
[2.0.9]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.8...v2.0.9
|
|
527
|
+
[3.0.0]: https://github.com/shumatsumonobu/express-sweet/compare/v2.0.9...v3.0.0
|
|
528
|
+
[3.0.1]: https://github.com/shumatsumonobu/express-sweet/compare/v3.0.0...v3.0.1
|
|
529
|
+
[3.0.2]: https://github.com/shumatsumonobu/express-sweet/compare/v3.0.1...v3.0.2
|
|
530
|
+
[4.0.0]: https://github.com/shumatsumonobu/express-sweet/compare/v3.0.2...v4.0.0
|
|
531
|
+
[5.0.0]: https://github.com/shumatsumonobu/express-sweet/compare/v4.0.0...v5.0.0
|