Skip to content

Commit 8778807

Browse files
committed
chore: update version to v1.0.4
1 parent c6cbcbc commit 8778807

File tree

4 files changed

+16
-18
lines changed

4 files changed

+16
-18
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [1.0.4] - 2026-06-10
8+
9+
### Fixed
10+
- Replace all `innerHTML` assignments with safe DOM API construction (createElement, textContent, replaceChildren, createContextualFragment) to satisfy Firefox AMO linter requirements
11+
- Add `getIconSVGElement()` utility using `createContextualFragment` for safe SVG injection without innerHTML
12+
- Add `data_collection_permissions` to Firefox manifest as required by AMO
13+
714
## [1.0.3] - 2026-03-10
815

916
### Fixed

manifest-firefox.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
11
{
22
"manifest_version": 3,
33
"name": "GitHub Notifier Pro",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"description": "GitHub notifications in the browser toolbar",
6-
76
"permissions": [
87
"alarms",
98
"storage",
109
"notifications"
1110
],
12-
1311
"host_permissions": [
1412
"https://api.github.com/*",
1513
"https://github.com/*"
1614
],
17-
1815
"content_security_policy": {
1916
"extension_pages": "script-src 'self'; object-src 'self'"
2017
},
21-
2218
"background": {
23-
"scripts": ["src/background/service-worker.js"],
19+
"scripts": [
20+
"src/background/service-worker.js"
21+
],
2422
"type": "module"
2523
},
26-
2724
"action": {
2825
"default_popup": "src/popup/popup.html",
2926
"default_icon": {
@@ -33,19 +30,19 @@
3330
},
3431
"default_title": "GitHub Notifier Pro"
3532
},
36-
3733
"icons": {
3834
"16": "images/icon.png",
3935
"48": "images/icon.png",
4036
"128": "images/icon.png"
4137
},
42-
4338
"browser_specific_settings": {
4439
"gecko": {
4540
"id": "github-notifier-pro@euxx.dev",
4641
"strict_min_version": "112.0",
4742
"data_collection_permissions": {
48-
"required": ["none"],
43+
"required": [
44+
"none"
45+
],
4946
"optional": []
5047
}
5148
}

manifest.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
{
22
"manifest_version": 3,
33
"name": "GitHub Notifier Pro",
4-
"version": "1.0.3",
4+
"version": "1.0.4",
55
"description": "GitHub notifications in the browser toolbar",
66
"minimum_chrome_version": "99",
7-
87
"permissions": [
98
"alarms",
109
"storage",
1110
"notifications"
1211
],
13-
1412
"host_permissions": [
1513
"https://api.github.com/*",
1614
"https://github.com/*"
1715
],
18-
1916
"content_security_policy": {
2017
"extension_pages": "script-src 'self'; object-src 'self'"
2118
},
22-
2319
"background": {
2420
"service_worker": "src/background/service-worker.js",
2521
"type": "module"
2622
},
27-
2823
"action": {
2924
"default_popup": "src/popup/popup.html",
3025
"default_icon": {
@@ -34,7 +29,6 @@
3429
},
3530
"default_title": "GitHub Notifier Pro"
3631
},
37-
3832
"icons": {
3933
"16": "images/icon.png",
4034
"48": "images/icon.png",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-notifier-pro",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"type": "module",
55
"description": "GitHub notifications in the browser toolbar",
66
"scripts": {

0 commit comments

Comments
 (0)