Skip to content

Commit 25a3b27

Browse files
committed
Update changelog, manifest for 1.1.5. Add a package script to create the zip.
1 parent 32fe1f7 commit 25a3b27

File tree

5 files changed

+76
-53
lines changed

5 files changed

+76
-53
lines changed

CHANGELOG.md

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,35 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [1.1.4] - 2025-??-??
5+
## [1.1.5] - 2025-09-08
6+
7+
### Fixes
8+
9+
- [Issue #11](https://github.com/codedread/spaces/issues/11): Fix clicking other
10+
links in the Popup window to transform Popup window.
11+
- [Issue #9](https://github.com/codedread/spaces/issues/9): Fix bolding logic
12+
when clicking a Space in the Spaces window.
13+
- [Issue #7](https://github.com/codedread/spaces/issues/7): Opening a Space will
14+
mark the Space as open in the Spaces window.
15+
- [Issue #6](https://github.com/codedread/spaces/issues/5): Remove duplicate
16+
temporary windows from the Spaces list.
17+
- [Issue #5](https://github.com/codedread/spaces/issues/5): Stop infinite
18+
prompts when renaming a Space.
19+
- [Issue #4](https://github.com/codedread/spaces/issues/4): Update the list in
20+
the Spaces window when a Space is renamed.
21+
- [Issue #3](https://github.com/codedread/spaces/issues/3): Escaping HTML for
22+
all extension content.
23+
- [Issue #2](https://github.com/codedread/spaces/issues/2): Show Unnamed windows
24+
in the Spaces window again.
25+
26+
### Changes
27+
28+
- Increased unit test coverage from 3.11% to 8.11%.
29+
30+
## [1.1.4] - 2025-09-03
631

732
### Changes
833

9-
- Updated to support Chrome Extension Manifest V3.
10-
- Updated all code to modern JavaScript and improved documentation.
11-
- Fixed [issue #3](https://github.com/codedread/spaces/issues/3) by escaping
12-
HTML for all extension content.
13-
- Increased unit test coverage from 0% to ???%.
34+
- Updated to support Chrome Extension Manifest V3.
35+
- Updated all code to modern JavaScript and improved documentation.
36+
- Increased unit test coverage from 0% to 3.11%.

js/background/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async function rediscoverWindowByUrl(storageKey, htmlFilename) {
5454
}
5555

5656
export function initializeServiceWorker() {
57-
console.log(`Initializing service worker...`);
57+
console.log(`Initializing service worker...(1.1.5)`);
5858

5959
chrome.runtime.onInstalled.addListener(details => {
6060
console.log(`Extension installed: ${JSON.stringify(details)}`);

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Spaces",
33
"description": "Intuitive tab management",
4-
"version": "1.1.4",
4+
"version": "1.1.5",
55
"permissions": [
66
"contextMenus",
77
"favicon",
@@ -28,7 +28,7 @@
2828
},
2929
"incognito": "split",
3030
"manifest_version": 3,
31-
"minimum_chrome_version": "35",
31+
"minimum_chrome_version": "88",
3232

3333
"commands": {
3434
"spaces-move": {

package.sh

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/bin/bash
2+
3+
# This script packages the extension for distribution.
4+
# It can be run from any directory.
5+
6+
# Save the current working directory
7+
ORIGINAL_DIR=$(pwd)
8+
9+
# Get the directory of the script itself
10+
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
11+
12+
# The parent directory of the 'spaces' directory is where we want to run the zip command from.
13+
PARENT_DIR="$(dirname "$SCRIPT_DIR")"
14+
15+
# Change to the parent directory
16+
cd "$PARENT_DIR"
17+
18+
set -e
19+
20+
if [[ ! -d "spaces" || ! -f "spaces/manifest.json" ]]; then
21+
echo "Error: 'spaces' directory not found."
22+
# Restore the directory before exiting
23+
cd "$ORIGINAL_DIR"
24+
exit 1
25+
fi
26+
27+
echo "Creating spaces.zip in $(pwd)..."
28+
29+
# Create the zip file, including the 'spaces' directory and specified files.
30+
zip -r spaces.zip \
31+
spaces/css \
32+
spaces/img \
33+
spaces/js \
34+
spaces/LICENSE \
35+
spaces/manifest.json \
36+
spaces/README.md \
37+
spaces/*.html
38+
39+
echo "Package created at spaces.zip"
40+
41+
# Restore the original working directory
42+
cd "$ORIGINAL_DIR"
43+
44+
echo "Returned to $(pwd)"

test_escaping_demo.html

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)