Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws-powertools/powertools-lambda-typescript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.1
Choose a base ref
...
head repository: aws-powertools/powertools-lambda-typescript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.6.0
Choose a head ref
  • 8 commits
  • 49 files changed
  • 6 contributors

Commits on Feb 11, 2022

  1. fix(logger): fix logger attribute merging (#535)

    * Add unit tests
    
    * Fix attribute merging priority order & mutation
    
    * Update packages/logger/tests/unit/Logger.test.ts
    
    Co-authored-by: Andrea Amorosi <[email protected]>
    
    * Update packages/logger/tests/unit/Logger.test.ts
    
    Co-authored-by: Andrea Amorosi <[email protected]>
    
    * Update packages/logger/tests/unit/Logger.test.ts
    
    Co-authored-by: Sara Gerion <[email protected]>
    
    Co-authored-by: Andrea Amorosi <[email protected]>
    Co-authored-by: Sara Gerion <[email protected]>
    3 people authored Feb 11, 2022
    Configuration menu
    Copy the full SHA
    8180be1 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2022

  1. feat(logger): add e2e tests for logger (#529)

    * doc(all): Clarify selecting REGION for e2 tests
    
    * build(logger): add e2e tests
    
    The tests spin up actual infrastructure on AWS, invoke Lambda function, verify that the logs are printed correctly, and destroy the stack afterward.
    
    * chore(logger): remove unused code and dependencies
    
    * chore(logger): add note about flaky case that not some logs are missing
    
    * chore(logger): remove unused code
    
    * chore(logger): fix eslint formatting in e2e tests and return request id from function
    
    * chore(logger): fix typescript errors when running e2e tests
    
    * Update CONTRIBUTING.md
    
    Co-authored-by: Florian Chazal <[email protected]>
    
    * Make doc use the same request id as in doc + Remove unrelevant comment
    
    Co-authored-by: Florian Chazal <[email protected]>
    ijemmy and flochaz authored Feb 15, 2022
    Configuration menu
    Copy the full SHA
    e736b65 View commit details
    Browse the repository at this point in the history
  2. docs(theme): upgrade mkdocs material to 8.x (#534)

    * chore: bump mkdocs + add annotation plugins
    
    * docs: updated year in copyright notice
    
    * chore: remove redundant ignore
    dreamorosi authored Feb 15, 2022
    Configuration menu
    Copy the full SHA
    18228d5 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. chore(logger): make Logger E2E works for all runtimes (#559)

    * chore(logger): make E2E works for all runtimes
    
    * chore(logger): use generateUniqueName function
    
    * chore(logger): Increase e2e stack creation timeout to 300 seconds
    
    * chore(logger): Test using Github Action matrix strategy to pass env var to e2e tests
    
    * chore(logger): Fix e2e test with strategy matrix
    
    * Revert "chore(logger): Fix e2e test with strategy matrix"
    
    This reverts commit 85a67ab.
    
    * Revert "chore(logger): Test using Github Action matrix strategy to pass env var to e2e tests"
    
    This reverts commit f11140c.
    ijemmy authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    7c14ce7 View commit details
    Browse the repository at this point in the history
  2. feat(commons): centralize cold start heuristic (#547)

    * feat: added Utility common class w/ cold start heuristic + tests
    
    * feat: exported new Utility class
    
    * chore: (housekeeping) added missing jest group comments to LambdaInterface tests
    
    * Update packages/commons/src/Utility.ts
    
    Co-authored-by: ijemmy <[email protected]>
    
    * Update packages/commons/src/Utility.ts
    
    Co-authored-by: ijemmy <[email protected]>
    
    Co-authored-by: ijemmy <[email protected]>
    dreamorosi and ijemmy authored Feb 16, 2022
    Configuration menu
    Copy the full SHA
    4e4091f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5801d8 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. chore(all): Switch to use only eu-west-1 in tests and doc (#562)

    * chore(all): use eu-west-1 as a region for testing (both unit and e2e)
    
    This is to avoid confusion as E2E now runs in both region (logger use eu-central-1 while others use eu-west-1).
    It will throw an error if contributors did not cdk bootstrap both region properly.
    In addition, the `tests/resources/contexts/hello-world.ts` file is shared among utilities so we should keep the region consistent
    
    * chore(all): replace eu-central-1 with eu-west-1 in tracer and metrics packages
    
    * chore(doc): replace eu-central-1 with eu-west-1 in doc
    
    * chore(logger): remove .only
    ijemmy authored Feb 17, 2022
    Configuration menu
    Copy the full SHA
    778af2f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47522fc View commit details
    Browse the repository at this point in the history
Loading