UNPKG

10.3 kBMarkdownView Raw
1
2# History
3
4## 4.11.1 (2018-02-05)
5
6* Add higher default timeout to mocha tests
7* Makefile fixes
8* Documentation improvements
9* Security policy updates
10
11## 4.11.0 (2017-11-20)
12
13* Make the response header that triggers shunter rendering configurable (thanks https://github.com/j1mr10rd4n)
14* Update dust js to latest version
15* Documentation updates
16* Allow travis to fail on unsupported node versions
17* Snyk policy updates
18
19## 4.10.7 (2017-10-02)
20
21* Temporarily rollback the patch update to dustjs - it breaks projects using the template test helper
22
23## 4.10.6 (2017-09-28)
24
25* Upgrade several dependencies
26* Disable creation of package-lock.json when using npm@5
27
28## 4.10.5 (2017-09-26)
29
30* Upgrade body-parser to 1.18.2
31* Update Snyk security policy
32
33## 4.10.4 (2017-09-21)
34
35* Updates Snyk security policy
36
37## 4.10.3 (2017-09-20)
38
39* Updates Snyk security policy
40
41## 4.10.2 (2017-08-09)
42
43* Fixes #210 - if using templated error pages internal errors with no status are masked
44
45## 4.10.1 (2017-08-04)
46
47* Upgrade jserve to 2.0.3. Fixes a vulnerability in the ms library: https://snyk.io/test/npm/jserve/2.0.2
48* Change the travis config and npm scripts in order to make `npm test` consistent between environments.
49* Add Snyk policy file and full integration of Snyk with the build process.
50
51## 4.10.0 (2017-07-17)
52
53* Support template rendering in client side tests
54
55## 4.9.0 (2017-06-28)
56
57* Support a `--no-exit` flag so end-users of the test-client can view test output in the Mocha Test Runner
58
59## 4.8.0 (2017-06-06)
60
61* updates compile step to handle .scss Sass files.
62* Removes some unused config files.
63* Updates Snyk and fixes the organisation name.
64
65## 4.7.1 (2017-05-31)
66
67* Fixes #160 - ensure text/html Content Type is set if returning an HTML templated error page
68
69## 4.7.0 (2017-05-16)
70
71* Makes the syslog transport user-configurable for the first time
72* Makes other winston logging transports & filters user-configurable
73* Adds getConfig() API method enabling users to read the runtime config
74
75## 4.6.2 (2017-05-11)
76
77* Ensures Shunter logs errors if using recent templated error pages option
78
79## 4.6.1 (2017-04-12)
80
81* Update most dependencies and devDependencies to the latest major version.
82* Some minor refactoring and cleanup.
83
84## 4.6.0 (2017-03-24)
85
86* Adds option facilitating templated error pages
87
88## 4.5.0 (2017-03-13)
89
90* Add a `--logging` option to allow for setting the logging level
91* Move less critical log events from info level to debug
92
93## 4.4.1 (2017-03-06)
94
95* Upgrade `qs` to `6.4.0`. Fixes https://snyk.io/vuln/npm:qs:20170213
96* Updates several dependencies that include the vulnerable `qs` package.
97* Replace all package version numbers in the package.json with the standard form as per our new dependency management guidelines in the playbook: https://github.com/springernature/frontend-playbook/blob/master/practices/dependency-management.md#specifying-versions-of-dependencies
98* Package.json cleanup
99
100## 4.4.0 (2017-03-02)
101
102* Better error reporting if the client side test runner fails
103* Build the script under test with the full mincer environment from your app
104
105## 4.3.0 (2017-02-15)
106
107* Add a `--compile-on-demand` option to enable lazy compilation of dust templates
108
109## 4.2.3 (2017-02-15)
110
111* Set the charset as utf-8 in JSON view
112* Documentation updates
113* Tidy up Travis config
114
115## 4.2.2 (2017-01-11)
116
117* Remove nature specific code from error page
118
119## 4.2.1 (2016-11-30)
120
121* Require `ejs` 2.5.3 or greater. Fixes a high severity remote code execution vuln.
122* Upgrade other dependencies. Fixes several `npm install` warnings.
123
124## 4.2.0 (2016-11-10)
125
126* Pass the original host through to the backend in an `X-Orig-Host` header when using `changeOrigin`/`--origin-override`
127
128## 4.1.3 (2016-11-03)
129
130* Re-release due to error in previous release
131
132## 4.1.2 (2016-11-03)
133
134* Update dependency in module with reported security issues
135 * wd: `~0.4` to `~1.0`
136
137## 4.1.1 (2016-11-02)
138
139* More gracefully handle errors if something is already running on the same port as shunter
140
141## 4.1.0 (2016-10-24)
142
143* Add CSS content-type mapping for dust-generated CSS files
144
145## 4.0.2 (2016-09-30)
146
147* Added `--preserve-whitespace` configuration flag to preserve whitespace in HTML output
148* Update dependencies
149 * dustjs-linkedin: `~2.7` to `>=2.7.4`
150 * gaze: `~1.0` to `~1.1`
151
152## 4.0.1 (2016-07-28)
153
154* Correct Node.js support documentation and CI config
155* Update dependencies
156 * async: `~1.4` to `~2.0`
157 * gaze: `~0.5` to `~1.0`
158
159## 4.0.0 (2016-07-27)
160
161* Drop support for Node.js < 4.x
162* Add support for Node.js 6
163* Remove the command line option `--deploy-timestamp-header`, which is now the default behaviour
164* Remove deprecated content-type `x-shunter-json`
165* Remove the following deprecated command line option aliases
166 * `--sourcedirectory` for `--source-directory`
167 * `--routeoveride` for `--route-override`
168 * `--originoveride` for `--origin-override`
169* Update dependencies
170 * body-parser: `~1.14` to `~1.15`
171 * cheerio: `~0.19` to `~0.20`
172 * csswring: `~3.0` to `~5.1`
173 * ejs: `0.8.3` to `~2.5`
174 * glob: `~5.0` to `~7.0`
175 * hasbin: `~1.1` to `~1.2`
176 * http-proxy: `~1.12` to `~1.14`
177 * jserve: `~1.2` to `~2.0`
178 * mincer: `~1.3` to `~1.4`
179 * mocha-phantomjs-core: `~1.1` to `~1.3`
180 * postcss: `~4.1` to `~5.1`
181 * qs: `~3.1` to `~6.2`
182 * request: `~2.67` to `~2.74`
183 * saucelabs: `~0.1` to `~1.2`
184 * serve-static: `~1.10` to `~1.11`
185 * uglify-js: `~2.6` to `~2.7`
186 * wd: `~0.3` to `~0.4`
187
188## 3.8.3 (2016-07-22)
189
190* Fixed missing url parameter in `classifiedTiming` calls
191
192## 3.8.2 (2016-07-22)
193
194* Allow the proxy timing metrics to be classified by page type
195
196## 3.8.1 (2016-07-14)
197
198* Fixed a bug where multibyte characters could get corrupted if they fell across multiple chunks of the backend response
199
200## 3.8.0 (2016-07-11)
201
202* Added `--deploy-timestamp-header` configuration flag to proxy the last deploy timestamp to the backend in a header `X-Shunter-Deploy-Timestamp` instead of a `shunter` query parameter
203
204## 3.7.0 (2016-04-20)
205
206* Added `--rewrite-redirect` and `--rewrite-protocol` configuration flags to allow the `autoRewrite` and `protocolRewrite` options to be set on node-http-proxy
207
208## 3.6.0 (2016-03-14)
209
210* More comprehensive route override mapping
211 * Fix bug where setting a hostname with a protocol would fallback to the default config
212 * Use url.parse() for more robust route mapping
213 * Surface the protocol for future use in shunter
214
215## 3.5.0 (2016-03-10)
216
217* The following command line options have been aliased, the original names are deprecated and will be removed in the next major version
218 * `--sourcedirectory` as `--source-directory`
219 * `--routeoveride` as `--route-override`
220 * `--originoveride` as `--origin-override`
221* Exit on start up and display the `--help` message if an unknown option is provided
222
223## 3.4.0 (2016-02-23)
224
225* Don't explicitly proxy to port 80 if no port is specified in the route
226
227## 3.3.3 (2016-02-09)
228
229* Update repository references to springernature
230* Update the license
231* Fix some typos in the documentation
232
233## 3.3.2 (2016-02-05)
234
235* Refactor the query module into a new library
236
237## 3.3.1 (2016-02-03)
238
239* Re-release due to rogue files in npm publish
240
241## 3.3.0 (2016-02-03)
242
243* Add `--originoveride` option
244* Simplify language on 'testing' page
245* Fix jshint linting errors
246* Better document the `--sourcedirectory` flag
247* Add sciam to the list of shunter sites
248
249## 3.2.0 (2015-12-01)
250
251* Add the ability to mount additional middleware before proxying
252* Standardise the history file
253
254## 3.1.1 (2015-11-27)
255
256* Update dependencies
257 * http-proxy: `~1.11` to `~1.12`
258 * request: `~2.64` to `~2.67`
259 * uglify-js: `~2.4` to `~2.6`
260 * yargs: `~3.26` to `~3.30`
261* Clarify the versioning documentation
262* Codify our support plan for older versions of Shunter
263
264## 3.1.0 (2015-11-24)
265
266* Add custom X-Shunter header to proxied requests https://github.com/springernature/shunter/issues/86
267
268## 3.0.2 (2015-11-17)
269
270* Run linters on CI under Node.js 0.12
271* Fix incorrect path in the getting started guide - thanks [Jorge Epuñan](https://github.com/juanbrujo)
272
273## 3.0.1 (2015-11-11)
274
275* Update the documentation
276
277## 3.0.0 (2015-11-10)
278
279* Regex now have to be explicitly indentified in `routes.json` by delimiting them with `/` characters
280
281## 2.2.0 (2015-11-09)
282
283* Add a `trim` filter to trim leading and trailing whitespace from a Dust reference
284
285## 2.1.4 (2015-11-09)
286
287* Add support for Node.js 5.x
288
289## 2.1.3 (2015-10-29)
290
291* Fix JSHint errors in creation of worker processes
292
293## 2.1.2 (2015-10-14)
294
295* Fix a bug that was causing async Dust helpers to fail
296
297## 2.1.1 (2015-10-09)
298
299* Fix loading of Mincer extensions
300
301## 2.1.0 (2015-10-07)
302
303* Add support for apps to load Mincer extensions
304* Add documentation for the [`good-starter-issue` label](https://github.com/springernature/shunter/labels/good-starter-issue)
305
306## 2.0.0 (2015-09-29)
307
308* Add support for Node.js 4.x
309* Add the ability to view raw JSON with a query parameter
310* Change the ordering or EJS helper parameters
311* Replace jsdom with Cheerio
312* Remove the PhantomJS install from the dependencies
313* Remove Base64-encoding of images in the CSS
314* Remove automatic `rem` conversion in the CSS
315* Update dependencies
316 * body-parser: `~1.13` to `~1.14`
317 * cookie-parser: `~1.3` to `~1.4`
318 * jserve: `~1.1` to `~1.2`
319 * request: `~2.62` to `~2.64`
320 * yargs: `~3.25` to `~3.26`
321
322## 1.0.1 (2015-09-23)
323
324* Update the documentation
325
326## 1.0.0 (2015-09-22)
327
328* Document modules
329* Add a sprauncy logo
330* Initial public release
331
332## 0.3.0 (2015-09-21)
333
334* Changed StatsD client to fix an incompatibility with some versions of Node.js 0.12
335
336## 0.2.1 (2015-09-18)
337
338* Replace `dust.helpers.tap` with `context.resolve` (see https://github.com/linkedin/dustjs-helpers/wiki/Deprecated-Features#tap)
339* Document Dust helpers, testing, input filters, and output filters
340* License under LGPL 3.0
341* Update dependencies
342 * mocha-phantomjs: `~3.5` to `~3.6`
343 * request: `~2.61` to `~2.62`
344 * yargs: `~3.15` to `~3.25`
345
346## 0.2.0 (2015-09-08)
347
348* Document configuration and template tests
349* Replace the built-in json-serve script with JServe
350* Downgrade the "template not found" error to a warning
351
352## 0.1.1 (2015-09-04)
353
354* Fix Travis encrypted config after repo rename
355
356## 0.1.0 (2015-09-04)
357
358* Initial release
359
\No newline at end of file