Skip to content

Commit 85597e3

Browse files
ABCrimsonclaude
andcommitted
v1.1.2: fix worker deploys, update docs
- Bump all 10 packages to 1.1.2 - Add account_id to wrangler.toml configs (fixes /memberships auth) - Set fail-fast: false for independent worker deploys - Update CHANGELOG, wiki (Deployment, Cloudflare-Workers) - Update health endpoint version Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d5ccb91 commit 85597e3

14 files changed

Lines changed: 35 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
All notable changes to NextCalc Pro are documented in this file.
44

5+
## [1.1.2] - 2026-03-02
6+
7+
### Bug Fixes
8+
- Align API test mocks with security audit changes (IDOR, atomic counters, existence checks) (`4c197c0`)
9+
- Add `account_id` to all 3 worker `wrangler.toml` configs — fixes Cloudflare `/memberships` auth error (`d5ccb91`)
10+
- Set `fail-fast: false` in deploy-workers matrix so each worker deploys independently (`d5ccb91`)
11+
12+
### Infrastructure
13+
- Set `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` GitHub secrets for CI worker deploys (`d5ccb91`)
14+
15+
---
16+
517
## [1.1.1] - 2026-03-01
618

719
### Bug Fixes
@@ -118,6 +130,7 @@ All notable changes to NextCalc Pro are documented in this file.
118130

119131
_This changelog is generated from the git history. Commit hashes reference the short SHA for each change._
120132

133+
[1.1.2]: https://github.com/ABCrimson/NextCalc/releases/tag/v1.1.2
121134
[1.1.1]: https://github.com/ABCrimson/NextCalc/releases/tag/v1.1.1
122135
[1.1.0]: https://github.com/ABCrimson/NextCalc/releases/tag/v1.1.0
123136
[1.0.0]: https://github.com/ABCrimson/NextCalc/releases/tag/v1.0.0

apps/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nextcalc/api",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"private": true,
55
"type": "module",
66
"main": "./src/index.ts",

apps/web/app/api/health/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function GET() {
1111
{
1212
status: 'healthy',
1313
timestamp: new Date().toISOString(),
14-
version: '1.1.1',
14+
version: '1.1.2',
1515
services: {
1616
calculator: 'operational',
1717
mathEngine: 'operational',

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nextcalc/web",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"private": true,
55
"scripts": {
66
"dev": "next dev --turbopack --port 3005",

apps/workers/cas-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nextcalc/cas-service",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"private": true,
55
"description": "Computer Algebra System microservice for NextCalc Pro - symbolic math operations on Cloudflare Edge",
66
"scripts": {

apps/workers/export-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nextcalc/export-service",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"private": true,
55
"description": "Export service for NextCalc Pro - converts LaTeX expressions to PDF, PNG, and SVG formats",
66
"scripts": {

apps/workers/rate-limiter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nextcalc/rate-limiter",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"private": true,
55
"description": "Rate limiting microservice for NextCalc Pro - enforces API quotas using Cloudflare KV",
66
"scripts": {

docs/wiki/Cloudflare-Workers.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,17 @@ cd apps/workers/rate-limiter && pnpm dev # Port 8789
8484

8585
## Deployment
8686

87+
**Manual:**
8788
```bash
88-
cd apps/workers/cas-service && pnpm deploy
89-
cd apps/workers/export-service && pnpm deploy
90-
cd apps/workers/rate-limiter && pnpm deploy
89+
cd apps/workers/cas-service && pnpm run deploy
90+
cd apps/workers/export-service && pnpm run deploy
91+
cd apps/workers/rate-limiter && pnpm run deploy
9192
```
9293

94+
**CI/CD:** Push to `apps/workers/**` on `main` triggers `.github/workflows/deploy-workers.yml`. Requires `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` GitHub secrets. Each worker deploys independently (`fail-fast: false`).
95+
96+
> **Note:** Use `pnpm run deploy` (not `pnpm deploy`) — pnpm 11 treats `deploy` as a built-in command.
97+
9398
## Monitoring
9499

95100
All workers have OpenTelemetry observability enabled in `wrangler.toml`. Monitor via Cloudflare Dashboard > Workers & Pages.

docs/wiki/Deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The GitHub repository is connected to Vercel. Push to `main` triggers a producti
2929
| Root Directory | `apps/web` |
3030
| Build Command | `cd ../.. && pnpm install && pnpm build --filter=@nextcalc/web` |
3131
| Install Command | `pnpm install` |
32-
| Node.js Version | 22.x |
32+
| Node.js Version | 24.x |
3333

3434
### Environment Variables
3535

@@ -54,7 +54,7 @@ cd apps/workers/export-service && pnpm deploy
5454
cd apps/workers/rate-limiter && pnpm deploy
5555
```
5656

57-
Or via GitHub Actions: `.github/workflows/deploy-workers.yml` triggers on changes to `apps/workers/`.
57+
Or via GitHub Actions: `.github/workflows/deploy-workers.yml` triggers on changes to `apps/workers/`. Requires `CLOUDFLARE_API_TOKEN` GitHub secret. Each worker deploys independently (`fail-fast: false`).
5858

5959
### Worker URLs
6060

@@ -70,7 +70,7 @@ Or via GitHub Actions: `.github/workflows/deploy-workers.yml` triggers on change
7070

7171
`.github/workflows/ci.yml` runs on every push:
7272

73-
1. **Lint** -- Biome 2.4.4
73+
1. **Lint** -- Biome 2.5.0
7474
2. **Typecheck** -- TypeScript 6.0
7575
3. **Test** -- Vitest
7676
4. **Build** -- Turborepo (all packages)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextcalc-pro",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"private": true,
55
"scripts": {
66
"dev": "turbo run dev",

0 commit comments

Comments
 (0)