Victor Berchet
2a191cae2d
fix(router): do not finish bootstrap until all the routes are resolved ( #14608 )
...
Fixes #12162
closes #14155
2017-02-20 18:37:38 -08:00
vsavkin
c2e0f71a78
feat(router): add an option to rerun guards and resolvers when query changes
...
Closes #14514
Closes #14567
2017-02-20 18:01:51 -08:00
Victor Berchet
fbe4b76f2d
fix(http): Make ResponseOptionsArgs an interface ( #14607 )
...
closes #13708
2017-02-20 17:55:03 -08:00
Dzmitry Shylovich
874243279d
feat(forms): add option to use browser's native validation and angular forms ( #13566 )
...
Also renames NgNovalidate -> NgNoValidate
Closes #13573
2017-02-20 16:36:48 -08:00
Dzmitry Shylovich
551fe50ebd
feat(forms): introduce AsyncValidator interface ( #13483 )
...
Closes #13398
2017-02-20 16:26:51 -08:00
Victor Berchet
d6a58f9f70
feat(core): make `new Inject()` optional for deps specified as `InjectionToken` ( #14486 )
...
fixes #10625
2017-02-20 16:20:45 -08:00
Victor Berchet
5f3c8441e4
refactor(router): misc
...
closes #14517
2017-02-20 16:19:20 -08:00
Victor Berchet
78e8814103
feat(router): add `RouteConfigLoadStart` and `RouteConfigLoadEnd` events
2017-02-20 16:19:05 -08:00
Dzmitry Shylovich
7df6f46c1c
feat(router): introduce RouteConfigLoaded event
...
Closes #14036
2017-02-20 16:19:05 -08:00
Victor Berchet
601fd3e305
fix(platform-webworker): integrate review feedback
...
closes #14581
2017-02-20 16:17:58 -08:00
Victor Berchet
cdf99cf68b
refactor(platform-webworker): cleanup
2017-02-20 16:17:43 -08:00
Victor Berchet
3517f28609
feat(platform-webworker): renderer v2 integration
2017-02-20 16:17:43 -08:00
Victor Berchet
f38dbfbd64
refactor(platform-webworker): misc cleanup
2017-02-20 16:17:43 -08:00
Igor Minar
1bdf7061b8
release: cut v4.0.0-beta.8
2017-02-18 15:00:33 -08:00
Igor Minar
cc3afc888f
docs: add changelog for v4.0.0-beta.8
2017-02-18 14:56:45 -08:00
Ward Bell
5129e8e47c
docs(router): fix typo in canLoad interface doc comment ( #14519 )
2017-02-18 14:28:45 -08:00
Igor Minar
0cf753be30
docs: add changelog for v2.4.8
2017-02-18 14:18:42 -08:00
Ward Bell
c4a6263a01
feat(aio): replace `take(1)` with more semantic `first()` ( #14571 )
2017-02-17 22:52:57 -08:00
Ward Bell
45eac233eb
feat(aio): fill in NavMap from current doc inventory ( #14516 )
...
A port of existing navigation. NOT the final information architecture.
2017-02-17 22:50:16 -08:00
Tobias Bosch
ab26b6518d
fix(platform-browser): allow to mix shadow dom with non shadow dom
...
Allow to style components that don’t use shadow dom inside of components that do.
This reverts 53cf2ec573
and adds a test for this case.
Related to #7887
2017-02-17 17:18:55 -08:00
Tobias Bosch
778ded9fcf
refactor: rename `ComponentRenderTypeV2` to `RendererTypeV2`
2017-02-17 17:18:55 -08:00
Tobias Bosch
b9f17a9cb2
fix: make all tests green with new view engine and JIT
...
Note that this does not yet include enabling the view engine
by default.
Included refactoring:
- view engine: split namespace of elements / attributes already
when creating the `NodeDef`
- view engine: when injecting the old `Renderer`, use an implementation
that is based on `RendererV2`
- view engine: store view queries in the component view, not
on the host element
2017-02-17 17:18:55 -08:00
Ward Bell
74ce121dba
feat(aio): temporarily include ‘content’ folder among production assets ( #14548 )
2017-02-16 17:10:51 -08:00
David Purpura
96d06f7f09
fix(upgrade): Prevent property renaming for $inject.
...
Switch to bracket notation for `directiveFactory.$inject`, otherwise Closure Compiler will (property) rename it, since the output type is `any`.
2017-02-16 15:35:50 -08:00
Igor Minar
8c20aaa328
fix(aio): use cleanUrls option rather than bruteforce rewriting rule ( #14547 )
...
the cleanUrls option is smarter and looks at headers and mime type to route requests correctly.
2017-02-16 15:26:59 -08:00
Igor Minar
b1a79fd2ec
ci: simplify validate-commit-message empty line logic
2017-02-16 14:57:23 -08:00
Igor Minar
6c20e6ca2e
docs(core): fix typo in animation docs
2017-02-16 14:57:23 -08:00
Rob Wormald
88eb3b2ce8
fix(aio): fix prod build ( #14541 )
...
Fixes push to staging.
2017-02-16 14:46:30 -08:00
Tobias Bosch
0fa3895d5b
feat(compiler): implement style encapsulation for new view engine ( #14518 )
...
Included refactoring:
- splits the `RendererV2` into a `RendererFactoryV2` and a `RendererV2`
- makes the `DebugRendererV2` a private class in `@angular/core`
- remove `setBindingDebugInfo` from `RendererV2`, but rename `RendererV2.setText` to
`RendererV2.setValue` and allow it on comments and text nodes.
Part of #14013
2017-02-16 13:55:55 -08:00
Matias Niemelä
ba17dcbf2b
refactor(animations): multiple group animations should tally-up delays correctly
2017-02-16 12:10:32 -08:00
Matias Niemelä
88e3d7af9f
refactor(animations): do not inherit past styles into sub timelines
2017-02-16 12:10:32 -08:00
Rob Wormald
3dbd9a04d4
fix(aio): fix staging build travis config ( #14539 )
2017-02-16 11:44:24 -08:00
Dzmitry Shylovich
b36f60c74c
docs(router): fix broken link ( #14431 )
...
Closes #14430
2017-02-16 11:32:17 -08:00
Victor Berchet
57461e9ed7
docs(router): fix guards API docs ( #14528 )
2017-02-16 10:26:53 -08:00
Alex Rickabaugh
612f120208
fix(platform-server): default unspecified sections of the url to empty string ( #14512 )
2017-02-16 10:18:55 -08:00
George Kalpakas
4a56b6e7f6
ci: fix `getLatestLabel` ( #14535 )
2017-02-16 08:57:58 -08:00
Chuck Jazdzewski
724ca373e7
build: produce metadata bundles for @angular modules ( #14509 )
...
Closes #14509
2017-02-16 08:15:30 -08:00
Chuck Jazdzewski
3b896709a9
feat(tsc-wrapped): add an option to `ngc` to bundle metadata ( #14509 )
...
Closes #14509
2017-02-16 08:15:30 -08:00
Ward Bell
9a6f3d637f
feat(aio): add sidenav driven by navigation data ( #14429 )
2017-02-15 11:22:37 -08:00
Alex Rickabaugh
56f232cdd7
fix(platform-server): read initial location from INITIAL_CONFIG if present
2017-02-15 09:14:59 -08:00
Alex Rickabaugh
047cda5b3c
fix(platform-server): reflect properties to attributes for known elements, for serialization
2017-02-15 09:14:59 -08:00
Alex Rickabaugh
9559d3e949
feat(platform-server): support @angular/http from @angular/platform-server
...
This change installs HttpModule with ServerModule, and overrides bindings to
service Http requests made from the server with the 'xhr2' NPM package.
Outgoing requests are wrapped in a Zone macro-task, so they will be tracked
within the Angular zone and cause the isStable API to show 'false' until they
return. This is essential for Universal support of server-side HTTP.
2017-02-15 09:14:59 -08:00
Alex Rickabaugh
30380d010b
fix(platform-server): render styles in app component instead of <head>
...
This ensures when the tree is serialized to the client and the app is later bootstrapped,
the <style> tags created during server-side rendering are destroyed.
2017-02-15 09:14:59 -08:00
Vikram Subramanian
17486fd696
fix(platform-server): allow multiple instances of platformServer and platformDynamicServer
2017-02-15 09:14:59 -08:00
Tobias Bosch
0e2fd9d91a
build: update .pullapprove ( #14506 )
...
* build: update .pullapprove
Add tbosch/vicb/chuckjaz to more projects.
* Update .pullapprove.yml
2017-02-15 09:00:21 -08:00
Tobias Bosch
4e7752a12a
feat(compiler): integrate compiler with view engine ( #14487 )
...
Aspects: di, query, content projection
Included refactoring:
- use a number as query id
- use a bloom filter for aggregating matched queries of nested elements
- separate static vs dynamic queries
Part of #14013
2017-02-15 08:36:49 -08:00
Igor Minar
e9ba7aa4f8
docs: update schedule by adding one more beta ( #14494 )
...
The new view engine is behind schedule. We agreed to slip the release by one more week.
2017-02-14 21:42:38 -08:00
Victor Berchet
bb9c7ae6e7
feat: RendererV2 integration ( #14469 )
2017-02-14 21:03:18 -08:00
vikerman
b4d444a0a7
feat(platform-server): add API to render Module and ModuleFactory to string ( #14381 )
...
- PlatformState provides an interface to serialize the current Platform State as a string or Document.
- renderModule and renderModuleFactory are convenience methods to wait for Angular Application to stabilize and then render the state to a string.
- refactor code to remove defaultDoc from DomAdapter and inject DOCUMENT where it's needed.
2017-02-14 16:14:40 -08:00
Alex Eagle
2f2b65bd38
fix(core): suppress a Closure Compiler warning ( #14484 )
2017-02-14 14:44:16 -08:00