v1.26.3
Summary
This patch release addresses an issue with Lambda handlers with custom signatures (*args, **kwargs) when using logger.inject_lambda_context
decorator - thanks to @RonRandemaker
Thanks to @kbakk, we now have officially documented how to inject standard logging record attributes when using Logger.
This release continues our focus on Operational Excellence with several GitHub Actions to improve our automation on governance tasks (e.g., PR labeling, Comments on issues closed, Markdown linting rules etc.).
Last but not least, we've started revamping all documentation examples, including making some of them more realistic to how customers would code.
Ah! Before I forget...huge thanks to new contributors @RonRademaker, @kbakk.
Changes
📜 Documentation updates
- docs(metrics): snippets split, improved, and lint (#1272) by @heitorlessa
- docs(logger): document enriching logs with logrecord attributes (#1271) by @kbakk
- docs(logger): snippets split, improved, and lint (#1262) by @heitorlessa
- docs(tracer): snippets split, improved, and lint (#1261) by @heitorlessa
- docs(tracer): split and lint code snippets (#1260) by @heitorlessa
- docs(lint): add markdownlint rules and automation (#1256) by @heitorlessa
🐛 Bug and hot fixes
- fix(logger): preserve std keys when using custom formatters (#1264) by @heitorlessa
- fix(logger): support additional args for handlers when injecting lambda context (#1276) by @RonRademaker
🔧 Maintenance
- chore(deps): bump dependabot/fetch-metadata from 1.3.2 to 1.3.3 (#1273) by @dependabot
- chore(deps-dev): bump flake8-bugbear from 22.6.22 to 22.7.1 (#1274) by @dependabot
- chore(deps): bump aws-xray-sdk from 2.9.0 to 2.10.0 (#1270) by @dependabot
- chore(deps): bump dependabot/fetch-metadata from 1.1.1 to 1.3.2 (#1269) by @dependabot
- docs(logger): snippets split, improved, and lint (#1262) by @heitorlessa
- docs(tracer): snippets split, improved, and lint (#1261) by @heitorlessa
- docs(tracer): split and lint code snippets (#1260) by @heitorlessa
- docs(lint): add markdownlint rules and automation (#1256) by @heitorlessa
- chore(deps-dev): bump flake8-bugbear from 22.4.25 to 22.6.22 (#1258) by @dependabot
- chore(deps-dev): bump mypy-boto3-dynamodb from 1.24.0 to 1.24.12 (#1255) by @dependabot
- chore(deps-dev): bump mypy-boto3-secretsmanager from 1.24.0 to 1.24.11.post3 (#1252) by @dependabot
- chore(test-perf): use pytest-benchmark to improve reliability (#1250) by @heitorlessa
This release was made possible by the following contributors:
@RonRademaker, @dependabot, @dependabot[bot], @heitorlessa and @kbakk