Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Sync Master] 0.9.3 release - Last API changes before GA #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
May 16, 2020
Merged

Conversation

heitorlessa
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

heitorlessa and others added 21 commits April 10, 2020 08:31
* feat(utils): add decorator factory

* improv: use partial to reduce complexity

* improv: add error handling

* chore: type hint

* docs: include pypi downloads badge

* feat: opt in to trace each middleware that runs

* improv: add initial util tests

* improv: test explicit and implicit trace_execution

* improv: test decorator with params

* chore: linting

* docs: include utilities

* improv: correct tests, dec_factory only for func

* improv: make util name more explicit

* improv: doc trace_execution, fix casting

* docs: add limitations, improve syntax

* docs: use new docs syntax

* fix: remove middleware decorator from libs

* feat: build docs in CI

* chore: linting

* fix: CI python-version type

* chore: remove docs CI

* chore: kick CI

* chore: include build badge master branch

* chore: refactor naming

* fix: rearrange tracing tests

* improv(tracer): toggle default auto patching

* feat(tracer): retrieve registered class instance

* fix(Makefile):  make cov target more explicit

* improv(Register): support multiple classes reg.

* improv(Register): inject class methods correctly

* docs: add how to reutilize Tracer

* improv(tracer): test auto patch method

* improv: address nicolas feedback

* improv: update example to reflect middleware feat

* fix: metric dimension in root blob

* chore: version bump

Co-authored-by: heitorlessa <[email protected]>
* fix: set NullHandler for package logger

* improv: remove root logger logic, lib

* fix: update exception type

* improv: propagate log level if set, null otherwise

* fix: explicit wins over env var

* chore: fix test naming

* fix: exception logging

* improv: shorten log location

* feat: add Logger class wrapper

* improv: add deprecation warning

* BREAKING CHANGE: logger_setup, inject_lambda_ctx

* improv: update tests

* improv: cover duplicated keys edge case

* improv: cover debug package logging

* improv: more coverage, linting

* improv: complete coverage, fix dead code

* docs: update readme to reflect changes

* fix: address jacob's code review feedback

* chore: linting

* fix: metric spillover at 100, not 101

* fix: trace auto-disable, doc edge cases

* chore: linting

* chore: 0.8.0 version bump

Co-authored-by: heitorlessa <[email protected]>
* improv: test all metric units

* fix: correct MetricUnit model values

* fix: metric unit as string branch logic

* chore: refactor

* chore: test str

* chore: bump version with metric unit patch

Co-authored-by: heitorlessa <[email protected]>
…hatch (#29)

* feat: use new TraceProvider

* improv: update tests

* improv: update docs, linting

* improv: docstring readability and links

* improv: remove tracer provider

* fix: patch modules type

* improv: use client ctx_manager for race conditions

* improv: make disabling provider private again

* chore: linting

* fix: race condition annotation/metadata

* chore: linting

* feat: add async support for methods

* improv: document async use cases, and edge cases

* improv: upgrade xray, flex pinning

* chore: linting

* improv: update example for async, escape hatch

* fix: add example dev deps in project

* improv: add patch_modules example, formatting

* improv: break down concurrent async calls example

* docs: main doc clean up

* docs: document async, escape hatch usage

* chore: lint

* docs: update example SAM template comments

* chore: updates poetry lock file

* improv: example to use py 3.8

* fix: AsyncMockMixin not being awaitable in 3.8

* fix: 3.8 defaulting to AsyncMock

* improv: include x-ray bug for concurrent async calls

* fix: address nicolas's feedback

* improv: add security baseline as part of PR process

* improv: enforce lower code complexity

* chore: whitespace

* improv: add complexity baseline

* chore: bump version to 0.9.0

* chore: clean up history changes

Co-authored-by: heitorlessa <[email protected]>
Powertools now have official tenets that will guide us as we move towards GA. Tenets will also help us remain consistent across different language implementations as we grow.
@heitorlessa heitorlessa merged commit 6407b33 into master May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant