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.
- Changes to handling URLS with a
hash
.- No longer intercept
hash
changes (allows for default browser action). - No longer add
hash
toreq.url
orreq.headers.referer
for consistency with server side http. - Removes built in smooth scrolling on urls with a
hash
.
- No longer intercept
- Remove official support for IE9.
- Switch project to use TypeScript. (This allows code completion in VS Code!)
- Some private API's were moved around but this should be non-breaking for most people.
- Project now uses prettier for automatic formatting.
- Update deps.
- Removes and moves some hidden
_properties
fromIncomingMessage
. (Requires an update to @rill/body). - Better support for typescript with improved JSDoc.
- Moves initialization of non-methods to the constructor instead of the prototype for server-response.
- Update dev dependencies.
- Update dev dependencies.
- Rename 'browser' adapter to 'document' to avoid confusion.
- Change adapter api to expose { fetch, attach }.
- Improve documentation.
- Update dependencies.
- Fetch api is now always async.
- Add 'files' and 'query' options to browser fetch api.
- Allow for first argument to fetch api to be a url string.
- Fix regression with parsing querystrings on GET forms.
- Improved inline JSDocs.
- Fixed regression with referrer not being the full href.
- Switched to custom url/querystring parser and serializer. Optimized file size.
- Reduced fetch api flexability to make fetch polyfill optional.
- Fetch api now supports a 'form' option which will automatically parse forms.
- Fetch api now sends out body as a regular array, moved blob creation to userland as per readme.
- No longer use node's buffer module to build response body's. Now uses blobs (ie10+).
- Large refactor
- 100% test coverage
- Saucelabs testing
- Travis CI
- Support IE9+ (previously IE10+) thanks in part to html5-history-api
- Now will work in web workers and pretty much anywhere that runs js.
- BrowserAdapter#Navigate now has the same API as WHATWG fetch.