Skip to content

Releases: httpland/cors

1.0.0-beta.6

14 Feb 07:03
Compare
Choose a tag to compare
1.0.0-beta.6 Pre-release
Pre-release

1.0.0-beta.6 (2023-02-14)

Features

  • cors: change withCors interface, remove unnessesary modules (7f9dd92)

1.0.0-beta.5

26 Sep 12:51
Compare
Choose a tag to compare
1.0.0-beta.5 Pre-release
Pre-release

1.0.0-beta.5 (2022-09-26)

Features

  • responses: add cors and preflight response function (1355f14)

1.0.0-beta.4

17 Sep 12:37
Compare
Choose a tag to compare
1.0.0-beta.4 Pre-release
Pre-release

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 from isCorsRequest (7138476)

1.0.0-beta.3

15 Sep 06:22
Compare
Choose a tag to compare
1.0.0-beta.3 Pre-release
Pre-release

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

16 Aug 07:08
Compare
Choose a tag to compare
1.0.0-beta.2 Pre-release
Pre-release

1.0.0-beta.2 (2022-08-16)

Bug Fixes

  • cors: format access-control-allow-methods header (6bdac27)

Features

  • utils: export isCorsRequest and isPreflightRequest functions (73ffb5f)
  • utils: rename isCorsPreflightRequest instead of isPreflightRequest (f5773d8)

1.0.0-beta.1

09 Aug 12:43
Compare
Choose a tag to compare
1.0.0-beta.1 Pre-release
Pre-release

1.0.0-beta.1 (2022-08-09)

Features

  • cors: add basic cors implementation and withCors function (b76a931)