Skip to content

Kindred 2.1.0

Choose a tag to compare

@niklas-heer niklas-heer released this 11 Nov 07:19
· 442 commits to main since this release

Kindred 2.1.0

Kindred 2.0.0 was a place to keep a family's tree. 2.1.0 gives the family a reason to come back to it: a Today page with a
feed, a question and a quiz, a slow game, ways to answer each other's memories, and better tools for recording and printing
what you know. You can look at two invented families before installing anything:
kindred-demo.niklas-heer.workers.dev.

What's new for families

  • Today and the family feed. Today is the page to open again tomorrow. Contributors write a short message to the
    family, with up to six pictures and the people it is about; everyone reads and reacts. The feed also shows new memories and
    sayings, a day's photographs, people added to the tree and the end of a Campaign season. Beside it: the question of the
    week (sixty curated questions; an answer is saved as a memory), a daily quiz made from the family's records with a streak
    and a monthly table of houses, the week's birthdays and anniversaries, and one nudge from the Needed page. Share-link
    guests get no feed. Stewards can switch the quiz off. See docs/today.md and docs/feed.md.
  • The Campaign. A slow game between the family's houses on a map made from the family's places. Well-recorded houses
    raise more troops; everyone gets three orders a day; a season lasts 28 days. It is off until a steward turns it on under
    Games, never changes the family's records and is left out of every export. See docs/campaign.md.
  • Reactions and comments. Members answer a memory or a gallery photo with a heart, "I remember this", a laugh, a candle
    or a thank-you; contributors can comment in plain text. The writer can ask for a push about answers (at most one a day).
    See docs/responses.md.
  • Life events and sources. Baptisms, schooling, service, moves, burials and custom events appear on the life timeline and
    on a new Events view of the Atlas. A Sources page holds registers, letters and books, and facts cite them; cited facts
    carry a small "sourced" mark. GEDCOM and the Markdown archive carry both, and the assistant can propose and answer from them.
  • Change history and What's new. Every change to the family's records is kept with who made it and what it was before,
    and editors can put an earlier name, date, place or biography back. "What's new" summarises what changed since your last
    visit, and members can turn on a weekly push about it. History is kept three years.
  • Print: charts and a family book. Ancestor and descendant charts, and a book with a cover, contents, a section for each
    house, every person and a register of names. Your browser prints it, so "Save as PDF" keeps a file. Living people are
    printed by name and place only, unless you switch "Living people in full" on.
  • Ask to join. A guest of a share link can ask for an account with a passkey; a steward approves it with a role or
    declines it on the Access page.
  • Managing families in the app. Stewards can create a family, change its details and delete it (after exporting it,
    typing its address and confirming with a passkey) on the new Families page.
  • View as. A steward can preview the family as a viewer, contributor, editor, a particular member or a link's guest. A bar
    on every page says so, and nothing can be changed while previewing.
  • The character editor. Clicking a drawn portrait opens an editor like a game's character creator: ten categories, many
    more skin tones, hair, clothing, headwear and accessories, "Surprise me", ready-made looks, undo and a comparison. Portraits
    you already have do not change.
  • Smaller things. A lighter bar (Today, Tree, Chronicle, Gallery, Contacts, More), share links that protect living
    people by default, reading GEDCOM files in older encodings, text that follows the browser's text size, and a faster tree
    and Chronicle. The changelog lists the rest, including security fixes.

Upgrading

Back up first. This release adds fifteen migrations, all of which add columns or tables and change no row you have:

  • migrations/accounts 0022 to 0029: which passkey started a session, the per-link "protect living people" switch (off for
    links that exist), "Guests may ask to join" (on for every link) and join requests, passkey confirmation, "since your last
    visit", the "View as" previews, and the push about a new post.
  • migrations/tree 0023 to 0029: small gallery copies, life events and sources, the Campaign, change history (empty:
    earlier changes are not in it), reactions and comments, Today and the quiz, and the feed. 0029 rebuilds the reaction and
    comment tables with the rows they had.

On Node they are applied when the server starts, after a copy of each database. On Cloudflare, mise run deploy applies them
before the new Worker goes live (mise run cf:migrate:remote does that step alone). To go back to 2.0.0, restore those copies
and start the old version; an old version will not run on a migrated database.

Things to know:

  • New setting KINDRED_TRUSTED_PROXIES: how many reverse proxies stand in front of the Node server (compose.yaml passes
    it on). Set it behind a proxy, otherwise the sign-in, share-link and invitation limits cannot tell visitors apart.
  • New setting KINDRED_HISTORY_YEARS: how long the change history is kept (three years by default).
  • KINDRED_DEMO=1 runs a public, read-only demo. It refuses to start beside accounts, Access, a guest host, a setup code
    or reminder keys. See "A public demo" in docs/self-host.md.
  • The Node server now runs in production mode unless you set NODE_ENV, and the Content-Security-Policy is enforced rather
    than report-only. If you add scripts or embeds in front of Kindred, check them.
  • Share links you already made keep their old protection; new links protect living people. The Access page shows and changes it.
  • Removing a passkey signs out the devices that used it, and adding or removing one asks for a passkey confirmation.
  • A ready-made multi-arch image is published to ghcr.io/niklas-heer/kindred for each tagged version.
  • Restoring a D1 export needs one extra line that moves the guard view first; the corrected commands are in
    docs/deploy-cloudflare.md.
  • A person's draft open across the upgrade asks once to load the latest version.

The full list, with every fix, is in the changelog.