{"action":"published","release":{"url":"https://api.github.com/repos/cyclejs/cycle-dom/releases/1742364","assets_url":"https://api.github.com/repos/cyclejs/cycle-dom/releases/1742364/assets","upload_url":"https://uploads.github.com/repos/cyclejs/cycle-dom/releases/1742364/assets{?name}","html_url":"https://github.com/cyclejs/cycle-dom/releases/tag/v5.1.0","id":1742364,"tag_name":"v5.1.0","target_commitish":"master","name":"DOM.select().events() to replace DOM.get()","draft":false,"author":{"login":"staltz","id":90512,"avatar_url":"https://avatars.githubusercontent.com/u/90512?v=3","gravatar_id":"","url":"https://api.github.com/users/staltz","html_url":"https://github.com/staltz","followers_url":"https://api.github.com/users/staltz/followers","following_url":"https://api.github.com/users/staltz/following{/other_user}","gists_url":"https://api.github.com/users/staltz/gists{/gist_id}","starred_url":"https://api.github.com/users/staltz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staltz/subscriptions","organizations_url":"https://api.github.com/users/staltz/orgs","repos_url":"https://api.github.com/users/staltz/repos","events_url":"https://api.github.com/users/staltz/events{/privacy}","received_events_url":"https://api.github.com/users/staltz/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2015-08-30T08:14:07Z","published_at":"2015-08-30T17:31:23Z","assets":[],"tarball_url":"https://api.github.com/repos/cyclejs/cycle-dom/tarball/v5.1.0","zipball_url":"https://api.github.com/repos/cyclejs/cycle-dom/zipball/v5.1.0","body":"**DOM.get(selector, eventType) is deprecated. Use DOM.select(selector).events(eventType) instead.**\r\n\r\n`select(selector).events(eventType)` is a more descriptive API than get() is. It also allows you to get an Observable of DOM elements matching the selector († below). \r\n\r\nBefore | After\r\n---------|-------\r\n`DOM.get('.like', 'click')` | `DOM.select('.like').events('click')`\r\n`DOM.get(':root')` | `DOM.select(':root').observable`\r\n-- | `DOM.select('.like').observable` †\r\n\r\nBoth get() and select().events() still work as of v5.1, but using get() will trigger a warning in the console. In an upcoming major version, get() will be removed and only select().events() will work."}}