{"action":"created","issue":{"url":"https://api.github.com/repos/AltSchool/ember-cli-redux/issues/2","repository_url":"https://api.github.com/repos/AltSchool/ember-cli-redux","labels_url":"https://api.github.com/repos/AltSchool/ember-cli-redux/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/AltSchool/ember-cli-redux/issues/2/comments","events_url":"https://api.github.com/repos/AltSchool/ember-cli-redux/issues/2/events","html_url":"https://github.com/AltSchool/ember-cli-redux/pull/2","id":139748921,"number":2,"title":"Version 0.2 Candidate","user":{"login":"matthewconstantine","id":17760,"avatar_url":"https://avatars.githubusercontent.com/u/17760?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewconstantine","html_url":"https://github.com/matthewconstantine","followers_url":"https://api.github.com/users/matthewconstantine/followers","following_url":"https://api.github.com/users/matthewconstantine/following{/other_user}","gists_url":"https://api.github.com/users/matthewconstantine/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewconstantine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewconstantine/subscriptions","organizations_url":"https://api.github.com/users/matthewconstantine/orgs","repos_url":"https://api.github.com/users/matthewconstantine/repos","events_url":"https://api.github.com/users/matthewconstantine/events{/privacy}","received_events_url":"https://api.github.com/users/matthewconstantine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-10T00:54:59Z","updated_at":"2016-03-10T04:43:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AltSchool/ember-cli-redux/pulls/2","html_url":"https://github.com/AltSchool/ember-cli-redux/pull/2","diff_url":"https://github.com/AltSchool/ember-cli-redux/pull/2.diff","patch_url":"https://github.com/AltSchool/ember-cli-redux/pull/2.patch"},"body":"Included in this release:\r\n\r\n* [Breaking Change] We no longer provide the EmberStore to your reducers. This was originally intended as a way to support actions from code unaware of Ember Data. However, it proved to complicate testing quite a bit. If you need access to the store, pass it in using an action. When updating your reducer, simply remove the first `emberStore` parameter.\r\n\r\n```javascript\r\n// Before\r\nexport default function todo(emberStore, state = initialState, action = null) {\r\n  switch (action.type) {\r\n  /* ... */\r\n  }\r\n}\r\n\r\n// After\r\nexport default function todo(state = initialState, action = null) {\r\n  switch (action.type) {\r\n  /* ... */\r\n  }\r\n}\r\n```\r\n\r\n* [Improvement] ember-cli-redux modules are now namespaced.\r\n```javascript\r\n// Before\r\nimport EmberRedux from '../mixins/ember-redux';\r\n\r\n// After\r\nimport EmberRedux from 'ember-cli-redux/mixins/ember-redux'\r\n```\r\n\r\n* [Improvement] The ReduxStore Mixin's `state` property is now a Read Only computed property. This helps ensure that the only changing the state tree is the reducer. \r\n* [Improvement] The ReduxStore is now configurable. You can add specify your own middleware. To do so, add `app/services/redux-store.js` like so:\r\n\r\n```javascript\r\nimport ReduxStore from 'ember-cli-redux/services/redux-store';\r\nimport reducer from '../reducers/index';\r\nimport emberLoggerMiddleware from 'ember-cli-redux/lib/ember-logger-middleware';\r\n\r\nconst logger = emberLoggerMiddleware({\r\n  enabled: true\r\n});\r\n\r\nexport default ReduxStore.extend({\r\n  reducer,\r\n\r\n  middleware: [logger],\r\n});\r\n```\r\n\r\n* [Fix] Add-on now sets `isDevelopingAddon` to true only when it is npm-linked.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AltSchool/ember-cli-redux/issues/comments/194660731","html_url":"https://github.com/AltSchool/ember-cli-redux/pull/2#issuecomment-194660731","issue_url":"https://api.github.com/repos/AltSchool/ember-cli-redux/issues/2","id":194660731,"user":{"login":"asarode","id":4860899,"avatar_url":"https://avatars.githubusercontent.com/u/4860899?v=3","gravatar_id":"","url":"https://api.github.com/users/asarode","html_url":"https://github.com/asarode","followers_url":"https://api.github.com/users/asarode/followers","following_url":"https://api.github.com/users/asarode/following{/other_user}","gists_url":"https://api.github.com/users/asarode/gists{/gist_id}","starred_url":"https://api.github.com/users/asarode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asarode/subscriptions","organizations_url":"https://api.github.com/users/asarode/orgs","repos_url":"https://api.github.com/users/asarode/repos","events_url":"https://api.github.com/users/asarode/events{/privacy}","received_events_url":"https://api.github.com/users/asarode/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T04:43:02Z","updated_at":"2016-03-10T04:43:02Z","body":"Huge +1 on not passing EmberStore to reducers"}}