101 Commits
Author SHA1 Message Date
Alex Gleason 2036903918 release: v9.16.4 2026-09-16 00:34:10 -05:00
Alex Gleason 710cf8b6ef release: v9.16.3 2026-09-14 14:02:35 -05:00
Alex Gleason 9c48425c01 release: v9.16.2 2026-09-13 23:59:56 -05:00
Alex Gleason 28d53e0100 release: v9.16.1 2026-09-13 21:24:10 -05:00
Alex Gleason 29b3ca178a release: v9.16.0 2026-09-13 17:13:52 -05:00
Chad Curtis 431b8ec6bb release: v9.15.0 2026-08-19 12:52:59 -05:00
Chad Curtis 90d02c42d6 Upgrade @nostrify/react to 0.6.6 to enforce the nostrconnect handshake secret
0.6.6 enforces the nostrconnect handshake secret. Previously a signer
could answer the connect request with result: "ack" and skip proving it
could decrypt the secret, so any relay-connected party who saw the
nostrconnect URI could claim the session and become the user's signer.

The 0.6.6 NostrLoginProvider now resolves stored logins on a microtask
(rendering a null fallback until storage resolves) rather than
synchronously. Component/hook tests render and query immediately, so
they observed an empty tree. Mock @nostrify/react/login in the test
setup with a synchronous provider and matching useNostrLogin hook,
passing every other export (NLogin, NUser, the connect helpers) through
from the real module untouched.
2026-08-19 12:34:08 -05:00
Alex Gleason 5d02627cff release: v9.14.0 2026-06-05 10:38:53 -05:00
Alex Gleason 18815f0649 fix: resolve all npm audit security vulnerabilities
Ran npm audit fix to resolve 19 vulnerabilities and upgraded vitest from
v3 to v4.1.8 (breaking change) to fix the critical UI server advisory
(GHSA-5xrq-8626-4rwp).

Vitest v4 no longer allows vi.fn() mocks to be used as constructors, so
converted constructor mocks (IntersectionObserver, ResizeObserver,
AbortController, NPool/NRelay1) to real classes in the test setup and
affected test files.

npm audit now reports 0 vulnerabilities.
2026-06-05 09:23:29 -05:00
Alex Gleason 6f3cc62e00 release: v9.13.2 2026-04-29 15:27:31 -05:00
Alex Gleason 7e93367b5f release: v9.13.1 2026-04-27 00:55:38 -05:00
Alex Gleason 2335395641 release: v9.13.0 2026-04-26 22:19:49 -05:00
Alex Gleason b2c5b1d81e release: v9.12.0 2026-04-25 18:06:46 -05:00
Alex Gleason 695a697e88 Support new Worker(new URL(..., import.meta.url)) and asset URLs
Shakespeare's esbuild-wasm pipeline now handles the Vite/webpack-compatible
patterns for module workers and static asset URLs, so projects using
  new Worker(new URL('./w.ts', import.meta.url), { type: 'module' })
  new SharedWorker(new URL('./w.ts', import.meta.url), { type: 'module' })
  new URL('./logo.svg', import.meta.url)
build correctly under Shakespeare instead of emitting a 404'ing URL
that pointed at the source-file path inside the main bundle.

Mechanics:
- A new detection pass (src/lib/build/workerPlugin.ts) is invoked from
  the fs plugin's onLoad for .ts/.tsx/.js/.jsx/.mjs files. It cheaply
  regex-prefilters on 'new URL(' so 99% of files pay zero overhead,
  then strips TS/JSX via esbuild.transform and parses with acorn +
  acorn-jsx for the handful of files that actually match. The string
  literal spec inside each matched new URL() call is replaced with a
  unique placeholder token, preserving the enclosing new URL(...,
  import.meta.url) shape so runtime resolution against the main
  bundle URL still works.
- bundle() now runs a per-worker sub-build (esbuild.build) with the
  same plugin stack, producing a hashed ESM chunk alongside the main
  output. The queue drains recursively so nested workers / assets
  discovered during a sub-build are handled in the same bundle call.
- Non-source assets are copied into the output with content-hashed
  filenames (SHA-256 when SubtleCrypto is available, FNV-1a fallback
  for test environments).
- After all sub-builds finish, placeholder tokens are string-replaced
  in every JS output with the corresponding './<emitted-filename>'.
- updateCSPForEsmSh gains an emittedWorkers option; when set it
  additionally ensures worker-src and child-src exist and extends
  them with the ESM CDN so module workers can import from esm.sh.

Errors (with file:line context) are raised for classic (non-module)
workers, dynamic specifiers, and unresolvable worker specs. Plain
new URL() pointing at a source file emits a console warning and is
left untransformed.

