Skip to content

Releases: configcat/configcat-proxy

v0.2.2

12 Oct 16:32
Compare
Choose a tag to compare

Changed

  • Updated dependencies due to vulnerability report.
  • Corrected reported version in X-ConfigCat-UserAgent header.

v0.2.1

11 Oct 17:06
3d7cc2b
Compare
Choose a tag to compare

Added

  • Option to define regex patterns for CORS allowed origins.

    http:
      api:
        cors: 
          enabled: true
          allowed_origins_regex:
            patterns:
              - .*\.example1\.com
              - .*\.example2\.com
            if_no_match: https://example1.com

    The if_no_match field is mandatory when the regex option is set because that value is used in the Access-Control-Allow-Origin header when an incoming request's origin doesn't match with any configured patterns.

    If both allowed_origins_regex and allowed_origins options are set, the list in allowed_origins will be checked first and if there isn't a match, the execution will jump to evaluate the regex patterns.

v0.2.0

25 Sep 14:08
8193f95
Compare
Choose a tag to compare

Added

  • The ability to set allowed origins for CORS.
    When the allowed origins is set, the Proxy will include only that origin in the Access-Control-Allow-Origin response header, which matches the request's Origin. When there's no matching request origin, the Proxy will set the Access-Control-Allow-Origin response header to the first item in the allowed origins list.

Breaking Changes

  • The CORS configuration option for API, CDN Proxy, and SSE has been changed:
    • Old:
      http:
        api:
          allow_cors: true
    • New:
      http:
        api:
          cors:
            enabled: true
            allowed_origins: 
              - https://example1.com
              - https://example2.com

v0.1.6

21 Sep 14:42
294d78f
Compare
Choose a tag to compare

Added

  • Ability to load options.yml from a default location.
    The default location varies by platform:
    • Windows: %PROGRAMDATA%\configcat\proxy\options.yml, usually C:\ProgramData\configcat\proxy\options.yml
    • macOS: /Library/Application Support/configcat/proxy/options.yml
    • Linux: /etc/configcat/proxy/options.yml

v0.1.5

15 Sep 14:45
a6b67ff
Compare
Choose a tag to compare

Changelog

  • a6b67ff Merge pull request #7 from configcat/global-offline
  • e3cd10b Increase reported version
  • 93ba26f Add ability to put the whole Proxy instance into offline mode

v0.1.4

12 Sep 22:55
Compare
Choose a tag to compare

Changelog

  • 1037a4c Fix accidentally renamed CORS expose header
  • 2aa927a Merge pull request #6 from configcat/dependabot/github_actions/actions/checkout-4
  • 3265d50 Bump actions/checkout from 3 to 4

v0.1.3

24 Aug 20:30
Compare
Choose a tag to compare

Changelog

  • 4c0e846 Bump reported version
  • d9c3316 Merge pull request #5 from configcat/default-user-attributes
  • a29a762 Add more config tests
  • d1fc9ce Update packages due to security report
  • af6c2ad Add default user attributes
  • a56ff81 Type in router logs
  • f148e1c Typo in README.md

v0.1.2

10 Aug 12:12
Compare
Choose a tag to compare
  • Updated dependencies due to security vulnerability reports.

v0.1.1

28 Jul 12:34
Compare
Choose a tag to compare

Changelog

  • d038963 Override reported SDK version with Proxy version

v0.1.0

27 Jul 14:57
Compare
Choose a tag to compare
  • First beta release.