diff --git a/CHANGELOG.md b/CHANGELOG.md index b723420..7c0ed17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,16 +1,24 @@ -## 1.0.0 / 2024-09-05 +## 2.0.0 / 2024-10-12 + +* Migrate Chrome extension to Manifest V3 (#261) + * Note: Firefox extension will be migrated separately to reduce the risk in case of bugs +* Fix link to changelog from options (#260) +* Document security policy and supported versions: https://github.com/gopasspw/gopassbridge/security + +## 1.0.0 / 2024-10-05 * Select first entry even if create login is shown (#223) * Update setup error detection and installation help message (#257) * Upgrade webextension-polyfill to v0.12.0 (#253) * Upgrade regex-weburl.js to latest version (#255) -* Prepare for upcoming Manifest v3 changes +* Prepare for upcoming Manifest V3 changes ## 0.9.0 / 2022-04-08 * Fix a glitch in a German translation * Add option to create new credentials against an already-saved site * Hide password in detail view when using gopass v1.10 + ## 0.8.0 / 2020-08-20 * Copy passwords to clipboard directly via gopass, including auto-clearing of clipboard (#147) diff --git a/RELEASE.md b/RELEASE.md index 1f938fa..50a5348 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,6 +1,8 @@ # Release new version - 1. Determine next version x.y.z. Follow semantic versioning to mark breaking changes. + 1. Determine next version x.y.z. + - follow semantic versioning to mark breaking changes + - in case of a new major version adapt "Supported Versions" in `SECURITY.md` 2. Create new commit "Release x.y.z" with updated version in following files: - chrome-manifest.json - chrome-manifest-dev.json diff --git a/SECURITY.md b/SECURITY.md index 73d691f..0f9f0d6 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -5,9 +5,9 @@ These versions of gopassbridge are currently supported with security updates: | Version | Supported | -| ------- | ------------------ | -| 1.x.x | :white_check_mark: | -| < 1.0 | :x: | +|---------|--------------------| +| 2.x.x | :white_check_mark: | +| < 2.0 | :x: | These browsers are actively supported for usage with gopassbridge: diff --git a/manifests/chrome-manifest-dev.json b/manifests/chrome-manifest-dev.json index 5e41fca..2de11e8 100644 --- a/manifests/chrome-manifest-dev.json +++ b/manifests/chrome-manifest-dev.json @@ -2,7 +2,7 @@ "manifest_version": 3, "short_name": "gopassbridge", "name": "Gopass Bridge", - "version": "1.0.0", + "version": "2.0.0", "description": "__MSG_extensionDescription__", "author": "Martin Hoefling", "homepage_url": "https://github.com/gopasspw/gopassbridge", diff --git a/manifests/chrome-manifest.json b/manifests/chrome-manifest.json index 091382d..7d85c66 100644 --- a/manifests/chrome-manifest.json +++ b/manifests/chrome-manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "short_name": "gopassbridge", "name": "Gopass Bridge", - "version": "1.0.0", + "version": "2.0.0", "description": "__MSG_extensionDescription__", "author": "Martin Hoefling", "homepage_url": "https://github.com/gopasspw/gopassbridge", diff --git a/manifests/firefox-manifest.json b/manifests/firefox-manifest.json index 3b16fd4..c965904 100644 --- a/manifests/firefox-manifest.json +++ b/manifests/firefox-manifest.json @@ -3,7 +3,7 @@ "manifest_version": 2, "short_name": "gopassbridge", "name": "Gopass Bridge", - "version": "1.0.0", + "version": "2.0.0", "description": "__MSG_extensionDescription__", "author": "Martin Hoefling", "homepage_url": "https://github.com/gopasspw/gopassbridge", diff --git a/package.json b/package.json index 314eb0f..3c85128 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gopassbridge", - "version": "1.0.0", + "version": "2.0.0", "description": "Gopass Bridge allows searching and inserting login credentials from the gopass password manager", "main": "web-extension/gopassbridge.js", "scripts": { diff --git a/web-extension/background.js b/web-extension/background.js index a370dc5..21f3b4b 100644 --- a/web-extension/background.js +++ b/web-extension/background.js @@ -102,8 +102,14 @@ function _processExtensionMessage(message) { } function _showNotificationIfNoPopup(message) { - const popups = browser.extension.getViews({ type: 'popup' }); - if (popups.length === 0 && !currentAuthRequest) { + let hasPopup = true; + // TODO How to determine if we need to fallback to notification in V3 service worker? https://github.com/gopasspw/gopassbridge/issues/263 + if ('getViews' in browser.extension) { + // Only compatible with Manifest V2 background script + const popups = browser.extension.getViews({ type: 'popup' }); + hasPopup = popups.length > 0; + } + if (!hasPopup && !currentAuthRequest) { showNotificationOnSetting(message); } }