Skip to content

Commit c3f13de

Browse files
chore: update changelogs for v27.5.0 [skip ci]
1 parent aa8c47d commit c3f13de

File tree

2 files changed

+202
-4
lines changed

2 files changed

+202
-4
lines changed

CHANGELOG.md

Lines changed: 101 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,108 @@ All notable changes to this project will be documented in this file.
77
## [Unreleased]
88

99

10+
[[aa8c47d](https://github.com/Nick2bad4u/FitFileViewer/commit/aa8c47d260651c8b87d9072519be31528f2d484d)...
11+
[aa8c47d](https://github.com/Nick2bad4u/FitFileViewer/commit/aa8c47d260651c8b87d9072519be31528f2d484d)]
12+
([compare](https://github.com/Nick2bad4u/FitFileViewer/compare/aa8c47d260651c8b87d9072519be31528f2d484d...aa8c47d260651c8b87d9072519be31528f2d484d))
13+
14+
15+
### 📦 Dependencies
16+
17+
- [dependency] Update version 27.5.0 [`(aa8c47d)`](https://github.com/Nick2bad4u/FitFileViewer/commit/aa8c47d260651c8b87d9072519be31528f2d484d)
18+
19+
20+
21+
22+
23+
24+
## [27.5.0] - 2025-10-18
25+
26+
27+
[[783ee9d](https://github.com/Nick2bad4u/FitFileViewer/commit/783ee9d9708aa2d02d78217771450b5e2e8fb9ff)...
28+
[c812220](https://github.com/Nick2bad4u/FitFileViewer/commit/c8122207bcf8b14d8cf6bd3a31e2228b3d78b3e1)]
29+
([compare](https://github.com/Nick2bad4u/FitFileViewer/compare/783ee9d9708aa2d02d78217771450b5e2e8fb9ff...c8122207bcf8b14d8cf6bd3a31e2228b3d78b3e1))
30+
31+
32+
### 🛠️ GitHub Actions
33+
34+
- 👷 [ci] Implements packaged macOS smoke test
35+
36+
This commit adds a smoke test for packaged macOS builds.
37+
38+
- ✨ [feat] Introduces `registerSmokeTestHandlers` to manage IPC handlers for smoke tests, enabling automated testing of the packaged application.
39+
- Registers a "smoke-test:result" listener to capture test outcomes and trigger application exit.
40+
- Implements a timeout mechanism to ensure tests complete within a defined timeframe.
41+
- 🛠️ [fix] Adds `isSmokeTestMode` and `reportSmokeTestResult` to `preload.js` to allow renderer processes to report test results.
42+
- Conditionally enables smoke test features based on the `FFV_SMOKE_TEST_MODE` environment variable.
43+
- Prevents smoke test execution if the environment variable is not set.
44+
- 🛠️ [fix] Modifies `handleOpenFile` to report smoke test results at various stages of file opening and processing.
45+
- Reports success or failure at different stages, including parameter validation, file reading, parsing, and rendering.
46+
- Adds detailed information such as file path, record count, and byte length to the report.
47+
- 🚜 [refactor] Modifies `bootstrapMainWindow` to trigger a "menu-open-file" event in smoke test mode, automating file opening.
48+
- Delays the event dispatch to ensure the main window is fully initialized.
49+
- 🧹 [chore] Adds a new script, `run-mac-smoke-test.cjs`, to launch the packaged macOS build and execute the smoke test.
50+
- Locates the executable path recursively.
51+
- Uses `spawn` to execute the application.
52+
- 🧹 [chore] Updates `electron-builder.config.js` to ensure the renderer bundle exists before packaging, invoking Vite's production build if necessary.
53+
- 🧹 [chore] Adds a new `test:smoke:mac` npm script to package the macOS app and run the smoke test.
54+
- 📝 [docs] Updates `.github/workflows/mac-smoke-test.yml` to include a job for running the packaged smoke test.
55+
- Sets environment variables required for smoke test execution.
56+
57+
Signed-off-by: Nick2bad4u <[email protected]> [`(c812220)`](https://github.com/Nick2bad4u/FitFileViewer/commit/c8122207bcf8b14d8cf6bd3a31e2228b3d78b3e1)
58+
59+
60+
61+
### 📦 Dependencies
62+
63+
- [dependency] Update version 27.4.0 [`(783ee9d)`](https://github.com/Nick2bad4u/FitFileViewer/commit/783ee9d9708aa2d02d78217771450b5e2e8fb9ff)
64+
65+
66+
67+
68+
69+
70+
## [27.4.0] - 2025-10-17
71+
72+
1073
[[d525d57](https://github.com/Nick2bad4u/FitFileViewer/commit/d525d570a77f831c2492612e53b9e8eadb686a28)...
11-
[d525d57](https://github.com/Nick2bad4u/FitFileViewer/commit/d525d570a77f831c2492612e53b9e8eadb686a28)]
12-
([compare](https://github.com/Nick2bad4u/FitFileViewer/compare/d525d570a77f831c2492612e53b9e8eadb686a28...d525d570a77f831c2492612e53b9e8eadb686a28))
74+
[7354c6d](https://github.com/Nick2bad4u/FitFileViewer/commit/7354c6da4a7234cded4f5f51fc0f13a813db48a0)]
75+
([compare](https://github.com/Nick2bad4u/FitFileViewer/compare/d525d570a77f831c2492612e53b9e8eadb686a28...7354c6da4a7234cded4f5f51fc0f13a813db48a0))
76+
77+
78+
### 🛠️ GitHub Actions
79+
80+
- ✨ [skip-ci][feat] Enables macOS smoke tests
81+
82+
Adds a macOS smoke test workflow and improves file opening.
83+
84+
- ✨ [feat] Introduces a new GitHub Actions workflow (`mac-smoke-test.yml`) to run smoke tests on macOS.
85+
- The workflow is triggered on pushes to the `main` branch and pull requests, specifically when changes are made to files in the `electron-app/`, `fit-test-files/`, or `.github/workflows/mac-smoke-test.yml` directories.
86+
- It sets up Node.js, installs dependencies, installs Playwright browsers, and runs smoke tests.
87+
- Uses `macos-14` as the runner.
88+
- 🛠️ [fix] Modifies `registerDialogHandlers.js` to handle file opening more robustly and facilitate automated testing.
89+
- Adds `resolveForcedOpenFilePath` function, which resolves an environment-provided file path for automated smoke tests, allowing a file to be opened directly via an environment variable (`FFV_E2E_OPEN_FILE_PATH`).
90+
- Introduces `resolveSelectedPath` to streamline the path resolution process after file selection.
91+
- Refactors the `dialog:openFile` handler to first check for a forced path before showing the dialog.
92+
- Adds logging to provide better feedback during automated tests.
93+
- 🧪 [test] Adds Playwright configuration and a test file for end-to-end smoke testing.
94+
- Creates `playwright.config.ts` to configure Playwright tests, setting timeouts, retries, and trace/screenshot/video recording options.
95+
- Introduces `open-fit-file.spec.ts` to test the application's ability to open and decode a FIT file.
96+
- The test launches the Electron app, waits for the window to load, and then evaluates code in the renderer process to open a specified FIT file and verify that it can be read and parsed.
97+
- 🧹 [chore] Updates `package.json` to include a new `test:smoke` script and adds `@playwright/test` as a dev dependency.
98+
- Updates the version number.
99+
- Adds a `test:smoke` script that runs Playwright tests.
100+
- Adds `@playwright/test` as a development dependency.
101+
- 🛠️ [fix] Modifies the `sandbox` property in `windowStateUtils.js` to conditionally disable sandboxing on macOS (`darwin`) platforms.
102+
- 📝 [docs] Updates `tsconfig.json` to include new files in the compilation process.
103+
104+
Signed-off-by: Nick2bad4u <[email protected]> [`(7354c6d)`](https://github.com/Nick2bad4u/FitFileViewer/commit/7354c6da4a7234cded4f5f51fc0f13a813db48a0)
105+
106+
107+
108+
### ⚙️ Miscellaneous Tasks
109+
110+
- Update changelogs for v27.3.0 [skip ci] [`(6251a17)`](https://github.com/Nick2bad4u/FitFileViewer/commit/6251a17979353814125f6e2b75f9f37504b59a68)
111+
13112

14113

15114
### 📦 Dependencies

electron-app/CHANGELOG.md

Lines changed: 101 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,108 @@ All notable changes to this project will be documented in this file.
77
## [Unreleased]
88

99

10+
[[aa8c47d](https://github.com/Nick2bad4u/FitFileViewer/commit/aa8c47d260651c8b87d9072519be31528f2d484d)...
11+
[aa8c47d](https://github.com/Nick2bad4u/FitFileViewer/commit/aa8c47d260651c8b87d9072519be31528f2d484d)]
12+
([compare](https://github.com/Nick2bad4u/FitFileViewer/compare/aa8c47d260651c8b87d9072519be31528f2d484d...aa8c47d260651c8b87d9072519be31528f2d484d))
13+
14+
15+
### 📦 Dependencies
16+
17+
- [dependency] Update version 27.5.0 [`(aa8c47d)`](https://github.com/Nick2bad4u/FitFileViewer/commit/aa8c47d260651c8b87d9072519be31528f2d484d)
18+
19+
20+
21+
22+
23+
24+
## [27.5.0] - 2025-10-18
25+
26+
27+
[[783ee9d](https://github.com/Nick2bad4u/FitFileViewer/commit/783ee9d9708aa2d02d78217771450b5e2e8fb9ff)...
28+
[c812220](https://github.com/Nick2bad4u/FitFileViewer/commit/c8122207bcf8b14d8cf6bd3a31e2228b3d78b3e1)]
29+
([compare](https://github.com/Nick2bad4u/FitFileViewer/compare/783ee9d9708aa2d02d78217771450b5e2e8fb9ff...c8122207bcf8b14d8cf6bd3a31e2228b3d78b3e1))
30+
31+
32+
### 🛠️ GitHub Actions
33+
34+
- 👷 [ci] Implements packaged macOS smoke test
35+
36+
This commit adds a smoke test for packaged macOS builds.
37+
38+
-[feat] Introduces `registerSmokeTestHandlers` to manage IPC handlers for smoke tests, enabling automated testing of the packaged application.
39+
- Registers a "smoke-test:result" listener to capture test outcomes and trigger application exit.
40+
- Implements a timeout mechanism to ensure tests complete within a defined timeframe.
41+
- 🛠️ [fix] Adds `isSmokeTestMode` and `reportSmokeTestResult` to `preload.js` to allow renderer processes to report test results.
42+
- Conditionally enables smoke test features based on the `FFV_SMOKE_TEST_MODE` environment variable.
43+
- Prevents smoke test execution if the environment variable is not set.
44+
- 🛠️ [fix] Modifies `handleOpenFile` to report smoke test results at various stages of file opening and processing.
45+
- Reports success or failure at different stages, including parameter validation, file reading, parsing, and rendering.
46+
- Adds detailed information such as file path, record count, and byte length to the report.
47+
- 🚜 [refactor] Modifies `bootstrapMainWindow` to trigger a "menu-open-file" event in smoke test mode, automating file opening.
48+
- Delays the event dispatch to ensure the main window is fully initialized.
49+
- 🧹 [chore] Adds a new script, `run-mac-smoke-test.cjs`, to launch the packaged macOS build and execute the smoke test.
50+
- Locates the executable path recursively.
51+
- Uses `spawn` to execute the application.
52+
- 🧹 [chore] Updates `electron-builder.config.js` to ensure the renderer bundle exists before packaging, invoking Vite's production build if necessary.
53+
- 🧹 [chore] Adds a new `test:smoke:mac` npm script to package the macOS app and run the smoke test.
54+
- 📝 [docs] Updates `.github/workflows/mac-smoke-test.yml` to include a job for running the packaged smoke test.
55+
- Sets environment variables required for smoke test execution.
56+
57+
Signed-off-by: Nick2bad4u <[email protected]> [`(c812220)`](https://github.com/Nick2bad4u/FitFileViewer/commit/c8122207bcf8b14d8cf6bd3a31e2228b3d78b3e1)
58+
59+
60+
61+
### 📦 Dependencies
62+
63+
- [dependency] Update version 27.4.0 [`(783ee9d)`](https://github.com/Nick2bad4u/FitFileViewer/commit/783ee9d9708aa2d02d78217771450b5e2e8fb9ff)
64+
65+
66+
67+
68+
69+
70+
## [27.4.0] - 2025-10-17
71+
72+
1073
[[d525d57](https://github.com/Nick2bad4u/FitFileViewer/commit/d525d570a77f831c2492612e53b9e8eadb686a28)...
11-
[d525d57](https://github.com/Nick2bad4u/FitFileViewer/commit/d525d570a77f831c2492612e53b9e8eadb686a28)]
12-
([compare](https://github.com/Nick2bad4u/FitFileViewer/compare/d525d570a77f831c2492612e53b9e8eadb686a28...d525d570a77f831c2492612e53b9e8eadb686a28))
74+
[7354c6d](https://github.com/Nick2bad4u/FitFileViewer/commit/7354c6da4a7234cded4f5f51fc0f13a813db48a0)]
75+
([compare](https://github.com/Nick2bad4u/FitFileViewer/compare/d525d570a77f831c2492612e53b9e8eadb686a28...7354c6da4a7234cded4f5f51fc0f13a813db48a0))
76+
77+
78+
### 🛠️ GitHub Actions
79+
80+
-[skip-ci][feat] Enables macOS smoke tests
81+
82+
Adds a macOS smoke test workflow and improves file opening.
83+
84+
-[feat] Introduces a new GitHub Actions workflow (`mac-smoke-test.yml`) to run smoke tests on macOS.
85+
- The workflow is triggered on pushes to the `main` branch and pull requests, specifically when changes are made to files in the `electron-app/`, `fit-test-files/`, or `.github/workflows/mac-smoke-test.yml` directories.
86+
- It sets up Node.js, installs dependencies, installs Playwright browsers, and runs smoke tests.
87+
- Uses `macos-14` as the runner.
88+
- 🛠️ [fix] Modifies `registerDialogHandlers.js` to handle file opening more robustly and facilitate automated testing.
89+
- Adds `resolveForcedOpenFilePath` function, which resolves an environment-provided file path for automated smoke tests, allowing a file to be opened directly via an environment variable (`FFV_E2E_OPEN_FILE_PATH`).
90+
- Introduces `resolveSelectedPath` to streamline the path resolution process after file selection.
91+
- Refactors the `dialog:openFile` handler to first check for a forced path before showing the dialog.
92+
- Adds logging to provide better feedback during automated tests.
93+
- 🧪 [test] Adds Playwright configuration and a test file for end-to-end smoke testing.
94+
- Creates `playwright.config.ts` to configure Playwright tests, setting timeouts, retries, and trace/screenshot/video recording options.
95+
- Introduces `open-fit-file.spec.ts` to test the application's ability to open and decode a FIT file.
96+
- The test launches the Electron app, waits for the window to load, and then evaluates code in the renderer process to open a specified FIT file and verify that it can be read and parsed.
97+
- 🧹 [chore] Updates `package.json` to include a new `test:smoke` script and adds `@playwright/test` as a dev dependency.
98+
- Updates the version number.
99+
- Adds a `test:smoke` script that runs Playwright tests.
100+
- Adds `@playwright/test` as a development dependency.
101+
- 🛠️ [fix] Modifies the `sandbox` property in `windowStateUtils.js` to conditionally disable sandboxing on macOS (`darwin`) platforms.
102+
- 📝 [docs] Updates `tsconfig.json` to include new files in the compilation process.
103+
104+
Signed-off-by: Nick2bad4u <[email protected]> [`(7354c6d)`](https://github.com/Nick2bad4u/FitFileViewer/commit/7354c6da4a7234cded4f5f51fc0f13a813db48a0)
105+
106+
107+
108+
### ⚙️ Miscellaneous Tasks
109+
110+
- Update changelogs for v27.3.0 [skip ci] [`(6251a17)`](https://github.com/Nick2bad4u/FitFileViewer/commit/6251a17979353814125f6e2b75f9f37504b59a68)
111+
13112

14113

15114
### 📦 Dependencies

0 commit comments

Comments
 (0)