Skip to content

v1.4.0

Choose a tag to compare

@The-Verscienta The-Verscienta released this 14 Oct 21:56
· 2353 commits to main since this release
bc2137b

KilnCMS 1.4.0 is the second wedge minor on the path to 2.0. Its headline is the retraction guarantee (#1926): an unpublished, archived or deleted webhook can no longer be lost when an endpoint auto-disables. It is retried on its own schedule, and editors are told when it exhausts its retries. Alongside it, plugins can ship as Hex, git or path: dependencies (the kiln_plugin SDK), image uploads can go to an external backend such as Cloudflare Images, and semantic search gets a series of retrieval improvements.

It includes three security fixes. The app server now serves HTTP/1.1 only until Bandit ships a fix for EEF-CVE-2026-105659.

There are no breaking changes. Read the Upgrade notes below if your overlay's Dockerfile runs mix deps.get before copying the whole core. Otherwise mix kiln.update, or pinning the image to ghcr.io/the-verscienta/kiln_cms:1.4.0, moves you to it.

Long form: docs/changelog/v1.4.0.md —
the 1.4.0 entries as they were written when each change merged.
Every summary line below that was shortened links to its own entry there.

Upgrade notes

  • A Dockerfile that runs mix deps.get before copying the whole core must
    also copy config/project_deps_hook.exs, which mix.exs now requires.

    (long form)

  • A Dockerfile that runs mix deps.get before copying the whole core must
    first COPY sdk/kiln_plugin sdk/kiln_plugin; the core's own Dockerfile does.

    (long form)

  • A new, empty table — document_chunk_embeddings — arrives by migration;
    nothing writes to it until chunk_long_documents is turned on.

    (long form)

  • Changing document_prefix (as an e5 model swap does) now needs block
    vectors re-embedded too: mix kiln.embed_all --blocks, or a firing sweep
    (mix kiln.refire_all), as well as documents and tags.

    (long form)

Added

  • A retraction webhook (unpublished, archived, deleted) can no longer
    be lost to endpoint auto-disable, and when one exhausts its retries an
    editor is told.
    (#1926 · long form)

  • An overlay installs dependency plugins through a git-ignored
    config/project_deps.exs, locked in config/project.lock, so the core's
    mix.exs and mix.lock never change.

    (#1967 · long form)

  • Plugins can ship as Hex, git or path: dependencies: the plugin contract
    moved, under the same module names, into its own package, kiln_plugin.

    (#1909 · long form)

  • Advisory checks can ship in a dependency plugin, and mix kiln.gen.plugin --dep scaffolds one.
    (#1909 · long form)

  • A plugin can contribute an image backend (Kiln.ImageBackend) — an
    external service such as Cloudflare Images that takes new image uploads and
    renders their variants and transforms from URLs.

    (#1955 · long form)

  • System → Image backend shows the selected backend's state, whether its
    service answers, and how much of the site's library it holds.

    (#1980 · long form)

  • /api/ask can rerank its merged candidates once instead of each content
    type's, blend the reranker's order with the fused one, and hold a source
    the question names at its fused rank; all off by default.

    (#1973 · long form)

  • The reranker's compiled shape (rerank_batch_size,
    rerank_sequence_length) and how it meets the fused order (rerank_mode,
    SEARCH_RERANK_MODE) are configurable; the defaults are unchanged.

    (#1973 · long form)

  • Semantic search can see past the first 512 tokens of a long record:
    chunk_long_documents embeds the rest of its text in overlapping chunks.

    (#1972 · long form)

  • Hybrid search's relevance floor can judge the any-term (OR) keyword leg's
    hits too, and the floor is a runtime setting.

    (#1970 · long form)

  • mix kiln.embed_all --blocks re-embeds the block index too, so a model,
    pooling or document_prefix change reaches every block vector.

    (#1971 · long form)

  • Search measurement runs can scan vectors at ef_search 200 or exactly
    (KILN_HNSW_EF_SEARCH, KILN_VECTOR_SEARCH_EXACT, --ef-search, --exact),
    and the search eval reports name the scan mode they ran under.

    (#1969 · long form)

Changed

  • The browser suite now drives live co-editing: two peers type into one
    rich-text block and each sees the other's words and caret.

    (#1963 · long form)

  • The reranker reads a record's title and its search_text, not its title
    and excerpt, so a record with no excerpt is no longer judged on its title
    alone.

    (#1973 · long form)

Fixed

  • mix kiln.plugins.doctor's image-backend check no longer reports a plugin's
    backend as undeclared when the plugin module isn't loaded yet.

    (#1955)

  • Clicking a rich-text block's toolbar button keeps the caret in the text, so
    the first letters typed straight after Bold are no longer lost.

    (#1964 · long form)

  • Block vectors and the block search query now get document_prefix and
    query_prefix, so an asymmetric model such as multilingual-e5 embeds the
    block leg to spec.

    (#1939 · long form)

Security

  • The app server answers HTTP/1.1 only: Bandit's HTTP/2 stack is off until a
    fix for EEF-CVE-2026-105659 (an HTTP/2 flow-control DoS) is released.

    (#1985 · long form)

  • prosemirror-view 1.42.6 for GHSA-c8x8-7fp4-3x9w: pasting HTML into the
    rich-text editor can no longer run script.

    (#1956 · long form)

  • The rich-text editor moves to TipTap 3 for GHSA-cp6q-959q-f8rh, and keeps
    underlines it used to drop; a co-editing tab still on the old bundle edits
    solo until it reloads.

    (#1957 · long form)

Full changelog: v1.3.0...v1.4.0