{"action":"created","issue":{"url":"https://api.github.com/repos/joegoldbeck/mongoose-encryption/issues/12","labels_url":"https://api.github.com/repos/joegoldbeck/mongoose-encryption/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/joegoldbeck/mongoose-encryption/issues/12/comments","events_url":"https://api.github.com/repos/joegoldbeck/mongoose-encryption/issues/12/events","html_url":"https://github.com/joegoldbeck/mongoose-encryption/issues/12","id":71727249,"number":12,"title":"Support mongoose v4","user":{"login":"wlingke","id":3145536,"avatar_url":"https://avatars.githubusercontent.com/u/3145536?v=3","gravatar_id":"","url":"https://api.github.com/users/wlingke","html_url":"https://github.com/wlingke","followers_url":"https://api.github.com/users/wlingke/followers","following_url":"https://api.github.com/users/wlingke/following{/other_user}","gists_url":"https://api.github.com/users/wlingke/gists{/gist_id}","starred_url":"https://api.github.com/users/wlingke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlingke/subscriptions","organizations_url":"https://api.github.com/users/wlingke/orgs","repos_url":"https://api.github.com/users/wlingke/repos","events_url":"https://api.github.com/users/wlingke/events{/privacy}","received_events_url":"https://api.github.com/users/wlingke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joegoldbeck/mongoose-encryption/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/joegoldbeck/mongoose-encryption/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-28T22:44:55Z","updated_at":"2015-07-30T18:08:46Z","closed_at":null,"body":"Any plans to support mongoose v4? It does not work with current mongoose encryption"},"comment":{"url":"https://api.github.com/repos/joegoldbeck/mongoose-encryption/issues/comments/126421265","html_url":"https://github.com/joegoldbeck/mongoose-encryption/issues/12#issuecomment-126421265","issue_url":"https://api.github.com/repos/joegoldbeck/mongoose-encryption/issues/12","id":126421265,"user":{"login":"joegoldbeck","id":2604712,"avatar_url":"https://avatars.githubusercontent.com/u/2604712?v=3","gravatar_id":"","url":"https://api.github.com/users/joegoldbeck","html_url":"https://github.com/joegoldbeck","followers_url":"https://api.github.com/users/joegoldbeck/followers","following_url":"https://api.github.com/users/joegoldbeck/following{/other_user}","gists_url":"https://api.github.com/users/joegoldbeck/gists{/gist_id}","starred_url":"https://api.github.com/users/joegoldbeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joegoldbeck/subscriptions","organizations_url":"https://api.github.com/users/joegoldbeck/orgs","repos_url":"https://api.github.com/users/joegoldbeck/repos","events_url":"https://api.github.com/users/joegoldbeck/events{/privacy}","received_events_url":"https://api.github.com/users/joegoldbeck/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T18:08:46Z","updated_at":"2015-07-30T18:08:46Z","body":"@burtonjc Thanks for tracking this down! That sounds like an unintended change Mongoose-side, so hopefully they'll be open to a fix. It's not clear to me whether it would be possible to untangle given the current 4.x order. The LIFO order of the middleware (in terms of save vs init) that 3.x has is pretty key."}}