Skip to content

Commit f8b3ce4

Browse files
authored
chore: release prep for v1.20.0 (#135)
1 parent 1b14b2d commit f8b3ce4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1525
-419
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ concurrency:
1919
permissions:
2020
actions: read
2121
contents: read
22+
packages: write
2223

2324
jobs:
2425
check-codeql:
@@ -49,7 +50,7 @@ jobs:
4950
- name: Upgrade npm
5051
run: |
5152
corepack enable
52-
npm install -g npm@11.6.1
53+
npm install -g npm@11.6.2
5354
5455
- name: Install Node.js dependencies
5556
run: npm ci
@@ -135,7 +136,7 @@ jobs:
135136
- name: Upgrade npm
136137
run: |
137138
corepack enable
138-
npm install -g npm@11.6.1
139+
npm install -g npm@11.6.2
139140
140141
- name: Install Node.js dependencies
141142
run: npm ci
@@ -196,7 +197,7 @@ jobs:
196197
- name: Upgrade npm
197198
run: |
198199
corepack enable
199-
npm install -g npm@11.6.1
200+
npm install -g npm@11.6.2
200201
201202
- name: Install Node.js dependencies
202203
run: npm ci
@@ -224,4 +225,4 @@ jobs:
224225
- name: Publish package to GPR
225226
run: npm publish
226227
env:
227-
NODE_AUTH_TOKEN: ${{ secrets.NWPRO_GPR }}
228+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lighthouse.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: Upgrade npm
5252
run: |
5353
corepack enable
54-
npm install -g npm@11.6.1
54+
npm install -g npm@11.6.2
5555
5656
- name: Clean previous Lighthouse reports
5757
run: |

.github/workflows/meta-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
meta:
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-24.04
2121
steps:
2222
- name: Checkout repo
2323
uses: actions/checkout@v5

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Upgrade npm
4242
run: |
4343
corepack enable
44-
npm install -g npm@11.6.1
44+
npm install -g npm@11.6.2
4545
4646
- name: Install Node.js dependencies
4747
run: npm ci

.github/workflows/publish-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ concurrency:
1717
permissions:
1818
actions: read
1919
contents: read
20+
packages: write
2021

2122
jobs:
2223
check-codeql:
@@ -47,7 +48,7 @@ jobs:
4748
- name: Upgrade npm
4849
run: |
4950
corepack enable
50-
npm install -g npm@11.6.1
51+
npm install -g npm@11.6.2
5152
5253
- name: Install Node.js dependencies
5354
run: npm ci
@@ -133,7 +134,7 @@ jobs:
133134
- name: Upgrade npm
134135
run: |
135136
corepack enable
136-
npm install -g npm@11.6.1
137+
npm install -g npm@11.6.2
137138
138139
- name: Install Node.js dependencies
139140
run: npm ci
@@ -194,7 +195,7 @@ jobs:
194195
- name: Upgrade npm
195196
run: |
196197
corepack enable
197-
npm install -g npm@11.6.1
198+
npm install -g npm@11.6.2
198199
199200
- name: Install Node.js dependencies
200201
run: npm ci
@@ -222,4 +223,4 @@ jobs:
222223
- name: Simulate publish package to GPR
223224
run: npm publish --dry-run
224225
env:
225-
NODE_AUTH_TOKEN: ${{ secrets.NWPRO_GPR }}
226+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/templates/publish.template.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ concurrency:
2727
permissions:
2828
actions: read
2929
contents: read
30+
packages: write
3031

3132
jobs:
3233
check-codeql:
@@ -57,7 +58,7 @@ jobs:
5758
- name: Upgrade npm
5859
run: |
5960
corepack enable
60-
npm install -g npm@11.6.1
61+
npm install -g npm@11.6.2
6162
6263
- name: Install Node.js dependencies
6364
run: npm ci
@@ -143,7 +144,7 @@ jobs:
143144
- name: Upgrade npm
144145
run: |
145146
corepack enable
146-
npm install -g npm@11.6.1
147+
npm install -g npm@11.6.2
147148
148149
- name: Install Node.js dependencies
149150
run: npm ci
@@ -204,7 +205,7 @@ jobs:
204205
- name: Upgrade npm
205206
run: |
206207
corepack enable
207-
npm install -g npm@11.6.1
208+
npm install -g npm@11.6.2
208209
209210
- name: Install Node.js dependencies
210211
run: npm ci
@@ -232,4 +233,4 @@ jobs:
232233
- name: Publish package to GPR
233234
run: npm publish
234235
env:
235-
NODE_AUTH_TOKEN: ${{ secrets.NWPRO_GPR }}
236+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,86 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
2222

2323
---
2424

25+
## [1.20.0] - 2025-10-17
26+
27+
### Added
28+
29+
- Implemented new **Services** route at `/services`:
30+
- Created `src/routes/services/+page.server.js` and `src/routes/services/+page.svelte`.
31+
- Added full Services content in `src/lib/pages/ServicesContent.svelte`.
32+
- Introduced **Services Summary Table** component (`src/lib/components/ServiceSummaryTable.svelte`).
33+
- Added corresponding CSS for Services route in `src/lib/styles/css/default.css`.
34+
- Added PostHog Cloud proxy rewrites to `vercel.json` for analytics endpoint.
35+
- Added new terms to `cspell.json`: `hcaptcha`, `serv`, and `tshoot`.
36+
- Updated CI workflows to use **npm v11.6.2** and added `packages: write` permission with `GITHUB_TOKEN` for GPR publishing:
37+
- `.github/workflows/build-and-publish.yml`
38+
- `.github/workflows/publish-test.yml`
39+
- `.github/workflows/templates/publish.template.yml`
40+
- Updated `.github/workflows/meta-check.yml` to explicitly use the `ubuntu-24.04` runner.
41+
42+
### Changed
43+
44+
- Bumped project version to `v1.20.0`.
45+
- Updated generator metadata in `src/app.html` to reflect `SvelteKit 2.47.1`.
46+
- Updated `HeaderDefault.svelte` and `HeaderHome.svelte` to include a "Services" section in navigation.
47+
- Rebuilt `src/lib/styles/global.min.css` using **LightningCSS**.
48+
- Updated content in:
49+
- `src/lib/pages/AboutContent.svelte` – added contact info and consultation link.
50+
- `src/lib/pages/HomeContent.svelte` – added company contact info.
51+
- `src/lib/pages/PrivacyContent.svelte` – added new _Security & Anti-Abuse Measures (hCaptcha)_ section.
52+
- `src/lib/pages/LicenseContent.svelte` – relocated internal comment.
53+
- Modified import handling for `RedirectPage` in `src/routes/consultation/+page.svelte`.
54+
- Updated `src/hooks.server.js`:
55+
- Corrected `isTestEnvironment` constant.
56+
- Relaxed CSP rules for development mode to support local PostHog proxy.
57+
- Updated `static/sitemap.xml` to include the `/services` route and refresh _Last Modified_ timestamps.
58+
- Updated author metadata (`@author`)
59+
from **SunDevil311****Scott Lopez** across all relevant JS files, including scripts, libs, and tests.
60+
- Updated dependencies:
61+
- `dompurify` `^3.2.7``^3.3.0`
62+
- `posthog-js` `^1.271.0``^1.276.0`
63+
- `semver` `^7.7.2``^7.7.3`
64+
- `svelte` `^5.39.9``^5.40.2`
65+
- `@eslint/js` `^9.37.0``^9.38.0`
66+
- `@playwright/test` `^1.55.1``^1.56.1`
67+
- `@sveltejs/adapter-vercel` `^5.10.3``^6.0.0`
68+
- `@sveltejs/kit` `2.44.0``2.47.1`
69+
- `eslint` `^9.37.0``^9.38.0`
70+
- `eslint-plugin-jsdoc` `^60.8.2``^61.1.4`
71+
- `markdownlint` `^0.38.0``^0.39.0`
72+
- `playwright` `^1.55.1``^1.56.1`
73+
- `svelte-check` `^4.3.2``^4.3.3`
74+
- `vite` `^7.1.9``^7.1.10`
75+
76+
### Removed
77+
78+
- Deleted redundant comment from `src/routes/layout.svelte`.
79+
80+
### 🧩 Technical Notes
81+
82+
<!-- markdownlint-disable MD036 -->
83+
84+
**PostHog Proxy and CSP Adjustments**
85+
86+
- Introduced `/relay-MSR0` reverse proxy via **Vercel rewrites** to route PostHog analytics traffic through the site origin, improving privacy compliance and avoiding CORS preflight requests.
87+
- Updated `vercel.json` accordingly to map:
88+
- `/relay-MSR0/static/(.*)``https://us-assets.i.posthog.com/static/$1`
89+
- `/relay-MSR0/(.*)``https://us.i.posthog.com/$1`
90+
- Adjusted Content Security Policy (CSP) in `src/hooks.server.js`:
91+
- Removed explicit `/relay-MSR0` source from `connect-src` (invalid in CSP).
92+
- `'self'` now implicitly allows `/relay-MSR0` requests on the same origin.
93+
- Development CSP remains more permissive (`unsafe-inline`, `unsafe-eval`, `localhost:*`) for compatibility with PostHog local testing.
94+
95+
**Miscellaneous**
96+
97+
- Confirmed `initPostHog()` dynamic import strategy prevents SSR evaluation errors.
98+
- Verified service worker (`service-worker.js`) continues caching non-PostHog requests correctly.
99+
- Verified `Strict-Transport-Security` and other headers remain unaffected by proxy rewrite behavior.
100+
101+
<!-- markdownlint-enable MD036 -->
102+
103+
---
104+
25105
## [1.19.0] - 2025-10-06
26106

27107
### Added
@@ -1041,7 +1121,8 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en
10411121

10421122
<!-- Link references -->
10431123

1044-
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.19.0...HEAD
1124+
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.20.0...HEAD
1125+
[1.20.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.20.0
10451126
[1.19.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.19.0
10461127
[1.18.5]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.5
10471128
[1.18.4]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.18.4

cspell.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"fontawesome",
2424
"foss",
2525
"geolocation",
26+
"hcaptcha",
2627
"heliboard",
2728
"homescreen",
2829
"HREFTOP",
@@ -66,6 +67,7 @@
6667
"prefs",
6768
"publickey",
6869
"reconsent",
70+
"serv",
6971
"shizuku",
7072
"SIEM",
7173
"SPDY",
@@ -76,6 +78,7 @@
7678
"subsites",
7779
"Supercookie",
7880
"supercookies",
81+
"tshoot",
7982
"unregisters",
8083
"urlcheck",
8184
"vcard",

0 commit comments

Comments
 (0)