All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- bundles no longer reference undefined
regeneratorRuntime
(build now uses babel runtime transform)
- server now correctly responds to
HEAD
&OPTIONS
with actually empty body
- server now also responds to
HEAD
requests with empty bodyused by the
start-server-and-test
package for its ready-check
- Server now assumes a JSON response & saves it as an object
- Server option for ignoring headers
- Server option for customizing data serialization
- Server option for customizing responses
- Server now adds Date, Expires and Age headers with current request date when responding
- JSON data is now formatted with 2 spaces by default
- Date, Expires, Age and Content-Encoding headers are now removed before saving
- Changed file extensions of dist modules to reflect their syntax
- Renamed dist directories to reflect file extensions
- Removed module type from package
- Missing dist
- Missing babel core dev dependency
- Transpiled esm and cjs modules
- Main entry point
- Internal error on simultaneous empty data and empty errors
- Internal error on server errors
- Server decoding file data twice
- Swetch & Axios interceptor ignoring origin option
- Syntax error in Axios interceptor
- Origin property to swetch config (allows specifying fixed host for relative requests)
- Server always using request header origin
- Some requests never resolving
- Binary (npx)
swetch
script
- Start & exec scripts
- Log output with server info when running
- Verbose errors when missing resource or init
- Log output now shows shorter hashes
- Errors are now responded as application/json
- Passing nullish values in config overriding defaults
- First versions of
- Swetch
- Swetch server
- Axios Interceptor