2

Meteor 1.12 is here!

 3 years ago
source link: https://blog.meteor.com/meteor-1-12-is-here-ec0c78dbb973?source=collection_home---6------2-----------------------&gi=e731726c8ab9
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Meteor 1.12 is here!. We have some exciting news for you on…

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,

[email protected] — Is now using Facebook GraphAPI v8
[email protected] — Adds support for nonce
[email protected] — Fixes prefetch errors
[email protected] — supports Cordova add plugin command working again with plugin id or plugin name in the git URL as it was before Meteor 1.11
[email protected] — fixes a null reference exception, if an array contains null values while compiling a fields projection.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK