- Improve documentation credits @tommoor
- Bump dependecies
- Switch to Github actions
- Replace
hostname
string configuration with more flexiblehostname => hostname
function to allow more flexible redirect rules between domains & sub domains. For backwad compatibility use() => "mydomain.com"
credits @newhouse
- fix temporary status (302 -> 307)
- not sure how this mistake happend but given it can be consider as being out of spec or bug this I'm going with PATCH bump and hope it won't break anyone downstream
- hotfix return next middleware
__esModule
flag to enable support of ES style import via esm.js
- Fixes in documentation
- Remove odd behaviour cumulated over time
- remove special handling of OPTIONS requests
- remove internal redirect support
- Allow header only for 405 status
- rename option
disallowedStatus -> disallowStatus
- module exports hash and not function (function can be found in
default
key) - replace flags with resolvers
- default disallow method status is
405
- flag
specCompliantDisallow
removed (default behaviour)- for compatibility with old behaviour set
disallowStatus
to403
- for compatibility with old behaviour set
- support for
Forwarded
header (via resolver) #25
- Support for
customProtoHeader
- Remove pre-release flag
- Koa 2.0.0 stable - documentation changes
specCompiantDisallow
support
- Koa 2.0.0 (async/await)
- Skip
403
port in URL by default- new option
skipDefaultPort
to disable this beaviour - CREDITS: @MathRobin
- new option
- Avoid install warnings with latest node versions
- Add method based handling when redirecting
- whitelist methods for
301/302
redirect (defaults:GET
,HEAD
) - whitelist methods for
307
redirect (defaults: none) - respond with
403
to all other methods
- whitelist methods for
- fix
hostname
option - more tests
- Do not use global settings
- add tests
- BREAKING: options to hash
- Support for Azure
- Support for pure HTTPS