23 KiB
@luzzle/web
0.0.250
Patch Changes
a151058: Stop loading application YAML and secrets during Vite/Svelte configuration discovery. Preserve configured Docker development networking through the existing startup manager, without changing production startup.3798150: Let page templates own navbar rendering and colors through a required helpers.navBar render function. Note pages, including words pieces, use a continuous theme background; other templates retain their palette-based navigation.e8bcf3f: Split the admin dashboard's recent pieces into recently published and pending publication lists, with a status column distinguishing drafts from unpublished Markdown changes.- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
- @luzzle/web.templates@0.0.1
0.0.249
Patch Changes
e666e04: Share a compact step-log layout between Publish and Preview, with step/status in the header and line count, elapsed seconds and a compact scroll lock below the output. Keep Publish logs visible without a disclosure.2be09b7: Clarify saved and published editor states in the bottom status bar, with a grouped More menu on desktop and an accessible bottom sheet on phones. Share Publish/Unpublish progress and non-destructive status refresh, retain explicit Save and Publish, and toggle Vim through the menu instead of a keyboard shortcut. Save preserves the exact source without reloading the editor; an explicit Format action edits the buffer without saving.86cfa8c: Require fields.highlight selectors for attachment highlighting. Skip oversized, NUL-containing or invalid UTF-8 sources and oversized generated HTML, leaving original attachments downloadable.d00bfe0: Let inline code flow with prose without forced italics, retaining its background, padding, and rounded corners. Fenced code blocks are unchanged.ad1ff19: Show clickable, three-line desktop sidenote previews with viewport-fitted native popovers. Keep scrollable bottom sheets on phones and tablets, with native keyboard controls, Escape and outside-click dismissal, and no application JavaScript.eed0a54: Show sidenotes as native bottom sheets on phones and tablets, with whole-sheet scrolling, a subtle backdrop, and the note number as a close button. Keep visible margin notes on wide screens without application JavaScript.0766d05: Connect Published and Preview overviews and offer fresh saved-source previews when a preview fails or expires.f97e032: Preserve paragraph breaks in Markdown quotes, leave italics to authored emphasis, and use a thinner border with body-relative padding while retaining the background, rounded corners, and shadow.8af42a2: Resolve registered asset links and images in Markdown to preview or public original-file URLs.9446be6: Restore configured responsive browser font sizing while keeping Open Graph typography fixed.d9f21ef: Keep fenced code and wide tables within the reading column and let readers scroll them horizontally without widening the page. Tables use their natural width, capped at the column width.72647d8: Give rendered Markdown shared prose typography and simplify the note page's headline scale and reading-column gutters.73615eb: Share one filename-based publishing pipeline for individual pieces and archive selections. Read saved Markdown when the worker runs. Publish one piece through the existing endpoint without publishing or pruning unrelated pieces, copying only its generated files.- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
- @luzzle/web.templates@0.0.1
0.0.248
Patch Changes
79d3e90: Give sign-in a responsive branded card, consistent credential and single sign-on forms, clear error and pending states, and simple return/theme controls instead of the public search navbar. Keep client-side authentication and validated redirects unchanged.b89f433: Center custom homepage Markdown below the navigation when both latest and random sections are disabled, while preserving normal layouts when either section is enabled.66dc919: Show dashboard piece types in a compact table while retaining their names, counts, browse links and type-specific create actions.e730e6f: Show a usable search form on unfiltered/searchvisits, sharing controls with the navbar dialog. Keep filtered pages results-only, preserve dialog drafts between openings, and skip querying and hydrating pieces until filters are provided.a9151cc: Start previews through an explicit POST action instead of page loading or link preloading. Merge replayed preview logs by identity and show the latest attempt of each phase so working previews do not fail with duplicate rendering keys.4ec5e52: Keep asset editor drafts scoped to their file, reset tag pagination when loaded results change, and ignore obsolete pagination and health-probe responses. Make preview destinations reactive while preserving each job's live progress.8f3f312: Share worker-generated preview files with the web service through a read-only preview mount in the production Compose examples. Document the directory setup and mount update required for existing deployments.2c1c0e0: Use the shared up-left navigation icon instead of the sign-in page's text back link, preserving its home destination, accessible label and keyboard focus with a 44px hit target.68c1dd6: Use compact sign-in typography, card sizing and form spacing while preserving themed colors and fonts, 16px credential inputs, 44px controls and existing authentication behavior. Leave public-site typography unchanged.2c66a44: Use softer, near-white surface containers in the default light palette and the bundled demo. Preserve dark palettes, accent colors and existing focus behavior.99f793f: Use the same responsive icon viewport for Preview and Published views, scaling each complete composition uniformly instead of shrinking its individual parts on narrow screens.- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
- @luzzle/web.templates@0.0.1
0.0.247
Patch Changes
3495dda: Support local WOFF2 viacontent.fonts.sansfor browser text and worker OG images. Serve configured images and fonts at/assets/{role}/{filename}using URL-encoded basenames and revalidation. Reread files on use; only config changes need a restart. Preserve bundled defaults when omitted.176970b: Serve the bundled, template-aware editor schema publicly at/schema.json, and point the configuration example at the deployed endpoint.- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
- @luzzle/web.templates@0.0.1
0.0.246
Patch Changes
71e9393: Load the optional search dialog after page load during idle time, retaining the normal search link until the dialog is ready or if loading fails.64524a7: Allow runtime configuration of the site favicon and default Open Graph image without replacing bundled static files. Piece-specific Open Graph images remain unchanged.- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
- @luzzle/web.templates@0.0.1
0.0.245
Patch Changes
-
09d3171: Replace Auth.js with stateless Better Auth for YAML credentials and OIDC. Keep protected pages, APIs, preview assets and LSP authorization private and uncached; return JSON authentication errors for non-navigation requests and preserve validated local sign-in destinations.Upgrade: existing sessions require signing in again. Configure a resolved auth secret of at least 32 characters and register
/api/auth/callback/oidcwith the OIDC provider. Sessions last seven days without rolling renewal.url.appis the sole public-origin authority; separate auth URL environment overrides are no longer used. Deploy matching web/proxy versions: session verification moves to/api/session/verify. Public-only sites still need no auth secret. -
65f2ffe: Customize distinct 404, remaining 4xx and server-error pages with Markdown throughpages.error, including independent recovery-link controls. Use native Kit 3 error handling, lazy selected-file caching and safe built-in fallback without changing HTTP statuses, API responses or healthy-page payloads.Upgrade: replace legacy
content.component.404and.errorsource paths withpages.errorsettings. The500presentation covers all 5xx responses while preserving their actual status; 404 remains independent of other 4xx copy. -
123b503: Simplify the editor toolbar to Save and More, with Publish/Attach in the menu, a Saved preview link and clear dirty/publication status. Fill the remaining viewport and scroll the document internally, including edge-to-edge mobile editing. Preserve newer drafts during saves, refreshes and publication updates. Keep creation fields and Combobox text editable as defaults change, and make recent dashboard rows fully clickable. -
3dbf10c: Align development and CI on Node 26, pnpm 11.2.2, TypeScript 6 and Vitest 4. Keep web, worker and template Svelte versions aligned at 5.57.3. Preserve the LSP executable'sdist/index.jslayout and exclude CLI test mocks from production builds. Include untested production files in coverage without lowering thresholds. CLI command behavior, core APIs and the archive format are unchanged. -
b20ce15: Upgrade OpenWorkflow to 0.11.0, using native backend/lifecycle ownership and ordered worker resource shutdown. Schedule expired preview-file and application progress/log cleanup with durable cron jitter near 02:00 UTC instead of startup runs or process-local timers. Preserve active jobs and OpenWorkflow engine history; application cleanup does not purge engine job records. -
8ec14ec: Ship a prebuilt, author-independent web image that reads YAML at startup without rebuilding the application. Discover piece types at runtime, keep framework JavaScript/CSS same-origin, and apply configured asset prefixes to CSP without relaxing native CSRF checks. Development images need no host npm credentials; configuration-directory mounts support atomic saves without adding hot reload.Upgrade: use the published-image Compose/config examples and deploy the web stack together.
url.app_assetsaffects app-owned static files, not framework chunks. Rebuild/recreate existing checkout-based containers for the new image and config-directory layout; config changes thereafter require restart, not an app build. Back up archive/data and let active jobs finish before upgrading. -
44e8385: Choose pending additions and updates in a consistent publishing table with separate edit links, local/remote checks, retained results and a fresh check before retrying. Keep unselected work pending while still applying global removals and schema housekeeping. Capture audited selections and hashes across worker retries, and deduplicate replayed progress logs. Omitted selections retain publish-all behavior. -
7af4430: Customize the home introduction and feed explanation with ordinary Markdown, with independent latest/random lists and subscription controls. Generate configured site/editor CSS once at startup and load configured editor palettes through Shiki's lazy registry without shipping Shiki to the browser.Upgrade: replace
content.component.rootand.feedSvelte source paths withpages.home.bodyandpages.feed.about. Markdown is server-rendered without raw HTML, authored helpers or asset processing. Paths follow the supplied config file; restart after changing configuration or cached Markdown. -
18761d5: Migrate the web application to SvelteKit 3.1.1, adapter-node 6 and Vite 8. Use native configuration, error props, JSON responses and refresh APIs. Resolve internal navigation through typed routes while preserving encoded filenames, editor drafts and shallow-navigation state. Prepare the development image's Kit-generated directory for its configured non-root user. -
55cb722: Select independent built-in icon, page and Open Graph templates through YAML, with nine named choices per role and poster-style defaults. Map metadata into template-owned fields, including structured lists and snippet assets; missing or null optional values use defaults without hiding invalid mappings. Archive types remain independent of presentation choices. The worker retains native runtime OG compilation, caching and PNG rendering.Upgrade: replace
pieces[].componentsSvelte source paths withpieces[].templatesselections and role-specific mappings. Executable author Svelte sources are no longer supported. Restart web/worker after changing mappings, then edit/save and republish affected pieces when regenerated OG assets are needed. -
6458f9c: Add inline Unpublish to the editor's More menu, with progress and failure feedback that preserves drafts. Withdraw the public record and attempt exact local/configured-remote deletion of recorded, unshared generated files, including copy-mode assets. Preserve archive originals and assets still used by other pieces; retain configured rclone flags. Unpublish is one attempt, without automatic replay or rollback, and requires a fresh publication check afterward. Cleanup can fail after the public record has been removed. -
Internal dependency versions remain unchanged:
@luzzle/web.db,@luzzle/web.piecesand@luzzle/web.templatesremain at0.0.1.
0.0.244
Patch Changes
-
9e5e21b: Generate attachment copies during preview and use only worker-generated attachment references, while preserving image fallbacks. -
1ccb6d7: Reset Preview state, navigation links, and progress-stream observation when the job changes during client-side navigation, while preserving state across tabs of the same job. -
7fae03e: Automatically focus the admin Markdown editor when it mounts. -
f245075: Add a Published piece viewer and align Preview with shared Overview and composition-only Share views, including inline output inspection. Replace legacy Live/OG navigation with View → Published / Preview and Share.Record successful per-piece publication times, sync saved Markdown to its index, and compare indexed and published hashes.
Restrict public and Preview asset file access to validated directories, including resolved symlink targets.
-
@luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
0.0.243
Patch Changes
-
3735b03: Only rewrite.assets/Markdown destinations to the admin asset editor; keep other links pointed at their authored URLs. -
d931e3a: Recognize HTTP(S) asset URLs regardless of scheme capitalization when saving piece source, converting them to local assets before validation. -
25e79ff: Offer a publish shortcut for new or stale pieces that opens the site-wide publish page and automatically checks for changes. -
094e73c: Simplify the dashboard publish card to show a compact relative time or "never" above the "last published" label. -
4ebf90d: Report YAML configuration syntax failures asConfigErrorissues with the parser category and one-based line/column, without quoting source text. -
71d40d3: Use the configured Shiki light/dark themes for source and asset editor palettes instead of fixed Gruvbox colors. Keep native CodeMirror highlighting and editing behavior, with a bounded Markdown/YAML color mapping and no Shiki tokenizer in the browser. -
63f11c7: Keep the publish report on its loading state until the current run's results have refreshed, rather than briefly displaying results from a previous run. -
039bec5: Generate one or more metadata fields, or append to the Markdown body, directly from the source editor. Metadata generation starts with all fields selected and the field picker focused. Generation shows inline progress and applies one undoable, unsaved document update. Creation stays a simple create-and-edit flow; the separate generator page is retired.The core generation APIs are
generatePieceFrontmatterandgeneratePieceBody, withFrontmatterGenerationRequestdescribing a metadata request. The CLI assistant callsgeneratePieceFrontmatterdirectly; the obsoletepieceFrontMatterFromPromptexport is removed. Command options and final-only output are unchanged.Allow HTTP(S) asset URLs in generated content and resolve them on Save. Preserve strict stored-piece validation. Share SSE transport without sharing generation and workflow progress screens.
-
31a6865: Add opt-in Vim keybindings to source and text-asset editors, toggled with Ctrl+Alt+V and remembered in the browser. Keep Standard as the default, show the current keybinding mode in a quiet editor footer, retain configured editor colors, and finish Vim input before applying generated content. Saving and navigation continue to use the existing application controls. -
e940b09: Show generation failures in the admin UI without creating a piece when generation fails, preserve retry inputs, and report errors when saving reviewed generated content. -
b57b93b: Show the admin shortcut only on the home page, and use the home arrow as the sole left navigation icon on other public pages. Remove the redundant gear shortcut from piece listings. -
b194368: Set a five-minute Google SDK request timeout and a seven-minute Nginx read timeout for admin generation routes so SDK timeouts can display an application error instead of a gateway timeout page. -
a29898c: Upgrade OpenWorkflow to 0.9.2 and serialize publish and audit check-and-enqueue requests within one web process. Check the latest five runs per workflow through the SDK, retain active-run conflict responses and audit checks, and release admission on enqueue failure. Older active runs outside that window are not detected. -
9510636: Include failed-piece details in publish results while continuing healthy work and CDN/cache phases. Report completed batches with asset failures as partial in progress streams and show an explicit error summary instead of Published successfully, including on reload. Preserve ordinary success and legacy outcomes; encode piece links correctly. -
671a7db: Track successfully published Markdown content hashes so Check and Publish can find unfinished pieces after indexing has already advanced. Record success only after asset, CDN, and cache phases finish, leaving failed pieces pending for a later publish. Initialize existing web rows from their indexed hashes during migration. Deploy after existing publish jobs have finished; older interrupted jobs must not resume across this upgrade. -
e5d1b69: Remove the unused standalonePOST /api/admin/previewendpoint. UI preview submission through the page loader and the preview progress stream remain unchanged. -
13cfc5e: Use OpenWorkflow SDK APIs for workflow metadata reads in publish/preview pages, dashboard, connectivity checks and progress streams. Preserve existing payload shapes and step-attempt ordering, remove the unused numeric job-ID lookup and the web's raw queue connection, and keep retention cleanup SQL unchanged because the SDK has no purge API. -
4bcfba2: Show only one left navigation icon in admin: the home arrow on the dashboard and the admin link on other pages. -
cc2940e: Migrate the shared@luzzle/web.configcontract used by@luzzle/webto TypeBox-authored schemas, inferred TypeScript types, and runtime defaulting/validation. Remove config's AJV and json2ts machinery; core retains AJV for piece schemas. Keep one generated editor artifact atsrc/lib/config/web.config.schema.json, preserving existing YAML modelines, and remove the former strictschema.json.This is a breaking configuration migration in 0.x:
- Omit
authfor a public-only site with admin access disabled. When configured, removeauth.enabledandauth.type, select exactly one ofcredentialsoroidc, and explicitly supply a nonemptysecretplus nonempty provider credentials. OIDCnamestill defaults toSingle Sign-On; no new session-secret length minimum is imposed. - Omit
aito disable generation, or explicitly supplyprovider: googleand a nonemptyapi_key. Auth and AI environment references must be written explicitly in YAML. - Missing
${VAR}references anywhere now fail loading with variable-name/field-path diagnostics rather than secret values.${VAR:-fallback},$$escaping, single-pass string expansion, and empty environment values counting as present remain supported. Resolved values are validated at runtime; the editor cannot inspect deployment variables.
Update configuration and deployment documentation for input defaults versus resolved types, authentication and AI migration, actual
storage.root/sync settings (nobuilder), path resolution, and standalone editor-schema generation viabuild:external-schema.The release is recorded against
@luzzle/webbecause repository Changesets policy excludes the internal-only@luzzle/web.configpackage from versioning. - Omit
-
@luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
0.0.242
Patch Changes
b6d238a: Fix keyboard navigation in the create form's directory/type combobox: arrow keys stopped working after typing a filter letter, caused by an upstream bits-ui bug (fixed in 2.19.1) where custom item filtering desynced the internal highlighted-item tracking. Also disable the input's browser autocomplete, which was competing with the combobox's own accessible listbox for arrow-key/Enter handling.0ccbcb6: Fix the editor's kebab menu rendering behind other floating content (bits-ui was reading z-index off the wrong element) and add a "live" menu item that opens the piece's public page in a new tab when one exists. "preview" is now hidden once the draft matches what's already live, since there'd be nothing new to preview.- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
0.0.241
Patch Changes
fc467ac: Add an admin dashboard (/admin, replacing the old redirect to the create form) showing piece/asset stats, recently-edited pieces, and setup status, plus an/admin/healthpage with live checks (storage, worker, auth issuer, archive/cdn sync, AI key) that can each be re-run on demand. Archive/cdn checks run through a newTestConnectivityworker workflow since the web app has no rclone binary or credentials of its own.12a291b: Replace the hardcoded ▼ arrow in theComboboxcomponent and the search dialog's typeSelectwith a sharedph:caret-up-downicon, and fix the combobox trigger button only showing the currently selected item instead of the full list.28082fb: Replace the directory and type dropdowns on the piece create form with a searchable combobox (new sharedComboboxcomponent built on bits-ui), so directories and types can be filtered by typing instead of scrolling a plain select.f5940ed: Fix an intermittent bug where saving a newly generated/created piece and being redirected back to its source editor could show stale pre-save content (edits appeared lost, though they were saved correctly). Caused by SvelteKit reusing a hover-preloaded page fetched before the save completed;invalidateAll()is now called before navigating away on save.a75fe89: Manage local dev secrets and docker compose tasks with mise + fnox instead of a plain.envfile, so dev credentials have safe placeholder defaults committed alongside the config.- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
0.0.240
Patch Changes
- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
0.0.239
Patch Changes
- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
0.0.238
Patch Changes
- Include @luzzle/web.proxy and @luzzle/web.lsp in the synchronized release group.
- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
0.0.237
Patch Changes
- Fix Woodpecker CI YAML parsing for tag version extraction.
- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1
0.0.236
Patch Changes
66f2919: Add support for configurable OIDC provider name (defaulting to "Single Sign-On"), state verification checks in OIDC provider, and updated signin page UI.- @luzzle/web.db@0.0.1
- @luzzle/web.pieces@0.0.1