Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

fix(service-worker): update to fix important issue on FF and Chrome #201

Merged
merged 1 commit into from
May 8, 2017

Conversation

davinkevin
Copy link
Contributor

@davinkevin davinkevin commented May 8, 2017

Link to gdg-x/hoverboard#253 and GDGToulouse/site-devfest-toulouse-2017#23 (and many more GDG website)

Closes #199

  • CHANGELOG.md has been updated

package.json Outdated
@@ -33,7 +33,7 @@
"polymer-analyzer": "2.0.0-alpha.40",
"polymer-bundler": "2.0.0-pre.14",
"polymer-project-config": "^2.0.0",
"sw-precache": "^4.2.0",
"sw-precache": "^5.0.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^5.0.0 will get 5.1.1 and higher 5's, but it looks like there are some bug fixes in those later versions that we specifically want to include. +1 on changing this to ^5.1.1

@FredKSchott
Copy link
Contributor

sw-precache CHANGELOG here: https://github.com/GoogleChrome/sw-precache/releases

It looks like I was wrong and there weren't any breaking interface changes, which is good. Can you add a note to our changelog that service worker caches will be repopulated when users update polymer-build? Adding a pointer to that release summary would be good as well.

@davinkevin
Copy link
Contributor Author

CHANGELOG.md updated and version align to your request, ^5.1.1

Thanks

CHANGELOG.md Outdated
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

* Dependency updates. Upgraded to `[email protected]` minimum to prevent error about corrupted data on firefox 52 and Chrome 60 (witch match the spec)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I know it doesn't work on Chrome >= 59.
Firefox >=50

CHANGELOG.md Outdated
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

* Dependency updates. Upgraded to `[email protected]` minimum to prevent error about corrupted data on firefox 52 and Chrome 60 (witch match the spec)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

witch -> which and match -> matches

CHANGELOG.md Outdated
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased

* Dependency updates. Upgraded to `[email protected]` minimum to prevent error about corrupted data on firefox 52 and Chrome 60 (witch match the spec)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe that this should be Chrome 59. Probably want to capitalize Firefox. Did you mean 'which match the spec'?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 for Chrome 59

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should not do PR from my tablet in my bed around midnight... 😄
I do a new modification...

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davinkevin Hey, no problem! Thanks for getting this PR kicked off!

@davinkevin davinkevin force-pushed the update-sw-precache branch from 89f7685 to 03c5488 Compare May 8, 2017 21:34
@davinkevin davinkevin force-pushed the update-sw-precache branch from 03c5488 to 816049f Compare May 8, 2017 21:34
Copy link
Contributor

@FredKSchott FredKSchott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing @davinkevin! I have a few small suggestions to improve the changelog but I'll merge this now and make those changes later.

@FredKSchott FredKSchott merged commit 2fe5d5d into Polymer:master May 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants