Meteor 1.12 is here!
We have some exciting news for you on Meteor 1.12, and the major one is Typescript 4.1.2 with Decorators and Metadata Reflection.
Thanks to everyone that worked on this release, the Meteor community is absolutely awesome! We encourage you to join us and contribute.
Check out our roadmap for ideas on what to work on, or send us a message on Forums. Everyone is also strongly encouraged to join our Community Slack. We’d love to see you there!
Let’s dive in:
Typescript is now on 4.1.2 and it brings Decorators and Metadata reflection support out of the box with the new meteor-babel version. You can now use @decorators like the following example:
class Greeter {
greeting: string;
constructor(message: string) {
this.greeting = message;
} @enumerable(false)
greet() {
return "Hello, " + this.greeting;
}
}
You can create decorators based on reflection, or simply use the power of reflection inside Typescript with zero configurations. It surely does bring us memory on the power of Java here, without the hassle.
Please make sure you are aware of the implications here when updating your Typescript project, breaking changes are introduced on its version changes.
It’s easy to start building with Meteor in Typescript, just run:
meteor create --typescript your_awesome_project
And voilá!
We also have updates on several packages, with bug fixes and improvements,
facebook-oauth@1.7.3 — Is now using Facebook GraphAPI v8
browser-content-policy@1.1.1 — Adds support for nonce
dynamic-import@0.5.4 — Fixes prefetch errors
meteor-tool@1.12 — supports Cordova add plugin command working again with plugin id or plugin name in the git URL as it was before Meteor 1.11
minimongo@1.6.1 — fixes a null reference exception, if an array contains null values while compiling a fields projection.
and several more, please check the full changelog here.
You can update your Meteor project to 1.12 now running meteor update
inside your project folder.
You can also install Meteor and start using it to create new projects. Want to publish your app? Galaxy Hosting offers a 30-days free trial for up to 4gb’s of usage. You can also start using our domain .meteorapp.com so you don’t need to buy a new domain to have a public version of your work!