Go to file
Alex Rickabaugh 20e1cc049f fix(service-worker): check for updates on navigation
Currently the Service Worker checks for updates only on SW startup,
an event which happens frequently but also nondeterministically. This
makes it hard for developers to observe the update process or reason
about how updates will be delivered to users. This problem is
exacerbated by the DevTools behavior of keeping the SW alive
indefinitely while opened, effectively preventing the page from
updating at all.

This change causes the SW to additionally check for updates on
navigation requests (app page reloads). This creates deterministic
update behavior, and is much easier for developers to reason about.
It does leave the old update-on-SW-startup behavior in place, as
removing that would be a breaking change.

Fixes #20877
2017-12-15 15:19:20 -08:00
.circleci ci: parallelize bazel build and test 2017-12-14 08:28:52 -08:00
.github docs: does please -> does (#18044) 2017-07-11 11:46:57 -07:00
aio fix(service-worker): check for updates on navigation 2017-12-15 15:19:20 -08:00
docs docs: update DEVELOPER.md with the node and yarn info (#20832) 2017-12-12 11:56:18 -08:00
integration build: pin ChromeDriver version (#20940) 2017-12-11 15:53:04 -08:00
modules refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
packages fix(service-worker): check for updates on navigation 2017-12-15 15:19:20 -08:00
scripts ci(aio): move e2e tests to non-optional job 2017-12-14 08:48:52 -08:00
tools ci: parallelize bazel build and test 2017-12-14 08:28:52 -08:00
.bowerrc chore(dgeni): clean up legacy typings bundle creation 2015-10-29 21:19:59 +00:00
.clang-format feat(tooling): Add a .clang-format for automated JavaScript formatting. 2015-04-02 08:44:34 -07:00
.editorconfig chore(.editorconfig): include markdown config 2015-01-27 00:14:48 -08:00
.gitattributes chore: force lf EOL for ts files (#11143) 2016-08-29 12:41:58 -07:00
.gitignore build(common): extract i18n locale data from cldr (#18284) 2017-08-22 15:43:04 -05:00
.mailmap build: add a Git .mailmap with my new name (#19550) 2017-10-09 14:35:30 -07:00
.nvmrc build: update node version number in .nvmrc (#20832) 2017-12-12 11:56:18 -08:00
.pullapprove.yml ci: allow me to approve circleCI changes (#20957) 2017-12-12 11:55:35 -08:00
.travis.yml ci(aio): move e2e tests to non-optional job 2017-12-14 08:48:52 -08:00
BUILD.bazel build: upgrade bazel rules to latest (#20768) 2017-12-07 11:27:50 -08:00
CHANGELOG.md docs: add changelog for 5.2.0-beta.0 2017-12-13 11:43:12 -08:00
CONTRIBUTING.md docs(aio): Add instructions to fork angular/angular (#20462) 2017-11-15 18:26:27 -06:00
LICENSE style(docs): update copyright years (#13736) 2017-01-27 20:47:14 -08:00
README.md docs: add BrowserStack badge to README.md (#19314) 2017-09-22 13:09:18 -07:00
WORKSPACE build: require bazel 0.8 (#20897) 2017-12-11 11:16:41 -08:00
bower.json docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
browser-providers.conf.js build: remove required BrowserStack run as it fails with “Access denied” (#19769) 2017-10-17 15:51:40 -07:00
build.sh build(common): don't generate .d.ts & .metadata.json files for i18n locales 2017-12-14 08:29:36 -08:00
gulpfile.js test(packaging): added test for source map correctness 2017-09-12 16:59:32 -04:00
karma-js.conf.js revert: feat(elements): implement `@angular/elements` #19469 (#20152) 2017-11-03 15:54:54 -07:00
package.json release: cut the 5.2.0-beta.0 release 2017-12-13 11:39:44 -08:00
protractor-e2e.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
protractor-examples-e2e.conf.js refactor: format and lint code 2016-12-12 11:30:25 -08:00
protractor-perf.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
shims_for_IE.js Revert "refactor: add license header to JS files & format files (#12035)" 2016-10-04 14:06:41 -07:00
test-events.js fix(platform-browser): run BLACK_LISTED_EVENTS outside of ngZone (#18993) 2017-09-05 15:33:22 -05:00
test-main.js revert: feat(elements): implement `@angular/elements` #19469 (#20152) 2017-11-03 15:54:54 -07:00
test.sh build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
tslint.json build: add lint rule for global flags in rollup config (#20028) 2017-10-30 23:09:16 -04:00
yarn.lock refactor(common): update i18n locale data to CLDR v32 (#20830) 2017-12-08 10:24:33 -08:00
yarn.lock.readme.md build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00

README.md

Build Status CircleCI BrowserStack Status Join the chat at https://gitter.im/angular/angular Issue Stats Issue Stats npm version

Sauce Test Status

Safari (7+), iOS (7+) and IE mobile (11) are tested on BrowserStack.

Angular

Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.

Quickstart

Get started in 5 minutes.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.