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: v1.3.0
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: v1.4.0
Choose a head ref
  • 8 commits
  • 59 files changed
  • 8 contributors

Commits on Oct 17, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    9b52de4 View commit details
  2. Copy the full SHA
    652b7f0 View commit details

Commits on Oct 24, 2022

  1. chore(governance): update issue templates to use forms (#1128)

    * chore: update issue templates
    
    * Update .github/ISSUE_TEMPLATE/bug_report.yml
    
    Co-authored-by: ijemmy <[email protected]>
    
    * Update .github/ISSUE_TEMPLATE/documentation_improvements.yml
    
    Co-authored-by: ijemmy <[email protected]>
    
    * Update .github/ISSUE_TEMPLATE/maintenance.yml
    
    Co-authored-by: ijemmy <[email protected]>
    
    * Update .github/ISSUE_TEMPLATE/maintenance.yml
    
    Co-authored-by: ijemmy <[email protected]>
    
    * Update .github/ISSUE_TEMPLATE/rfc.yml
    
    Co-authored-by: ijemmy <[email protected]>
    
    * Update .github/ISSUE_TEMPLATE/support_powertools.yml
    
    Co-authored-by: ijemmy <[email protected]>
    
    * Update .github/ISSUE_TEMPLATE/feature_request.yml
    
    Co-authored-by: ijemmy <[email protected]>
    
    Co-authored-by: ijemmy <[email protected]>
    dreamorosi and ijemmy authored Oct 24, 2022
    Copy the full SHA
    f71a79f View commit details

Commits on Oct 25, 2022

  1. docs: main page updates around support (#1133)

    * docs: main page updates around support
    
    * Update docs/index.md
    
    Co-authored-by: Heitor Lessa <[email protected]>
    
    Co-authored-by: Heitor Lessa <[email protected]>
    dreamorosi and heitorlessa authored Oct 25, 2022
    Copy the full SHA
    c25279c View commit details

Commits on Oct 26, 2022

  1. fix(metrics): metadata and dimensions not cleared on publish (#1129)

    * test(metrics): add tests to cover clearing metadata and dimensions after publishing stored metrics
    
    * fix(metrics): fix metadata and dimensions not cleared on publish
    shdq authored Oct 26, 2022
    Copy the full SHA
    b209c30 View commit details

Commits on Oct 27, 2022

  1. Added Pulumi code to deploy lambda with powertools (#1135)

    * Added Pulumi code to deploy lambda with powertools
    
    * Update docs/index.md
    
    Co-authored-by: Leandro Damascena <[email protected]>
    
    * Update docs/index.md
    
    Co-authored-by: Leandro Damascena <[email protected]>
    
    Co-authored-by: Leandro Damascena <[email protected]>
    pierskarsenbarg and leandrodamascena authored Oct 27, 2022
    Copy the full SHA
    6dc2bef View commit details
  2. feat(all): moved EnvService to commons + exposed getXrayTraceId in tr…

    …acer (#1123)
    
    * feat: moved EnvService to commons + exposed getXrayTraceId in tracer
    
    * docs: added docs section for getRootXrayTraceId
    
    * Update docs/core/tracer.md
    
    Co-authored-by: Josh Kellendonk <[email protected]>
    
    * fix: remove reduntant methods
    
    * chore: updated unit test case
    
    Co-authored-by: Josh Kellendonk <[email protected]>
    dreamorosi and misterjoshua authored Oct 27, 2022
    Copy the full SHA
    c8e3c15 View commit details
  3. Copy the full SHA
    e1cdc4c View commit details
Showing with 1,304 additions and 915 deletions.
  1. +0 −51 .github/ISSUE_TEMPLATE/BUG_REPORT.md
  2. +0 −38 .github/ISSUE_TEMPLATE/DOC_IMPROVEMENT.md
  3. +0 −37 .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
  4. +0 −71 .github/ISSUE_TEMPLATE/RFC.md
  5. +89 −0 .github/ISSUE_TEMPLATE/bug_report.yml
  6. +5 −1 .github/ISSUE_TEMPLATE/config.yml
  7. +51 −0 .github/ISSUE_TEMPLATE/documentation_improvements.yml
  8. +48 −0 .github/ISSUE_TEMPLATE/feature_request.yml
  9. +63 −0 .github/ISSUE_TEMPLATE/maintenance.yml
  10. +99 −0 .github/ISSUE_TEMPLATE/rfc.yml
  11. +56 −0 .github/ISSUE_TEMPLATE/share_your_work.yml
  12. +64 −0 .github/ISSUE_TEMPLATE/support_powertools.yml
  13. +16 −0 CHANGELOG.md
  14. +7 −7 docs/core/logger.md
  15. +2 −4 docs/core/metrics.md
  16. +42 −10 docs/core/tracer.md
  17. +239 −265 docs/index.md
  18. +8 −0 examples/cdk/CHANGELOG.md
  19. +35 −35 examples/cdk/package-lock.json
  20. +4 −4 examples/cdk/package.json
  21. +8 −0 examples/sam/CHANGELOG.md
  22. +35 −35 examples/sam/package-lock.json
  23. +4 −4 examples/sam/package.json
  24. +11 −0 layer-publisher/CHANGELOG.md
  25. +1 −1 layer-publisher/package-lock.json
  26. +1 −1 layer-publisher/package.json
  27. +1 −1 layer-publisher/tests/unit/__snapshots__/layer-publisher.test.ts.snap
  28. +1 −1 lerna.json
  29. +11 −0 packages/commons/CHANGELOG.md
  30. +1 −1 packages/commons/package.json
  31. +31 −0 packages/commons/src/config/ConfigService.ts
  32. +67 −0 packages/commons/src/config/EnvironmentVariablesService.ts
  33. +2 −0 packages/commons/src/config/index.ts
  34. +1 −0 packages/commons/src/index.ts
  35. +113 −0 packages/commons/tests/unit/config/EnvironmentVariablesService.test.ts
  36. +11 −0 packages/logger/CHANGELOG.md
  37. +2 −2 packages/logger/package.json
  38. +3 −19 packages/logger/src/Logger.ts
  39. +0 −85 packages/logger/src/config/ConfigService.ts
  40. +12 −33 packages/logger/src/config/EnvironmentVariablesService.ts
  41. +0 −1 packages/logger/src/config/index.ts
  42. +0 −66 packages/logger/tests/unit/config/EnvironmentVariablesService.test.ts
  43. +16 −0 packages/metrics/CHANGELOG.md
  44. +2 −2 packages/metrics/package.json
  45. +5 −3 packages/metrics/src/Metrics.ts
  46. +0 −13 packages/metrics/src/config/ConfigService.ts
  47. +1 −1 packages/metrics/src/config/ConfigServiceInterface.ts
  48. +3 −10 packages/metrics/src/config/EnvironmentVariablesService.ts
  49. +0 −1 packages/metrics/src/config/index.ts
  50. +57 −1 packages/metrics/tests/unit/Metrics.test.ts
  51. +11 −0 packages/tracer/CHANGELOG.md
  52. +2 −2 packages/tracer/package.json
  53. +38 −0 packages/tracer/src/Tracer.ts
  54. +1 −0 packages/tracer/src/TracerInterface.ts
  55. +0 −28 packages/tracer/src/config/ConfigService.ts
  56. +7 −14 packages/tracer/src/config/EnvironmentVariablesService.ts
  57. +0 −1 packages/tracer/src/config/index.ts
  58. +17 −0 packages/tracer/tests/unit/Tracer.test.ts
  59. +0 −66 packages/tracer/tests/unit/config/EnvironmentVariablesService.test.ts
51 changes: 0 additions & 51 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md

This file was deleted.

38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/DOC_IMPROVEMENT.md

This file was deleted.

37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

This file was deleted.

71 changes: 0 additions & 71 deletions .github/ISSUE_TEMPLATE/RFC.md

This file was deleted.

89 changes: 89 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Bug report
description: Report a reproducible bug to help us improve
title: "Bug: TITLE"
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: |
Thank you for submitting a bug report. Before you start, make sure that [the bug hasn't been reported already](https://github.com/awslabs/aws-lambda-powertools-typescript/issues).
Please add as much information as possible to help us reproduce, and remove any potential sensitive data.
- type: textarea
id: expected_behaviour
attributes:
label: Expected Behaviour
description: Please share details on the behaviour you expected
validations:
required: true
- type: textarea
id: current_behaviour
attributes:
label: Current Behaviour
description: Please share details on the current issue
validations:
required: true
- type: textarea
id: code_snippet
attributes:
label: Code snippet
description: Please share a code snippet to help us reproduce the issue
render: JavaScript
validations:
required: true
- type: textarea
id: solution
attributes:
label: Possible Solution
description: If known, please suggest a potential resolution
validations:
required: false
- type: textarea
id: steps
attributes:
label: Steps to Reproduce
description: Please share how we might be able to reproduce this issue
validations:
required: true
- type: input
id: version
attributes:
label: AWS Lambda Powertools for TypeScript version
placeholder: "latest, 1.3.0"
value: latest
validations:
required: true
- type: dropdown
id: runtime
attributes:
label: AWS Lambda function runtime
options:
- 12.x
- 14.x
- 16.x
validations:
required: true
- type: dropdown
id: packaging
attributes:
label: Packaging format used
options:
- Lambda Layers
- Npm
multiple: true
validations:
required: true
- type: textarea
id: logs
attributes:
label: Debugging logs
description: If available, please share [debugging logs](https://awslabs.github.io/aws-lambda-powertools-python/#debug-mode)
render: Shell
validations:
required: false
- type: markdown
attributes:
value: |
---
**Disclaimer**: After creating an issue, please wait until it is triaged and confirmed by a maintainer before implementing it. This will reduce amount of rework and the chance that a pull request gets rejected.
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
blank_issues_enabled: false
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/awslabs/aws-lambda-powertools-typescript/discussions/new
about: Ask a general question about Lambda Powertools
51 changes: 51 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation_improvements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Documentation improvements
description: Suggest a documentation update to improve everyone's experience
title: "Docs: TITLE"
labels: ["documentation", "triage"]
body:
- type: markdown
attributes:
value: |
Thank you for helping us improve everyone's experience. We review documentation updates on a case by case basis.
- type: textarea
id: search_area
attributes:
label: What were you searching in the docs?
description: Please help us understand how you looked for information that was either unclear or not available
validations:
required: true
- type: input
id: area
attributes:
label: Is this related to an existing documentation section?
description: Please share a link, if applicable
validations:
required: false
- type: textarea
id: idea
attributes:
label: How can we improve?
description: Please share your thoughts on how we can improve this experience
render: Markdown
validations:
required: true
- type: textarea
id: suggestion
attributes:
label: Got a suggestion in mind?
description: Please suggest a proposed update
validations:
required: false
- type: checkboxes
id: acknowledgment
attributes:
label: Acknowledgment
options:
- label: I understand the final update might be different from my proposed suggestion, or refused.
required: true
- type: markdown
attributes:
value: |
---
**Disclaimer**: After creating an issue, please wait until it is triaged and confirmed by a maintainer before implementing it. This will reduce amount of rework and the chance that a pull request gets rejected.
Loading