Skip to content

Commit

Permalink
Do not open the news page on version update (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM authored Jul 23, 2024
1 parent c48df6e commit f569732
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# Changelog

## v3.1.9
## v3.1.10

<!--Releasenotes start-->
- Temporarily disabled the news feature.
- News page will no longer open after updating from v3.1.5 or an earlier version.
<!--Releasenotes end-->

## v3.1.9

- Temporarily disabled the news feature.

## v3.1.8

- The button's tooltip may now show additional information on the shuffle status.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "random-youtube-video",
"version": "3.1.9",
"version": "3.1.10",
"description": "Customize, shuffle and play random videos from any YouTube channel.",
"scripts": {
"dev": "concurrently \"npm run dev:chromium\" \"npm run dev:firefox\"",
Expand Down
5 changes: 0 additions & 5 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ async function handleExtensionUpdate(manifestData, previousVersion) {
}

async function handleVersionSpecificUpdates(previousVersion) {
// v3.1.5 added a notice for people using playlists
if (previousVersion < "3.1.5") {
await chrome.tabs.create({ url: chrome.runtime.getURL("html/breakingNews.html") });
}

// v3.0.1 changed the data type for the shuffleIgnoreShortsOption from boolean to number
if (previousVersion < "3.0.1") {
console.log("Updating sync storage to v3.0.1 format...", true);
Expand Down
4 changes: 2 additions & 2 deletions static/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "Random YouTube Video",
"description": "Customize, shuffle and play random videos from any YouTube channel.",
"version": "3.1.9",
"version_name": "3.1.9",
"version": "3.1.10",
"version_name": "3.1.10",
"manifest_version": 3,
"content_scripts": [
{
Expand Down

0 comments on commit f569732

Please sign in to comment.