1 | # Changelog for expresser
|
2 |
|
3 | 4.4.0
|
4 | =====
|
5 | * Removed the "moment" dependency.
|
6 | * Updated dependencies.
|
7 |
|
8 | 4.3.2
|
9 | =====
|
10 | * Updated dependencies.
|
11 |
|
12 | 4.3.1
|
13 | =====
|
14 | * Updated dependencies.
|
15 |
|
16 | 4.3.0
|
17 | =====
|
18 | * NEW! Added raw and text body parsers.
|
19 | * DEPRECATED! The legacy plugin for v3 is not officially deprecated.
|
20 | * Some refactoring here and there.
|
21 | * Updated dependencies.
|
22 |
|
23 | 4.2.4
|
24 | =====
|
25 | * Updated dependencies.
|
26 |
|
27 | 4.2.3
|
28 | =====
|
29 | * Force status codes as number on app.renderError().
|
30 | * Updated dependencies.
|
31 |
|
32 | 4.2.2
|
33 | =====
|
34 | * Updated dependencies.
|
35 |
|
36 | 4.2.1
|
37 | =====
|
38 | * New app.set() shortcut.
|
39 | * Updated dependencies.
|
40 |
|
41 | 4.2.0
|
42 | =====
|
43 | * TypeScript types are now exported with the library.
|
44 |
|
45 | 4.1.2
|
46 | =====
|
47 | * Updated dependencies.
|
48 |
|
49 | 4.1.1
|
50 | =====
|
51 | * Defining settings.general.debug = true should also add "debug" to the Anyhow logger levels.
|
52 | * Updated dependencies.
|
53 |
|
54 | 4.1.0
|
55 | =====
|
56 | * NEW! Routes module to load and manage routes, supports Swagger specs.
|
57 | * NEW! All app render methods now accept a status code as last parameter.
|
58 | * Shortcut: "app.ssl=false" == "app.ssl.enabled=false"
|
59 | * General refactoring.
|
60 | * Updated dependencies.
|
61 |
|
62 | 4.0.5
|
63 | =====
|
64 | * Fixed app.renderError(), should always return a JSON now.
|
65 | * Updated dependencies.
|
66 |
|
67 | 4.0.4
|
68 | =====
|
69 | * Index is now a dedicated Expresser class.
|
70 | * Updated dependencies.
|
71 |
|
72 | 4.0.3
|
73 | =====
|
74 | * Improved error responses using app.renderError().
|
75 | * Fixed mutation issues when logging certain types of errors.
|
76 |
|
77 | 4.0.2
|
78 | =====
|
79 | * The Logger preprocessor now clones objects beforing logging.
|
80 |
|
81 | 4.0.1
|
82 | =====
|
83 | * Fixed the timeout behaviour on the app server.
|
84 |
|
85 | 4.0.0
|
86 | =====
|
87 | * A NEW EXPRESSER, BUILT FROM SCRATCH WITH TYPESCRIPT!
|
88 | * Migration docs: https://github.com/igoramadas/expresser/wiki/Migration-from-v3-to-v4
|
89 |
|
90 | ========================
|
91 | ========================
|
92 | Legacy versions below...
|
93 | ========================
|
94 |
|
95 | 3.5.3
|
96 | =====
|
97 | * FEATURE-FREEZE ON V3!!! Next Expresser v4 will be written from scratch.
|
98 | * Updated dependencies.
|
99 |
|
100 | 3.5.2
|
101 | =====
|
102 | * Updated dependencies.
|
103 |
|
104 | 3.5.1
|
105 | =====
|
106 | * NEW! Added option to include / exclude labels from system.getInfo() output.
|
107 | * Updated dependencies.
|
108 |
|
109 | 3.5.0
|
110 | =====
|
111 | * BREAKING! SystemUtils getInfo() renamed process attributes: memoryUsage to memoryUsed, memoryHeapUsage to memoryHeapUsed.
|
112 | * Settings (de)encryption now using up-to-date methods - note that your current key might need to be updated.
|
113 | * Improved app.renderError().
|
114 | * Updated dependencies.
|
115 |
|
116 | 3.4.7
|
117 | =====
|
118 | * System getInfo() util has new property names on "process" information.
|
119 | * Now including a package-lock.json file.
|
120 |
|
121 | 3.4.6
|
122 | =====
|
123 | * Maintenance release with updated dependencies.
|
124 |
|
125 | 3.4.5
|
126 | =====
|
127 | * Improved Logger, it now better handles moments, dates etc.
|
128 |
|
129 | 3.4.4
|
130 | =====
|
131 | * Logger console now respects settings.logger.sendTimestamp option.
|
132 | * Updated dependencies.
|
133 |
|
134 | 3.4.3
|
135 | =====
|
136 | * NEW! App.renderText() to send data as plain text to the client.
|
137 |
|
138 | 3.4.2
|
139 | =====
|
140 | * NEW! The app server timeout can be set on settings.app.timeout.
|
141 | * Updated dependencies.
|
142 |
|
143 | 3.4.1
|
144 | =====
|
145 | * NEW! App trustProxy option, default is 1.
|
146 | * NEW! Session proxy and resave settings.
|
147 | * Renamed App "compressionEnabled" setting renamed to "compression".
|
148 | * Removed unecessary files from published package.
|
149 |
|
150 | 3.4.0
|
151 | =====
|
152 | * NEW! Session saveUninitialized setting, default is false.
|
153 | * BREAKING! Session and cookie "secret" setting meged onto settings.app.secret.
|
154 | * BREAKING! Session cookies now secure be default (settings.app.session.secure = true).
|
155 | * Fixed issues with Session / Memory Store expiration.
|
156 | * Updated dependencies.
|
157 |
|
158 | 3.3.4
|
159 | =====
|
160 | * Maintenance release with updated dependencies.
|
161 |
|
162 | 3.3.3
|
163 | =====
|
164 | * Session now gets instantiated with a proper "checkPeriod".
|
165 | * Removed deprecated code.
|
166 |
|
167 | 3.3.2
|
168 | =====
|
169 | * NEW! Possible to disable Logger console styles by using settings.logger.styles = false.
|
170 | * Updated dependencies.
|
171 |
|
172 | 3.3.1
|
173 | =====
|
174 | * NEW / BREAKING! Now using express-session with memory store instead of cookie based.
|
175 | * NEW! Logger now emit important logging events: Logger.on.warn, Logger.on.error, Logger.on.critical
|
176 | * BREAKING! Default views path moved from /views to /assets/views.
|
177 | * Fixed chalk styles for deprecated Logger messages.
|
178 | * Updated utils.browser.getClientIP() to better support Socket.IO.
|
179 | * App.renderError will NOT log an error automatically now.
|
180 | * Improved exception logging when using the Logger.
|
181 | * Updated dependencies.
|
182 |
|
183 | 3.2.3
|
184 | =====
|
185 | * Fixed "argsCleaner" on Logger when not passing an array.
|
186 |
|
187 | 3.2.2
|
188 | =====
|
189 | * Added console style for deprecated messages on Logger.
|
190 | * Updated dependencies.
|
191 |
|
192 | 3.2.1
|
193 | =====
|
194 | * NEW! Using a faster event emitter.
|
195 | * Updated dependencies.
|
196 |
|
197 | 3.2.0
|
198 | =====
|
199 | * NEW! Events emitter is now exposed to external code.
|
200 | * NEW! NetworkUtils now can return IPv4 and IPv6 addresses.
|
201 | * BREAKING! Settings.unwatch() now replaces Settings.watch(false).
|
202 | * BREAKING! BrowserUtils.getDeviceString upgraded to getDeviceDetails.
|
203 | * BREAKING! SystemUtils.getIP deprecated in favour of the new getIP/getSingleIPv4 helpers on NetworkUtils.
|
204 | * BREAKING! Calling module methods via events is not possible anymore (not worth the performance penalty).
|
205 | * BREAKING! Plugins do not emit a "before.init" event any longer.
|
206 | * RENAMED! App.server is now App.expressApp.
|
207 | * RENAMED! App.getRoutes is now App.listRoutes.
|
208 | * Massive code refactoring!
|
209 |
|
210 | 3.1.0
|
211 | =====
|
212 | * NEW! Logger has a new "compact" option to compact log output to single line, enabled by default.
|
213 | * NEW! Logger "onLog" callback (so you can add custom post-log routines).
|
214 | * NEW! App has now a "version" attribute taken directly from package.json.
|
215 | * NEW! Accept invalid certificates by using "settings.app.sll.rejectUnauthorized = false".
|
216 | * RENAMED! Logger "maxDeepLevel" setting renamed to "maxDepth".
|
217 | * Code cleanup and some bits of refactoring.
|
218 | * Updated dependencies.
|
219 |
|
220 | 3.0.7
|
221 | =====
|
222 | * Updated dependencies.
|
223 | * Bits of code refactoring.
|
224 |
|
225 | 3.0.6
|
226 | =====
|
227 | * Updated dependencies.
|
228 |
|
229 | 3.0.4
|
230 | =====
|
231 | * NEW! Helper function "sleep" on IO utils to delay async code execution.
|
232 | * Updated dependencies.
|
233 |
|
234 | 3.0.3
|
235 | =====
|
236 | * Updated dependencies.
|
237 |
|
238 | 3.0.2
|
239 | =====
|
240 | * Fixed bugs when bundling and compressing assets (mincer).
|
241 | * Support for sourceMaps on bundled JS temporarily disabled.
|
242 |
|
243 | 3.0.1
|
244 | =====
|
245 | * NEW! Now using async / await whenever applicable. Callbacks are being phased out!
|
246 | * NEW! App has now a getRoutes helper to list all registered routes.
|
247 | * NEW! Logger has now a `maskFields` option in addition to the `obfuscateFields`.
|
248 | * NEW! Now using CoffeeScript v2.
|
249 | * DEPRECATED! Database plugins are now standalone and the old `database.coffee` wrapper is not deprecated.
|
250 | * Lots of unecessary modules and code removed, plus the usual bug fixing :-)
|
251 |
|
252 | 2.4.2
|
253 | =====
|
254 | * Fixed default views path (/views).
|
255 | * Updated styles for the Logger console.
|
256 | * General fixes.
|
257 |
|
258 | 2.4.1
|
259 | =====
|
260 | * Fixed major bug initializing plugins introduced with 2.3.4 (unpublished).
|
261 |
|
262 | 2.4.0
|
263 | =====
|
264 | * BREAKING! Old settings.path.viewDir|publicDir moved to settings.app.viewPath|publicPath.
|
265 | * Improved handling of errors rendering views and data on App.
|
266 | * Bits of code refactoring.
|
267 |
|
268 | 2.3.3
|
269 | =====
|
270 | * Improved utils.data to better handle empty and invalid strings.
|
271 | * Updated dependencies.
|
272 |
|
273 | 2.3.2
|
274 | =====
|
275 | * Updated dependencies.
|
276 |
|
277 | 2.3.1
|
278 | =====
|
279 | * Bug fix on utils.io.getFilePath.
|
280 |
|
281 | 2.3.0
|
282 | =====
|
283 | * BREAKING! Utils split into smaller classes (utils.browser, utils.data, utils.io, utiils.network, utils.system).
|
284 | * BREAKING! Session and Cookie options namespaced on settings (settings.app.session.*, settings.app.cookie.*)
|
285 | * Logger module is now more resilient (logging data from closed streams won't throw an exception for example).
|
286 | * Default name engine renamed from jade to pug.
|
287 | * Updated dependencies to their latest versions.
|
288 |
|
289 | 2.2.5
|
290 | =====
|
291 | * New util: maskString, to mask phone numbers and other values.
|
292 | * Updated dependencies to their latest versions.
|
293 |
|
294 | 2.2.4
|
295 | =====
|
296 | * New app.sessionMaxAge setting to expire sessions.
|
297 | * The settings.general.ioCacheTimeout is now 30 sec (was 60 sec).
|
298 | * Updated dependencies to their latest versions.
|
299 | * Minor refactoring.
|
300 |
|
301 | 2.2.3
|
302 | =====
|
303 | * Unpublished due to typo on Pug version.
|
304 |
|
305 | 2.2.2
|
306 | =====
|
307 | * History starts here :-)
|
308 |
|
309 | 1.0.0
|
310 | =====
|
311 | * First public release.
|