Skip to content

docs: take the coordinates and the API baseline to 1.0.0 - #44

Merged
TheMeinerLP merged 4 commits into
mainfrom
docs/usage-after-1.0.0
Aug 3, 2026
Merged

docs: take the coordinates and the API baseline to 1.0.0#44
TheMeinerLP merged 4 commits into
mainfrom
docs/usage-after-1.0.0

Conversation

@TheMeinerLP

Copy link
Copy Markdown
Contributor

1.0.0 shipped at 17:59 today and carries the chunk, instance and shared instance work. The README still told readers to depend on 0.3.0 — the release before any of it.

The part worth reviewing

apiBaselineVersion moves to 1.0.0, and raising it made the build fail on purpose:

api-breaks.properties declares accepted API breaks against baseline 0.3.0, but
apiBaselineVersion is 1.0.0. Every exception in that file was judged against the
older baseline and excludes its type from the check entirely, so each one has to
be re-examined and either deleted or re-justified before the version moves.

That is what the baseline key is for. The one exception in the file — FalcoLightingChunk becoming final under US-3.06 — was a break against 0.3.0 and is not one against 1.0.0, because 1.0.0 is the release that shipped it. It is deleted rather than carried forward.

Checked rather than assumed: with the exception gone, checkApiCompatibility is green against 1.0.0; making FalcoLightingChunk package-private then fails the build, so japicmp really is comparing the class again instead of skipping it. Reverted.

The README

Coordinates go to 1.0.0 (falco-anvil, falco-light, and the falco-instance line in the prose).

The performance section claimed every figure comes from a JMH benchmark. One no longer does: the 25 objects and 840 bytes of a fresh chunk are a jol count — no spread, no statement about speed. It is now marked as such where it appears, along with the fact that the instance benchmarks exist but have never been run as a baseline, which is why no timing about this work is quoted anywhere in the file.

Wiki

Updated in the same pass, separately (Falco.wiki @ a61b6fb and the follow-up): module coordinates, the BOM snippet — 1.0.0 is the first release that carries falco-bom, so the snapshot workaround and the comment explaining it are gone — the snapshot version, and the file quotes in Build Setup and Versioning and Releases. Historical statements dated to 0.3.0 ("carried out on 2026-08-01 against Falco 0.3.0") were left alone.

1.0.0 shipped at 17:59 on 2026-08-03 and carries the chunk, instance and shared
instance work. The README still told readers to depend on 0.3.0, which is the
release before any of it.

apiBaselineVersion moves with it, and that is the part worth reading. Raising it
made the build fail on purpose:

  api-breaks.properties declares accepted API breaks against baseline 0.3.0, but
  apiBaselineVersion is 1.0.0. Every exception in that file was judged against
  the older baseline and excludes its type from the check entirely, so each one
  has to be re-examined and either deleted or re-justified before the version
  moves.

That is what the baseline key exists for. The one exception in the file --
FalcoLightingChunk becoming final under US-3.06 -- was a break against 0.3.0 and
is not one against 1.0.0, because 1.0.0 is the release that shipped it. It is
deleted rather than carried forward, and japicmp compares the class again:
checked by making it package-private, which now fails the build, and reverted.

The README's performance section said every figure comes from a JMH benchmark.
One no longer does -- the 25 objects and 840 bytes of a fresh chunk are a jol
count, with no spread and no statement about speed. It is marked as such where
it appears, together with the fact that the instance benchmarks have never been
run as a baseline, so no timing about this work is quoted anywhere.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NGpJqdmh7ZNH487GLqPJmK
@TheMeinerLP
TheMeinerLP requested a review from a team as a code owner August 3, 2026 18:18
The wiki gained a usage page for the instance module, and a page is the one place
where an example can rot without anything noticing. This compiles every code
block on it: the builder, the chunk loader form, the light engine combination,
both lifecycle routes, the shared world, and the read-only storage accessors.

It found one error while being written. The light engine block said
`new ChunkLightScheduler(instance)`; the constructor takes a `ChunkLightService`
and there is no overload for an instance, so the snippet as first written would
not have compiled for anyone who copied it.

The class is never run and asserts nothing. Its whole value is failing to
compile, which was checked by breaking one line and watching
:falco-demo:compileTestJava fail, then reverting.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NGpJqdmh7ZNH487GLqPJmK
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Test results

  285 files    285 suites   8m 14s ⏱️
  932 tests   931 ✅ 1 💤 0 ❌
2 823 runs  2 821 ✅ 2 💤 0 ❌

Results for commit c331c21.

♻️ This comment has been updated with latest results.

TheMeinerLP and others added 2 commits August 3, 2026 20:38
…nippets

The quick start built a server from falco-anvil and falco-light and mentioned
falco-instance only in prose. A reader following it never saw the module that
gives the world a chunk which allocates what it uses, cleans up when it is
unregistered, and can carry Falco's light on the same class -- which is the
combination the whole rewrite was for and which did not exist before 1.0.0.

Step 1 now declares the BOM and all three modules; the readme is where somebody
starts, and one pinned version for three artefacts is the thing to start with.
Step 5 is new and shows them together: loader, scheduler supplier, and the
builder form that closes the loader after saving, which is the part that is
easy to get wrong by hand because a loader closed before the save loses it.

It also names the two things that surprise people: getSections() materialises
all 24 sections because a caller may write into the result, and a chunk supplier
producing anything but a FalcoChunk is refused. And it says that Minestom's own
events still fire, so nobody rewrites a working GlobalEventHandler listener.

Every snippet of the quick start and of the wiki usage page is now compiled by
DocumentationSnippets in falco-demo, renamed from WikiSnippetCheck because it
covers both documents. Checked by breaking a line and watching
:falco-demo:compileTestJava fail.

The wiki called the quick start "four-step" in three places; it has five now.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NGpJqdmh7ZNH487GLqPJmK
The quick start walks somebody to a running server, which is what a quick start
is for -- and it left most of Falco invisible. A reader finished it without ever
seeing that the anvil loader has a builder, that it counts what it could not
resolve instead of failing, that the light engine does sky light and incremental
updates, that the scheduler can be driven from a plain container, or that a
chunk can be read without materialising its sections.

A new section after the quick start lists the rest, grouped by module, each with
the shortest snippet that shows it:

  falco-anvil     the builder, compression, save parallelism, data version,
                  and diagnostics -- the counters that say a world contained
                  blocks or biomes this loader substituted
  falco-light     calculate, calculateSky, calculateWithNeighbours, blockLightAt;
                  the scheduler builder with executor, area size, cache size and
                  sky-light mode; ChunkLightListener for a plain container; and
                  markChanged/markDirty for changes made outside Falco
  falco-instance  the four parts an instance delegates to, the read-only storage
                  accessors, lifecycle listeners, and the generator that writes
                  into clones so a failure leaves the chunk untouched

Every snippet is compiled by DocumentationSnippets, which now covers the quick
start, this overview and the wiki usage page, grouped by which document each
block belongs to. That mattered here: the overview is thirteen new snippets
against an API nobody had written against before, and compiling them is the only
reason to believe them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NGpJqdmh7ZNH487GLqPJmK
@TheMeinerLP
TheMeinerLP merged commit 2d3955d into main Aug 3, 2026
7 checks passed
@TheMeinerLP
TheMeinerLP deleted the docs/usage-after-1.0.0 branch August 3, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant