diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bc9ea2..ba0230a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # RoactRodux Changelog # Unreleased Changes +## 0.5.1 (2022-05-20) +* Expose StoreContext in public API (for use by hooks) ([#56](https://github.com/Roblox/roact-rodux/pull/56)) + ## 0.5.0 (2021-12-06) * Move store connection back to didMount to align more closely with ReactRedux and Roact api. * Conditionally update child mappedProps on didMount if the mappedStoreState has changed between init and mount. This should prevent components from receiving stale rodux state. diff --git a/rotriever.toml b/rotriever.toml index 068c800..ab3e26e 100644 --- a/rotriever.toml +++ b/rotriever.toml @@ -3,7 +3,7 @@ name = "RoactRodux" author = "Roblox" license = "Apache-2.0" content_root = "src" -version = "0.5.0" +version = "0.5.1" files = ["*", "!*.spec.lua"] [dependencies] diff --git a/src/init.lua b/src/init.lua index ca867ee..387d5df 100644 --- a/src/init.lua +++ b/src/init.lua @@ -1,8 +1,10 @@ local StoreProvider = require(script.StoreProvider) +local StoreContext = require(script.StoreContext) local connect = require(script.connect) return { StoreProvider = StoreProvider, + StoreContext = StoreContext, connect = connect, UNSTABLE_connect2 = connect, }