https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
b7212f5 docs: add changelog for 4.0.0-rc.4 17 March 2017, 03:10:54 UTC
4e25601 release: cut the 4.0.0-rc.4 release 17 March 2017, 03:10:53 UTC
add7829 docs: add changelog for 2.4.10 17 March 2017, 03:10:53 UTC
a52184b fix(core): update peer dep on zone.js to ^0.8.4 (#15209) 17 March 2017, 03:10:53 UTC
410aa33 build: fix paths to typings files so tsickle resolves imports correctly Fixes #15080 17 March 2017, 00:34:29 UTC
0ab49d4 feat(compiler-cli): support metadata file aliases 17 March 2017, 00:34:29 UTC
994089d fix(compiler): always use `ng://` prefix for sourcemap urls (#15218) Fixes: - In G3, filePaths don’t start with a `/` and therefore became relative. - Always using the `ng://` prefix groups angular resources in the same way for AOT and JIT. 17 March 2017, 00:33:17 UTC
d2fbbb4 fix(core): update peer dep on zone.js to ^0.8.4 (#15209) Closes #15180 Closes #15185 16 March 2017, 20:23:09 UTC
77fd91d fix(core): ErrorHandler should not rethrow an error by default (#15077) (#15208) ErrorHandler can not throw errors because it will unsubscribe itself from the error stream. Zones captures errors and feed it into NgZone, which than has a Rx Observable to feed it into ErrorHandler. If the ErroHandler throws, then Rx will teardown the observable which in essence causes the ErrorHandler to be removed from the error handling. This implies that the ErrorHandler can never throw errors. Closes #14949 Closes #15182 Closes #14316 16 March 2017, 19:58:41 UTC
492153a fix(compiler): make sourcemaps work in AOT mode Inlcuded fixes: - include preamble in generated source map - always add a mapping for line/col 0 so that the generated sourcemap is not sparse - use a uniue sourceUrl for inline templates even in the AOT case 16 March 2017, 19:56:56 UTC
c0e05e6 fix(tsc-wrapped): emit js files in all cases 16 March 2017, 19:56:56 UTC
73a4620 build(tsc-wrapped): update tsickle to version 0.21.6 Update tsickle to version 0.21.6 which fixes a bug where input source maps which specified filenames differently than the names supplied to tsc didn't get composed with tsc's source maps. Also adds a test that the bug was fixed. 16 March 2017, 19:56:56 UTC
992aa17 build: add source maps into NPM distribution (#15159) Previous to 2.x there were some source maps distrubted, but they didn't go all the way back to the TypeScript sources and they weren't available for all JavaScript distrubted to NPM. With this change source maps will be available for FESM distributions as well as UMD and will go all the way back to TypeScript sources. Fixes #15184 16 March 2017, 19:55:15 UTC
a4076c7 fix(platform-browser): prevent clobbered elements from freezing the browser see https://github.com/angular/angular.js/commit/4f69d38f097fab76e683105d1c758706e6cbe1a9 16 March 2017, 17:16:39 UTC
52bbc9b refactor(platform-browser): cleanup HtmlSanitizer specs 16 March 2017, 17:16:39 UTC
26d4ce2 fix(forms): ensure observable validators are properly canceled (#15132) Observable subscriptions from previous validation runs should be canceled before a new subscription is created for the next validation run. Currently the subscription that sets the errors is canceled properly, but the source observable created by the validator is not. While this does not affect validation status or error setting, the source observables will incorrectly continue through the pipeline until they complete. This change ensures that the whole stream is canceled. AsyncValidatorFn previously had an "any" return type, but now it more explicitly requires a Promise or Observable return type. We don't anticipate this causing problems given that any other return type would have caused a runtime error already. 16 March 2017, 17:15:17 UTC
41f61b0 test: integration test that Angular apps compile with TS 2.2 (#15153) 16 March 2017, 16:13:48 UTC
f92d644 ci: disable Android 4.1, 4.2 and 4.3 in SauceLabs (#14461) These browsers are not supported anymore: https://wiki.saucelabs.com/pages/viewpage.action?pageId=67012495 Tried to switch them to BrowserStack, but the emulators are too slow to run the full campaign (time out in tests, and disconnect eventually). 16 March 2017, 16:13:07 UTC
923d0c5 fix: correct UMD resolutions for platform-browser_animations (#15190) Fixes #15114 16 March 2017, 00:14:20 UTC
dd36d41 build: update symlink scripts for Windows (#14987) 16 March 2017, 00:13:54 UTC
013d806 fix(platform-server): handle styles with extra ':'s correctly (#15189) Previously, style values were parsed with a regex that split on /:+/. This causes errors for CSS such as div { background-url: url(http://server.com/img.png); } since the regex would split the background-url line into 3 values instead of 2. Now, the : character is detected with indexOf, avoiding this error. A test was added to verify the behavior is correct. 16 March 2017, 00:13:31 UTC
6e98757 fix(core): use presence of .subscribe to detect observables rather then Symbol.observable (#15171) Fixes #14298 Fixes #14473 Fixes #14926 16 March 2017, 00:13:03 UTC
3131581 Revert "fix(core): ErrorHandler should not rethrow an error by default (#15077)" This reverts commit 6559425b07293f912577b3d7d9929bf0b48fac96. 15 March 2017, 23:29:24 UTC
6772c91 fix(aio): scroll to hash fragment element on URL change 15 March 2017, 23:11:30 UTC
b11d011 feat(aio): top bar typography, sidenav size 15 March 2017, 23:11:30 UTC
637a489 refactor(aio): indent and org cleanup 15 March 2017, 23:11:30 UTC
c2bd357 feat(aio): initial design commit Implemented style guide elements to top header bar, side hamburger nav menu, content and search. Consolidated SCSS files to styles folder. Fixed PWA test. 15 March 2017, 23:11:30 UTC
4870f91 feat(aio): hide search results when click outside search elements Clicking anywhere except on the search results and the search box will now hide the search results Closes #15095 15 March 2017, 23:11:30 UTC
c95a304 fix(aio): `SearchBoxComponent` should send query on click The input may still have focus when the user hits ESC, causing the search to be hidden. If the user then clicks on the input again, they would expect it to reopen the results. 15 March 2017, 23:11:30 UTC
0e6eb6d test(aio): fill in missing API page unit tests 15 March 2017, 23:11:30 UTC
09574fc build(aio): `yarn test --sourcemap=false` for faster dev/test cycles 15 March 2017, 23:11:29 UTC
4347cb2 ci(aio): whitelist 'aio-contributors' for deploying PR previews 15 March 2017, 23:11:29 UTC
f600d4e refactor(aio): move window:resize handler into component 15 March 2017, 23:11:29 UTC
eaa0435 fix(aio): intercept all clicks on anchors Previously we had the `LinkDirective` which intercepted clicks on anchors outside the doc viewer. Now we intercept "all" link clicks within the app. 15 March 2017, 23:11:29 UTC
3f7cfde fix(aio): ignore private exports Closes #14992 15 March 2017, 23:11:29 UTC
62d5543 fix(animations): make sure easing values are applied to an empty animate() step (#15174) Closes #15115 Closes #15174 15 March 2017, 22:31:06 UTC
f1b33ab fix(http): Make ResponseOptionsArgs an interface (#14607) (#14623) closes #13708 15 March 2017, 22:28:52 UTC
029d0f2 fix(router): fix query parameters with multiple values (#15129) fixes #14796 15 March 2017, 22:27:19 UTC
3f38c6f fix(animations): always fire callbacks even for noop animations (#15170) Closes #15170 15 March 2017, 20:41:00 UTC
80112a9 fix: fix path locally to empty.js (#15073) 15 March 2017, 20:40:24 UTC
795638e ci: remove unused import from integration test (#15175) 15 March 2017, 20:39:00 UTC
322bf7a Revert "refactor(upgrade): don’t rely on compiler internals" This reverts commit 8e2c8b3e4d954a7a8908b513f4ec7a6eec903046. 15 March 2017, 20:23:31 UTC
cd98149 Revert "feat(core): expose `inputs`, `outputs` and `ngContentSelectors` on `ComponentFactory`." This reverts commit 1171f91a805334f8eec7267c23f6445a563798e8. 15 March 2017, 20:23:10 UTC
c439742 Revert "feat(upgrade): use `ComponentFactory.inputs/outputs/ngContentSelectors`" This reverts commit a3e32fb7e14b5b131c90987559e446769d25d6b7. 15 March 2017, 20:22:54 UTC
a3e32fb feat(upgrade): use `ComponentFactory.inputs/outputs/ngContentSelectors` DEPRECATION: - the arguments `inputs` / `outputs` / `ngContentSelectors` of `downgradeComponent` are no longer used as Angular calculates these automatically now. - Compiler.getNgContentSelectors is deprecated. Use ComponentFactory.ngContentSelectors instead. 15 March 2017, 18:42:12 UTC
1171f91 feat(core): expose `inputs`, `outputs` and `ngContentSelectors` on `ComponentFactory`. E.g. for a component like this: ``` @Component({ template: ‘<ng-content select=“child”></ng-content>’ }) class MyComp { @Input(‘aInputName’) aInputProp: string; @Output(‘aEventName’) aOuputProp: EventEmitter<any>; } ``` the `ComponentFactory` will now contain the following: - `inputs = {aInputProp: ‘aInputName’}` - `outputs = {aOutputProp: ‘aOutputName’}` - `ngContentSelectors = [‘child’]` 15 March 2017, 18:42:12 UTC
8e2c8b3 refactor(upgrade): don’t rely on compiler internals Uses `Element.matches` to match selectors, instead of copying the code from our compiler. 15 March 2017, 18:42:12 UTC
b00fe20 fix(compiler): support interface types in injectable constuctors (#14894) Fixes #12631 15 March 2017, 16:24:56 UTC
36ce0af fix(animations): support multiple state names per state() call (#15147) Closes #14732 Closes #15147 15 March 2017, 16:24:09 UTC
5c0ea20 build(tsc-wrapped): use tsickleCompilerHost for initial file load In order for tsickle's new support for input source maps to work, the tsickleCompilerHost must be used for the initial load of source files, since that's when the inline source maps are read and stripped. 15 March 2017, 16:23:36 UTC
49764a5 build(tsc-wrapped): update tsickle to version 0.21.5 15 March 2017, 16:23:36 UTC
4f7d62a fix(platform-server): fix an exception when HostListener('window:scroll') is used on the server (#15019) 15 March 2017, 03:48:01 UTC
c10c060 feat(common): support `as` syntax in template/* bindings (#15025) * feat(common): support `as` syntax in template/* bindings Closes #15020 Showing the new and the equivalent old syntax. - `*ngIf="exp as var1”` => `*ngIf="exp; let var1 = ngIf”` - `*ngFor="var item of itemsStream |async as items”` => `*ngFor="var item of itemsStream |async; let items = ngForOf”` * feat(common): convert ngIf to use `*ngIf="exp as local“` syntax * feat(common): convert ngForOf to use `*ngFor=“let i of exp as local“` syntax * feat(common): expose NgForOfContext and NgIfContext 15 March 2017, 03:46:29 UTC
5fe2d8f fix(core): update peer dep on zone.js to ^0.8.2 (#15078) 15 March 2017, 03:42:39 UTC
5c34066 fix(compiler): only warn for `@Injectable` classes with invalid args. In v2.x, users had to annotate classes that they intended to use as tokens with `@Injectable`. This is no longer required in v4.x for tokens, and we now require the constructor parameters of classes annotated with `@Injectable` to be statically analyzable by ngc. This commit reduces the error into a warning if the constructor parameters do not meet this condition. DEPRECATION: - Classes annotated with `@Injectable` but whose constructor’s parameter types are not statically analyzable by ngc will produce a warning. Closes #15003 15 March 2017, 02:52:53 UTC
50ab06e fix(compiler): generated code should pass `noUnusedLocals` check Closes #14797 15 March 2017, 02:52:53 UTC
06fc42b fix(core): don’t throw if queries change during change detection. Throwing on query changes would be a breaking change compared to v2. Also discovers a bug with querying manually projected content, see #15117. Related to #14748 Closes #14925 15 March 2017, 02:52:53 UTC
959a03a fix(compiler): fix utf8encode, move to sharted utils, add tests (#15076) 15 March 2017, 00:13:39 UTC
3b1956b fix(compiler): warning prints "WARNING" instead of "ERROR" (#15125) 15 March 2017, 00:12:44 UTC
3c15916 fix(compiler): Improve error message for missing annotations (#14724) Currently, it says: Unexpected value 'FuzzyTimePipe in javascript/angular2/example/search/fuzzy_time.ts' declared by the module 'SearchModule in javascript/angular2/example/search/search_module.ts' The new error message also suggests: 'Please add a @Pipe/@Directive/@Component annotation.' 15 March 2017, 00:12:18 UTC
ff60c04 test(platform-server): add initial e2e tests for platform-server (#15061) 15 March 2017, 00:11:39 UTC
13686bb fix: element injector vs module injector (#15044) fixes #12869 fixes #12889 fixes #13885 fixes #13870 Before this change there was a single injector tree. Now we have 2 injector trees, one for the modules and one for the components. This fixes lazy loading modules. See the design docs for details: https://docs.google.com/document/d/1OEUIwc-s69l1o97K0wBd_-Lth5BBxir1KuCRWklTlI4 BREAKING CHANGES `ComponentFactory.create()` takes an extra optional `NgModuleRef` parameter. No change should be required in user code as the correct module will be used when none is provided DEPRECATIONS The following methods were used internally and are no more required: - `RouterOutlet.locationFactoryResolver` - `RouterOutlet.locationInjector` 14 March 2017, 23:26:17 UTC
f093501 fix(platform-server): support svg elements with namespaced attributes (#15101) 14 March 2017, 22:40:55 UTC
80649ea fix(platform-server): correctly implement get href in parse5 adapter (#15022) 14 March 2017, 22:38:24 UTC
778f7d6 fix(forms): remove equalsTo validator (#15050) This API was introduced only in a beta release, and is being removed because we found it to be incorrect prior to launch. For more information about why this is being removed, see https://github.com/angular/angular/pull/15050. 14 March 2017, 22:37:51 UTC
2c5a671 fix: don't instantiate providers with ngOnDestroy eagerly. (#15070) BREAKING CHANGE: Perviously, any provider that had an ngOnDestroy lifecycle hook would be created eagerly. Now, only classes that are annotated with @Component, @Directive, @Pipe, @NgModule are eager. Providers only become eager if they are either directly or transitively injected into one of the above. This also makes all `useValue` providers eager, which should have no observable impact other than code size. EXPECTED IMPACT: Making providers eager was an incorrect behavior and never documented. Also, providers that are used by a directive / pipe / ngModule stay eager. So the impact should be rather small. Fixes #14552 14 March 2017, 21:32:26 UTC
0aad270 refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) Closes: #15130 14 March 2017, 18:55:49 UTC
221899a ci: fix incorrect github credetials (#15146) 14 March 2017, 18:49:33 UTC
060a2d1 ci(aio): deploy previews from aio-master (#15137) 14 March 2017, 17:28:52 UTC
abbbb4d ci: do not use shell to expand secure tokens to prevent leaks 14 March 2017, 17:27:56 UTC
ccd38dd ci: changing deployment token 14 March 2017, 17:27:56 UTC
cdc882b feat: introduce source maps for templates (#15011) The main use case for the generated source maps is to give errors a meaningful context in terms of the original source that the user wrote. Related changes that are included in this commit: * renamed virtual folders used for jit: * ng://<module type>/module.ngfactory.js * ng://<module type>/<comp type>.ngfactory.js * ng://<module type>/<comp type>.html (for inline templates) * error logging: * all errors that happen in templates are logged from the place of the nearest element. * instead of logging error messages and stacks separately, we log the actual error. This is needed so that browsers apply source maps to the stack correctly. * error type and error is logged as one log entry. Note that long-stack-trace zone has a bug that disables source maps for stack traces, see https://github.com/angular/zone.js/issues/661. BREAKING CHANGE: - DebugNode.source no more returns the source location of a node. Closes 14013 14 March 2017, 16:16:15 UTC
1c1085b feat(aio): add google analytics (#15081) 14 March 2017, 01:08:23 UTC
914797a feat(upgrade): support multi-slot projection in upgrade/static (#14282) Closes #14261 14 March 2017, 00:34:53 UTC
ab40fcb docs(aio): fix relative links The migrator was updated to automatically fix these links. See https://github.com/petebacondarwin/aio-migrator/commit/fca5fb0280d6ab5b5c15c9a1b0bcdf0866fc9e37 and https://github.com/petebacondarwin/aio-migrator/commit/3927b7a03893bcbc79a5b7e05bcc90ef24893aca The result of this is that, going forward, we should ask authors to include the path from the base href to the thing being linked. E.g. guide/architecture#intro 13 March 2017, 23:56:23 UTC
1847550 docs(aio): move cookbooks into guide Also update all docs with migrated versions from latest angular.io Fixes #14941 13 March 2017, 23:56:23 UTC
6497633 feat(aio): improve search results functionality * Ensure that all indexed documents are displayed in the search results. (Previously the guide documents were not appearing because we only showed results that had a `name` property, rather than a `name` or `title`.) * Group the results by their containing folder (e.g. api, guide, tutorial, etc). * Hide the results when the user hits the ESC key. * Hide the results when the user clicks on a search result Closes #14852 13 March 2017, 23:55:52 UTC
8850098 build(aio): ensure API docs are generated in the correct place (#15103) The move of the source code from modules/@angular to packages, caused a problem with the path to the API docs. 13 March 2017, 23:53:47 UTC
eedca09 build(aio): generate the api-list.json file from the API docs 13 March 2017, 23:52:58 UTC
7b6dbf0 fix(aio): `LocationService` search should handle corner cases Adds tests and fixes corners cases for both `search()` and `setSearc()` for things like empty queries and param keys that need encoding. This commit refactors the `LocationService` to rely upon the `PlatformLocation` rather than using `window.history` directly. This makes testing easier but also makes the code simpler since `PlatformLocation` deals with platforms that do not support history for us. 13 March 2017, 23:52:58 UTC
e6c81d2 Revert "refactor(platform-browser): move platform-browser/animations to animations/browser (#15043)" This reverts commit 195b863ea42c3dcfaf60ac43f52bd0f1e0d3ce5d. 13 March 2017, 22:46:44 UTC
498a951 Revert "build(animations): adjust animations/browser source to new standard for automatic build (#15043)" This reverts commit 21a18d6cebd1214b12f435fd18d9607c10cd3ba3. 13 March 2017, 22:46:07 UTC
21a18d6 build(animations): adjust animations/browser source to new standard for automatic build (#15043) 13 March 2017, 21:39:42 UTC
195b863 refactor(platform-browser): move platform-browser/animations to animations/browser (#15043) 13 March 2017, 21:39:19 UTC
75147ff fix(aio): remove invalid brace from CSS (#15122) 13 March 2017, 20:36:22 UTC
018e5c9 fix(platform-server): fix get/set title in parse5 adapter (#14965) 13 March 2017, 20:22:03 UTC
e7dab7e feat(aio): hard code a "Home" image link into the toolbar Closes #15017 13 March 2017, 19:55:11 UTC
26efa3a style(aio): tidy up SCSS files 13 March 2017, 19:55:11 UTC
893652a fix(aio): upgrade to zone.js 0.7.8 (#15099) This new version supports empty jasmine it clauses. 13 March 2017, 19:53:45 UTC
6559425 fix(core): ErrorHandler should not rethrow an error by default (#15077) 13 March 2017, 18:27:01 UTC
df914ef fix(core): don’t recreate `TemplateRef` when used as a reference. (#15066) This was a regression introduced in v4 rc.0. Fixes #14873 13 March 2017, 17:44:12 UTC
4e1cf5b build(aio): replace all occurrences of env vars on a line in `aio-builds-setup` 13 March 2017, 17:30:49 UTC
0c5f893 test(aio): improve test description and expectations 13 March 2017, 17:30:49 UTC
17f5f3b ci(aio): fix clean-up script on `ngbuilds.io` 13 March 2017, 17:30:49 UTC
3bb5990 docs(aio): add more docs about `aio-builds-setup` 13 March 2017, 17:30:49 UTC
b804a48 feat(aio): make it easy to keep relevant logs outside the docker container 13 March 2017, 17:30:49 UTC
cbde75e feat(aio): redirect HTTP to HTTPS 13 March 2017, 17:30:49 UTC
413e11f build(aio): remove redundant arg 13 March 2017, 17:30:49 UTC
0e2dd76 build: remove obsolete `ci-lite/` directory and files (#14994) The directory was removed in 91fe3aadb but then accidentally re-introduced while rebasing and merging ab0db66bf. 13 March 2017, 17:29:45 UTC
ff71eff refactor(core): use flags in `Renderer2.setStyle` instead of booleans (#15045) BREAKING CHANGE: (since v4 rc.1) - `Renderer2.setStyle` no longer takes booleans but rather a bit mask of flags. 13 March 2017, 16:45:04 UTC
back to top