Tests: 16 new workerPlugin unit tests cover detection, errors,
dedup, and quote-style handling; 4 new CSP tests cover the
emittedWorkers path.
2026-04-25 17:32:14 -05:00
Alex Gleason 7eab377b7f release: v9.11.4 2026-04-17 18:13:40 -05:00
Alex Gleason 429dafce92 release: v9.11.3 2026-04-12 10:52:18 -05:00
Alex Gleason 50f85f232d release: v9.11.2 2026-04-06 00:58:48 -05:00
Alex Gleason 33564842d0 release: v9.11.1 2026-04-05 23:59:06 -05:00
Alex Gleason 46fefd5352 release: v9.11.0 2026-04-03 16:09:05 -05:00
Alex Gleason b1b451072b Fix bunker issue by upgrading Nostrify 2026-04-03 13:17:38 -05:00
Alex Gleason 0565eb7aab release: v9.10.4 2026-04-02 21:50:49 -05:00
Alex Gleason 7ccf9ddcc9 release: v9.10.3 2026-04-02 21:27:47 -05:00
Alex Gleason 3192ae7f08 release: v9.10.2 2026-04-02 20:45:19 -05:00
Alex Gleason 2ddfa66d9b release: v9.10.1 2026-04-02 20:26:03 -05:00
Alex Gleason 43fec2a462 release: v9.10.0 2026-04-02 18:04:25 -05:00
Alex Gleason b270651a9c Add Capacitor Android app setup with deep links, splash screen, and release signing 2026-04-02 03:56:35 -05:00
Alex Gleason 9390ae4152 release: v9.9.2 2026-04-02 03:08:22 -05:00
Alex Gleason 37c19be7ee Fix versioning: start at 9.9.1, move changelog into app shell
Bump starting version from 9.9.0 to 9.9.1. Move the /changelog page
from a standalone layout into AppLayout so the project sidebar is
available. Remove it from the settings nav since it's its own page.
2026-04-02 02:19:50 -05:00
Alex Gleason b7ce705b2b Add versioning system, changelog page, and release skill
Replace calver (YYYY.MM.DD+sha) with marketing versioning (X.Y.Z),
starting at 9.9.0. Add changelog page at /changelog with Keep a
Changelog parsing, pre-release banner, and expandable entries linked
to GitLab releases. Add VersionCheck component that shows a "What's
new" toast when the app version changes. Add release skill for
managing versioned releases with changelog and git tagging.
2026-04-02 02:09:00 -05:00
Alex Gleason 5a431ae5f2 Add Plausible Analytics integration with AppConfig support 2026-03-11 18:34:48 -05:00
Alex Gleason 078d843b78 Upgrade to zod 4 2026-01-23 23:56:10 -06:00
Alex Gleason 6ba5cf9bb2 Enable TypeScript strict mode 2026-01-21 14:46:11 -06:00
Alex Gleason 0d6bee2025 Add Maple AI support 2026-01-17 23:22:02 -06:00
Alex Gleason f4a3953d4d Remove Electron functionality 2026-01-01 16:36:35 -06:00
Alex Gleason 8224589dbe CloudUpload icon for GitSyncButton 2025-12-22 18:09:23 -06:00
Alex Gleason d82df433de Upgrade nostrify 2025-12-22 13:28:00 -06:00
Alex Gleason e2f816b6c1 Add MCP support 2025-11-21 20:14:38 -06:00
Alex Gleason 58c24f615d Swap out eta for nunjucks 2025-11-13 19:49:15 -06:00
Alex Gleason db02b9fb94 Let system prompt be configurable in System Settings (EJS template) 2025-11-13 17:36:04 -06:00
Alex Gleason fd309e0aab Merge branch 'pr/fix-npm-run-electron(8edc8583)' 2025-11-12 13:36:27 -06:00
Alex Gleason c24f72b34c Implement plugins system / skills 2025-11-05 23:44:14 -06:00
Alex Gleason b57cdb2561 Add an error boundary 2025-11-03 20:18:32 -06:00
Alex Gleason 0affd69adf Sentry 2025-11-03 18:22:05 -06:00
DanConwayDev 465bef91e8 fix npm run electron by generating package.json
The electron package.json needs to exist for this command to succeed.
If `prepare-electron-publish.js` has never been run then it hasn't been generated yet. Solution, run that everytime.
2025-11-03 11:35:20 +00:00
Alex Gleason 0b2003d9f8 Fix shell tool paths 2025-10-30 00:45:45 -05:00
Alex Gleason a6b07558ca Offload more logic into prepare-electron-publish script 2025-10-29 22:54:49 -05:00
Alex Gleason ccd26cbb71 Add custom electron publish script 2025-10-29 22:48:21 -05:00
Alex Gleason 897a8e40bb Make electron app installable with npm 2025-10-29 21:12:23 -05:00
Alex Gleason 31fcbe99a9 Clean up some electron config 2025-10-29 17:39:39 -05:00
Alex Gleason 8e296f2eb8 Merge remote-tracking branch 'origin/main' into electron 2025-10-27 13:05:08 -05:00