{"action":"opened","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/4143","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/4143/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/4143/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/4143/events","html_url":"https://github.com/sequelize/sequelize/issues/4143","id":95731018,"number":4143,"title":"Sequelize 3.4.0 broke data binded to `options.ctx.state` remaining in tact outside of create hooks","user":{"login":"garrett-gottlieb","id":1219054,"avatar_url":"https://avatars.githubusercontent.com/u/1219054?v=3","gravatar_id":"","url":"https://api.github.com/users/garrett-gottlieb","html_url":"https://github.com/garrett-gottlieb","followers_url":"https://api.github.com/users/garrett-gottlieb/followers","following_url":"https://api.github.com/users/garrett-gottlieb/following{/other_user}","gists_url":"https://api.github.com/users/garrett-gottlieb/gists{/gist_id}","starred_url":"https://api.github.com/users/garrett-gottlieb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrett-gottlieb/subscriptions","organizations_url":"https://api.github.com/users/garrett-gottlieb/orgs","repos_url":"https://api.github.com/users/garrett-gottlieb/repos","events_url":"https://api.github.com/users/garrett-gottlieb/events{/privacy}","received_events_url":"https://api.github.com/users/garrett-gottlieb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-17T19:49:18Z","updated_at":"2015-07-17T19:49:18Z","closed_at":null,"body":"We use `options` in `afterCreate(inst, options)` to pass the context as `options.ctx`. In certain cases, we modify Koa's `ctx.state`. When upgrading to 3.4.0, the changes made to `ctx.state` vanish as soon as the `afterCreate` completes."}}