{"action":"created","issue":{"url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/236","repository_url":"https://api.github.com/repos/jagi/meteor-astronomy","labels_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/236/comments","events_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/236/events","html_url":"https://github.com/jagi/meteor-astronomy/issues/236","id":123732579,"number":236,"title":"Astronomy 2.0","user":{"login":"jagi","id":1051229,"avatar_url":"https://avatars.githubusercontent.com/u/1051229?v=3","gravatar_id":"","url":"https://api.github.com/users/jagi","html_url":"https://github.com/jagi","followers_url":"https://api.github.com/users/jagi/followers","following_url":"https://api.github.com/users/jagi/following{/other_user}","gists_url":"https://api.github.com/users/jagi/gists{/gist_id}","starred_url":"https://api.github.com/users/jagi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jagi/subscriptions","organizations_url":"https://api.github.com/users/jagi/orgs","repos_url":"https://api.github.com/users/jagi/repos","events_url":"https://api.github.com/users/jagi/events{/privacy}","received_events_url":"https://api.github.com/users/jagi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":58,"created_at":"2015-12-23T22:40:15Z","updated_at":"2016-02-07T12:53:02Z","closed_at":null,"body":"I've started this issue to share progress on Astronomy 2.0. I wanted to release RC version before the end of this year but **it will be published in the beginning of the 2016**. Originally, I wanted to finish the 1.0 version before the end of this year and now we have 1.2.x and I'm very close to publishing 2.0, so it's going quite well :).\r\n\r\nI've rewritten almost entire package to make it faster (**23 times faster document initialisation**), less error prone and full-featured.\r\n\r\nNew features:\r\n- [x] ES2015 compatible\r\n- [x] Direct collection/class access (support for all MiniMongo modifiers)\r\n- [x] New events system\r\n- [x] Improved events propagation for nested classes\r\n- [x] Better error reporting on invalid schema\r\n- [x] New modules system\r\n- [x] Automatic document modifications detection. Now you can modify your documents freely without using `set`, `push`, `inc` etc. methods. Astronomy will detect changes to your documents and try to perform minimal query\r\n- [x] Save and remove methods implemented as Meteor methods. No need to create your own Meteor method to perform operation in both environments (client & server) - just call `doc.save()` or `doc.remove()`\r\n- [x] Validate document on every save\r\n- [x] Support for ObjectIDs\r\n- [x] GraphQL ready (support for GraphQL in future Meteor releases)\r\n- [x] New validators system\r\n- [ ] Named behaviors. Add multiple behaviors of the same type to the one class\r\n- [ ] Autoincrement fields\r\n- [ ] Built in relations module with ability to fetch/populate related documents\r\n- [x] Mapping field name to different field name in collection\r\n- [ ] ENUM type\r\n\r\nThere are many new minor features that I will be adding to the list. There are also some changes to API about which I will be writing more soon. Astronomy 2.0 will also fix many bugs or problems from 1.0."},"comment":{"url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/comments/181010056","html_url":"https://github.com/jagi/meteor-astronomy/issues/236#issuecomment-181010056","issue_url":"https://api.github.com/repos/jagi/meteor-astronomy/issues/236","id":181010056,"user":{"login":"sergiotapia","id":686715,"avatar_url":"https://avatars.githubusercontent.com/u/686715?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiotapia","html_url":"https://github.com/sergiotapia","followers_url":"https://api.github.com/users/sergiotapia/followers","following_url":"https://api.github.com/users/sergiotapia/following{/other_user}","gists_url":"https://api.github.com/users/sergiotapia/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiotapia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiotapia/subscriptions","organizations_url":"https://api.github.com/users/sergiotapia/orgs","repos_url":"https://api.github.com/users/sergiotapia/repos","events_url":"https://api.github.com/users/sergiotapia/events{/privacy}","received_events_url":"https://api.github.com/users/sergiotapia/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T12:53:02Z","updated_at":"2016-02-07T12:53:02Z","body":"That makes sense."}}