This version fixed a compatibility issue for the old Reactive Component with Angular 4.
It is still recommended to use the newer []Meteor-RxJS API](https://github.com/Urigo/meteor-rxjs) and all the tutorials have migrated to that.
- Add compatibility for Angular 4 for the old Reactive Component API, #1644
- Add Angular CLI Example, #1651
This version was done completely by @darkbasic, thank you so much!
0.7.0-beta.1 (2016-08-21)
- MeteorComponent: fix #337 (63f95b6), closes #337 #323
- #331 (6fe0d45)
- fix #331 (5a976ac), closes #331
0.6.2 (2016-07-20)
Importing URLs of the component templates in a way as import url from './foo.html'
will be deprecated from [email protected]
in favor of the inline templates. That means the expression above will become now import template from './foo.html'
.
For the migration, we've added a special JS-module to [email protected]
that exports template content as well but with a special suffix added to the URL, i.e., !raw
and the whole path is ./foo.html!raw
. URLs like ./foo.html!raw
are supported by [email protected]
as well allowing you to transit easily.
[email protected]
is based on urigo:[email protected]
(a0d28d3).
- Main Meteor methods are now patched to run ngZone after the callback executions (2145847). In other words,
autoBind
param of theMeteorComponent
wrappers is set to true by default. Fixes this issue (thanks @staeke for the idea and discussion) MeteorComponent
is improved to support server side rendering. One can useangular2-meteor
on the server along withangular2-meteor-universal
- LESS and SASS compilers are added to
[email protected]
. Angular2 components can start importing styles in the ES6 style (as templates), if styles are located in the rootimports
folder
- Angular2-Meteor for Meteor 1.2 based on SystemJS have been deprecated (old code can be found in the
legacy
branch) - Usage Gulp in the build have been deprecated in favor of NPM scripts
- Tests have been moved to be based on Mocha and Chai (Meteor 1.3 style)
- This package is no longer supported from Atmosphere, and will be installed from NPM from Meteor 1.3 and up.
- Removed
bootstrap
module (angular2-meteor/bootstrap
) in favor of the original Angular 2.0 bootstrap's. - Removed
packages/*
- they will be moved into a separated NPM modules in the future. - Imports location will be defined as NPM imports:
import {SomePackage} from 'angular2-meteor/cursor_handlers';
- Removed the need for
SystemJS
, now uses Meteor's ES6 imports that depends on CommonJS.
- Build process now use Webpack instead of Meteor build tool.
- Tests now executed inside a Meteor context which means that there is a meteor app that uses the actual code, because Angular2-Meteor now does not depends of Meteor packages system (Atmosphere) and uses NPM instead.
Angular 2 upgraded to the first beta version.
Angular 2 upgraded to the last version.
- In the latest releases of Angular 2 (alpha-50 and up)
angular2/angular2
namespace were devided into several new ones, mainly,angular2/core
andangular2/common
- The dash symbol were removed in the selectors of main directives, i.e., instead of
ng-if
you should usengIf
now
For more information about the latest API, please, refer to the official docs.
In order to get new Angular 2 definition files, you'll need to remove typings\angular2
folder and typings\angular2.d.ts
file to let
the package install updated version.