{"action":"created","issue":{"url":"https://api.github.com/repos/jsstyles/jss/issues/194","repository_url":"https://api.github.com/repos/jsstyles/jss","labels_url":"https://api.github.com/repos/jsstyles/jss/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/jsstyles/jss/issues/194/comments","events_url":"https://api.github.com/repos/jsstyles/jss/issues/194/events","html_url":"https://github.com/jsstyles/jss/issues/194","id":145742138,"number":194,"title":"v3.4.0 breaks v3.3.0 compatibility","user":{"login":"jeffora","id":683658,"avatar_url":"https://avatars.githubusercontent.com/u/683658?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffora","html_url":"https://github.com/jeffora","followers_url":"https://api.github.com/users/jeffora/followers","following_url":"https://api.github.com/users/jeffora/following{/other_user}","gists_url":"https://api.github.com/users/jeffora/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffora/subscriptions","organizations_url":"https://api.github.com/users/jeffora/orgs","repos_url":"https://api.github.com/users/jeffora/repos","events_url":"https://api.github.com/users/jeffora/events{/privacy}","received_events_url":"https://api.github.com/users/jeffora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-04T16:55:55Z","updated_at":"2016-04-04T17:00:52Z","closed_at":null,"body":"3.4.0 has introduced breaking changes to some users of 3.3.0, potentially because of the move to Babel 6. With this commit (https://github.com/jsstyles/jss/commit/67484c9e023a7f6f0d5be86cdd02b6ca828d38f0), named exports were added in addition to a default export. Babel 5 allowed a property of the default export to be imported as such: `import {create} from 'jss'` (e.g: https://github.com/qimingweng/react-modal-dialog/blob/master/src/useSheet.js#L1), and this would bind `create` to `(new Jss()).create`. However, Babel 6 is a little stricter on these semantics. Additionally, the addition of explicit named exports might have complicated things. @loganfsmyth has kindly offered to add more details if needed.\r\n\r\nAt any rate, in 3.3.0 `import {create} from 'jss'` was valid, functional syntax, and in 3.4.0 it breaks with `create is not a function`."},"comment":{"url":"https://api.github.com/repos/jsstyles/jss/issues/comments/205393235","html_url":"https://github.com/jsstyles/jss/issues/194#issuecomment-205393235","issue_url":"https://api.github.com/repos/jsstyles/jss/issues/194","id":205393235,"user":{"login":"kof","id":52824,"avatar_url":"https://avatars.githubusercontent.com/u/52824?v=3","gravatar_id":"","url":"https://api.github.com/users/kof","html_url":"https://github.com/kof","followers_url":"https://api.github.com/users/kof/followers","following_url":"https://api.github.com/users/kof/following{/other_user}","gists_url":"https://api.github.com/users/kof/gists{/gist_id}","starred_url":"https://api.github.com/users/kof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kof/subscriptions","organizations_url":"https://api.github.com/users/kof/orgs","repos_url":"https://api.github.com/users/kof/repos","events_url":"https://api.github.com/users/kof/events{/privacy}","received_events_url":"https://api.github.com/users/kof/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T17:00:52Z","updated_at":"2016-04-04T17:00:52Z","body":"Also all the plugins has been updated to babel 6 without to increment the major version."}}