Skip to content

Releases: Tinkoff/stapp

v2.6.0

20 Feb 14:47
Compare
Choose a tag to compare

Major changes:

  • Replace light-observable with rxjs (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

02 Nov 14:57
Compare
Choose a tag to compare

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 use combineEpics at all.

stapp-validate

  • Document revalidate event #137

stapp-react

  • Add context-based Api component and app-binded createApi method #129

Other

  • Move redux and reselect to dependencies.

v2.4.2

10 Oct 13:39
Compare
Choose a tag to compare

stapp

  • Fix IE11 incompatibility #149

Other

  • Update light-observable dependency

v2.4.1

09 Oct 08:07
Compare
Choose a tag to compare

stapp-react

  • Rewrite StappSubscription #145
  • Fix missing prevetDefault calls in handleSubmit and handleReset callbacks in the Form component #140

v2.4.0

01 Oct 16:26
Compare
Choose a tag to compare

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

  • Refactor react bindings (again) #120
  • Export StappSubscription component #120
  • Fixed #109 & #26

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

31 Aug 08:58
Compare
Choose a tag to compare

stapp

  • Add createEpic #95
  • Allow setting devtools configuration in createApp #89
  • Add disconnect method to the Stapp application interface #1
  • Add ability to set obserfvable transformations globally #79
  • Deprecate selectArray in favor of select
  • Deprecate initDone in favor of initEvent

stapp-rxjs

  • Deprecate combineEpics in favor of stapp 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 and stapp-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

20 Aug 14:39
Compare
Choose a tag to compare

stapp

  • Throw error if two or more modules have same name #78
  • Document select and selectArray #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

  • Unique names for stapp-select modules #59
  • Update state on init event. #62

v2.1.0

06 Aug 12:46
Compare
Choose a tag to compare

stapp

  • Allow to provide error type to effectCreator #32
  • Chainable source meta #40

stapp-react

  • Fix map usage in Consumer #38

stapp-validate

  • Refactor validate module, allow dynamic rules #35

stapp-select

  • Add stapp-select module #57

stapp-formbase

  • Add clearFields event #49

Other

  • Add package template #51
  • Update TS to 3.0 #46
  • Update light-observable dependency

v2.0.0

20 Jul 15:39
Compare
Choose a tag to compare
stapp@2.0.0

stapp@2.0.0

v1.4.0

28 Jun 13:01
Compare
Choose a tag to compare
  • 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