Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update all cache behavior that has Fingerprint pro association #186

Conversation

sshelomentsev
Copy link
Contributor

No description provided.

Copy link
Contributor

This PR will create a major release 🚀

2.0.0 (2024-02-12)

⚠ BREAKING CHANGES

  • use node 20

Features

  • add endpoints structure and error handlers (f5b3709)
  • add event and ctx types (6f72caf)
  • add lambda function update (2b2a2c4)
  • add settings secret, update mgmt lambda permissions (#162) (d84e6df)
  • improve error handling in mgmt-lambda (529f9d4)
  • increase timeout for Fingerprint lambda (a5662fa)
  • introduce deployment settings (850ca61)
  • introduce mgmt-token scheme for authorization (#176) (97cec56)
  • mgmt-lambda-update: introduce error codes (d38f5f1)
  • pass AWS clients into handlers (d84dd9e)
  • reworked getting env, updated tests (2f7ceb6)
  • update all cache behavior that has Fingerprint pro association (3f12e31)
  • update lambda existence check (d816e8f)
  • update secrets manager to V3, retrieve secret in mgmt-lambda (64e1e39)
  • upgrade Lambda functions runtime to Node 20 (cabf2f5)
  • use AWS SDK v3 Client mock for testing (2eb947c)

Bug Fixes

  • remove aws-sdk v2 usage (9f76031)
  • remove CodePipeline client (f98c8d5)
  • remove CodePipeline part from mgmt code (01a3739)
  • set correct type for public URL events (baba28d)
  • update handleResult tests with comparing hrefs (0c53e8f)
  • update logging (3b6c713)

Copy link
Contributor

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements
94.81% (-0.71% 🔻)
530/559
🟢 Branches
88.89% (-2.08% 🔻)
136/153
🟢 Functions
92.04% (-0.69% 🔻)
104/113
🟢 Lines
94.91% (-0.76% 🔻)
503/530
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / updateHandler.ts
93.67% (-6.33% 🔻)
84.62% (-15.38% 🔻)
88.89% (-11.11% 🔻)
93.59% (-6.41% 🔻)

Test suite run success

119 tests passing in 18 suites.

Report generated by 🧪jest coverage report action from 3f12e31

Show full coverage report
St File % Stmts % Branch % Funcs % Lines Uncovered Line #s
🟢 All files 94.81 88.88 92.03 94.9
🟢  mgmt-lambda 98.83 93.33 100 98.83
🟢   DefaultSettings.ts 100 100 100 100
🟢   app.ts 97.87 95 100 97.87 25
🟢   auth.ts 100 100 100 100
🟢   exceptions.ts 100 66.66 100 100 15
🟢  mgmt-lambda/handlers 94.17 81.81 92.85 94.11
🟢   errorHandlers.ts 100 71.42 100 100 22,41
🟢   statusHandler.ts 85.71 100 100 85.71 21
🟢   updateHandler.ts 93.67 84.61 88.88 93.58 83,86-89
🟢  proxy/handlers 87.35 85.71 89.65 87.95
🟢   handleAgentDowloading.ts 96 66.66 100 95.83 26
🟡   handleResult.ts 76.19 100 76.92 77.5 88-103
🟢   handleStatus.ts 100 100 100 100
🟡  proxy/test 77.77 100 50 71.42
🟡   aws.ts 77.77 100 50 71.42 4-5
🟢  proxy/test/utils/customer-variables 100 100 100 100
🟢   in-memory-customer-variables.ts 100 100 100 100
🟢  proxy/utils 98.55 84.61 96.42 98.41
🟢   buffer.ts 100 100 100 100
🟢   cache-control.ts 100 100 100 100
🟢   cookie.ts 100 100 100 100
🟢   headers.ts 100 100 100 100
🔴   is-blob.ts 0 0 0 0 6-7
🟢   log.ts 100 50 100 100 5-6
🟢   request.ts 100 100 100 100
🟢   routing.ts 100 100 100 100
🟢   traffic.ts 100 100 100 100
🟢  proxy/utils/customer-variables 100 100 100 100
🟢   customer-variables.ts 100 100 100 100
🟢   defaults.ts 100 100 100 100
🟢   header-customer-variables.ts 100 100 100 100
🟢   maybe-obfuscate-variable.ts 100 100 100 100
🟢   selectors.ts 100 100 100 100
🟢   types.ts 100 100 100 100
🟢  proxy/utils/customer-variables/secrets-manager 89.39 100 84.61 90.76
🔴   normalize-secret.ts 0 100 0 0 1-4
🟢   retrieve-secret.ts 100 100 100 100
🟢   secrets-manager-variables.ts 86.95 100 100 86.95 32,54-59
🟢   validate-secret.ts 100 100 100 100

@sshelomentsev sshelomentsev merged commit be1cf74 into feature/rollout-as-code Feb 14, 2024
7 checks passed
@sshelomentsev sshelomentsev deleted the feature/INTER-527-cache-behaviors-update branch February 14, 2024 08:27
This was referenced Feb 15, 2024
sshelomentsev added a commit that referenced this pull request Feb 26, 2024
…186)

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>
sshelomentsev added a commit that referenced this pull request Feb 26, 2024
…186)

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>
sshelomentsev added a commit that referenced this pull request Feb 26, 2024
…186)

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>
@github-actions github-actions bot mentioned this pull request Feb 26, 2024
sshelomentsev added a commit that referenced this pull request Feb 29, 2024
* feat: rollout as a code (#161)

* feat: implement single CloudFormation template

* fix: remove old templates

* fix: remove whitespaces

* feat: attach domain name and its certificate to CloudFront distribution

* feat: add condition to attach aliases

* fix: add NoValue for default properties

* chore: minor change

* chore: fix description

* feat: ability to specify multiple domain names

* fix: replace secret's JSON creation to basic join func

* fix: don't ask for secret region, use us-east-1 by default

* fix: domainName to domainNames

* feat: add cfn-guard rules for the template

* feat: add GitHub action for cfn validation

* fix: fix call

* fix: fix paths

---------

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>

* fix: remove CodePipeline part from mgmt code

* fix: remove CodePipeline client

* feat: add event and ctx types

* fix: set correct type for public URL events

* feat: update secrets manager to V3, retrieve secret in mgmt-lambda

* feat: introduce deployment settings

* feat: add endpoints structure and error handlers

* feat: add lambda function update

* fix: remove aws-sdk v2 usage

* feat: use AWS SDK v3 Client mock for testing

* fix: update logging

* fix: update handleResult tests with comparing hrefs

* chore: remove unused test function

* feat: pass AWS clients into handlers

* test: add tests for mgmt-lambda handlers

* test: add basic test for update handler

* test: add basic tests for lambda call

* test: update app test

* test: fix mgmt-lambda app test

* ci: update coverage source

* chore: lint fix

* test: add more test for mgmt-lambda handler

* chore: address review comments, fix tests

* feat: reworked getting env, updated tests

* chore: else block

* feat: update lambda existence check

* feat: add settings secret, update mgmt lambda permissions (#162)

* feat: introduce mgmt-token scheme for authorization (#176)

* feat: upgrade Lambda functions runtime to Node 20

BREAKING CHANGE: use node 20

* feat: increase timeout for Fingerprint lambda

* ci: update node version to v20

* test: update guard rules for the template

* chore: change URLs to Lambda functions v2 (#179)

* feat: improve error handling in mgmt-lambda

* chore: fix exception name

* feat(mgmt-lambda-update): introduce error codes

* test: add mgmt lambda update endpoint tests

* chore: review changes for inter-482

* chore: lambda check null or undefined

* chore: xErrorCode to code and verbose error code names

* chore: use readonly instead of getter for code field

* chore: make code field public

* test: use await expect instead of assertions

* test: add all cases for update endpoint

* feat: rework logging (#184)

* chore: remove usage of Winston logger

* chore: remove Winston dependency

* feat: set log level

---------

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>

* ci: publish template.yml into S3 bucket (#185)

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>

* feat: update all cache behavior that has fingerprint pro association (#186)

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>

* fix: cloudformation templatex (#188)

* chore: fix CloudFormation template

* chore: update guard rules

---------

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>

* feat: update package management (#189)

* chore: switch to pnpm

* chore: fix external dependencies exclusion

* chore: add types

* chore: update dependencies to latest versions

* chore: update husky

* chore: install @fingerprint dx dependencies

* chore: update commitlint config

* chore: use @fingerprint dx eslint plugin

* chore: extend typescript config with dx config

* chore: add pnpm workspace

* chore: fix eslint

* chore: remove eslint dependencies

* chore: update tsconfig

---------

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>

* chore: update linter (#193)

* chore: update eslint and prettier configs

* chore: lint code

---------

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>

* chore: remove @aws types from tsconfig

* chore: remove whatwg-fetch

* chore: uncomment tests

* test: adjust tests to the new mocker

* chore: rename Cloudfront -> CloudFront

---------

Co-authored-by: Sergey Shelomentsev <sergey.shelomentsev@fingerprint.com>
Co-authored-by: Orkun <orkuncakilkaya@gmail.com>
This was referenced Feb 29, 2024
ilfa pushed a commit that referenced this pull request Feb 29, 2024
## [2.0.0-rc.1](v1.4.0...v2.0.0-rc.1) (2024-02-29)

### ⚠ BREAKING CHANGES

* use node 20

### Features

* add endpoints structure and error handlers ([c473539](c473539))
* add event and ctx types ([82c053b](82c053b))
* add lambda function update ([38b445f](38b445f))
* add settings secret, update mgmt lambda permissions ([#162](#162)) ([ab3caa5](ab3caa5))
* improve error handling in mgmt-lambda ([3736d14](3736d14))
* increase timeout for Fingerprint lambda ([1e0ae54](1e0ae54))
* introduce deployment settings ([ec13d5f](ec13d5f))
* introduce mgmt-token scheme for authorization ([#176](#176)) ([c884027](c884027))
* **mgmt-lambda-update:** introduce error codes ([6929756](6929756))
* pass AWS clients into handlers ([1aa3dc8](1aa3dc8))
* rework logging ([#184](#184)) ([a88941c](a88941c))
* reworked getting env, updated tests ([0b29764](0b29764))
* rollout as a code ([#161](#161)) ([0636c1a](0636c1a))
* update all cache behavior that has fingerprint pro association ([#186](#186)) ([2970364](2970364))
* update lambda existence check ([403680c](403680c))
* update package management ([#189](#189)) ([5135b1b](5135b1b))
* update secrets manager to V3, retrieve secret in mgmt-lambda ([a60bee4](a60bee4))
* upgrade Lambda functions runtime to Node 20 ([2818c30](2818c30))
* use AWS SDK v3 Client mock for testing ([0bb22ce](0bb22ce))

### Bug Fixes

* cloudformation templatex ([#188](#188)) ([a32e4ff](a32e4ff))
* remove aws-sdk v2 usage ([b1d0d72](b1d0d72))
* remove CodePipeline client ([ed7d52d](ed7d52d))
* remove CodePipeline part from mgmt code ([fb79578](fb79578))
* set correct type for public URL events ([379ec65](379ec65))
* update handleResult tests with comparing hrefs ([aeb49c8](aeb49c8))
* update logging ([07664bc](07664bc))
ilfa pushed a commit that referenced this pull request Mar 1, 2024
## [2.0.0](v1.4.0...v2.0.0) (2024-03-01)

### ⚠ BREAKING CHANGES

* use node 20

### Features

* add endpoints structure and error handlers ([c473539](c473539))
* add event and ctx types ([82c053b](82c053b))
* add lambda function update ([38b445f](38b445f))
* add settings secret, update mgmt lambda permissions ([#162](#162)) ([ab3caa5](ab3caa5))
* improve error handling in mgmt-lambda ([3736d14](3736d14))
* increase timeout for Fingerprint lambda ([1e0ae54](1e0ae54))
* introduce deployment settings ([ec13d5f](ec13d5f))
* introduce mgmt-token scheme for authorization ([#176](#176)) ([c884027](c884027))
* **mgmt-lambda-update:** introduce error codes ([6929756](6929756))
* pass AWS clients into handlers ([1aa3dc8](1aa3dc8))
* rework logging ([#184](#184)) ([a88941c](a88941c))
* reworked getting env, updated tests ([0b29764](0b29764))
* rollout as a code ([#161](#161)) ([0636c1a](0636c1a))
* update all cache behavior that has fingerprint pro association ([#186](#186)) ([2970364](2970364))
* update lambda existence check ([403680c](403680c))
* update package management ([#189](#189)) ([5135b1b](5135b1b))
* update secrets manager to V3, retrieve secret in mgmt-lambda ([a60bee4](a60bee4))
* upgrade Lambda functions runtime to Node 20 ([2818c30](2818c30))
* use AWS SDK v3 Client mock for testing ([0bb22ce](0bb22ce))

### Bug Fixes

* cloudformation templatex ([#188](#188)) ([a32e4ff](a32e4ff))
* remove aws-sdk v2 usage ([b1d0d72](b1d0d72))
* remove CodePipeline client ([ed7d52d](ed7d52d))
* remove CodePipeline part from mgmt code ([fb79578](fb79578))
* set correct type for public URL events ([379ec65](379ec65))
* update handleResult tests with comparing hrefs ([aeb49c8](aeb49c8))
* update logging ([07664bc](07664bc))
sshelomentsev pushed a commit that referenced this pull request Mar 5, 2024
## [2.0.0](v1.4.0...v2.0.0) (2024-03-01)

### ⚠ BREAKING CHANGES

* use node 20

### Features

* add endpoints structure and error handlers ([c473539](c473539))
* add event and ctx types ([82c053b](82c053b))
* add lambda function update ([38b445f](38b445f))
* add settings secret, update mgmt lambda permissions ([#162](#162)) ([ab3caa5](ab3caa5))
* improve error handling in mgmt-lambda ([3736d14](3736d14))
* increase timeout for Fingerprint lambda ([1e0ae54](1e0ae54))
* introduce deployment settings ([ec13d5f](ec13d5f))
* introduce mgmt-token scheme for authorization ([#176](#176)) ([c884027](c884027))
* **mgmt-lambda-update:** introduce error codes ([6929756](6929756))
* pass AWS clients into handlers ([1aa3dc8](1aa3dc8))
* rework logging ([#184](#184)) ([a88941c](a88941c))
* reworked getting env, updated tests ([0b29764](0b29764))
* rollout as a code ([#161](#161)) ([0636c1a](0636c1a))
* update all cache behavior that has fingerprint pro association ([#186](#186)) ([2970364](2970364))
* update lambda existence check ([403680c](403680c))
* update package management ([#189](#189)) ([5135b1b](5135b1b))
* update secrets manager to V3, retrieve secret in mgmt-lambda ([a60bee4](a60bee4))
* upgrade Lambda functions runtime to Node 20 ([2818c30](2818c30))
* use AWS SDK v3 Client mock for testing ([0bb22ce](0bb22ce))

### Bug Fixes

* cloudformation templatex ([#188](#188)) ([a32e4ff](a32e4ff))
* remove aws-sdk v2 usage ([b1d0d72](b1d0d72))
* remove CodePipeline client ([ed7d52d](ed7d52d))
* remove CodePipeline part from mgmt code ([fb79578](fb79578))
* set correct type for public URL events ([379ec65](379ec65))
* update handleResult tests with comparing hrefs ([aeb49c8](aeb49c8))
* update logging ([07664bc](07664bc))
fingerprint-dx-team bot pushed a commit that referenced this pull request Apr 22, 2024
## [2.0.0-rc.1](v1.4.0...v2.0.0-rc.1) (2024-04-22)

### ⚠ BREAKING CHANGES

* use node 20

### Features

* add ability to override API hosts in AWS Secret ([11af4c4](11af4c4))
* add endpoints structure and error handlers ([c473539](c473539))
* add event and ctx types ([82c053b](82c053b))
* add lambda function update ([38b445f](38b445f))
* add settings secret, update mgmt lambda permissions ([#162](#162)) ([ab3caa5](ab3caa5))
* check CodeSha256 before upgrading consequent resources ([7fdbd21](7fdbd21))
* check version's state after Lambda@Edge function upgrade ([12e5aad](12e5aad))
* improve error handling in mgmt-lambda ([3736d14](3736d14))
* increase timeout for Fingerprint lambda ([1e0ae54](1e0ae54))
* introduce deployment settings ([ec13d5f](ec13d5f))
* introduce mgmt-token scheme for authorization ([#176](#176)) ([c884027](c884027))
* **mgmt-lambda-update:** introduce error codes ([6929756](6929756))
* pass AWS clients into handlers ([1aa3dc8](1aa3dc8))
* rework logging ([#184](#184)) ([a88941c](a88941c))
* reworked getting env, updated tests ([0b29764](0b29764))
* rollout as a code ([#161](#161)) ([0636c1a](0636c1a))
* status endpoint: return necessary information about Lambda and CloudFront ([2f3ceed](2f3ceed))
* update all cache behavior that has fingerprint pro association ([#186](#186)) ([2970364](2970364))
* update lambda existence check ([403680c](403680c))
* update package management ([#189](#189)) ([5135b1b](5135b1b))
* update secrets manager to V3, retrieve secret in mgmt-lambda ([a60bee4](a60bee4))
* upgrade Lambda functions runtime to Node 20 ([2818c30](2818c30))
* use AWS SDK v3 Client mock for testing ([0bb22ce](0bb22ce))
* use revisionId for Lambda code deployment ([934dd37](934dd37))

### Bug Fixes

* cloudformation templatex ([#188](#188)) ([a32e4ff](a32e4ff))
* don't set code 500 in status endpoint responses ([b4a4d04](b4a4d04))
* handle requests with trailing and leading slashes in URI ([cabe27a](cabe27a))
* normalize secret before retrieving values ([26ab35f](26ab35f))
* remove aws-sdk v2 usage ([b1d0d72](b1d0d72))
* remove CodePipeline client ([ed7d52d](ed7d52d))
* remove CodePipeline part from mgmt code ([fb79578](fb79578))
* set correct type for public URL events ([379ec65](379ec65))
* update handleResult tests with comparing hrefs ([aeb49c8](aeb49c8))
* update logging ([07664bc](07664bc))
* use default region for getting secret ([ec596ec](ec596ec))
fingerprint-dx-team bot pushed a commit that referenced this pull request Apr 22, 2024
## [2.0.0-rc.1](v1.4.0...v2.0.0-rc.1) (2024-04-22)

### ⚠ BREAKING CHANGES

* use node 20

### Features

* add ability to override API hosts in AWS Secret ([11af4c4](11af4c4))
* add endpoints structure and error handlers ([c473539](c473539))
* add event and ctx types ([82c053b](82c053b))
* add lambda function update ([38b445f](38b445f))
* add settings secret, update mgmt lambda permissions ([#162](#162)) ([ab3caa5](ab3caa5))
* check CodeSha256 before upgrading consequent resources ([7fdbd21](7fdbd21))
* check version's state after Lambda@Edge function upgrade ([12e5aad](12e5aad))
* improve error handling in mgmt-lambda ([3736d14](3736d14))
* increase timeout for Fingerprint lambda ([1e0ae54](1e0ae54))
* introduce deployment settings ([ec13d5f](ec13d5f))
* introduce mgmt-token scheme for authorization ([#176](#176)) ([c884027](c884027))
* **mgmt-lambda-update:** introduce error codes ([6929756](6929756))
* pass AWS clients into handlers ([1aa3dc8](1aa3dc8))
* rework logging ([#184](#184)) ([a88941c](a88941c))
* reworked getting env, updated tests ([0b29764](0b29764))
* rollout as a code ([#161](#161)) ([0636c1a](0636c1a))
* status endpoint: return necessary information about Lambda and CloudFront ([2f3ceed](2f3ceed))
* update all cache behavior that has fingerprint pro association ([#186](#186)) ([2970364](2970364))
* update lambda existence check ([403680c](403680c))
* update package management ([#189](#189)) ([5135b1b](5135b1b))
* update secrets manager to V3, retrieve secret in mgmt-lambda ([a60bee4](a60bee4))
* upgrade Lambda functions runtime to Node 20 ([2818c30](2818c30))
* use AWS SDK v3 Client mock for testing ([0bb22ce](0bb22ce))
* use revisionId for Lambda code deployment ([934dd37](934dd37))

### Bug Fixes

* cloudformation templatex ([#188](#188)) ([a32e4ff](a32e4ff))
* don't set code 500 in status endpoint responses ([b4a4d04](b4a4d04))
* handle requests with trailing and leading slashes in URI ([cabe27a](cabe27a))
* normalize secret before retrieving values ([26ab35f](26ab35f))
* remove aws-sdk v2 usage ([b1d0d72](b1d0d72))
* remove CodePipeline client ([ed7d52d](ed7d52d))
* remove CodePipeline part from mgmt code ([fb79578](fb79578))
* set correct type for public URL events ([379ec65](379ec65))
* update handleResult tests with comparing hrefs ([aeb49c8](aeb49c8))
* update logging ([07664bc](07664bc))
* use default region for getting secret ([ec596ec](ec596ec))
fingerprint-dx-team bot pushed a commit that referenced this pull request Apr 22, 2024
## [2.0.0-rc.1](v1.4.0...v2.0.0-rc.1) (2024-04-22)

### ⚠ BREAKING CHANGES

* use node 20

### Features

* add ability to override API hosts in AWS Secret ([11af4c4](11af4c4))
* add endpoints structure and error handlers ([c473539](c473539))
* add event and ctx types ([82c053b](82c053b))
* add lambda function update ([38b445f](38b445f))
* add settings secret, update mgmt lambda permissions ([#162](#162)) ([ab3caa5](ab3caa5))
* check CodeSha256 before upgrading consequent resources ([7fdbd21](7fdbd21))
* check version's state after Lambda@Edge function upgrade ([12e5aad](12e5aad))
* improve error handling in mgmt-lambda ([3736d14](3736d14))
* increase timeout for Fingerprint lambda ([1e0ae54](1e0ae54))
* introduce deployment settings ([ec13d5f](ec13d5f))
* introduce mgmt-token scheme for authorization ([#176](#176)) ([c884027](c884027))
* **mgmt-lambda-update:** introduce error codes ([6929756](6929756))
* pass AWS clients into handlers ([1aa3dc8](1aa3dc8))
* rework logging ([#184](#184)) ([a88941c](a88941c))
* reworked getting env, updated tests ([0b29764](0b29764))
* rollout as a code ([#161](#161)) ([0636c1a](0636c1a))
* status endpoint: return necessary information about Lambda and CloudFront ([2f3ceed](2f3ceed))
* update all cache behavior that has fingerprint pro association ([#186](#186)) ([2970364](2970364))
* update lambda existence check ([403680c](403680c))
* update package management ([#189](#189)) ([5135b1b](5135b1b))
* update secrets manager to V3, retrieve secret in mgmt-lambda ([a60bee4](a60bee4))
* upgrade Lambda functions runtime to Node 20 ([2818c30](2818c30))
* use AWS SDK v3 Client mock for testing ([0bb22ce](0bb22ce))
* use revisionId for Lambda code deployment ([934dd37](934dd37))

### Bug Fixes

* cloudformation templatex ([#188](#188)) ([a32e4ff](a32e4ff))
* don't set code 500 in status endpoint responses ([b4a4d04](b4a4d04))
* handle requests with trailing and leading slashes in URI ([cabe27a](cabe27a))
* normalize secret before retrieving values ([26ab35f](26ab35f))
* remove aws-sdk v2 usage ([b1d0d72](b1d0d72))
* remove CodePipeline client ([ed7d52d](ed7d52d))
* remove CodePipeline part from mgmt code ([fb79578](fb79578))
* set correct type for public URL events ([379ec65](379ec65))
* update handleResult tests with comparing hrefs ([aeb49c8](aeb49c8))
* update logging ([07664bc](07664bc))
* use default region for getting secret ([ec596ec](ec596ec))
fingerprint-dx-team bot pushed a commit that referenced this pull request Apr 22, 2024
## [2.0.0-rc.1](v1.4.0...v2.0.0-rc.1) (2024-04-22)

### ⚠ BREAKING CHANGES

* use node 20

### Features

* add ability to override API hosts in AWS Secret ([11af4c4](11af4c4))
* add endpoints structure and error handlers ([c473539](c473539))
* add event and ctx types ([82c053b](82c053b))
* add lambda function update ([38b445f](38b445f))
* add settings secret, update mgmt lambda permissions ([#162](#162)) ([ab3caa5](ab3caa5))
* check CodeSha256 before upgrading consequent resources ([7fdbd21](7fdbd21))
* check version's state after Lambda@Edge function upgrade ([12e5aad](12e5aad))
* improve error handling in mgmt-lambda ([3736d14](3736d14))
* increase timeout for Fingerprint lambda ([1e0ae54](1e0ae54))
* introduce deployment settings ([ec13d5f](ec13d5f))
* introduce mgmt-token scheme for authorization ([#176](#176)) ([c884027](c884027))
* **mgmt-lambda-update:** introduce error codes ([6929756](6929756))
* pass AWS clients into handlers ([1aa3dc8](1aa3dc8))
* rework logging ([#184](#184)) ([a88941c](a88941c))
* reworked getting env, updated tests ([0b29764](0b29764))
* rollout as a code ([#161](#161)) ([0636c1a](0636c1a))
* status endpoint: return necessary information about Lambda and CloudFront ([2f3ceed](2f3ceed))
* update all cache behavior that has fingerprint pro association ([#186](#186)) ([2970364](2970364))
* update lambda existence check ([403680c](403680c))
* update package management ([#189](#189)) ([5135b1b](5135b1b))
* update secrets manager to V3, retrieve secret in mgmt-lambda ([a60bee4](a60bee4))
* upgrade Lambda functions runtime to Node 20 ([2818c30](2818c30))
* use AWS SDK v3 Client mock for testing ([0bb22ce](0bb22ce))
* use revisionId for Lambda code deployment ([934dd37](934dd37))

### Bug Fixes

* cloudformation templatex ([#188](#188)) ([a32e4ff](a32e4ff))
* don't set code 500 in status endpoint responses ([b4a4d04](b4a4d04))
* handle requests with trailing and leading slashes in URI ([cabe27a](cabe27a))
* normalize secret before retrieving values ([26ab35f](26ab35f))
* remove aws-sdk v2 usage ([b1d0d72](b1d0d72))
* remove CodePipeline client ([ed7d52d](ed7d52d))
* remove CodePipeline part from mgmt code ([fb79578](fb79578))
* set correct type for public URL events ([379ec65](379ec65))
* update handleResult tests with comparing hrefs ([aeb49c8](aeb49c8))
* update logging ([07664bc](07664bc))
* use default region for getting secret ([ec596ec](ec596ec))
@github-actions github-actions bot mentioned this pull request Apr 22, 2024
fingerprint-dx-team bot pushed a commit that referenced this pull request May 16, 2024
## [2.0.0](v1.4.0...v2.0.0) (2024-05-16)

### ⚠ BREAKING CHANGES

* use node 20

### Features

* add ability to override API hosts in AWS Secret ([11af4c4](11af4c4))
* add endpoints structure and error handlers ([c473539](c473539))
* add event and ctx types ([82c053b](82c053b))
* add lambda function update ([38b445f](38b445f))
* add settings secret, update mgmt lambda permissions ([#162](#162)) ([ab3caa5](ab3caa5))
* check CodeSha256 before upgrading consequent resources ([7fdbd21](7fdbd21))
* check version's state after Lambda@Edge function upgrade ([12e5aad](12e5aad))
* do not throw error if the secret manager has unexpected key ([c6e3078](c6e3078))
* improve error handling in mgmt-lambda ([3736d14](3736d14))
* increase timeout for Fingerprint lambda ([1e0ae54](1e0ae54))
* introduce deployment settings ([ec13d5f](ec13d5f))
* introduce mgmt-token scheme for authorization ([#176](#176)) ([c884027](c884027))
* **mgmt-lambda-update:** introduce error codes ([6929756](6929756))
* pass AWS clients into handlers ([1aa3dc8](1aa3dc8))
* remove fpjs_behavior_path variable ([4c78f62](4c78f62))
* rework logging ([#184](#184)) ([a88941c](a88941c))
* reworked getting env, updated tests ([0b29764](0b29764))
* rollout as a code ([#161](#161)) ([0636c1a](0636c1a))
* status endpoint: return necessary information about Lambda and CloudFront ([2f3ceed](2f3ceed))
* update all cache behavior that has fingerprint pro association ([#186](#186)) ([2970364](2970364))
* update lambda existence check ([403680c](403680c))
* update package management ([#189](#189)) ([5135b1b](5135b1b))
* update secrets manager to V3, retrieve secret in mgmt-lambda ([a60bee4](a60bee4))
* upgrade Lambda functions runtime to Node 20 ([2818c30](2818c30))
* use AWS SDK v3 Client mock for testing ([0bb22ce](0bb22ce))
* use revisionId for Lambda code deployment ([934dd37](934dd37))

### Bug Fixes

* agent download reqs did not keep custom queries ([e9ee3c4](e9ee3c4))
* agent download request headers ([b2dcb89](b2dcb89))
* browser cache req headers ([4569f5e](4569f5e))
* cache behavior origin matching logic ([7b1ff11](7b1ff11))
* check set log level if true ([15d9d53](15d9d53))
* cloudformation templatex ([#188](#188)) ([a32e4ff](a32e4ff))
* cloudfront update logic add attempt ([106b332](106b332))
* don't set code 500 in status endpoint responses ([b4a4d04](b4a4d04))
* handle requests with trailing and leading slashes in URI ([cabe27a](cabe27a))
* mgmt lambda counter bug ([dbd4642](dbd4642))
* normalize secret before retrieving values ([26ab35f](26ab35f))
* remove aws-sdk v2 usage ([b1d0d72](b1d0d72))
* remove CodePipeline client ([ed7d52d](ed7d52d))
* remove CodePipeline part from mgmt code ([fb79578](fb79578))
* remove FPJS_DEBUG header from the template ([e58d6cd](e58d6cd))
* set correct type for public URL events ([379ec65](379ec65))
* set log level ([a02fbf9](a02fbf9))
* treat request.uri as the path, not the URL ([131f2b7](131f2b7))
* update handleResult tests with comparing hrefs ([aeb49c8](aeb49c8))
* update logging ([07664bc](07664bc))
* use default region for getting secret ([ec596ec](ec596ec))

### Documentation

* **README:** fix typo ([cac192c](cac192c))
* **README:** update links to v2, add deprecation notice ([caa5cfa](caa5cfa))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants