Skip to content

Latest commit

 

History

History
345 lines (233 loc) · 13.6 KB

CHANGELOG.md

File metadata and controls

345 lines (233 loc) · 13.6 KB

Unreleased

v0.7.6

Released

December 4, 2017

  • Bugfix Fix case-sensitive package information

November 28, 2017

  • Minor Added generic typing to Resource data

November 27, 2017

  • Bugfix Fixed compoundDisposable not properly disposing

November 21, 2017

  • Bugfix Fixed compoundDisposable not properly disposing

November 18, 2017

  • Major Removed addons (React) support to external lib refrax-react
  • Major Rewrite library in typescript

Octobober 13, 2017

  • Bugfix Mutable setState this reference
  • Minor ResourceDescriptor now uses a default global storeMap
  • Major Refactor store events to fully represent fragment/queries
  • Major Resource.fetch and MutableResource methods promise value now is a tuple consisting of [result/response/descriptor]
  • Major Added RefraxReact createContainer to supersede it's Mixin use
  • Feature Added Schema adapter support with XHRAdapter / LocalStorageAdapter / SessionStorageAdapter

June 20, 2017

  • Feature Added Schema class
  • Major Refactor Schema to be instance based instead of a singleton
  • Major Schema Collection/Resource no longer creates a Store when not supplied and instead delegates that responsibility to the Schema
  • Minor Rename SchemaPath uri option to path
  • Minor Cleanup SchemaPath tests
  • Bugfix ActionEntity no longer attempts to process caught exceptions that are not RequestError's
  • Minor Cleanup ResourceDescriptor logic
  • Minor Rework SchemPath invalidate and added invalidateLeafs
  • Minor Removed TreeNode and consolidated into SchemaNode
  • Major Removed Store managing a global list of stores (now managed by a Schema StoreMap)
  • Major Store no longer has get / reset, these are now on the Schema

June 13, 2017

  • Feature Mutable getErrors support deep attributes

June 9, 2017

  • Bugfix Mutable set no longer converts falsey strings to null
  • Bugfix Mutable set accepts IE formatted events
  • Feature Mutable set / setter now support deep attributes (cancellable with option.shallow = true)

May 8, 2017

  • Minor Updated isPlainObject to check falseyness first to prevent null call
  • Minor processRequestSuccess will now default falsey data to an empty value based on its classification

April 27, 2017

  • Minor Updated FragmentCache to match param stripped query path so generic descriptors will aggressively match

April 18, 2017

  • Minor Added RefraxTreeNode type and removed classify from RefraxTreeNode definitions
  • Bugfix RefraxReact components componentWillUnmount will no longer lose itself via this

February 15, 2017

  • Bugfix Handling of axios request error to properly fetch response object
  • Minor Updated ._state access in mixinMutable to be off this._mutable reference

January 31, 2017

  • Minor Updated axios dependency version

January 24, 2017

  • Major Attaching an action to a component through RefraxReact will implicitly share action instances

December 16, 2016

  • Bugfix .data access on a Mutable will no longer disturb its state prototype

December 14, 2016

  • Minor Add Disposable and rework Resource disposable handling
  • Feature Add Mutable helepr methods unsetErrors, setErrors, isMutated

November 17, 2016

  • Bugfix mixinMutable will now correctly unset state on its base when used with prototypes
  • Minor Action invoke now will unset it mutable state when successful

November 16, 2016

  • Feature Add onSet hook option to mixinMutable set/setter
  • Feature Add set option to mixinMutable set/setter

November 14, 2016

  • Minor Enhance refKey option on RefraxReact attach to safeguard cross action references and component detachment

November 14, 2016

  • Feature Add refKey option to RefraxReact attach to create a shared Action instance reference sharing the same refKey

November 12, 2016

  • Minor Refactor invokeDescriptor fetch into ResourceBase, providing it to MutableResource/Action
  • Minor Upgraded bluebird dependency version

November 9, 2016

  • Major Rewrite internal logic of Actions for an easier idiomatic approach to working with Action and changing of params/options
  • Feature Add ActionInvoker invalidate helper method
  • Feature Add SchemaNodeAccessor enumerateLeafs method
  • Feature Add invalidate boolean option cascade to enumerate nested schema paths

September 10, 2016

  • Minor Fix default import for RefraxReact
  • Minor Fix SchemaNodeAccessor compareStack slicing bug

August 2, 2016

  • Minor Pass MutableResource options into invocation methods

August 2, 2016

  • Minor Remove noPropagate behavior from invoke fetch
  • Minor Allow null values in an Action to override default values
  • Feature Add collectionStrategy behavior for FragmentCache updating

