Releases: Tinkoff/stapp
Releases · Tinkoff/stapp
v2.6.0
Major changes:
- Replace
light-observable
withrxjs
(like, in every package). - Hence, the
stapp-rxjs
package is deprecated. - RxJS, redux and reselect are moved to peerDependencies.
stapp
- Added
handleEpicsError
callback to the stapp application config.
stapp-react-hooks
New package: stapp-react-hooks
. It utilizes hooks, which are a new feature in React 16.8. See more about hooks here.
stapp-react-hooks
is documented in the docs.
stapp-cli-tools
New package: stapp-cli-tools
. It can be used to install and update stapp packages and theirs peer dependencies. Also, we definitely plan to implement various code generation features.
stapp-cli-tools
is documented in the docs.
stapp-rxjs
- Depracate package.
stapp-react
- Don't call
setActive(null)
on blur of inactive field.
v2.5.0
stapp
- Deeply nested reducers. This means you don't need to use
combineReducers
at all. #85 - Allow providing an array of epics.
epics
field can be used for convenience (optional). This means you don't need to usecombineEpics
at all.
stapp-validate
- Document
revalidate
event #137
stapp-react
- Add context-based
Api
component and app-bindedcreateApi
method #129
Other
- Move redux and reselect to dependencies.
v2.4.2
v2.4.1
v2.4.0
stapp
- Extend app lifecycle with
ready
event #101 - Fix dispatch typings #127
- Add unique numbers only to non-unique identifiers (used in event types, app names, etc.) #107
stapp-formbase
- Add meta reducer #125
stapp-validate
revalidate
event now accepts an array of field names to revalidate #115- Export
revalidate
event from the root #102
stapp-react
stapp-select
- Fix order of dispatched events #103
Other
- Update light-observable dependency (main reason)
- Add test run to prepush hook #123
- Various fixes in examples.
v2.3.0
stapp
- Add
createEpic
#95 - Allow setting devtools configuration in
createApp
#89 - Add
disconnect
method to theStapp
application interface #1 - Add ability to set obserfvable transformations globally #79
- Deprecate
selectArray
in favor ofselect
- Deprecate
initDone
in favor ofinitEvent
stapp-rxjs
- Deprecate
combineEpics
in favor ofstapp
combineEpics
stapp-react
- Completely rewrite the package #80
stapp-formbase
- Pass all formBase module's events to the api #88
Other
- Check all selectors in
stapp-formbase
,stapp-loaders
andstapp-validate
for safety #92 - Update the light-observable dependency in all packages including examples.
- Add build scripts to examples.
- Various documentation updates. Add issues and changelog links to the navigation.
v2.2.0
stapp
- Throw error if two or more modules have same name #78
- Document
select
andselectArray
#82 - Add type helpers #73
- Add condition to
waitFor
#68 - Export
initDone
event from 'stapp' root #64
stapp-react
- Add context-based versions of react bindings #60
stapp-formbase
- pickFields event for stapp-formbase #63
stapp-select
v2.1.0
v2.0.0
stapp@2.0.0 stapp@2.0.0
v1.4.0
- build(typedoc): temporary disable typedoc generation (5db9c86)
- chore(package): add homepage and issue-tracker links (18ff6d8)
- comments (f0b8437)
- createConsumer => createConsume (c2f7524)
- feat(react/create(Consumer,consume,Form,Field,Componets)): React bindings reworked (0870587)
- feat(react/createField): Add ability to provide custom state selector to Field (0fb955b)
- fix(react/createConsumer): Use WeakMap (instead of object) to store consumers (5959e27)
BREAKING CHANGE
- You must pass Consumer to 'createConsume', 'createForm', 'createField' instead of Stapp instance