github aws-powertools/powertools-lambda-python v2.7.0

latest releases: v2.43.1, v2.43.0, v2.42.0...
20 months ago

Summary

This release adds support for time-based Feature Flags, and simplified support for returning a custom HTTP status code on the event handler.

Feature Flags

Docs

This release enhanced the Feature Flags utility with a new time-based feature. You can now enable certain features in your application during the weekends, at a certain period or day, across one or more time zones. Big thanks to @ran-isenberg! Check out this sample that enables a feature on weekends in NYC TZ:

carbon (33)
carbon (32)

Event Handler

Docs

We also have a nice addition to our event handler utility. You can now add a second return argument if you want to customize the returned HTTP status code. ⭐ Big thanks to @theoutsider24 for your first contribution! ⭐

carbon (35)

Changes

🌟New features and non-breaking changes

📜 Documentation updates

🔧 Maintenance

  • chore(deps-dev): bump mkdocs-material from 9.0.5 to 9.0.6 (#1851) by @dependabot
  • chore(deps-dev): bump mypy-boto3-logs from 1.26.49 to 1.26.53 (#1850) by @dependabot
  • chore(deps-dev): bump aws-cdk-lib from 2.60.0 to 2.61.1 (#1849) by @dependabot
  • chore(deps-dev): bump mypy-boto3-cloudwatch from 1.26.30 to 1.26.52 (#1847) by @dependabot
  • feat(feature_flags): Add Time based feature flags actions (#1846) by @leandrodamascena
  • chore(deps-dev): bump types-requests from 2.28.11.7 to 2.28.11.8 (#1843) by @dependabot
  • chore(deps): bump peaceiris/actions-gh-pages from 3.9.1 to 3.9.2 (#1841) by @dependabot
  • chore(deps-dev): bump pytest from 7.2.0 to 7.2.1 (#1838) by @dependabot
  • chore(deps-dev): bump mkdocs-material from 9.0.4 to 9.0.5 (#1840) by @dependabot
  • chore(deps): bump zgosalvez/github-actions-ensure-sha-pinned-actions from 2.0.4 to 2.0.5 (#1837) by @dependabot
  • chore(deps): bump future from 0.18.2 to 0.18.3 (#1836) by @dependabot
  • chore(deps-dev): bump mkdocs-material from 9.0.3 to 9.0.4 (#1833) by @dependabot
  • chore(deps-dev): bump mypy-boto3-logs from 1.26.43 to 1.26.49 (#1834) by @dependabot
  • chore(deps-dev): bump mypy-boto3-secretsmanager from 1.26.40 to 1.26.49 (#1835) by @dependabot
  • chore(deps-dev): bump mypy-boto3-lambda from 1.26.18 to 1.26.49 (#1832) by @dependabot
  • chore(deps-dev): bump aws-cdk-lib from 2.59.0 to 2.60.0 (#1831) by @dependabot

This release was made possible by the following contributors:

@dependabot, @dependabot[bot], @leandrodamascena, @ran-isenberg, @rubenfonseca, @theoutsider24 and Release bot

Don't miss a new powertools-lambda-python release

NewReleases is sending notifications on new releases.