Skip to content

Commit

Permalink
added new fixes for the 0.2.1 release: fixes ScenarioBuilder() in con…
Browse files Browse the repository at this point in the history
…figs; standardizing access to the settings
  • Loading branch information
4e6anenk0 committed Nov 23, 2023
1 parent 54b999c commit 50a98c8
Show file tree
Hide file tree
Showing 28 changed files with 552 additions and 358 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@
* Improved interface of context extensions;
* Generalized interface for configurations and settings separately;
* Some improvements.

## 0.2.1

* Changes for standardizing access to settings. Now, `BuildContext()` extensions have limited options for accessing settings. The available context methods include `setting<T>()` and `listenSetting<T>()`. Additionally, the `of()` method has been deprecated in favor of two separate methods, `from()` and `listenFrom()`.
* Now, to create settings, it is mandatory to create a class based on `SettingsModel()` for settings or a class based on `ConfigModel()` for configs. The type of this class must be specified when accessing settings through context methods.
* Thanks to standardization, `ScenarioBuilder()` can now be used in both configs and regular settings.
Loading

0 comments on commit 50a98c8

Please sign in to comment.