BlueGrove Labs
Help CenterCompare Any Two PagesConfluence Cloud
Support
中文

Show Changes on a Confluence Page

The Page changes macro puts a “what changed” summary directly on a Confluence page. Readers see a card with the number of changes and can expand the full comparison in place, without knowing anything about version history.

Page changes cards on Aurora release readiness showing a Release review baseline, the latest edit, each reader’s last visit, and differences from Release readiness standard, each with Expand and Open full comparison icon buttons
Four Page changes macros on one page, each with its own mode: a baseline, the latest edit, each reader’s last visit, and a reference page.

Choose what the macro shows

Mode in the settings What readers see Good for
Latest edit (default) The newest version compared with the one before it. Pages updated often, where readers want the last update.
Since a baseline version A version you choose compared with the newest version. Every reader sees the same range. Changes since a release review, a sign-off, or another milestone.
Since each reader's last visit The version each reader saw on their previous visit compared with the current version. Readers see different ranges. Handbooks, policies, and specs that people come back to.
Compare with another page Another page, the reference, compared with this page. A project page checked against its template or standard. See Compare with a reference page.

Latest edit and Since a baseline version work on pages, blog posts, and live docs. Since each reader's last visit works on published standard pages only. All modes compare published versions (saved versions for live docs), never unpublished edits.

Add the macro

  1. Edit the page.
  2. Type / or open Insert elements, and search for compare or Page changes. Select Page changes – compare versions. In the full element browser it is under Confluence content.
  3. In Page changes settings, choose a mode under Show changes, then select Save.
  4. Publish or update the page. Readers see the macro once the page is published.
The Confluence editor for Aurora release readiness with Page changes entered in Insert elements and the Page changes macro offered as the result
Search for compare or Page changes in the editor, then select the macro to open its settings.
  • To change the settings later, edit the page, select the macro, choose Edit on its toolbar, save the settings, and update the page.
  • Settings belong to that one macro. You can add several macros with different modes to the same page.
  • In the editor, the macro shows a short description instead of the comparison. Live docs have no publishing step and show the comparison right away.

Keep a fixed baseline

  1. Select Since a baseline version.
  2. Choose the version readers should compare against, for example the version approved at a review.
  3. Optionally enter a Baseline label (optional), such as “Release review”. Readers see it on the card.
  4. Select Save, then update the page.
Page changes settings with Since a baseline version selected, version 1 as the baseline, and Release review entered as the baseline label
Every reader compares against version 1, labelled Release review.
  • The baseline is saved as a version number. Choosing Latest version here saves today’s number; the baseline does not move forward as the page is edited.
  • A new page needs one published version before you can choose a baseline.
  • If you copy the macro to another page, it asks you to choose a baseline from that page’s own history.
  • The label is a description only. It is not an approval or a signature.

Show each reader’s changes

With Since each reader's last visit, every reader gets their own range. A reader who last visited at version 1 sees v1 → v3 when they open version 3; a reader who last visited at version 2 sees v2 → v3.

  • On a reader’s first recorded visit, the card explains that next time it will show changes since now.
  • Opening or refreshing the page counts as a visit, so refreshing shows No new version since your last visit. Expanding or opening the comparison does not count as a visit.
  • The macro uses the same records as the Last viewed entry under the title. See Changes since your last visit.

When the whole team needs the same starting point, use a fixed baseline instead.

Expand by default

Select Show the full comparison on the page by default to show the comparison instead of just the card. Readers can still collapse it. The comparison then loads with the page, which makes long pages, or pages with several macros, slower to open.

Read changes on the page

Readers see a card first. It shows the mode (here Latest edit), who made the latest change and when (or when you last visited), and the number of changes. A baseline label is part of the title, such as Since the baseline (Release review).

The buttons on the right are icons only; hover over one to see its name. The numbers match the picture.

A collapsed Latest edit card with 11 changes and a 2 attachment changes line, with numbered markers on Expand, Open full comparison, and the attachment line
A collapsed card. ① Expand ② Open full comparison ③ The attachment changes line.
  • ① Expand shows the comparison on the page.
  • ② Open full comparison opens the full comparison window, where you can see the version numbers, choose other versions, refresh, share, and export a PDF. It is always the rightmost button, whether the card is expanded or not.
  • ③ When files changed too, a line under the count, such as 2 attachment changes, opens the full comparison on its Attachments tab.

Expanded, the card header and the comparison tools share one row:

The same Latest edit macro expanded in Unified view, with numbered markers on the mode and author, the view buttons, the change counter, Collapse, and Open full comparison; the comparison below shows a new link, a red text color, bold text, and changed minutes
The same macro, expanded. The total number of changes is in the counter: 1 / 11.
  • ① The mode, and who made the latest change and when.
  • ② Unified or Side by side.
  • ③ The counter with Previous change and Next change. The counter also shows the total, so the expanded card doesn’t repeat the number of changes. In Side by side, Sync scroll appears right after these buttons and keeps the two panes together.
  • ④ Collapse returns to the card.
  • ⑤ Open full comparison.

The expanded view is kept simple on purpose, so the page stays easy to read. It shows no version numbers and has no Refresh, Share, or Export. When both sides are the same page, it also leaves out the row of page titles. A comparison with a reference page keeps that row, with its swap button. When you need more, select Open full comparison; see Read the comparison result.

Temporarily inspect other versions

In the full comparison window (Open full comparison), choose another version next to either page title to widen or narrow the range. This affects only the open window. Select Restore macro comparison to return to the macro’s range, or simply close the window; it opens with the macro’s range next time.

A full comparison with a temporary-version notice, Restore macro comparison, and independent version selectors for Release readiness standard and Aurora release readiness
Other versions can be explored without changing the macro. Restore macro comparison returns to the original range.

To change the range for everyone, edit the macro’s settings instead.

Understand empty results

Card message Meaning
No content changes The two versions were compared and the body is the same. You can still open the result.
No differences found The reference page and this page were compared and are the same.
“This is the first version of this page…” There is no earlier version yet. The card shows changes after the next update.
No new version since the baseline. The baseline is still the newest version.
No new version since your last visit. Nothing was published since your previous visit, or you refreshed the page.
“This is your first recorded visit…” There is no earlier visit for you yet. Next time, the card shows changes since now.

Good to know

  • The macro compares the whole page body, not only the part below the macro. The Page changes macros themselves and their settings are left out, so adding or reconfiguring one never counts as a change. The full comparison window says so in a short note; the expanded view on the page doesn’t repeat it.
  • Readers use their own permissions. A page or version a reader can’t open is shown as unavailable, never as an empty page or as “no differences”. A missing baseline is never quietly replaced with another version.
  • The card count can differ slightly from the full comparison when an image was re-uploaded. The full comparison is the one to trust.
  • Live doc saves can be combined into one version, so a new save doesn’t always create a new range.
  • An old version of the page doesn’t show what the macro displayed at that time; the macro always calculates its range when the page is opened.
  • Confluence’s own PDF and Word export of the page shows a short description of the macro instead of the comparison. To keep the highlighted changes, use Export PDF in the full comparison. See Share or export a comparison.

Screenshot