July 25, 2016

  • Bugfix: Fix Tools concatUnique consuming string key as array

July 25, 2016

  • Bugfix: SchemaAccessor invalidate error when no options specified
  • Bugfix: ResourceDescriptor not properly appending QueryParams to basePath
  • Minor: FragmentCache returns ids affected on invalidate/update
  • Minor: Tools concatUnique improved
  • Minor: FragmentCache now concats id results (prev merge strategy)
  • Minor: Resource will now invalidate prior to subscribing to descriptor Store

July 20, 2016

  • Bugfix: Resource switches to passive when it detects resource destroy
  • Minor: Rename Store event type to action and now type is the actual model type

July 15, 2016

  • Bugfix: Fix SchemaNodeAccessor invalidate fetching data

July 8, 2016

  • Bugfix: Fix bad param on descriptor processStack

July 6, 2016

  • Feature: QueryParameters now encodes objects
  • Minor: Rename Resource query utility method to queryParams

June 29, 2016

  • Bugfix: Update FragmentCache to use descriptor classification when fetching data fixing an issue with resource type accessors

June 28, 2016

  • Feature: Add config, params, query self chaining helper methods on ResourceBase
  • Feature: Add cacheStrategy option to MutableResource to allow control over received data
  • Feature: Add invalidate utility method for applying the same config to a list of items to invalidate
  • Minor: Test updates surrounding FragmentCache
  • Bugfix: Fix Resource not correctly updating cache on store change

June 22, 2016

  • BugFix: Fix path handling from ResourceBase & Descriptor conversion

June 22, 2016

  • Feature: FragmentCache now uses basePath instead of full path. MutableResource now consumes paths as modifiers (non basePath editing) and Resource consumes as non-modifier.

June 22, 2016

  • Minor: ResourceBase consumes all objects into QueryParamter objects which nets the same functionality
  • Minor: Descriptor now only consumes QueryParamter objects for its query params instead of payload data
  • Minor: Export Parameters & Options classes

June 13, 2016

  • BugFix: Resource will no longer get data on an update
  • BugFix: FragmentCache update will properly update the timestamp on falsey data

June 8, 2016

  • Minor: MutableResource action methods pass all arguments

June 8, 2016

  • Minor: ResourceBase no longer consumes objects as params
  • Minor: Action .mutableFrom consumes objects as params

June 6, 2016

  • Minor: Resource constructor behavior now always consumes objects as params

June 3, 2016

  • Feature: noNotify option support for store invalidation
  • Minor: params option passing to Resource via SchemaNodeAccessor.invalidate
  • Minor: Move partial default assignment to ResourceDescriptor instead of in FragmentCache

June 3, 2016

  • Feature: invokeAction now optionally passes default data with the use of includeDefault

June 2, 2016

  • Feature: Add status queries to Action objects
  • BugFix: Fix hasData/isStale status queries via React components
  • Minor: Re-enable invalidation option on Resource constructor

May 31, 2016

  • Feature: React component Status mixin now queries Action as well

May 30, 2016

  • Bugfix: Refactor ResourceDescriptor to properly handle query params
  • Bugfix: Fix query cache updates

May 30, 2016

  • Feature: Add FormData conversion for payloads that contain File data
  • Bugfix: Fix collection cache timestamp set
  • Minor: Change isLoading behavior to just check timestamp
  • Minor: General cleanup & refactoring

May 27, 2016

  • Feature: Add invalidate helper to SchemaNodeAccessor
  • Feature: Add ResourceBase options passthrough via params

May 27, 2016

  • Bugfix: Fix null descriptor in Store notify

May 27, 2016

  • Feature: Store events now emit event data
  • Bugfix: Invalidate will properly invalidate collections off a resource
  • Minor: Invalidate noPropagate only affects Resource

May 27, 2016

  • Bugfix: Descriptor no longer carries over partial resolve

May 26, 2016

  • Bugfix: ResourceBase now consumes objects as Parameters

May 26, 2016

  • Bugfix: Action mutable dispatching change event unless specified to not do so
  • Bugfix: Action invocation properly dispatching change when complete

May 25, 2016

  • Feature: Action data prototype accessor added
  • Feature: Resource.invalidate is scoped to the invoked Resource now
  • Feature: MutableResource getErrors will now return all errors when no parameter is passed
  • Minor: General cleanup & refactoring

May 19, 2016

  • Feature: Both Action & ActionInstance are mutable
  • Feature: Add Schema inspect method
  • Feature: Add addDetachedLeaf to Schema Accessors
  • Feature: Add isPending status query to React mixin
  • Minor: General cleanup & refactoring