Skip to content

Latest commit

 

History

History
193 lines (145 loc) · 8.52 KB

HISTORY.md

File metadata and controls

193 lines (145 loc) · 8.52 KB

0.10.4 / 2015-06-15

  • Container improvements #20
  • Fix Unexpected end of input in react native apps #18

0.10.3 / 2015-06-03

0.10.2 / 2015-06-03

  • Fix stack overflow in Application.register #14
  • Support deeply nested stores in listenTo #11

0.10.1 / 2015-05-28

0.10.0 / 2015-05-27

New features

Deprecations

  • Due to API incompatibility issues parseJSON will be removed by default in future versions. Instead you should call this.json() from within your state source.

Removed

  • Marty.register() is no longer needed, just return the type
  • You will no longer be able to pass in a store or an object hash of stores into Marty.createStateMixin
  • Rollbacks have been removed entirely
  • Store handler values can only be either a string or an array of strings. You cannot do complex object queries any more.
  • Marty.registry is no longer supported. Use applications instead.
  • Marty.createContext() is no longer supported. Use applications instead.
  • Marty.renderToString() is no longer supported. Use Application#renderToString() instead
  • Store#rollback() is no longer supported. You should instead dispatch an error action.
  • .for(this) has been removed. Use applications instead.
  • You no longer to specify id's in the type. Instead define the Id on the Application#register()
  • require('marty').Dispatcher is no longer supported. Create an application and access the dispatcher.
  • require('marty/http/hooks') is no longer supported. Use require('marty').hooks instead
  • require('marty/environment') is no longer supported. Use require('marty').environment
  • require('marty/fetch') is no longer supported. Use require('marty').fetch
  • require('marty/when') is no longer supported. Use require('marty').when
  • require('marty/autoDispatch') is no longer supported. Use require('marty').autoDispatch
  • require('marty').Diagnostics is no longer supported. Use require('marty').diagnostics

0.9.17 / 2015-05-26

  • Return individual parts of html htmlBody and htmlState to solve #288

0.9.16 / 2015-05-21

  • Remove try/catch around when to improve stack traces #313.
  • Make HTTP methods upper case to conform to Fetch spec #318

0.9.15 / 2015-05-17

  • Update Marty.renderToString so that it will continue re-rendering until no new fetches are made. Resolves #314.

0.9.14 / 2015-05-14

  • Updated isomorphic-fetch to v2.0.0

0.9.13 / 2015-05-11

  • Add optional throwError hook that replicates Marty v0.8 behavior of throwing an error if http response is not OK

0.9.12 / 2015-05-04

  • Pass finished fetches into a containers pending handler to resolve #300

0.9.11 / 2015-04-16

  • Allow you to extend contexts to resolve #276

0.9.10 / 2015-04-11

  • Update definition of React peer dependency

0.9.9 / 2015-04-08

  • Fix for parsing JSON in Chrome 43 #268

0.9.8 / 2015-04-07

  • Do not setState in container unless component is mounted #265
  • Generate lifecycle methods at container creation #263
  • Make it easier to use with webpack #259

0.9.7 / 2015-04-04

  • Fix bug where single instance of observer per container #248
  • Allow you to pass in component life style hooks (componentWillReceiveProps, componentWillUpdate, componentDidUpdate, componentDidMount, componentWillUnmount and componentWillMount) #249

0.9.6 / 2015-03-30

  • Use latest props when container is updating fetches #244

0.9.5 / 2015-03-29

  • Don't swallow errors when fetching locally or remotely #238

0.9.4 / 2015-03-28

  • Add Container#getInnerComponent

0.9.3 / 2015-03-28

  • Allow you to specify your own contextTypes on the container #234
  • Allow you to extend containers with your own functions #224

0.9.2 / 2015-03-27

  • Correctly listening to componentWillReceiveProps and passing props #229

0.9.1 / 2015-03-25

  • Fix issue where Marty would not work with window object #219, #216

0.9.0 / 2015-03-24

New features

  • Isomorphism #13
  • CookieStateSource
  • LocationStateSource
  • ES6 Classes #89
  • Add dataType option to http state source #161
  • Lodash v3 instead of underscore #136
  • Simplify action creators #163, #93
  • replaceState and setState #126
  • HttpStateSource hooks #118
  • FetchResult#toPromise #131
  • Clear fetch history in Store#clear #149
  • Batch store change events #112
  • Allow you to specify when function context #76
  • Marty.createContainer #204
  • Set request credentials to 'same-origin' #209

Bugs

  • dependsOn doesn't update when dependent store updates #113
  • Don't auto set content-type if using FormData #140
  • Fetch API compatibility #133

0.8.15 / 2015-03-06

  • Add reactify as a dependency so you dont have to explicitly add it to parent project

0.8.14 / 2015-03-05

  • Remove dependency on Babel

0.8.13 / 2015-03-03

  • Hotfix for fetch incomaptibility in Chrome Canary #133

0.8.12 / 2015-02-14

  • Added improved error logging #129

0.8.11 / 2015-02-12

  • Improve documentation
  • Fixes #106
  • Fixes #74
  • Fixes #123

0.8.10 / 2015-02-03

  • Fixes documentation typos
  • 💚 Fixes #100
  • Fixes #94
  • Fixes #99