{"action":"opened","issue":{"url":"https://api.github.com/repos/petkaantonov/bluebird/issues/488","labels_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/488/comments","events_url":"https://api.github.com/repos/petkaantonov/bluebird/issues/488/events","html_url":"https://github.com/petkaantonov/bluebird/issues/488","id":57147050,"number":488,"title":"Mongoose 'pre' hooks stop working in 2.9.7","user":{"login":"klimashkin","id":576077,"avatar_url":"https://avatars.githubusercontent.com/u/576077?v=3","gravatar_id":"","url":"https://api.github.com/users/klimashkin","html_url":"https://github.com/klimashkin","followers_url":"https://api.github.com/users/klimashkin/followers","following_url":"https://api.github.com/users/klimashkin/following{/other_user}","gists_url":"https://api.github.com/users/klimashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/klimashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klimashkin/subscriptions","organizations_url":"https://api.github.com/users/klimashkin/orgs","repos_url":"https://api.github.com/users/klimashkin/repos","events_url":"https://api.github.com/users/klimashkin/events{/privacy}","received_events_url":"https://api.github.com/users/klimashkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-10T09:00:28Z","updated_at":"2015-02-10T09:00:28Z","closed_at":null,"body":"I'm using bluebird and mongoose together, i.e. ```Bluebird.promisifyAll(require('mongoose'));```\r\nAfter update from bluebird 2.9.6 to 2.9.7,  [mongoose schema hooks](http://mongoosejs.com/docs/api.html#schema_Schema-pre) stopped calling.\r\nAs I understand this is due to a change in ```promisifyAll``` ```this``` behaviour"}}