Releases: httpland/cors
Releases · httpland/cors
1.0.0-beta.6
1.0.0-beta.6 (2023-02-14)
Features
- cors: change
withCors
interface, remove unnessesary modules (7f9dd92)
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.4 (2022-09-17)
Bug Fixes
- cors: handler must not call when the request is preflight by default (e887dc7)
Features
- cors: add event handler for preflight and simple request (f8a1751)
- cors: improve to cors definition accept dynamic function (6e560fb)
- cors: improve types to readonly (7bddf85)
- cors: pass context to dynamic definition (8fc1772)
- cors: rename cors options field name (918e055)
- utils: rename
isCrossOriginRequest
fromisCorsRequest
(7138476)
1.0.0-beta.3
1.0.0-beta.3 (2022-09-15)
Features
- cors: change options field name, add vary header to cors response (c3a149d)
1.0.0-beta.2
1.0.0-beta.2 (2022-08-16)
Bug Fixes
- cors: format access-control-allow-methods header (6bdac27)
Features
1.0.0-beta.1
1.0.0-beta.1 (2022-08-09)
Features
- cors: add basic cors implementation and
withCors
function (b76a931)