Skip to content

Commit 2f9d7a1

Browse files
Prepare for v2.0.5
1 parent 41037c7 commit 2f9d7a1

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ 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.5] - 2023-11-25 :lab_coat:
9+
- Adds support for resolving `Protocol` classes even when they don't define an
10+
`__init__` method, by @lucas-labs
11+
- Fixes bug in service provider build logic causing singletons to be instantiated
12+
n times when they are registered after its dependant, by @lucas-labs
13+
- Changes the "ignore attributes" logic so that if a class variable has already
14+
been initialized externally, rodi doesn't attempt to reinitialize it (and to
15+
also prevent overriding it if the initialized class variable is also a
16+
registered object), by @lucas-labs
17+
818
## [2.0.4] - 2023-10-28 :dragon:
919
- Fixes bug in Singleton implementation: stop singleton provider from recreating
1020
objects implementing `__len__`, by [Klavionik](https://github.com/Klavionik).

rodi/__about__.py

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

0 commit comments

Comments
 (0)