{"action":"published","release":{"url":"https://api.github.com/repos/impress/impress.js/releases/3225216","assets_url":"https://api.github.com/repos/impress/impress.js/releases/3225216/assets","upload_url":"https://uploads.github.com/repos/impress/impress.js/releases/3225216/assets{?name,label}","html_url":"https://github.com/impress/impress.js/releases/tag/0.5","id":3225216,"tag_name":"0.5","target_commitish":"master","name":"v0.5.0","draft":false,"author":{"login":"FagnerMartinsBrack","id":835857,"avatar_url":"https://avatars.githubusercontent.com/u/835857?v=3","gravatar_id":"","url":"https://api.github.com/users/FagnerMartinsBrack","html_url":"https://github.com/FagnerMartinsBrack","followers_url":"https://api.github.com/users/FagnerMartinsBrack/followers","following_url":"https://api.github.com/users/FagnerMartinsBrack/following{/other_user}","gists_url":"https://api.github.com/users/FagnerMartinsBrack/gists{/gist_id}","starred_url":"https://api.github.com/users/FagnerMartinsBrack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FagnerMartinsBrack/subscriptions","organizations_url":"https://api.github.com/users/FagnerMartinsBrack/orgs","repos_url":"https://api.github.com/users/FagnerMartinsBrack/repos","events_url":"https://api.github.com/users/FagnerMartinsBrack/events{/privacy}","received_events_url":"https://api.github.com/users/FagnerMartinsBrack/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2012-03-20T21:37:24Z","published_at":"2016-05-14T06:03:15Z","assets":[],"tarball_url":"https://api.github.com/repos/impress/impress.js/tarball/0.5","zipball_url":"https://api.github.com/repos/impress/impress.js/zipball/0.5","body":"#### Changelog\r\n\r\n- 8220ab9...e06cda1 b3d680e: API changed, so that `impress()` function no longer automatically initialize presentation; new method called `init` was added to API and it should be used to start the presentation. `impress:init` event is triggered on root presentation element (`#impress` by default) when presentation is initialized\r\n- c64d9fb: new CSS classes were added: `impress-disabled` is added to `body` element by the impress.js script and it's changed to `impress-enabled` when `init()` function is called\r\n- 1bbf205 b3d680e: Events added when step is entered and left - custom `impress:stepenter` and `impress:stepleave` events are triggered on step elements and can be handled like any other DOM events (with `addEventListener`)\r\n- b0a139e...5fd0f58: Additional past, present and future classes are added to step elements\r\n- 1a21865: `goto()` API method is back! it seems that goto **was** a future reserved word but isn't anymore, so we can use this short and pretty name instead of camelCassy `stepTo` - and yes, that means API changed again...\r\n- 9d99c03: additionally `goto()` method now supports new types of parameters\r\n- b0c5644: `goto()` also accepts second parameter to define the transition duration in ms, for example `impress().goto(\"make-it-quick\", 300)` or `impress().goto(\"now\", 0)`\r\n\r\n#### UPGRADING FROM PREVIOUS VERSIONS\r\n\r\nIn current version calling `impress()` doesn't automatically initialize the presentation. You need to call `init()` function from the API. So in a place were you called `impress()` to initialize impress.js simply change this call to `impress().init()`.\r\n\r\nVersion 0.4 changed `goto` API method into `stepTo`. It turned out that `goto` is not a reserved word anymore, so it can be used in JavaScript. That's why version 0.5 brings it back and removes `stepTo`.\r\n\r\nSo if you have been using version 0.4 and have any reference to `stepTo` API method make sure to change it to `goto`."}}