- Removes
package-lock.json
committed in previous release - Changes
wd
range specifier
- Update
wd
to fix a security vulnerability
- Fixes a bug where headers returned by the backend would be dropped
- Update
mincer
to patchlodash
vulnerability
- Fixes an issue that would prevent apps from starting when using
yargs
7.1.1+
- Fixes an issue with recent
http-proxy
update that could have broken proxying for some apps. See #339 - Updates
engines
field inpackage.json
to include node 8. We have been testing releases in node 8 for a few years.
- Upgrade
http-proxy
to fix a security vulnerability
- Pins
yargs
to version 7.1.0 as version 7.1.1 contains a version ofyargs-parser
that causes startup errors.
- Fixes an issue where a missing
mocha-phantomjs-core
dependency may cause client-side tests to fail.
- Populate
X-Shunter-Deploy-Timestamp
header with the current timestamp when running in development mode
- Adds
i
andq
flags toshunter-serve
to mimic real paths when serving mock JSON data. Fixes #276 (thanks https://github.com/cazwazacz)
- Hikes
request
dependency to 2.87 to address security vulnerability - Update testing documentation
- Remove unused jshint directives in tests
- Remove deprecated Buffer() constructor
- Fix worker test stub behaviour introduced in
4.11.4
that was causing child tests to fail
- Update
wd
andsaucelabs
- Mount path as config option (Thanks @samzilverberg)
- remove some unnecessary usage of path mock in tests
- Replace
sinon.reset()
withresetHistory()
- Remove gemnasium badge from README
- Remove
snyk test
from travis' test matrix - Upgrade sinon to 4.x. Fixes #253
- Replace xo with eslint and the springernature cfg
- Security policy updates
- Security policy updates
- Add higher default timeout to mocha tests
- Makefile fixes
- Documentation improvements
- Security policy updates
- Make the response header that triggers shunter rendering configurable (thanks https://github.com/j1mr10rd4n)
- Update dust js to latest version
- Documentation updates
- Allow travis to fail on unsupported node versions
- Snyk policy updates
- Temporarily rollback the patch update to dustjs - it breaks projects using the template test helper
- Upgrade several dependencies
- Disable creation of package-lock.json when using npm@5
- Upgrade body-parser to 1.18.2
- Update Snyk security policy
- Updates Snyk security policy
- Updates Snyk security policy
- Fixes #210 - if using templated error pages internal errors with no status are masked
- Upgrade jserve to 2.0.3. Fixes a vulnerability in the ms library: https://snyk.io/test/npm/jserve/2.0.2
- Change the travis config and npm scripts in order to make
npm test
consistent between environments. - Add Snyk policy file and full integration of Snyk with the build process.
- Support template rendering in client side tests
- Support a
--no-exit
flag so end-users of the test-client can view test output in the Mocha Test Runner
- updates compile step to handle .scss Sass files.
- Removes some unused config files.
- Updates Snyk and fixes the organisation name.
- Fixes #160 - ensure text/html Content Type is set if returning an HTML templated error page
- Makes the syslog transport user-configurable for the first time
- Makes other winston logging transports & filters user-configurable
- Adds getConfig() API method enabling users to read the runtime config
- Ensures Shunter logs errors if using recent templated error pages option
- Update most dependencies and devDependencies to the latest major version.
- Some minor refactoring and cleanup.
- Adds option facilitating templated error pages
- Add a
--logging
option to allow for setting the logging level - Move less critical log events from info level to debug
- Upgrade
qs
to6.4.0
. Fixes https://snyk.io/vuln/npm:qs:20170213 - Updates several dependencies that include the vulnerable
qs
package. - 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/main/practices/dependency-management.md#specifying-versions-of-dependencies
- Package.json cleanup
- Better error reporting if the client side test runner fails
- Build the script under test with the full mincer environment from your app
- Add a
--compile-on-demand
option to enable lazy compilation of dust templates
- Set the charset as utf-8 in JSON view
- Documentation updates
- Tidy up Travis config
- Remove nature specific code from error page
- Require
ejs
2.5.3 or greater. Fixes a high severity remote code execution vuln. - Upgrade other dependencies. Fixes several
npm install
warnings.
- Pass the original host through to the backend in an
X-Orig-Host
header when usingchangeOrigin
/--origin-override
- Re-release due to error in previous release
- Update dependency in module with reported security issues
- wd:
~0.4
to~1.0
- wd:
- More gracefully handle errors if something is already running on the same port as shunter
- Add CSS content-type mapping for dust-generated CSS files
- Added
--preserve-whitespace
configuration flag to preserve whitespace in HTML output - Update dependencies
- dustjs-linkedin:
~2.7
to>=2.7.4
- gaze:
~1.0
to~1.1
- dustjs-linkedin:
- Correct Node.js support documentation and CI config
- Update dependencies
- async:
~1.4
to~2.0
- gaze:
~0.5
to~1.0
- async:
- Drop support for Node.js < 4.x
- Add support for Node.js 6
- Remove the command line option
--deploy-timestamp-header
, which is now the default behaviour - Remove deprecated content-type
x-shunter-json
- Remove the following deprecated command line option aliases
--sourcedirectory
for--source-directory
--routeoveride
for--route-override
--originoveride
for--origin-override
- Update dependencies
- body-parser:
~1.14
to~1.15
- cheerio:
~0.19
to~0.20
- csswring:
~3.0
to~5.1
- ejs:
0.8.3
to~2.5
- glob:
~5.0
to~7.0
- hasbin:
~1.1
to~1.2
- http-proxy:
~1.12
to~1.14
- jserve:
~1.2
to~2.0
- mincer:
~1.3
to~1.4
- mocha-phantomjs-core:
~1.1
to~1.3
- postcss:
~4.1
to~5.1
- qs:
~3.1
to~6.2
- request:
~2.67
to~2.74
- saucelabs:
~0.1
to~1.2
- serve-static:
~1.10
to~1.11
- uglify-js:
~2.6
to~2.7
- wd:
~0.3
to~0.4
- body-parser:
- Fixed missing url parameter in
classifiedTiming
calls
- Allow the proxy timing metrics to be classified by page type
- Fixed a bug where multibyte characters could get corrupted if they fell across multiple chunks of the backend response
- Added
--deploy-timestamp-header
configuration flag to proxy the last deploy timestamp to the backend in a headerX-Shunter-Deploy-Timestamp
instead of ashunter
query parameter
- Added
--rewrite-redirect
and--rewrite-protocol
configuration flags to allow theautoRewrite
andprotocolRewrite
options to be set on node-http-proxy
- More comprehensive route override mapping
- Fix bug where setting a hostname with a protocol would fallback to the default config
- Use url.parse() for more robust route mapping
- Surface the protocol for future use in shunter
- The following command line options have been aliased, the original names are deprecated and will be removed in the next major version
--sourcedirectory
as--source-directory
--routeoveride
as--route-override
--originoveride
as--origin-override
- Exit on start up and display the
--help
message if an unknown option is provided
- Don't explicitly proxy to port 80 if no port is specified in the route
- Update repository references to springernature
- Update the license
- Fix some typos in the documentation
- Refactor the query module into a new library
- Re-release due to rogue files in npm publish
- Add
--originoveride
option - Simplify language on 'testing' page
- Fix jshint linting errors
- Better document the
--sourcedirectory
flag - Add sciam to the list of shunter sites
- Add the ability to mount additional middleware before proxying
- Standardise the history file
- Update dependencies
- http-proxy:
~1.11
to~1.12
- request:
~2.64
to~2.67
- uglify-js:
~2.4
to~2.6
- yargs:
~3.26
to~3.30
- http-proxy:
- Clarify the versioning documentation
- Codify our support plan for older versions of Shunter
- Add custom X-Shunter header to proxied requests #86
- Run linters on CI under Node.js 0.12
- Fix incorrect path in the getting started guide - thanks Jorge Epuñan
- Update the documentation
- Regex now have to be explicitly indentified in
routes.json
by delimiting them with/
characters
- Add a
trim
filter to trim leading and trailing whitespace from a Dust reference
- Add support for Node.js 5.x
- Fix JSHint errors in creation of worker processes
- Fix a bug that was causing async Dust helpers to fail
- Fix loading of Mincer extensions
- Add support for apps to load Mincer extensions
- Add documentation for the
good-starter-issue
label
- Add support for Node.js 4.x
- Add the ability to view raw JSON with a query parameter
- Change the ordering or EJS helper parameters
- Replace jsdom with Cheerio
- Remove the PhantomJS install from the dependencies
- Remove Base64-encoding of images in the CSS
- Remove automatic
rem
conversion in the CSS - Update dependencies
- body-parser:
~1.13
to~1.14
- cookie-parser:
~1.3
to~1.4
- jserve:
~1.1
to~1.2
- request:
~2.62
to~2.64
- yargs:
~3.25
to~3.26
- body-parser:
- Update the documentation
- Document modules
- Add a sprauncy logo
- Initial public release
- Changed StatsD client to fix an incompatibility with some versions of Node.js 0.12
- Replace
dust.helpers.tap
withcontext.resolve
(see https://github.com/linkedin/dustjs-helpers/wiki/Deprecated-Features#tap) - Document Dust helpers, testing, input filters, and output filters
- License under LGPL 3.0
- Update dependencies
- mocha-phantomjs:
~3.5
to~3.6
- request:
~2.61
to~2.62
- yargs:
~3.15
to~3.25
- mocha-phantomjs:
- Document configuration and template tests
- Replace the built-in json-serve script with JServe
- Downgrade the "template not found" error to a warning
- Fix Travis encrypted config after repo rename
- Initial release