CHANGELOG.md in smart_container-0.2.0 vs CHANGELOG.md in smart_container-0.3.0
- old
+ new
@@ -1,26 +1,17 @@
# Changelog
All notable changes to this project will be documented in this file.
-## [0.2.0] - 202-01-05
+## [0.3.0] - 2020-01-05
### Changed
+- Dependency resolving is not memoized by default (previously: totally memoized 😱);
+
+## [0.2.0] - 2020-01-05
+### Changed
- (Private API (`SmartCore::Container::RegistryBuilder`)) improved semantics:
- `build_state` is renamed to `initialise`;
- `build_definitions` is renamed to `define`;
-- (Public API) Support for memoized dependencies (all dependencies are memoized by default)
- ```ruby
- class MyContainer < SmartCore::Container
- namespace(:some_naespace) do
- # memoized by default
- register(:random_number) { rand(1000) }
- # explicit memoization
- register(:random_number, memoized: true) { rand(1000) }
-
- # register non-memoizable dependency
- register(:random_number, memoized: false) { rand(1000) }
- end
- end
- ```
+- (Public API) Support for memoized dependencies (all dependencies are memoized by default);
## [0.1.0] - 2020-01-02
- Release :)