Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Releases: SenseNet/sn-redux

5.1.0

03 Aug 11:05
Compare
Choose a tag to compare

Changes

  • Added version field to restoreVersion action
  • Added the currentUser content to the state tree
  • Fixed nested reducer types

5.0.0

31 Jul 08:31
Compare
Choose a tag to compare

Changes and improvement

4.1.2

12 Jul 09:01
Compare
Choose a tag to compare

Fixes

  • Fixed the initial login state synchronization between the store and the repository object

4.1.1

11 Jul 14:02
Compare
Choose a tag to compare

Changes

  • LoginState handling between @sensenet/client-core and @sensenet/redux has been unified
  • Dependencies has been updated

4.1.0

31 May 09:19
5b9956f
Compare
Choose a tag to compare

New features

  • A new action changeFieldValue is added to bind input controls of a form to properties in the redux store
  • field reducer is changed to hold updated field values after dispatching changeFieldValue
  • A new reducer getFields is created to return list of changed fields and their values
  • Custom enhancer can be added at store creation
  • Redux DevTools can be switched on at store creation (related issue: #85)

Changes

  • Properties of CreateStoreOptions are now typed (related issue: #84)
  • redux-logger can be switched off at store creation.

Fixes

  • loginState is now set to Pending when USER_LOGIN_LOADING is dispatched (related issue: #83)
  • ids reducer is now fixed and contains the appropriate id list after dispatching createContent action (related issue: #87)
  • loginState is now set to Unauthenticated if the login request responses with false in the payload
  • loginError is now contains an error message if the login request responses with false in the payload
  • empty userLoginGoogle is now implemented in this version like it was before in the redux-observable Epic-era before version 4.0.0

4.0.1

19 Mar 11:38
08abc48
Compare
Choose a tag to compare
Release/4.0.1 (#79)

* [KFI]chore: Update dependencies and scripts

* [KFI]docs: Update readme

* [KFI]test: Fix reducer tests

* [KFI]docs: Add module name and description comments

* [KFI]chore: Update version number

3.4.3

30 Jan 11:50
Compare
Choose a tag to compare

Changes

  • Internal modules are changed to namespaces (thx to @B3zo0)

Fixes

  • Epic tests are fixed after the latest version of redux-mock-store (v1.5.1)
  • Fix entities reducer if the action has not the common response type

3.4.2

05 Dec 10:52
09a4a6e
Compare
Choose a tag to compare

Changes

  • content.Actions(scenario) is changed to content.GetActions(scenario) in RequestContentActions and LoadContentActionsEpic

3.4.1

04 Dec 13:18
5eaffbd
Compare
Choose a tag to compare

Fixes

  • Object to Content conversion is moved to Epic level (previously it had to be made at the Application level)
  • Field value change comparison is added to UpdateContentEpic before save

3.4.0

24 Nov 10:24
215fcb6
Compare
Choose a tag to compare

New features

Upload

  • Three new actions: UPLOAD_CONTENT_REQUEST, UPLOAD_CONTENT_SUCCESS, UPLOAD_CONTENT_FAILURE
  • One new Epic: uploadFileEpic
  • ids and entities will be updated after content is successfully uploaded

Batch actions

  • Three new actions for batch copying: COPY_BATCH_REQUEST, COPY_BATCH_SUCCESS, COPY_BATCH_FAILURE
  • Three new actions for batch moving: MOVE_BATCH_REQUEST, MOVE_BATCH_SUCCESS, MOVE_BATCH_FAILURE
  • Three new actions for batch deleting: DELETE_BATCH_REQUEST, DELETE_BATCH_SUCCESS, DELETE_BATCH_FAILURE
  • Three new epics: deleteBatchEpic, copyBatchEpic, moveBatchEpic
  • ids and entities will be updated after content items are successfully copied, moved or deleted
  • batchResponses reducer holds data about batch operations (responses, errormessages)

Authentication with Google account

  • A new action for login a user with her Google account UserLoginGoogle
  • One new epic userLoginGoogleEpic
  • After success response everything works the same as in the case of simple authentication with jwt