X Tutup
Skip to content

fix(angular2): don't export compiler bits as public API#5828

Closed
pkozlowski-opensource wants to merge 1 commit intoangular:masterfrom
pkozlowski-opensource:remove_compiler_export_from_ng2
Closed

fix(angular2): don't export compiler bits as public API#5828
pkozlowski-opensource wants to merge 1 commit intoangular:masterfrom
pkozlowski-opensource:remove_compiler_export_from_ng2

Conversation

@pkozlowski-opensource
Copy link
Copy Markdown
Member

Closes #5815

BREAKING CHANGE:

The following symbols are not exported from angular2/angular2 any more:
UrlResolver, AppRootUrl, getUrlScheme, DEFAULT_PACKAGE_URL_PROVIDER.

@pkozlowski-opensource
Copy link
Copy Markdown
Member Author

According to #5815 we shouldn't be obliged to export compiler bits from angular2/angular2. Let's see what TravisCI has to say about this :-)

@pkozlowski-opensource
Copy link
Copy Markdown
Member Author

#5821 needs to go in first

@tbosch
Copy link
Copy Markdown
Contributor

tbosch commented Dec 11, 2015

Please change the commit message to say that these symbols can be found in angular2/compiler

Closes angular#5815

BREAKING CHANGE:

The following symbols are not exported from angular2/angular2 any more:
`UrlResolver`, `AppRootUrl`, `getUrlScheme`, `DEFAULT_PACKAGE_URL_PROVIDER`.
Use imports from `angular2/compiler` instead.
@pkozlowski-opensource pkozlowski-opensource force-pushed the remove_compiler_export_from_ng2 branch from 5b2a428 to 40f839d Compare December 11, 2015 19:33
@pkozlowski-opensource
Copy link
Copy Markdown
Member Author

@tbosch done.

But WARNING - as soon as we remove those from angular2/angular2 SystemJS users won't be able to access those symbols through angular2/compiler as we've decided to not export compiler stuff.

@pkozlowski-opensource
Copy link
Copy Markdown
Member Author

Closing, now part of #5797

@angular-automatic-lock-bot
Copy link
Copy Markdown

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 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(bundle): determine if compiler barrel can be omitted

3 participants

X Tutup