Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular Meteor 1.2.0 Released #245

Open
dwwoelfel opened this issue Mar 3, 2020 · 0 comments
Open

Angular Meteor 1.2.0 Released #245

dwwoelfel opened this issue Mar 3, 2020 · 0 comments
Assignees
Labels
Publish Add this label to an issue in order for it to be published on the blog

Comments

@dwwoelfel
Copy link
Owner

We are happy to announce the release of the new angular 1.2.0 package, which takes advantage of the new build process introduced in Meteor 1.2 to make Angular developers feel even more comfortable and productive.

The main difference between older versions is that now, we use Angular to process regular HTML and JS files instead of .ng.html and .ng.js.

We worked hard to make migrating an existing Angular app to Meteor easier. You can migrate by simply moving your entire existing project into Meteor, or also by using your own tools and connecting to a Meteor server, like we demonstrated with Ionic.

For existing users, as the HTML parsing is now happening by the angular package, we should rename all .ng.html files to .html and remove the blaze-html-templates package to reduce load time on the client.

Also, the new angular package processes JS files with Babel for Ecmascript 2015 support and ng-annotate out of the box.

It also adds the decorators syntax from Babel so it will be easier to use the pbastowski:angular2-now package. This lets you write Angular 2.0 syntax in your Angular 1.x application, which we recommend as a best practice.

That means we should rename all .ng.js files to .js and remove the default ecmascript Meteor core package from our projects.

The new package also uses the Meteor 1.2 caching compilers to make the build process faster.

If you are using the accounts-ui package, we now have dotansimha:accounts-ui-angular package instead.

If you still want to continue using the old build process and combine Blaze and Angular templates, you can use the angular-with-blaze package instead of the `angular` package and keep using the same ng.html and ng.js file extensions and the urigo:angular-blaze-template package to include Blaze templates inside your Angular templates.

Going forward to version 1.3, we will start changing our API to be directed into the best practices we’ve recommended:

  • Making the data API as similar as possible to the current and the future native Meteor API
  • Removing the autobind feature to get better performance out of the box

To get ready, you can start using your $meteor services without autobind (sending false to that parameter).

Thanks for all the help we got from the community on this release!

Idan Wender, Chris Antoine, Eytan Manor, Caleb Cox, barbatus, Uri Goldshtein, Joseph Kimberger, Birk Skyum, Tally Barak, Dotan Simha, Netanel Gilad, dinesh36, DumpOfTheVar, Karim Abuzaid, marvinmarnold, David Carter, Eyal Ronel, MarkPhillips7, Nick Benes, Shawn Mckay, Erdou, Sompop Suksawat, Miloš Stanić, BEAUDRU Manuel, BrainCrumbz, David Yahalomi

Please let me know what you think in the comments below.

{"source":"medium","postId":"33fc3a4a45a6","publishedDate":1447228800000,"url":"https://blog.meteor.com/angular-meteor-1-2-0-released-33fc3a4a45a6"}
@dwwoelfel dwwoelfel added the Publish Add this label to an issue in order for it to be published on the blog label Mar 3, 2020
@dwwoelfel dwwoelfel self-assigned this Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Publish Add this label to an issue in order for it to be published on the blog
Projects
None yet
Development

No branches or pull requests

1 participant