UNPKG

8.16 kBMarkdownView Raw
1# Changelog for expresser
2
34.4.3
4=====
5* Option to disable the raw body-parser by setting rawTypes to null.
6* Updated dependencies.
7
84.4.1
9=====
10* Disable the X-Powered-By header by default.
11* Updated dependencies.
12
134.4.0
14=====
15* Removed the "moment" dependency.
16* Updated dependencies.
17
184.3.2
19=====
20* Updated dependencies.
21
224.3.1
23=====
24* Updated dependencies.
25
264.3.0
27=====
28* NEW! Added raw and text body parsers.
29* DEPRECATED! The legacy plugin for v3 is not officially deprecated.
30* Some refactoring here and there.
31* Updated dependencies.
32
334.2.4
34=====
35* Updated dependencies.
36
374.2.3
38=====
39* Force status codes as number on app.renderError().
40* Updated dependencies.
41
424.2.2
43=====
44* Updated dependencies.
45
464.2.1
47=====
48* New app.set() shortcut.
49* Updated dependencies.
50
514.2.0
52=====
53* TypeScript types are now exported with the library.
54
554.1.2
56=====
57* Updated dependencies.
58
594.1.1
60=====
61* Defining settings.general.debug = true should also add "debug" to the Anyhow logger levels.
62* Updated dependencies.
63
644.1.0
65=====
66* NEW! Routes module to load and manage routes, supports Swagger specs.
67* NEW! All app render methods now accept a status code as last parameter.
68* Shortcut: "app.ssl=false" == "app.ssl.enabled=false"
69* General refactoring.
70* Updated dependencies.
71
724.0.5
73=====
74* Fixed app.renderError(), should always return a JSON now.
75* Updated dependencies.
76
774.0.4
78=====
79* Index is now a dedicated Expresser class.
80* Updated dependencies.
81
824.0.3
83=====
84* Improved error responses using app.renderError().
85* Fixed mutation issues when logging certain types of errors.
86
874.0.2
88=====
89* The Logger preprocessor now clones objects beforing logging.
90
914.0.1
92=====
93* Fixed the timeout behaviour on the app server.
94
954.0.0
96=====
97* A NEW EXPRESSER, BUILT FROM SCRATCH WITH TYPESCRIPT!
98* Migration docs: https://github.com/igoramadas/expresser/wiki/Migration-from-v3-to-v4
99
100========================
101========================
102Legacy versions below...
103========================
104
1053.5.3
106=====
107* FEATURE-FREEZE ON V3!!! Next Expresser v4 will be written from scratch.
108* Updated dependencies.
109
1103.5.2
111=====
112* Updated dependencies.
113
1143.5.1
115=====
116* NEW! Added option to include / exclude labels from system.getInfo() output.
117* Updated dependencies.
118
1193.5.0
120=====
121* BREAKING! SystemUtils getInfo() renamed process attributes: memoryUsage to memoryUsed, memoryHeapUsage to memoryHeapUsed.
122* Settings (de)encryption now using up-to-date methods - note that your current key might need to be updated.
123* Improved app.renderError().
124* Updated dependencies.
125
1263.4.7
127=====
128* System getInfo() util has new property names on "process" information.
129* Now including a package-lock.json file.
130
1313.4.6
132=====
133* Maintenance release with updated dependencies.
134
1353.4.5
136=====
137* Improved Logger, it now better handles moments, dates etc.
138
1393.4.4
140=====
141* Logger console now respects settings.logger.sendTimestamp option.
142* Updated dependencies.
143
1443.4.3
145=====
146* NEW! App.renderText() to send data as plain text to the client.
147
1483.4.2
149=====
150* NEW! The app server timeout can be set on settings.app.timeout.
151* Updated dependencies.
152
1533.4.1
154=====
155* NEW! App trustProxy option, default is 1.
156* NEW! Session proxy and resave settings.
157* Renamed App "compressionEnabled" setting renamed to "compression".
158* Removed unecessary files from published package.
159
1603.4.0
161=====
162* NEW! Session saveUninitialized setting, default is false.
163* BREAKING! Session and cookie "secret" setting meged onto settings.app.secret.
164* BREAKING! Session cookies now secure be default (settings.app.session.secure = true).
165* Fixed issues with Session / Memory Store expiration.
166* Updated dependencies.
167
1683.3.4
169=====
170* Maintenance release with updated dependencies.
171
1723.3.3
173=====
174* Session now gets instantiated with a proper "checkPeriod".
175* Removed deprecated code.
176
1773.3.2
178=====
179* NEW! Possible to disable Logger console styles by using settings.logger.styles = false.
180* Updated dependencies.
181
1823.3.1
183=====
184* NEW / BREAKING! Now using express-session with memory store instead of cookie based.
185* NEW! Logger now emit important logging events: Logger.on.warn, Logger.on.error, Logger.on.critical
186* BREAKING! Default views path moved from /views to /assets/views.
187* Fixed chalk styles for deprecated Logger messages.
188* Updated utils.browser.getClientIP() to better support Socket.IO.
189* App.renderError will NOT log an error automatically now.
190* Improved exception logging when using the Logger.
191* Updated dependencies.
192
1933.2.3
194=====
195* Fixed "argsCleaner" on Logger when not passing an array.
196
1973.2.2
198=====
199* Added console style for deprecated messages on Logger.
200* Updated dependencies.
201
2023.2.1
203=====
204* NEW! Using a faster event emitter.
205* Updated dependencies.
206
2073.2.0
208=====
209* NEW! Events emitter is now exposed to external code.
210* NEW! NetworkUtils now can return IPv4 and IPv6 addresses.
211* BREAKING! Settings.unwatch() now replaces Settings.watch(false).
212* BREAKING! BrowserUtils.getDeviceString upgraded to getDeviceDetails.
213* BREAKING! SystemUtils.getIP deprecated in favour of the new getIP/getSingleIPv4 helpers on NetworkUtils.
214* BREAKING! Calling module methods via events is not possible anymore (not worth the performance penalty).
215* BREAKING! Plugins do not emit a "before.init" event any longer.
216* RENAMED! App.server is now App.expressApp.
217* RENAMED! App.getRoutes is now App.listRoutes.
218* Massive code refactoring!
219
2203.1.0
221=====
222* NEW! Logger has a new "compact" option to compact log output to single line, enabled by default.
223* NEW! Logger "onLog" callback (so you can add custom post-log routines).
224* NEW! App has now a "version" attribute taken directly from package.json.
225* NEW! Accept invalid certificates by using "settings.app.sll.rejectUnauthorized = false".
226* RENAMED! Logger "maxDeepLevel" setting renamed to "maxDepth".
227* Code cleanup and some bits of refactoring.
228* Updated dependencies.
229
2303.0.7
231=====
232* Updated dependencies.
233* Bits of code refactoring.
234
2353.0.6
236=====
237* Updated dependencies.
238
2393.0.4
240=====
241* NEW! Helper function "sleep" on IO utils to delay async code execution.
242* Updated dependencies.
243
2443.0.3
245=====
246* Updated dependencies.
247
2483.0.2
249=====
250* Fixed bugs when bundling and compressing assets (mincer).
251* Support for sourceMaps on bundled JS temporarily disabled.
252
2533.0.1
254=====
255* NEW! Now using async / await whenever applicable. Callbacks are being phased out!
256* NEW! App has now a getRoutes helper to list all registered routes.
257* NEW! Logger has now a `maskFields` option in addition to the `obfuscateFields`.
258* NEW! Now using CoffeeScript v2.
259* DEPRECATED! Database plugins are now standalone and the old `database.coffee` wrapper is not deprecated.
260* Lots of unecessary modules and code removed, plus the usual bug fixing :-)
261
2622.4.2
263=====
264* Fixed default views path (/views).
265* Updated styles for the Logger console.
266* General fixes.
267
2682.4.1
269=====
270* Fixed major bug initializing plugins introduced with 2.3.4 (unpublished).
271
2722.4.0
273=====
274* BREAKING! Old settings.path.viewDir|publicDir moved to settings.app.viewPath|publicPath.
275* Improved handling of errors rendering views and data on App.
276* Bits of code refactoring.
277
2782.3.3
279=====
280* Improved utils.data to better handle empty and invalid strings.
281* Updated dependencies.
282
2832.3.2
284=====
285* Updated dependencies.
286
2872.3.1
288=====
289* Bug fix on utils.io.getFilePath.
290
2912.3.0
292=====
293* BREAKING! Utils split into smaller classes (utils.browser, utils.data, utils.io, utiils.network, utils.system).
294* BREAKING! Session and Cookie options namespaced on settings (settings.app.session.*, settings.app.cookie.*)
295* Logger module is now more resilient (logging data from closed streams won't throw an exception for example).
296* Default name engine renamed from jade to pug.
297* Updated dependencies to their latest versions.
298
2992.2.5
300=====
301* New util: maskString, to mask phone numbers and other values.
302* Updated dependencies to their latest versions.
303
3042.2.4
305=====
306* New app.sessionMaxAge setting to expire sessions.
307* The settings.general.ioCacheTimeout is now 30 sec (was 60 sec).
308* Updated dependencies to their latest versions.
309* Minor refactoring.
310
3112.2.3
312=====
313* Unpublished due to typo on Pug version.
314
3152.2.2
316=====
317* History starts here :-)
318
3191.0.0
320=====
321* First public release.