{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4005","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4005/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4005/comments","events_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4005/events","html_url":"https://github.com/HaxeFoundation/haxe/issues/4005","id":60675064,"number":4005,"title":"JS API regressions","user":{"login":"ncannasse","id":1022912,"avatar_url":"https://avatars.githubusercontent.com/u/1022912?v=3","gravatar_id":"","url":"https://api.github.com/users/ncannasse","html_url":"https://github.com/ncannasse","followers_url":"https://api.github.com/users/ncannasse/followers","following_url":"https://api.github.com/users/ncannasse/following{/other_user}","gists_url":"https://api.github.com/users/ncannasse/gists{/gist_id}","starred_url":"https://api.github.com/users/ncannasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncannasse/subscriptions","organizations_url":"https://api.github.com/users/ncannasse/orgs","repos_url":"https://api.github.com/users/ncannasse/repos","events_url":"https://api.github.com/users/ncannasse/events{/privacy}","received_events_url":"https://api.github.com/users/ncannasse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"aduros","id":23202,"avatar_url":"https://avatars.githubusercontent.com/u/23202?v=3","gravatar_id":"","url":"https://api.github.com/users/aduros","html_url":"https://github.com/aduros","followers_url":"https://api.github.com/users/aduros/followers","following_url":"https://api.github.com/users/aduros/following{/other_user}","gists_url":"https://api.github.com/users/aduros/gists{/gist_id}","starred_url":"https://api.github.com/users/aduros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aduros/subscriptions","organizations_url":"https://api.github.com/users/aduros/orgs","repos_url":"https://api.github.com/users/aduros/repos","events_url":"https://api.github.com/users/aduros/events{/privacy}","received_events_url":"https://api.github.com/users/aduros/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/1","html_url":"https://github.com/HaxeFoundation/haxe/milestones/3.2","labels_url":"https://api.github.com/repos/HaxeFoundation/haxe/milestones/1/labels","id":343008,"number":1,"title":"3.2","description":"","creator":{"login":"issuesbot","id":4543331,"avatar_url":"https://avatars.githubusercontent.com/u/4543331?v=3","gravatar_id":"","url":"https://api.github.com/users/issuesbot","html_url":"https://github.com/issuesbot","followers_url":"https://api.github.com/users/issuesbot/followers","following_url":"https://api.github.com/users/issuesbot/following{/other_user}","gists_url":"https://api.github.com/users/issuesbot/gists{/gist_id}","starred_url":"https://api.github.com/users/issuesbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/issuesbot/subscriptions","organizations_url":"https://api.github.com/users/issuesbot/orgs","repos_url":"https://api.github.com/users/issuesbot/repos","events_url":"https://api.github.com/users/issuesbot/events{/privacy}","received_events_url":"https://api.github.com/users/issuesbot/received_events","type":"User","site_admin":false},"open_issues":94,"closed_issues":499,"state":"open","created_at":"2013-05-28T03:42:24Z","updated_at":"2015-03-11T15:20:12Z","due_on":"2015-03-14T23:00:00Z","closed_at":null},"comments":6,"created_at":"2015-03-11T15:20:07Z","updated_at":"2015-03-11T21:05:34Z","closed_at":null,"body":"Got the following errors while compiling with new JS API:\r\n\r\n```\r\njs.html.CanvasRenderingContext2D has no field imageSmoothingEnabled\r\njs.html.Element has no field onmousewheel (Suggestion: onmouseenter)\r\njs.html.Element has no field scrollIntoViewIfNeeded\r\n```\r\n\r\nGiven that it's on a small project that mostly use JQuery, that makes me worry we will hit a big number of such incompatibilites when releasing 3.2. Any insight @aduros ?"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/comments/78371533","html_url":"https://github.com/HaxeFoundation/haxe/issues/4005#issuecomment-78371533","issue_url":"https://api.github.com/repos/HaxeFoundation/haxe/issues/4005","id":78371533,"user":{"login":"fponticelli","id":163915,"avatar_url":"https://avatars.githubusercontent.com/u/163915?v=3","gravatar_id":"","url":"https://api.github.com/users/fponticelli","html_url":"https://github.com/fponticelli","followers_url":"https://api.github.com/users/fponticelli/followers","following_url":"https://api.github.com/users/fponticelli/following{/other_user}","gists_url":"https://api.github.com/users/fponticelli/gists{/gist_id}","starred_url":"https://api.github.com/users/fponticelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fponticelli/subscriptions","organizations_url":"https://api.github.com/users/fponticelli/orgs","repos_url":"https://api.github.com/users/fponticelli/repos","events_url":"https://api.github.com/users/fponticelli/events{/privacy}","received_events_url":"https://api.github.com/users/fponticelli/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T21:05:34Z","updated_at":"2015-03-11T21:05:34Z","body":"I totally agree with Bruno here. Is not like Haxe is breaking\ncompatibility, it is the native API that is changing.\n\nIl giorno mer 11 mar 2015 alle ore 14:42 Bruno Garcia <\nnotifications@github.com> ha scritto:\n\n> One example case is Gamepad.buttons, which was an Array<Float>\n> <https://github.com/HaxeFoundation/haxe/blob/a06f9d35ae138be1e163444146354933301697f4/std/js/html/Gamepad.hx#L31>\n> in an old version of the spec, but then the Gamepad spec and browsers\n> changed to Array<GamepadButton>\n> <https://github.com/HaxeFoundation/haxe/blob/development/std/js/html/Gamepad.hx#L34>\n> .\n>\n> We could handle simple renames with @:deprecated, but unless the externs\n> never change, we're going to have to introduce incompatibilities sometimes.\n> I think that's a good thing! By compiling against the latest Haxe, you can\n> be reasonably sure your app is standards compliant and works in modern\n> browsers. If I'm compiling a web project that uses webkit-only or\n> deprecated APIs, I'd want the luxury of finding those issues at compile\n> time rather than hitting bugs at runtime.\n>\n> As for NWJS, even though webkit-only there will be API changes (like that\n> gamepad one).\n>\n> DOMWindow and other typedefs sound good to me.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/HaxeFoundation/haxe/issues/4005#issuecomment-78366851>\n> .\n>\n"}}