Skip to content

Releases: log-oscon/redux-wpapi

v1.3.4

06 Sep 10:36
Compare
Choose a tag to compare
  • Reuse promises for two identical subsequential pending request
  • Minor fix for node-wpapi 1.0.0 compability

v1.3.3 Release

02 Dec 14:30
Compare
Choose a tag to compare
  • WPAPI adapter: body of modifying requests wasn't being sent due a typo.
  • Fix #26: Incoming partial resources shouldn't change the complete resource in cache to partial, just update it. (#27)

v1.2.0

27 Sep 16:14
Compare
Choose a tag to compare
  • Fix #15 - Support for register dashed-routes as camelCase (#16)
  • TTL (Time-to-live) now can be overriden by each request. (#17)
  • #13
    • [BC] - selectQuery renamed to selectRequest and now also accepts { cacheID, page } for selecting Requests
    • [BC] - Ommits localResources, now that a denormalization methods exists.
    • Exposes selectRequestRaw, so a request might be selected without denormalization step
    • Fix #12 – Promise returned from middleware dispatch was overlaping responses with same name
    • Fix #14 - lastCacheUpdate should be used as Symbol for preventing collisions, now been tested
  • Fix #18 - Allow indexation of resources without indexers (such as id or custom indexers) #19

v1.1.0

20 Sep 12:32
Compare
Choose a tag to compare
  • Expose a denormalization mechanism so consumer can transform local ids into resources denormalized
  • Fix the Promise return from middleware dispatch, which should always resolve to selectQuery result

v1.0.1

14 Sep 15:14
Compare
Choose a tag to compare

Fix selector, which was referring to entity instead resource.

v1.0.0

12 Sep 14:21
Compare
Choose a tag to compare

Adapter as an API abstraction

  • Introduce Adapters, an abstraction of API specifics so ReduxWPAPI can communicate with any other API client. (#8)
    • [BC] Rename entity to resource for better REST compliance.
    • [BC] Rename Request Statuses for better Promise compliance.
  • Add integration with Travis and adds NPM and Travis badges
  • Implement reducer tests (#6)
  • Draft on Contributions and the introduction of this CHANGELOG.md file (#5)
  • Fix FAILURE handling (#3)

v0.1.1

02 Sep 23:48
Compare
Choose a tag to compare

Include current page in the merge of selectQuery

v0.1.0

02 Sep 17:31
Compare
Choose a tag to compare

First Release

node-wpapi integration for a Redux based Application.

Includes tests for the following reducer actions:

  • REDUX_WP_API_REQUEST (get, create, update, delete)
  • REDUX_WP_API_SUCCESS (get)

Fully functional, but it doesn't update local cache when resource is deleted locally.