From c76adeb0d4fbbcf342ae7986e789f3230c134c9d Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Tue, 22 Sep 2020 17:48:59 +0200 Subject: [PATCH 1/2] chore: bump to 1.6.0 Signed-off-by: heitorlessa --- CHANGELOG.md | 11 ++++++++++- pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53af3f5b68..4298915a30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.6.0] - 2020-09-22 + ### Added -- **Metrics**: Support adding multiple metric values to a metric name +- **Metrics**: Support adding multiple metric values to a single metric name - **Utilities**: Add new `Validator` utility to validate inbound events and responses using JSON Schema +- **Utilities**: Add new `Event source data classes` utility to easily describe event schema of popular event sources +- **Docs**: Add new `Testing your code` section to both Logger and Metrics page, and content width is now wider +- **Tracer**: Support for automatically disable Tracer when running a Chalice app + +### Fixed +- **Docs**: Improve wording on log sampling feature in Logger, and removed duplicate content on main page +- **Utilities**: Remove DeleteMessageBatch API call when there are no messages to delete ## [1.5.0] - 2020-09-04 diff --git a/pyproject.toml b/pyproject.toml index 7a5f686681..803b200a0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aws_lambda_powertools" -version = "1.5.0" +version = "1.6.0" description = "Python utilities for AWS Lambda functions including but not limited to tracing, logging and custom metric" authors = ["Amazon Web Services"] classifiers=[ From dc74a72ac354522f5bafdff8134278d4ad5293e6 Mon Sep 17 00:00:00 2001 From: heitorlessa Date: Tue, 22 Sep 2020 17:50:39 +0200 Subject: [PATCH 2/2] chore: typo Signed-off-by: heitorlessa --- docs/content/core/logger.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/core/logger.mdx b/docs/content/core/logger.mdx index f6eaba0416..977ab58599 100644 --- a/docs/content/core/logger.mdx +++ b/docs/content/core/logger.mdx @@ -226,7 +226,7 @@ Sampling allows you to set your Logger Log Level as DEBUG based on a percentage This is useful when you want to troubleshoot an issue, say a sudden increase in concurrency, and you might not have enough information in your logs as Logger log level was understandably set as INFO. -Sampling decision happens at the Logger class initialization, which only happens during a cold start. This means sampling may happen significant more or less than you expect if you have a steady low number of invocations and thus few cold starts. +Sampling decision happens at the Logger class initialization, which only happens during a cold start. This means sampling may happen significantly more or less than you expect if you have a steady low number of invocations and thus few cold starts. If you want Logger to calculate sampling on every invocation, then please open a feature request.