Skip to content

Commit a037c55

Browse files
Prepare for v2.0.3
1 parent cd488f4 commit a037c55

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.0.3] - 2023-08-14 :sun_with_face:
9+
- Checks `scoped_services` before resolving from map when in a scope, by [StummeJ](https://github.com/StummeJ).
10+
- Allow getting from scope context without needing to provide scope, by [StummeJ](https://github.com/StummeJ).
11+
812
## [2.0.2] - 2023-03-31 :flamingo:
913
- Ignores `ClassVar` properties when resolving dependencies by class notations.
1014
- Marks `rodi` 2 as stable.

rodi/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.2"
1+
__version__ = "2.0.3"

rodi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
248248

249249
def get(
250250
self,
251-
desired_type: Union[Union[Type[T], str], str],
251+
desired_type: Union[Type[T], str],
252252
scope: Optional["ActivationScope"] = None,
253253
*,
254254
default: Optional[Any] = ...,

0 commit comments

Comments
 (0)