All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Always call all effect managers so they get updated subscriptions even if there are no subscriptions anymore. See PR #8.
0.5.0 - 2020-10-22
- Add internal dummy field to preserve generic parameter of
Cmd<Action>
andSub<Action>
.
0.4.0 - 2020-04-24
- Add
setup()
toEffectManger
. This makes it possible for setup code to exist outside of core. For example code for setting up listening to popstate for navigation. - Add generic
Init
type toinit()
function andProgram.run()
instead of passing current url. This makes it possible to pass any type of data from the outside into the init() function of the program (a litle similar to Elm's flags). Since you can pass anything, tt is still possible to pass current url. - Remove
onUrlChange
fromProgram
. This can instead be passed as creation parameter to a navigation effect manager.
0.3.0 - 2020-03-04
- Internal refactoring.
0.2.0 - 2020-02-26
- Renamed runtime to Program.run()
- Renamed mapDispatch to Dispatch.map()
- Require render function to Program.run()
- Make effectManagers optional in Program.run()
- Remove dep on ts-exhaustive-check
0.1.0 - 2020-01-26
- Initial version.