https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
3d382dc docs: add changelog for 4.2.0-rc.0 19 May 2017, 23:03:18 UTC
9081f84 release: cut the 4.2.0-rc.0 release 19 May 2017, 22:54:52 UTC
f1a9e3c feat(animations): introduce routeable animation support 19 May 2017, 20:45:22 UTC
b10029c docs(animations): add documentation for new animation features 19 May 2017, 19:52:04 UTC
5d4f543 refactor(router): don't run the change detection every time an outlet is activated fix(router): inside on push // SQUASH after review 19 May 2017, 18:55:15 UTC
81ca51a refactor(router): cleanup, simplification 19 May 2017, 18:55:15 UTC
6cb93c1 fix(animations): only require one flushMicrotasks call when testing animations 19 May 2017, 17:45:20 UTC
eed67dd feat(aio): update aio-shell class when sidenav opens or closes 19 May 2017, 13:10:00 UTC
be9e8b9 fix(aio): support IE via conditionally loaded polyfills Closes #16519 19 May 2017, 10:26:29 UTC
8a0e565 docs(aio): tidy up docs that use float clearing Closes #16681 19 May 2017, 08:47:53 UTC
2842b0c fix(aio): ensure that subsections clear floats correctly 19 May 2017, 08:47:53 UTC
a42322d feat(aio): code copy button has tooltip and aria-label Based on optional title passed in from parent element such as CodeExample or CodeTabs. Darkens uncovered copy button slightly as recommended for a11y. PR #16808 19 May 2017, 08:42:48 UTC
4ccb226 feat(aio): buttons for TOC "Contents" label - Use buttons for the TOC “Contents” label when embedded-and-expandable or TOC on the right to satisfy a11y. - Add aria-pressed setting for the toggles in TOC and NavItem. - Clicking the right panel TOC “Contents” button scrolls to top. - When embedded use same rotating caret as sidebar - When embedded and no secondaries, “Content” is just a label. - Gray background for focused buttons rather than outline because can’t get carets to work with outline. 19 May 2017, 08:42:30 UTC
b836aca docs(aio): rework of the upgrade guide This commit was worked on by a number of people including @filipesilva, @gkalpak and @wardbell. It contains changes that: * remove unused files, * fix the bootstrap approach to ensure that bootstrap is in the correct Zone * fix unclosed code-example tags * replace use of "we" with "you" * remove broken dual router example Related to angular/angular.io#3541 19 May 2017, 08:42:17 UTC
7d9f96a fix(animations): make sure reuseable animation subtitutions work without default params (#16875) 18 May 2017, 19:59:54 UTC
86b7bd9 revert: refactor(router): cleanup, simplification This reverts commit 44d48d9d7aa10bbf03c412ce7e59821c748b5d2d. 18 May 2017, 18:57:22 UTC
a0a6029 revert: refactor(router): don't run the change detection every time an outlet is activated This reverts commit 198edb31093ffdecfd13aed17967fb02e650cffe. 18 May 2017, 18:57:22 UTC
6531806 build(aio): do not ignore `is-on-https` in lighthouse check Lighthouse v1.6.5 treats localhost/1.2.7.0.0.1 as secure domains (i.e. as if they where HTTPS), so we need to stop handling the is-on-https audit specially. 18 May 2017, 14:48:49 UTC
3a604ba fix(aio): fix PWA testing on Windows (and reduce flaky-ness) Adding a delay after Lighthouse has run and before killing the Chrome process avoids `ECONNREFUSED` errors on Windows and will hopefully prevent such errors occasionally appearing on CI. Based on info in: https://github.com/paulirish/pwmetrics/issues/63#issuecomment-282721068 18 May 2017, 14:48:49 UTC
39f2977 fix(aio): fix up typing errors in tests The new version of Jasmine types identified issues with our unit tests. 18 May 2017, 14:48:49 UTC
faacbe4 build(aio): upgrade to @angular/cli@1.1.0-rc.0 18 May 2017, 14:48:49 UTC
47c72e4 perf(aio): load reflect-metadata polyfill only in the dev mode 18 May 2017, 14:48:49 UTC
59136fd build(aio): add ngo + purify 18 May 2017, 14:48:49 UTC
35d1922 ci(aio): log the full PWA testing results This will help diagnose errors or regressions in PWA scores. 18 May 2017, 14:48:49 UTC
b40aae5 fix(aio): fix PWA testing in cases where `atob`/`btoa` is necessary In some cases (unclear when), traceviewer-js, used by Lighthouse under the hood, assumes `atob`/`btoa` are defined in the global scope. This is true for browser environments, but not on node. As a result, some aggregations that required access to model-tracing failed to produce results, dropping the overall PWA score. This affected #16665 (e.g. commit 0de6eec7a). 18 May 2017, 14:48:49 UTC
baa3fba build(aio): upgrade @angular/* and friends, remove obsolete deps 18 May 2017, 14:48:49 UTC
3361a7b build(aio): minor `update-preview-server.sh` improvements 18 May 2017, 13:41:54 UTC
0e13a59 fix(aio): add small delay before autoscrolling This delay allows any async layout to complete before we autoscroll to a heading anchor. Closes #16242 18 May 2017, 13:37:45 UTC
9466908 build(aio): add script for updating the preview server 18 May 2017, 07:21:25 UTC
93d27d2 build(aio): fix syntax error in preview server's Dockerfile 18 May 2017, 07:21:25 UTC
6f59a4a docs(aio): minor docs fixes for `aio-builds-setup/` 18 May 2017, 07:21:25 UTC
71c3103 build(aio): reduce images weight 18 May 2017, 07:20:10 UTC
198edb3 refactor(router): don't run the change detection every time an outlet is activated 18 May 2017, 02:32:04 UTC
44d48d9 refactor(router): cleanup, simplification 18 May 2017, 02:32:04 UTC
712630c perf(animations): reduce size of animations bundle before: animations.umd.js = 33k animations.umd.min.js = 9.0k after: animations.umd.js = 31k animations.umd.min.js = 7.9k 17 May 2017, 23:30:36 UTC
6416e79 build: do not create the bundles when updating the public API - 1.7x faster on my machine (2.7 vs 4.6 min) - should solve the memory issue 17 May 2017, 15:34:50 UTC
238c523 fix(aio): remove searchbox shrink animation 17 May 2017, 07:22:28 UTC
593fe5e build(aio): enable HTTP/2 on the preview server (#16826) Fixes #16780 17 May 2017, 04:07:28 UTC
54a6e4f refactor(animations): make animation testing work with fixture.whenRenderingDone 17 May 2017, 00:39:57 UTC
8a6eb1a refactor(animations): single animation engine code pass 17 May 2017, 00:39:57 UTC
16c8167 feat(animations): introduce a wave of new animation features 17 May 2017, 00:39:57 UTC
d761059 fix(compiler-cli): allow '==' to compare nullable types (#16731) Fixes: #16729 * fix(compiler-cli): diagnose issues in conditional of ternary Fixes: #16730 16 May 2017, 23:36:51 UTC
c805082 fix(platform-server): wait for async app initializers to complete before removing server side styles (#16712) This fixes a flicker when transitioning from server rendered page to client rendered page in lazy loaded routes by waiting for the lazy loaded route to finish loading, assuming initialNavigation on the route is set to 'enabled'. Fixes #15716 16 May 2017, 22:14:55 UTC
9a7f5d5 ci: update build to use TypeScript 2.3.2 (#16707) 16 May 2017, 20:29:38 UTC
af99cf2 build(aio): compute `{@link ...} titles more effectively (#16813) If a usage of `{@link ...}` does not provide a title then compute it based on the `title` and/or `name` properties or set the link to invalid. Closes #16811 16 May 2017, 17:21:31 UTC
221f85a fix(aio): no white band below toolbar when mobile At 600px wide, the buttons on tool bar shrank from 64 to 56px. Should shrink the content’s top padding from 64 to 56 as well. 16 May 2017, 09:43:12 UTC
a68ad6d feat(aio): sidenav headers should be focusable buttons Sidenav headers had been anchors w/o hrefs. These can’t take focus which makes you can’t navigate through them with keyboard. For a11y purposes, this PR turns them into buttons. 16 May 2017, 09:02:08 UTC
7ae0440 docs(aio): remove fundamentals/techniques intro pages 16 May 2017, 08:45:48 UTC
2ee7662 test(aio): remove compileComponents from all tests By reflex we began all component tests with an async `beforeEach` that called `compileComponents`. In at least one case (`live-example.component.spec.ts`) that led to the `it` tests being async as well. There is no need to call `.compileComponents` because CLI web pack + plugin inlines all templates and styles. While `.compileComponents` was harmless, it added complexity and distraction which we should not inflict on future readers and testers. 16 May 2017, 08:45:04 UTC
4419585 docs(aio): fix toh e2e test 16 May 2017, 08:42:59 UTC
39b92f7 feat: introduce `TestBed.overrideProvider` (#16725) This allows to overwrite all providers for a token, not matter where they were defined. This can be used to test JIT and AOT’ed code in the same way. Design doc: https://docs.google.com/document/d/1VmTkz0EbEVSWfEEWEvQ5sXyQXSCvtMOw4t7pKU-jOwc/edit?usp=sharing 15 May 2017, 20:12:10 UTC
1eba623 fix(compiler-cli): import routing module with forRoot (#16438) 15 May 2017, 20:11:39 UTC
ea2b24f fix: add typescript 2.3.2 typings test (#16738) Closes #16663 15 May 2017, 20:10:43 UTC
a9d9aa1 build(aio): automatically link code blocks to API docs 15 May 2017, 09:56:38 UTC
ecc356e fix(aio): set focus back to search box on "escape" For improved accessibility, the focus should be sent back to the input box when we are displaying the search results and the user hits ESC. See #16005 14 May 2017, 14:46:24 UTC
98e3129 refactor(aio): centralise search ui management Previously the logic for deciding when to display the search result was spread between different parts of the application and used non-intuitive logic such as sending a blank results set to the searchResults. This commit moves the management of displaying the search results (and also setting focus of the search input box) to the AppComponent. This makes it easier to understand what happens and why; but also allows the search UI components to be more easily reused (such as embedding them in the 404 page). 14 May 2017, 14:46:24 UTC
7a759df refactor(aio): remove unused mock method 14 May 2017, 14:46:24 UTC
38c524d feat(core): introduce fixture.whenRenderingDone for testing (#16732) 12 May 2017, 20:49:16 UTC
0626464 build: use subshells when changing directories This prevents being left in the wrong directory in case of error. 12 May 2017, 19:19:51 UTC
21d213d refactor(aio): drop `run` (from `yarn run`), rename script and remove unnecessary cmds 12 May 2017, 18:37:21 UTC
3065fc6 ci(aio): build `aio-builds-setup` scripts before pre-verifying PR (Coincidentally), this wasn't an issue before fdfeaaf1f, because pre-verification was run after `test.sh`, during which `aio-builds-setup` was built. Now that `deploy-staging.sh` is being run before `test.sh`, we need to build the `aio-builds-setup` scripts first. 12 May 2017, 18:37:21 UTC
bcefc61 ci(aio): correctly catch PR preview pre-verification errors Previously, `aio/aio-builds-setup/scripts/travis-preverify-pr.sh` was supposed to exit with 1 if a PR did not meet the preconditions and 2 if an error occurred during pre-verification. It relied on the exit codes of the node script that did the actual work, but didn't account for errors that would be thrown in the `sh` script itself (e.g. if the node script was not available). This caused such errors to appear as non-verified PRs, instead of real errors that should fail the build. This commit swaps the exit codes, so that now a 2 means non-verified PR and 1 designates an error. 12 May 2017, 18:37:21 UTC
569b1e0 fix(router): Wrap Promise-like instances in native Promises (#16759) Hybrid apps (mix of Angular and AngularJS) might return AngularJS implementation of Promises that do not play well with the change detection. Wrapping them in native Promises fix this issue. This could be the case when a Resolver returns a `$q` promise. 12 May 2017, 17:03:54 UTC
b83fe6f fix(upgrade): Prevent renaming of $inject property (#16706) Use bracket notation to access $inject in downgradeInjectable to support property renaming. Since the return type is any, Closure compiler renames $inject. 12 May 2017, 17:03:38 UTC
b016984 docs(aio): resize images 12 May 2017, 13:28:09 UTC
90bc5b2 fix(aio): only register ServiceWorker in production mode Since abb36e3cb, we no longer rely on the cli to set up ServiceWorker, but do it manually as part of `yarn build`. When using `ng serve`, registering the ServiceWorker fails, because we haven't created `ngsw-manifest.json` nor copied `worker-basic.min.js` into dist. This commit works around this, by only registering the service worker in production mode (which is what the cli does too). Caveat: It is not possible to enable ServiceWorker with `ng serve`/`yarn start` and using the `--prod` flag will try to register it, but fail because the necessary files (`ngsw-manifest.json` and `worker-basic.min.js`) will not be available. (As a work-around, you can use `yarn build` and serve the files in `dist/` with `yarn http-server -- dist -p 4200`.) 12 May 2017, 13:17:27 UTC
37f1fcb docs: remove angular.io from changelog (#16723) 12 May 2017, 06:46:55 UTC
4a599ee ci: fix syntax error in `deploy.sh` (#16739) 11 May 2017, 22:52:39 UTC
fdfeaaf ci(aio): deploy previews early (right after build) (#16734) Previously, PR previews were deployed after successfully running all tests. While this makes sense for staging/production deployments, previews should be available as soon as possible (and regardless of the outcome of tests). Fixes #16705 11 May 2017, 22:12:23 UTC
decb4cc ci(aio): create previews for all PRs that touch non-spec files in `aio/` or `packages/` (#16733) Previously, no previews would be deployed for PRs that didn't touch files inside `aio/`. Now, previews will be deployed for PRs that touch non-spec files inside either `aio/` or `packages/` (as long as other preconditions are met). Partially addresses #16526. 11 May 2017, 22:02:13 UTC
44c7ac0 fix(upgrade): use quote to prevent ClossureCompiler obfuscating $event. (#16724) This is critical for AngularJS to get the $event object in template. 11 May 2017, 20:54:04 UTC
abb36e3 fix(aio): switch to ngu-sw-manifest gen to unblock critical path (#16709) 11 May 2017, 20:21:27 UTC
84c30be docs: add saved replies (#16726) 11 May 2017, 20:17:58 UTC
5afaa39 refactor(compiler): produce more dense generated code (#16666) This changes the formatting to be less verbose but still tries to be readable. 11 May 2017, 17:28:48 UTC
ce1d7c4 refactor: use view engine also for `NgModuleFactory`s (#16658) * refactor(core): provide error message in stack for reflective DI Fixes #16355 * fix(compiler): make AOT work with `noUnusedParameters` Fixes #15532 * refactor: use view engine also for `NgModuleFactory`s This is a prerequisite for being able to mock providers in AOTed code later on. 11 May 2017, 17:26:02 UTC
b9521b5 feat(compiler): support a non-null postfix assert (#16672) Template expressions can now use a post-fix `!` operator that asserts the target of the operator is not null. This is similar to the TypeScript non-null assert operator. Expressions generated in factories will be generated with the non-null assert operator. Closes: #10855 11 May 2017, 17:15:54 UTC
2eca6e6 test(aio): add tests for renderAttributes helper 11 May 2017, 09:30:10 UTC
c757e57 build(aio): serve gzipped content from the preview server Fixes #16699 11 May 2017, 09:29:24 UTC
67dc970 docs(common): remove h1s from API docs Only one h1 is allowed per document, and this is provided by the template. So we cannot have any h1 tags (or `#` markdown shorthand) in any API docs. Closes #16193 11 May 2017, 07:15:19 UTC
56ccd5e docs(aio): remove excess h1s from guides Only one h1 is allowed per document. (Also took the opportunity to remove unnecessary blank lines from these docs, and a bit of general tidying.) Closes #16193 11 May 2017, 07:15:19 UTC
bcbee13 build(aio): fail build if more than h1 is found in a doc Closes #16193 11 May 2017, 07:15:19 UTC
d28a3f7 docs(router): Change CanDeactivate to CanLoad (#16237) fix mistake in docs. CanDeactivate should be CanLoad 10 May 2017, 23:34:34 UTC
162dffb docs: add changelog for 4.2.0-beta.1 10 May 2017, 23:26:34 UTC
0f0b989 release: cut the 4.2.0-beta.1 release 10 May 2017, 23:26:34 UTC
e242e20 fix(aio): style TOC scrollbar similar to other scrollbars 10 May 2017, 14:02:44 UTC
f148ebe docs(aio): remove warning when testing in the webpack guide 10 May 2017, 14:02:21 UTC
f795f64 refactor(aio): remove redundant styles Due to the new structure of `live-example`, the only style in `_live-example.scss` was not applied. This is OK according to https://github.com/angular/angular/issues/15935#issuecomment-295482503, since we want it to take the full width. Fixes #15935 10 May 2017, 13:49:37 UTC
063db64 fix(aio): style sidenav-content scrollbar similar to other scrollbars 10 May 2017, 13:48:29 UTC
b44f5c6 build(aio): make less verbose tools 10 May 2017, 13:26:14 UTC
56833a6 docs(aio): more content fixes 10 May 2017, 11:51:01 UTC
efa2928 docs(aio): add a progress reporter for the webpack guide 10 May 2017, 10:54:39 UTC
f5335d1 build(aio): fail the doc-gen if there is an invalid `{@link ...}` tag This fail behaviour is only turned on for `yarn docs`; in `yarn docs-watch` you only receive a warning. This is because you can get false errors when watching since we don't parse all the docs in that case. 10 May 2017, 10:39:07 UTC
dc7d242 feat(aio): update code style 10 May 2017, 06:57:45 UTC
412ab3f fix(aio): basic fix to the TOC styling Without any major refactoring these changes bring the TOC much closer to how the Google developer docs TOC looks. Closes #16646 10 May 2017, 06:49:59 UTC
954c08e fix(aio): remove unwanted code styling from styleguide doc Closes #16514 10 May 2017, 06:49:03 UTC
a2dcb7b build: update key for pushing to PACKAGE-builds repos (#16667) 09 May 2017, 23:37:05 UTC
bb0902c refactor(compiler-cli): move the expression expression type checker (#16562) The expression type checker moved from the language service to the compiler-cli in preparation to using it to check template expressions. 09 May 2017, 23:16:50 UTC
9e661e5 docs(aio): image sweep (#16609) * fix(aio): allow code blocks to clear floated images Previously the negative margin on the code headings were causing floated images to overlay the start of a code block. Now all code block successfully clear all floated elements. * feat(aio): add a `.clear` class for clearing floating images * fix(aio): tidy up image styles The css rules for `img.right` and `img.left` allow authors easy access to floating an image on the left or right, respectively. The `.image-display` rule which was always found on a figure has been simplified so that all figures have this styling. It is very unlikely that a figure will be used outside the content area; and at this time it seems like `figure` is as good an indicator that we want this kind of styling as anything. Now that images are all tagged with width and height values, we cannot assume to modify these dimensions via CSS as it can cause the image to lose its correct proportions. Until we find a better solition we must set `height` to `auto` when the screen width is below 1300px to ensure that these images maintain their proportions as they get shrunk to fit. * docs(aio): general tidy up of image HTML in guides Previously, the guides have a lot of inline image styling and unnecessary use of the `image-display` css class. Images over 700px are problematic for guide docs, so those have been given specific widths and associated heights. * docs(aio): use correct anchor for "back to the top" link The `#toc` anchor does not work when the page is wide enough that the TOC is floating to the side. * build(aio): add `#top-of-page` to path variants for link checking Since the `#top-of-page` is outside the rendered docs the `checkAnchorLinks` processor doesn't find them as valid targets for links. Adding them as a `pathVariant` solves this problem but will still catch links to docs that do not actually exist. * fix(aio): ensure that headings clear floated images * fix(aio): do not force live-example embedded image to 100% size This made them look too big, generally. Leaving them with no size means that they will look reasonable in large viewports and switch to 100% width in narrow viewports. 09 May 2017, 22:53:32 UTC
d0e72a8 docs(*) fix dangling links in API docs (#16632) * docs(animations): fix links to `Component` animations * docs(core): fix links to `ReflectiveInjector` methods The `resolve` and other methods were moved from the `Injector` to the `ReflectiveInjector`. * docs(core): fix links to `Renderer` The local links were assuming that that methods were on the current document (e.g. `RootRenderer`), but they are actually on the `Renderer` class. * docs(router): fix links to methods * docs(forms): fix links to methods * docs(core): fix links to methods * docs(router): fix API page links and an internal link 09 May 2017, 22:51:37 UTC
b44eb32 docs(core): remove link to non-existent class in `InjectableDecorator` (#16653) Closes #16640 09 May 2017, 22:51:23 UTC
back to top