Skip to content

Commit

Permalink
Merge pull request #262 from gopasspw/release-2.0.0
Browse files Browse the repository at this point in the history
Release 2.0.0
  • Loading branch information
Pharb authored Oct 12, 2024
2 parents f06a942 + 25ed708 commit 653062b
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 12 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 3 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion manifests/chrome-manifest-dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion manifests/chrome-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion manifests/firefox-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
10 changes: 8 additions & 2 deletions web-extension/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 653062b

Please sign in to comment.