Skip to content

docs: 0.1.0 upgrade notes for retention, encryption key and closed signup #152

Closed

Description

@patrickbrandao

Items that docs/releases/0.1.0.md and the PT-BR docs must cover before the 0.1.0 tag. They come from the reviews of #148, #149 and #150.

Agente responsável: docs-ptbr (notes), devops/rename PR (templates)

Activity

  1. added this to the v0.1 milestone on Oct 14, 2026
  2. patrickbrandao commented on Oct 14, 2026

    @patrickbrandao
    OwnerAuthor

    Added from the #150 review (should-fix 1 and nits):

    • Document the upgrade recipe for installs that relied on the old BETTER_AUTH_SECRET fallback:

      1. Set a new THINKER_ENCRYPTION_KEY.
      2. Set THINKER_ENCRYPTION_KEY_PREVIOUS to the old BETTER_AUTH_SECRET.
      3. Boot and wait for the re-encryption log.
      4. Remove PREVIOUS.

      The recipe goes in DOCKER_README, the dev guide and the 0.1.0 notes, and the missing-key boot error should point to it.

    • Fix the docker/install.sh comment that still mentions the fallback (lines 291-296).

    • Mention this use of PREVIOUS in the crypto.util.ts doc comment.

  3. patrickbrandao commented on Oct 14, 2026

    @patrickbrandao
    OwnerAuthor

    From the #150 qa-docker run: pass THINKER_ENCRYPTION_KEY_PREVIOUS=${THINKER_ENCRYPTION_KEY_PREVIOUS:-} in the docker/docker-compose.yml environment and document it in docker/.env.example. Without it, key rotation needs a compose override.

  4. patrickbrandao commented on Oct 14, 2026

    @patrickbrandao
    OwnerAuthor

    From #29 (PR #149): the one-time setup token lives in the memory of each process, so on a multi-replica deploy the first setup must hit the replica whose log printed the token (or run with a single replica until the admin exists). Document this alongside the other multi-replica notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions