Codumentor logo Codumentor Enterprise

What's New

After an update, the conversation opener shows a short box: what changed
since this user last looked. A few one-sentence highlights, how many entries
were added, improved and fixed, and a link to the full release notes.

It is a builtin, not a config-listed plugin. It is registered in every
edition. Do not add it to plugins:; configure it with a top-level
whats_new: section.

What a user sees

On screens up to 600px wide only the first two highlights show and the
subtitle is hidden. The box has extra space above it to separate it from the
opener's introductory text. Entries marked Community or Enterprise are
shown only in that edition, for both highlights and counts; unmarked entries
are shared.

The box is not shown in the configuration assistant, like the other opener
widgets.

When it goes away

Each user's state is kept on the server, in their plugin settings, so every
device agrees:

A user with no record

Every user, the day this plugin first runs, and every new user since. They
are compared against the newest X.Y.0 release older than the running one:

RunningCompared againstShows
0.6.20.6.00.6.1, 0.6.2 — the patch line so far
0.7.00.6.00.6.x patches and 0.7.0 — the cycle that just closed
1.0.0the last minor before itthat minor's patches and 1.0.0

It is taken from the published notes rather than computed, so a skipped minor
or a major bump needs no special case.

Where the content comes from

The release-note fragments in doc/release-notes/<locale>/, shipped inside
every build. A fragment's ### Highlights (### Kiemelések in Hungarian)
group is what the box shows; the release check requires one. A fragment
without it — notes older than this plugin — contributes the bold lead-ins of
its first three Added entries instead. See doc/release-notes/README.md.

A development build counts as the version it was built from
(0.6.2-dev+3.gabc → 0.6.2).

Configuration

whats_new:
  enabled: true          # false: no box, no routes
  max_highlights: 5      # lines in the box, 1–20
  impressions: 3         # openers before it retires; 0 = until dismissed

Routes

Authenticated, under /ui/plugins/whats_new/:

Route
GET summary?locale=en{"show": false}, or the box's content for the caller
POST shown {"version"}count one opener for that version
POST seen {"version"}record the version as seen; never moves backwards

A reported version must be a real version no newer than the running build.