express-sweet 4.0.0 → 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 +209 -397
- package/LICENSE +1 -1
- package/README.md +210 -1174
- package/dist/build.cjs +32 -73
- package/dist/build.mjs +32 -73
- package/package.json +45 -61
- 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 +6 -9
- 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 +12 -13
- 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 +1 -2
- package/types/{interfaces → types}/AppConfig.d.ts +11 -19
- package/types/{interfaces → types}/AuthenticationConfig.d.ts +10 -11
- package/types/{interfaces → types}/DatabaseConfig.d.ts +0 -1
- package/types/{interfaces → types}/LoggingConfig.d.ts +0 -1
- package/types/{interfaces → types}/UploadConfig.d.ts +0 -1
- package/types/{interfaces → types}/ViewConfig.d.ts +1 -2
- package/types/{interfaces → types}/index.d.ts +1 -2
- package/types/utils/index.d.ts +0 -1
- package/types/utils/loadAppConfig.d.ts +1 -1
- package/types/utils/loadAuthenticationConfig.d.ts +1 -1
- package/types/utils/loadLoggingConfig.d.ts +1 -1
- package/types/utils/loadUploadConfig.d.ts +1 -1
- package/types/utils/loadViewConfig.d.ts +1 -1
- package/configuration_sample/cjs/authentication.js +0 -138
- package/configuration_sample/cjs/config.js +0 -92
- package/configuration_sample/cjs/database.js +0 -121
- package/configuration_sample/cjs/logging.js +0 -41
- package/configuration_sample/cjs/upload.js +0 -91
- package/configuration_sample/cjs/view.js +0 -54
- package/configuration_sample/esm/authentication.js +0 -136
- package/configuration_sample/esm/config.js +0 -92
- package/configuration_sample/esm/database.js +0 -121
- package/configuration_sample/esm/logging.js +0 -41
- package/configuration_sample/esm/upload.js +0 -91
- 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/corsPolicy.d.ts +0 -28
- package/types/middlewares/envLoader.d.ts +0 -34
- package/types/middlewares/errorHandler.d.ts +0 -32
- package/types/middlewares/globalVars.d.ts +0 -25
- package/types/middlewares/localVars.d.ts +0 -44
- package/types/middlewares/passportAuth.d.ts +0 -15
- package/types/middlewares/requestParser.d.ts +0 -27
- package/types/middlewares/routeMapper.d.ts +0 -54
- package/types/middlewares/viewEngine.d.ts +0 -49
- 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 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,719 +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
|
+
|
|
7
|
+
The biggest release yet. Cleaner API surface, proper documentation, and a leaner dependency tree.
|
|
6
8
|
|
|
7
9
|
### Breaking Changes
|
|
8
10
|
|
|
9
|
-
**
|
|
10
|
-
- All middleware components have been refactored from class-based to function-based architecture
|
|
11
|
-
- Middleware naming updated to follow Express.js conventions (2-word composition pattern)
|
|
12
|
-
|
|
13
|
-
**Middleware Name Changes:**
|
|
14
|
-
| Previous (Class-based) | Current (Function-based) |
|
|
15
|
-
|------------------------|--------------------------|
|
|
16
|
-
| `CORS` | `corsPolicy` |
|
|
17
|
-
| `Environment` | `envLoader` |
|
|
18
|
-
| `ErrorHandler` | `errorHandler` |
|
|
19
|
-
| `Http` | `requestParser` |
|
|
20
|
-
| `Local` | `localVars` |
|
|
21
|
-
| `Router` | `routeMapper` |
|
|
22
|
-
| `View` | `viewEngine` |
|
|
23
|
-
| `Authentication` | `passportAuth` |
|
|
24
|
-
| `Global` | `globalVars` |
|
|
25
|
-
|
|
26
|
-
**Migration Notes:**
|
|
27
|
-
- These are internal changes and do not affect the public API
|
|
28
|
-
- The `mount()` function handles all middleware automatically
|
|
29
|
-
- No changes required in application code for standard usage
|
|
30
|
-
|
|
31
|
-
**Express 5 Migration**
|
|
32
|
-
- **Requires Node.js 18.x or higher**
|
|
33
|
-
- Upgraded from Express 4.21.2 to Express 5.2.1
|
|
34
|
-
- Note: `express-handlebars` remains at v7.1.3 to maintain Node.js 18+ compatibility (v8 requires Node.js 20+)
|
|
35
|
-
- Route patterns with regex parameters no longer support `/:param(\\d+)` syntax
|
|
36
|
-
- Use RegExp with named capture groups instead: `/^\/(?<userId>\d+)$/`
|
|
37
|
-
- See migration example in Changed section below
|
|
38
|
-
- For more details on Express 5 changes, see:
|
|
39
|
-
- [Express 5 Migration Guide](https://expressjs.com/en/guide/migrating-5.html)
|
|
40
|
-
- [Express.js Release Notes](https://expressjs.com/en/changelog/)
|
|
11
|
+
- **Flatter imports** — No more digging into nested namespaces.
|
|
41
12
|
|
|
42
|
-
|
|
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.
|
|
43
21
|
|
|
44
|
-
**
|
|
45
|
-
- Added dynamic file upload middleware using Multer
|
|
46
|
-
- New `config/upload.js` configuration file for flexible upload handling
|
|
47
|
-
- Support for single file, multiple files (array), and multiple field uploads
|
|
48
|
-
- Both memory storage and disk storage options
|
|
49
|
-
- Request-based middleware resolution for route-specific upload configurations
|
|
50
|
-
- Sample configurations added:
|
|
51
|
-
- [ESM Configuration](configuration_sample/esm/upload.js)
|
|
52
|
-
- [CJS Configuration](configuration_sample/cjs/upload.js)
|
|
22
|
+
- **`mariadb` no longer bundled** — Install your own dialect driver (`npm install mariadb`, `mysql2`, `pg`, etc.).
|
|
53
23
|
|
|
54
24
|
### Changed
|
|
55
25
|
|
|
56
|
-
**
|
|
57
|
-
|
|
58
|
-
|
|
26
|
+
- **Dependencies updated** — connect-redis v9, glob v13, dotenv v17, multer v2. No config changes needed on your end.
|
|
27
|
+
|
|
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/).
|
|
34
|
+
|
|
35
|
+
## [4.0.0] - 2025-12-19
|
|
36
|
+
|
|
37
|
+
Express 5 lands. File uploads get first-class support. Middleware goes functional.
|
|
38
|
+
|
|
39
|
+
### Breaking Changes
|
|
40
|
+
|
|
41
|
+
- **Express 5** — Requires Node.js 18+. Route regex syntax changed: `/:param(\\d+)` is out, named capture groups are in.
|
|
59
42
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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.
|
|
54
|
+
|
|
55
|
+
### Added
|
|
66
56
|
|
|
67
|
-
|
|
68
|
-
router.get(/^\/(?<userId>\d+)$/, (req, res) => {
|
|
69
|
-
const userId = req.params.userId; // Works with named capture group
|
|
70
|
-
});
|
|
71
|
-
```
|
|
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.
|
|
72
58
|
|
|
73
59
|
### Fixed
|
|
74
60
|
|
|
75
|
-
-
|
|
76
|
-
- `baseUrl` is now set to `undefined` when URL construction fails, allowing graceful error handling via `rewrite_base_url` hook or template checks
|
|
61
|
+
- **Invalid Host header** — No more `ERR_INVALID_URL` crashes. `baseUrl` gracefully falls back to `undefined` when URL construction fails.
|
|
77
62
|
|
|
78
63
|
## [3.0.2] - 2025-11-28
|
|
79
64
|
|
|
80
65
|
### Changed
|
|
81
66
|
|
|
82
|
-
**CORS
|
|
83
|
-
- Added `Authorization` header support for Bearer token and API key authentication
|
|
84
|
-
- Added cache control headers (`Cache-Control`, `If-None-Match`, `If-Modified-Since`) for conditional requests
|
|
85
|
-
- Added `Range` header support for partial content and resumable downloads
|
|
86
|
-
- Added `X-CSRF-Token` header support for CSRF protection
|
|
87
|
-
- Added explicit handling for OPTIONS preflight requests
|
|
88
|
-
|
|
89
|
-
**Demo Improvements**
|
|
90
|
-
- Added new REST API demo showcasing CORS functionality with simple CRUD endpoints
|
|
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.
|
|
91
68
|
|
|
92
69
|
## [3.0.1] - 2025-09-02
|
|
93
70
|
|
|
94
71
|
### Changed
|
|
95
72
|
|
|
96
|
-
- Added pool configuration examples
|
|
97
|
-
- [ESM Configuration](configuration_sample/esm/database.js)
|
|
98
|
-
- [CJS Configuration](configuration_sample/cjs/database.js)
|
|
73
|
+
- Added pool configuration examples to sample database configs.
|
|
99
74
|
|
|
100
75
|
## [3.0.0] - 2025-08-26
|
|
101
76
|
|
|
102
|
-
|
|
77
|
+
Database layer rebuilt from the ground up. One connection pool, shared across all models.
|
|
103
78
|
|
|
104
79
|
### Breaking Changes
|
|
105
80
|
|
|
106
|
-
|
|
107
|
-
- `Database` class removed → Use `DatabaseManager` singleton pattern
|
|
108
|
-
- All models now share a single database connection for improved performance
|
|
109
|
-
- Enhanced database management with connection testing and graceful shutdown
|
|
110
|
-
|
|
111
|
-
### Added
|
|
112
|
-
|
|
113
|
-
#### Database Management
|
|
114
|
-
- **`DatabaseManager.getInstance()`** - Get singleton Sequelize database instance
|
|
115
|
-
- **`DatabaseManager.isConnected()`** - Test database connectivity
|
|
116
|
-
- **`DatabaseManager.getConfig()`** - Access original database configuration
|
|
117
|
-
- **`DatabaseManager.getSequelizeOptions()`** - Access runtime Sequelize options
|
|
118
|
-
- **`DatabaseManager.close()`** - Graceful database connection shutdown
|
|
119
|
-
|
|
120
|
-
#### Logging Configuration
|
|
121
|
-
- **`config/logging.js`** - Morgan logging configuration support
|
|
81
|
+
- **`Database` class removed** — Replaced by `DatabaseManager` singleton. All models share a single connection for better performance.
|
|
122
82
|
|
|
123
|
-
Create `config/logging.js` to customize HTTP request logging:
|
|
124
83
|
```js
|
|
125
|
-
//
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
skip: (req, res) => {
|
|
129
|
-
// Skip logging for health check endpoints
|
|
130
|
-
return req.path === '/health';
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
**Default behavior**: Uses 'combined' format with no skip conditions if config file is not provided.
|
|
136
|
-
|
|
137
|
-
### Changed
|
|
138
|
-
|
|
139
|
-
- Updated `sequelize` dependency from v6.37.1 to v6.37.7
|
|
84
|
+
// Before
|
|
85
|
+
const config = await expx.utils.loadDatabaseConfig();
|
|
86
|
+
const db = new expx.database.Database(config.database, config.username, config.password, config);
|
|
140
87
|
|
|
141
|
-
|
|
88
|
+
// After
|
|
89
|
+
const db = await expx.database.DatabaseManager.getInstance();
|
|
90
|
+
```
|
|
142
91
|
|
|
143
|
-
|
|
144
|
-
```js
|
|
145
|
-
// v2.x - Old way
|
|
146
|
-
import * as expx from 'express-sweet';
|
|
92
|
+
### Added
|
|
147
93
|
|
|
148
|
-
|
|
149
|
-
|
|
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`.
|
|
150
96
|
|
|
151
|
-
|
|
152
|
-
import * as expx from 'express-sweet';
|
|
97
|
+
### Changed
|
|
153
98
|
|
|
154
|
-
|
|
155
|
-
```
|
|
99
|
+
- Updated Sequelize to v6.37.7.
|
|
156
100
|
|
|
157
101
|
## [2.0.9] - 2025-08-12
|
|
158
102
|
|
|
159
103
|
### Added
|
|
160
104
|
|
|
161
|
-
-
|
|
105
|
+
- `Database.getConfig()` — Retrieve the current database configuration at runtime.
|
|
162
106
|
|
|
163
107
|
### Changed
|
|
164
108
|
|
|
165
|
-
- Updated
|
|
109
|
+
- Updated Multer to v2.0.2.
|
|
166
110
|
|
|
167
111
|
## [2.0.8] - 2025-07-29
|
|
168
112
|
|
|
169
113
|
### Changed
|
|
170
114
|
|
|
171
|
-
-
|
|
115
|
+
- Documentation improvements for `Database.isConnect()`.
|
|
172
116
|
|
|
173
117
|
## [2.0.7] - 2025-07-22
|
|
174
118
|
|
|
175
119
|
### Changed
|
|
176
120
|
|
|
177
|
-
-
|
|
178
|
-
- `express`: 4.19.2 => 4.21.2
|
|
179
|
-
- `express-session`: 1.18.0 => 1.18.2
|
|
180
|
-
- `body-parser`: 1.19.0 => 2.2.0
|
|
181
|
-
- `cookie-parser`: 1.4.4 => 1.4.7
|
|
182
|
-
- `morgan`: 1.10.0 => 1.10.1
|
|
183
|
-
- `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.
|
|
184
122
|
|
|
185
123
|
## [2.0.6] - 2025-02-09
|
|
186
124
|
|
|
187
125
|
### Fixed
|
|
188
126
|
|
|
189
|
-
-
|
|
127
|
+
- Logout redirect now works correctly when the redirect URL contains query parameters.
|
|
190
128
|
|
|
191
129
|
## [2.0.5] - 2025-02-04
|
|
192
130
|
|
|
193
131
|
### Added
|
|
194
132
|
|
|
195
|
-
-
|
|
196
|
-
|
|
197
|
-
Example:
|
|
198
|
-
|
|
199
|
-
```html
|
|
200
|
-
{{!-- results in: lorem ipsum dolor sit amet --}}
|
|
201
|
-
{{{stripTags '<a href="https://example.com">lorem ipsum <strong>dolor</strong> <em>sit</em> amet</a>'}}}
|
|
202
|
-
|
|
203
|
-
{{!-- results in: lorem ipsum <strong>dolor</strong> sit amet --}}
|
|
204
|
-
{{{stripTags '<a href="https://example.com">lorem ipsum <strong>dolor</strong> <em>sit</em> amet</a>' '<strong>' ''}}}
|
|
205
|
-
|
|
206
|
-
{{!-- results in: 🍩lorem ipsum 🍩dolor🍩 🍩sit🍩 amet🍩 --}}
|
|
207
|
-
{{{stripTags '<a href="https://example.com">lorem ipsum <strong>dolor</strong> <em>sit</em> amet</a>' [] '🍩'}}}
|
|
208
|
-
```
|
|
133
|
+
- **`stripTags` helper** — Strip or selectively keep HTML tags in templates. Supports allowlists and custom replacement characters.
|
|
209
134
|
|
|
210
135
|
## [2.0.4] - 2025-01-14
|
|
211
136
|
|
|
212
|
-
### Changed
|
|
213
|
-
|
|
214
|
-
- Refactored variable names.
|
|
215
|
-
- Fixed Docker demo.
|
|
216
|
-
- Changed the directory name for storing custom error classes in the demo from `exceptions` to `errors`.
|
|
217
|
-
- Added a section to the README.md API reference about considerations when using the `hasMany` association with the `findAll` method.
|
|
218
|
-
|
|
219
137
|
### Added
|
|
220
138
|
|
|
221
|
-
- **`findObjectInArray`
|
|
222
|
-
|
|
223
|
-
Example:
|
|
224
|
-
|
|
225
|
-
```html
|
|
226
|
-
{{!--
|
|
227
|
-
items is an array of objects: [{id: 123, name: 'Item A'}, {id: 456, name: 'Item B'}]
|
|
228
|
-
This code will output: "Item A"
|
|
229
|
-
--}}
|
|
230
|
-
{{#each items}}
|
|
231
|
-
{{#if (eq id 123)}}
|
|
232
|
-
{{lookup (findObjectInArray ../items 'id' id) 'name'}}
|
|
233
|
-
{{/if}}
|
|
234
|
-
{{/each}}
|
|
235
|
-
```
|
|
139
|
+
- **`findObjectInArray` helper** — Look up objects in an array by field value, right from your templates.
|
|
236
140
|
|
|
237
141
|
## [2.0.3] - 2024-09-03
|
|
238
142
|
|
|
239
|
-
> **Note:** This version used class-based middleware with names like `CORS`, `Environment`, `ErrorHandler`, `Http`, `Local`, `Router`, `View`, and `Authentication`. In v3.x and later, these were refactored to function-based middleware with new names (`corsPolicy`, `envLoader`, `errorHandler`, `requestParser`, `localVars`, `routeMapper`, `viewEngine`, `passportAuth`). The items listed below reflect the naming and structure used in v2.0.3.
|
|
240
|
-
|
|
241
143
|
### Breaking Changes
|
|
242
144
|
|
|
243
|
-
**Template
|
|
244
|
-
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
**Database Layer Changes**
|
|
248
|
-
- `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.
|
|
249
|
-
- DB connection check method has been changed.
|
|
250
|
-
- After:
|
|
251
|
-
```js
|
|
252
|
-
const expx = require('express-sweet');
|
|
253
|
-
|
|
254
|
-
// Create Database instance.
|
|
255
|
-
const config = await expx.utils.loadDatabaseConfig();
|
|
256
|
-
const database = new expx.database.Database(config.database, config.username, config.password, config);
|
|
257
|
-
|
|
258
|
-
// Check database connection.
|
|
259
|
-
await database.isConnect();
|
|
260
|
-
```
|
|
261
|
-
- Before:
|
|
262
|
-
```js
|
|
263
|
-
const expx = require('express-sweet');
|
|
264
|
-
|
|
265
|
-
// Check database connection.
|
|
266
|
-
await expx.database.Database.isConnect();
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
**Async Function Signature Changes**
|
|
270
|
-
- All middleware mount methods, configuration loaders, authentication services, and database initialization functions now return `Promise` types instead of synchronous return types. This change enables asynchronous configuration loading and proper async/await usage throughout the framework.
|
|
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.
|
|
271
148
|
|
|
272
149
|
### Changed
|
|
273
150
|
|
|
274
|
-
-
|
|
275
|
-
-
|
|
276
|
-
|
|
277
|
-
|
|
151
|
+
- Full ESM compliance. Dynamic imports replace `require()`.
|
|
152
|
+
- Updated Passport.js to v0.7.0.
|
|
153
|
+
|
|
278
154
|
## [2.0.2] - 2024-09-01
|
|
279
155
|
|
|
280
156
|
### Changed
|
|
281
157
|
|
|
282
|
-
- Updated
|
|
283
|
-
-
|
|
284
|
-
-
|
|
285
|
-
- 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.
|
|
286
161
|
|
|
287
162
|
## [2.0.1] - 2024-04-05
|
|
288
163
|
|
|
289
164
|
### Changed
|
|
290
165
|
|
|
291
|
-
- Removed
|
|
166
|
+
- Removed `nodejs-shared` dependency.
|
|
292
167
|
|
|
293
168
|
## [2.0.0] - 2024-03-24
|
|
294
169
|
|
|
295
170
|
### Breaking Changes
|
|
296
171
|
|
|
297
|
-
**AWS SDK
|
|
298
|
-
- EXPRESS SWEET version 2 no longer depends on the AWS SDK.
|
|
299
|
-
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.
|
|
300
173
|
|
|
301
174
|
## [1.1.1] - 2024-03-23
|
|
302
175
|
|
|
303
176
|
### Changed
|
|
304
177
|
|
|
305
|
-
-
|
|
178
|
+
- Added a warning when secure cookies are used over HTTP — catches a common misconfiguration before it bites you.
|
|
306
179
|
|
|
307
180
|
## [1.1.0] - 2024-03-06
|
|
308
181
|
|
|
309
182
|
### Changed
|
|
310
183
|
|
|
311
|
-
-
|
|
312
|
-
- [express](https://www.npmjs.com/package/express) from v4.18.2 to v4.18.3
|
|
313
|
-
- [multer](https://www.npmjs.com/package/multer) from v1.4.4 to v1.4.5-lts.1
|
|
314
|
-
- [express-session](https://www.npmjs.com/package/express-session) from v1.17.3 to v1.18.0
|
|
315
|
-
- [sequelize](https://www.npmjs.com/package/sequelize) from v6.32.0 to v6.37.1
|
|
316
|
-
- [mariadb](https://www.npmjs.com/package/mariadb) from v2.4.0 to v3.2.3
|
|
317
|
-
- [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.
|
|
318
185
|
|
|
319
186
|
## [1.0.44] - 2023-12-30
|
|
320
187
|
|
|
321
|
-
###
|
|
188
|
+
### Added
|
|
322
189
|
|
|
323
|
-
-
|
|
190
|
+
- Session cookie `Secure` and `HttpOnly` flags are now configurable via `config/authentication.js`.
|
|
324
191
|
|
|
325
192
|
## [1.0.43] - 2023-12-30
|
|
326
193
|
|
|
327
|
-
###
|
|
194
|
+
### Added
|
|
328
195
|
|
|
329
|
-
- Session cookie name is now configurable
|
|
196
|
+
- Session cookie name is now configurable.
|
|
330
197
|
|
|
331
198
|
## [1.0.42] - 2023-08-31
|
|
332
199
|
|
|
333
200
|
### Changed
|
|
334
201
|
|
|
335
|
-
-
|
|
336
|
-
- Updated redis dependency packages used for user authentication.
|
|
337
|
-
- Updated redis package version from 4.3.1 to 4.6.8.
|
|
338
|
-
[Here](https://github.com/redis/node-redis/blob/master/CHANGELOG.md) are the changes.
|
|
339
|
-
- Updated connect-redis package version from 6.1.3 to 7.1.0.
|
|
340
|
-
[Here](https://github.com/tj/connect-redis/releases) are the changes.
|
|
341
|
-
|
|
202
|
+
- TypeScript 5.2.2. Updated Redis (v4.6.8) and connect-redis (v7.1.0).
|
|
342
203
|
|
|
343
204
|
## [1.0.41] - 2023-08-04
|
|
344
205
|
|
|
345
206
|
### Changed
|
|
346
207
|
|
|
347
|
-
-
|
|
208
|
+
- Face search now supports an option to throw on missing or multiple face matches.
|
|
348
209
|
|
|
349
210
|
## [1.0.40] - 2023-08-04
|
|
350
211
|
|
|
351
|
-
###
|
|
212
|
+
### Fixed
|
|
352
213
|
|
|
353
|
-
-
|
|
214
|
+
- Face search returns `null` instead of throwing when no face is found in the image.
|
|
354
215
|
|
|
355
216
|
## [1.0.39] - 2023-07-24
|
|
356
217
|
|
|
357
218
|
### Changed
|
|
358
219
|
|
|
359
|
-
-
|
|
220
|
+
- AWS Rekognition error classes renamed for clarity: consistent `Face` prefix with `Failed`/`Missing`/`Multiple` suffixes.
|
|
360
221
|
|
|
361
222
|
## [1.0.38] - 2023-07-17
|
|
362
223
|
|
|
363
224
|
### Fixed
|
|
364
225
|
|
|
365
|
-
-
|
|
226
|
+
- Login user data is now accessible in the `beforeRender` view hook.
|
|
366
227
|
|
|
367
228
|
## [1.0.37] - 2023-07-17
|
|
368
229
|
|
|
369
|
-
### Changed
|
|
370
|
-
|
|
371
|
-
- The view rendering hook function now supports asynchronous functions for async operations before rendering.
|
|
372
|
-
|
|
373
230
|
### Added
|
|
374
231
|
|
|
375
|
-
-
|
|
232
|
+
- `beforeRender` hook now supports async functions.
|
|
233
|
+
- **Math helpers** — `add`, `sub`, `multiply`, `divide`, `ceil`, `floor`, `abs` available in templates.
|
|
376
234
|
|
|
377
235
|
## [1.0.36] - 2023-07-12
|
|
378
236
|
|
|
379
237
|
### Changed
|
|
380
238
|
|
|
381
|
-
-
|
|
382
|
-
-
|
|
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.
|
|
383
241
|
|
|
384
242
|
## [1.0.35] - 2023-07-11
|
|
385
243
|
|
|
386
244
|
### Changed
|
|
387
245
|
|
|
388
|
-
-
|
|
389
|
-
- Authentication
|
|
246
|
+
- `failure_redirect` now accepts a function for dynamic redirect URLs.
|
|
247
|
+
- `Authentication.failureRedirect()` takes both `req` and `res` (was `res` only).
|
|
390
248
|
|
|
391
249
|
## [1.0.34] - 2023-07-01
|
|
392
250
|
|
|
393
|
-
###
|
|
251
|
+
### Fixed
|
|
394
252
|
|
|
395
|
-
-
|
|
253
|
+
- Unauthenticated AJAX requests now return 401 (was 403).
|
|
396
254
|
|
|
397
255
|
## [1.0.33] - 2023-07-01
|
|
398
256
|
|
|
399
257
|
### Added
|
|
400
258
|
|
|
401
|
-
-
|
|
259
|
+
- **`regexMatch` helper** — Regex pattern matching in templates.
|
|
402
260
|
|
|
403
261
|
## [1.0.32] - 2023-07-01
|
|
404
262
|
|
|
405
263
|
### Fixed
|
|
406
264
|
|
|
407
|
-
-
|
|
265
|
+
- Cookies are now accessible in `beforeRender` hook.
|
|
408
266
|
|
|
409
267
|
## [1.0.31] - 2023-06-29
|
|
410
268
|
|
|
411
|
-
###
|
|
269
|
+
### Breaking Changes
|
|
412
270
|
|
|
413
|
-
-
|
|
414
|
-
|After|Before|Description|
|
|
415
|
-
|--|--|--|
|
|
416
|
-
|notEmpty|not_empty|Check that it is not empty.|
|
|
417
|
-
|formatDate|format_date|Use moment to format the date.|
|
|
418
|
-
|cacheBusting|cache_busting|Returns the Assets path containing the file update time parameter.|
|
|
419
|
-
|jsonStringify|json_stringify|Stringify an object using JSON.stringify.|
|
|
420
|
-
|jsonParse|json_parse|Parses the given string using JSON.parse.|
|
|
421
|
-
|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`.
|
|
422
272
|
|
|
423
273
|
### Added
|
|
424
274
|
|
|
425
|
-
-
|
|
275
|
+
- **`number2locale` helper** — Locale-aware number formatting in templates.
|
|
426
276
|
|
|
427
277
|
## [1.0.30] - 2023-06-26
|
|
428
278
|
|
|
429
|
-
###
|
|
279
|
+
### Fixed
|
|
430
280
|
|
|
431
|
-
-
|
|
281
|
+
- AWS Rekognition credentials passing corrected.
|
|
432
282
|
|
|
433
283
|
## [1.0.29] - 2023-06-20
|
|
434
284
|
|
|
435
|
-
### Changed
|
|
436
|
-
|
|
437
|
-
- Changed class private variables and methods from soft private to hard private.
|
|
438
|
-
|
|
439
285
|
### Added
|
|
440
286
|
|
|
441
|
-
-
|
|
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`).
|
|
442
292
|
|
|
443
293
|
## [1.0.28] - 2023-06-16
|
|
444
294
|
|
|
445
295
|
### Changed
|
|
446
296
|
|
|
447
|
-
-
|
|
297
|
+
- AWS SDK upgraded from v2 to v3.
|
|
448
298
|
|
|
449
299
|
## [1.0.27] - 2023-06-12
|
|
450
300
|
|
|
451
301
|
### Changed
|
|
452
302
|
|
|
453
|
-
-
|
|
303
|
+
- `beforeRender` hook now receives the request object for accessing request data during rendering.
|
|
454
304
|
|
|
455
305
|
## [1.0.26] - 2023-06-11
|
|
456
306
|
|
|
457
307
|
### Changed
|
|
458
308
|
|
|
459
|
-
-
|
|
460
|
-
-
|
|
461
|
-
.env:
|
|
462
|
-
```
|
|
463
|
-
SWEET_DEBUG=true
|
|
464
|
-
```
|
|
309
|
+
- Sequelize upgraded from v5 to v6.
|
|
310
|
+
- Debug logging now requires `SWEET_DEBUG=true` in your `.env` file.
|
|
465
311
|
|
|
466
312
|
## [1.0.25] - 2022-11-24
|
|
467
313
|
|
|
468
314
|
### Added
|
|
469
315
|
|
|
470
|
-
-
|
|
316
|
+
- **`formatBytes` helper** — Human-readable byte sizes in templates (`1024` → `1KB`).
|
|
471
317
|
|
|
472
318
|
## [1.0.24] - 2022-10-24
|
|
473
319
|
|
|
474
320
|
### Added
|
|
475
321
|
|
|
476
|
-
-
|
|
322
|
+
- AJAX request detection option in authentication config for custom XHR/fetch handling.
|
|
477
323
|
|
|
478
324
|
## [1.0.23] - 2022-10-20
|
|
479
325
|
|
|
480
326
|
### Added
|
|
481
327
|
|
|
482
|
-
-
|
|
328
|
+
- `authenticate_user` callback now receives the full request object as its third parameter.
|
|
483
329
|
|
|
484
330
|
## [1.0.22] - 2022-07-27
|
|
485
331
|
|
|
486
332
|
### Added
|
|
487
333
|
|
|
488
|
-
-
|
|
334
|
+
- **`beforeRender` hook** — Set local variables available in every view, right before rendering.
|
|
489
335
|
|
|
490
336
|
## [1.0.21] - 2022-05-26
|
|
491
337
|
|
|
492
338
|
### Added
|
|
493
339
|
|
|
494
|
-
-
|
|
340
|
+
- Face indexing can now return details: gender, emotion, age group.
|
|
495
341
|
|
|
496
342
|
## [1.0.20] - 2022-05-25
|
|
497
343
|
|
|
498
344
|
### Added
|
|
499
345
|
|
|
500
|
-
-
|
|
346
|
+
- Face detection can now return details: emotion, gender, age group.
|
|
501
347
|
|
|
502
348
|
## [1.0.19] - 2022-05-20
|
|
503
349
|
|
|
504
350
|
### Added
|
|
505
351
|
|
|
506
|
-
-
|
|
352
|
+
- **`formatDate` helper** — Moment.js date formatting in templates.
|
|
507
353
|
|
|
508
354
|
## [1.0.18] - 2022-05-18
|
|
509
355
|
|
|
510
356
|
### Added
|
|
511
357
|
|
|
512
|
-
-
|
|
513
|
-
config/authentication.js:
|
|
514
|
-
```json
|
|
515
|
-
session_store: 'redis',
|
|
516
|
-
redis_host: 'redis://localhost:6379'
|
|
517
|
-
```
|
|
358
|
+
- **Redis session store** — Store authentication sessions in Redis instead of memory. Just set `session_store: 'redis'` in your auth config.
|
|
518
359
|
|
|
519
360
|
## [1.0.17] - 2022-05-17
|
|
520
361
|
|
|
521
362
|
### Changed
|
|
522
363
|
|
|
523
|
-
-
|
|
364
|
+
- Documentation and variable naming improvements.
|
|
524
365
|
|
|
525
366
|
## [1.0.16] - 2022-02-14
|
|
526
367
|
|
|
527
368
|
### Fixed
|
|
528
369
|
|
|
529
|
-
-
|
|
370
|
+
- Missing build files added to the published package.
|
|
530
371
|
|
|
531
372
|
## [1.0.15] - 2022-02-14
|
|
532
373
|
|
|
533
374
|
### Changed
|
|
534
375
|
|
|
535
|
-
-
|
|
376
|
+
- `allow_unauthenticated` now accepts RegExp patterns alongside strings.
|
|
536
377
|
|
|
537
378
|
## [1.0.14] - 2022-01-17
|
|
538
379
|
|
|
539
380
|
### Changed
|
|
540
381
|
|
|
541
|
-
-
|
|
382
|
+
- `empty` helper now works with any type, not just arrays.
|
|
542
383
|
|
|
543
384
|
## [1.0.13] - 2021-12-13
|
|
544
385
|
|
|
545
386
|
### Added
|
|
546
387
|
|
|
547
|
-
-
|
|
548
|
-
```js
|
|
549
|
-
let transaction;
|
|
550
|
-
try {
|
|
551
|
-
transaction = await BookModel.begin({
|
|
552
|
-
isolationLevel: BookModel.Transaction.ISOLATION_LEVELS.REPEATABLE_READ,
|
|
553
|
-
type: BookModel.Transaction.TYPES.DEFERRED,
|
|
554
|
-
});
|
|
555
|
-
const book = await BookModel.findOne({where: {id: 1}}, {transaction});
|
|
556
|
-
book.title = 'When Im Gone';
|
|
557
|
-
await book.save({transaction});
|
|
558
|
-
await transaction.commit();
|
|
559
|
-
|
|
560
|
-
// Load updated data.
|
|
561
|
-
await book.reload();
|
|
562
|
-
} catch (error) {
|
|
563
|
-
if (transaction)
|
|
564
|
-
await transaction.rollback();
|
|
565
|
-
}
|
|
566
|
-
```
|
|
388
|
+
- `Model.begin()` now accepts transaction options (isolation level, type).
|
|
567
389
|
|
|
568
390
|
## [1.0.12] - 2021-11-16
|
|
569
391
|
|
|
570
392
|
### Added
|
|
571
393
|
|
|
572
|
-
-
|
|
573
|
-
```js
|
|
574
|
-
// By default the function will return two arguments - a results array, and an object containing metadata (such as amount of affected rows, etc).
|
|
575
|
-
// Note that since this is a raw query, the metadata are dialect specific.
|
|
576
|
-
const [results, metadata] = await BookModel.query("UPDATE book SET title = 'When Im Gone' WHERE id = 1");
|
|
577
|
-
|
|
578
|
-
// 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:
|
|
579
|
-
// We didn't need to destructure the result here - the results were returned directly
|
|
580
|
-
const users = await BookModel.query("SELECT * FROM book", {type: BookModel.QueryTypes.SELECT});
|
|
581
|
-
```
|
|
394
|
+
- **`Model.query()` — Raw SQL execution.** Run prepared statements and typed queries directly from your models.
|
|
582
395
|
|
|
583
396
|
## [1.0.11] - 2021-11-10
|
|
584
397
|
|
|
585
398
|
### Fixed
|
|
586
399
|
|
|
587
|
-
-
|
|
400
|
+
- Database config now loads after `NODE_ENV` is set, ensuring the correct environment config is used.
|
|
588
401
|
|
|
589
402
|
## [1.0.10] - 2021-10-19
|
|
590
403
|
|
|
591
404
|
### Changed
|
|
592
405
|
|
|
593
|
-
-
|
|
406
|
+
- Face search results now include similarity scores.
|
|
594
407
|
|
|
595
408
|
## [1.0.9] - 2021-10-13
|
|
596
409
|
|
|
597
410
|
### Changed
|
|
598
411
|
|
|
599
|
-
- Updated
|
|
600
|
-
This update statically links sharp's pre-built libvips binaries, eliminating the need to install Python.
|
|
601
|
-
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.
|
|
602
413
|
|
|
603
414
|
## [1.0.8] - 2021-09-25
|
|
604
415
|
|
|
605
416
|
### Fixed
|
|
606
417
|
|
|
607
|
-
-
|
|
418
|
+
- Default router is now accessible from its own endpoint URL.
|
|
608
419
|
|
|
609
420
|
## [1.0.7] - 2021-08-13
|
|
610
421
|
|
|
611
422
|
### Added
|
|
612
423
|
|
|
613
|
-
-
|
|
424
|
+
- `Model.where()` — Create WHERE conditions on function results.
|
|
614
425
|
|
|
615
426
|
## [1.0.6] - 2021-08-13
|
|
616
427
|
|
|
617
428
|
### Added
|
|
618
429
|
|
|
619
|
-
-
|
|
430
|
+
- `Model.fn()`, `Model.col()`, `Model.literal()` — SQL functions, column references, and raw literals in queries.
|
|
620
431
|
|
|
621
432
|
## [1.0.5] - 2021-08-12
|
|
622
433
|
|
|
623
434
|
### Changed
|
|
624
435
|
|
|
625
|
-
-
|
|
436
|
+
- Multipart field size limit removed (was 1MB, now unlimited).
|
|
626
437
|
|
|
627
438
|
## [1.0.4] - 2021-06-13
|
|
628
439
|
|
|
629
440
|
### Fixed
|
|
630
441
|
|
|
631
|
-
-
|
|
442
|
+
- `app.locals.currentPath` now reflects the actual current URL, not the referrer.
|
|
632
443
|
|
|
633
444
|
## [1.0.3] - 2021-06-13
|
|
634
445
|
|
|
635
446
|
### Changed
|
|
636
447
|
|
|
637
|
-
-
|
|
638
|
-
```js
|
|
639
|
-
// For example, when the current URL is "https://example.com/docs/api?q=value", "/docs/api" is set for "app.locals.currentPath".
|
|
640
|
-
console.log(app.locals.currentPath);
|
|
641
|
-
```
|
|
448
|
+
- `app.locals.currentPath` is now a clean pathname without query string or fragment.
|
|
642
449
|
|
|
643
450
|
## [1.0.2] - 2021-06-10
|
|
644
451
|
|
|
645
|
-
###
|
|
452
|
+
### Fixed
|
|
646
453
|
|
|
647
|
-
-
|
|
454
|
+
- Model preloading now works correctly in CommonJS environments.
|
|
648
455
|
|
|
649
|
-
###
|
|
456
|
+
### Changed
|
|
650
457
|
|
|
651
|
-
-
|
|
458
|
+
- Updated Rollup to v2.51.
|
|
652
459
|
|
|
653
460
|
## [1.0.1] - 2021-06-02
|
|
654
461
|
|
|
655
462
|
### Fixed
|
|
656
463
|
|
|
657
|
-
-
|
|
658
|
-
|
|
659
|
-
[1.0.
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
[1.0.
|
|
664
|
-
[1.0.
|
|
665
|
-
[1.0.
|
|
666
|
-
[1.0.
|
|
667
|
-
[1.0.
|
|
668
|
-
[1.0.
|
|
669
|
-
[1.0.
|
|
670
|
-
[1.0.
|
|
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.
|
|
705
|
-
[1.
|
|
706
|
-
[
|
|
707
|
-
[
|
|
708
|
-
[
|
|
709
|
-
[
|
|
710
|
-
[2.0.
|
|
711
|
-
[2.0.
|
|
712
|
-
[2.0.
|
|
713
|
-
[2.0.
|
|
714
|
-
[2.0.
|
|
715
|
-
[2.0.
|
|
716
|
-
[
|
|
717
|
-
[
|
|
718
|
-
[
|
|
719
|
-
[
|
|
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
|