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

fix(build): support Angular 4 and AOT #255

Merged
merged 1 commit into from
Apr 18, 2017
Merged

fix(build): support Angular 4 and AOT #255

merged 1 commit into from
Apr 18, 2017

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Apr 12, 2017

  • Bumps all of the @angular dependencies to 4 and Material to 2.0.0-beta.3.
  • Fixes a few linter errors.
  • Fixes an issue that prevented AoT from working under Angular 4.
  • Moves away from a few of the APIs that were deprecated in Angular 4.
  • Fixes issues with the testing setup which prevented the module from compiling with Angular 4.
  • Fixes the demo app not working properly due to the Material theme not being included correctly.

BREAKING CHANGE:

These changes to @angular/flex-layout will require Angular v4.x and will not be compatible with Angular v2.x.

Fixes #254, #236, #227.

@crisbeto crisbeto changed the title feat: angular 4 compatibility fix(build): support Angular 4 and AOT Apr 12, 2017
* Bumps all of the `@angular` dependencies to 4 and Material to 2.0.0-beta.3.
* Fixes a few linter errors.
* Fixes an issue that prevented AoT from working under Angular 4.
* Moves away from a few of the APIs that were deprecated in Angular 4.
* Fixes issues with the testing setup which prevented the module from compiling with Angular 4.
* Fixes the demo app not working properly due to the Material theme not being included correctly.

Fixes angular#254, angular#236, angular#227.
@jelbourn
Copy link
Member

jelbourn commented Apr 15, 2017

Presubmit error:

	TypeError: _this._renderer.setStyle is not a function

in lib/flexbox/api/base.ts

@crisbeto
Copy link
Member Author

That looks weird @jelbourn, it works for me locally. Also I did the same logic for Material 2 when I was migrating to the new renderer.

@jelbourn
Copy link
Member

@crisbeto Yeah, I'm not sure why this error is occurring. It only happens in one project, the rest all pass. I'll try to investigate whether they're doing something weird.

@ThomasBurleson
Copy link
Contributor

@kara - we really need to get this merged asap!

@kara
Copy link
Contributor

kara commented Apr 18, 2017 via email

@kara kara merged commit fed87fa into angular:master Apr 18, 2017
@kara kara added pr: merge ready This PR is ready for the caretaker to presubmit and merge and removed pr: needs presubmit labels Apr 18, 2017
karlhaas pushed a commit to karlhaas/flex-layout that referenced this pull request May 3, 2017
karlhaas pushed a commit to karlhaas/flex-layout that referenced this pull request May 3, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes pr: merge ready This PR is ready for the caretaker to presubmit and merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning npm installing the latest flex-layout
5 participants