The first release since 0.9.45, and the largest in Halcyon's history: about 2,900 commits that modernize the whole code base. Halcyon now runs on .NET 11 and MySQL 8.4, supports the protocols current viewers use (AISv3, Bakes on Mesh, animated mesh, EEP, PBR), has realistic physics on Jolt, stores residents' text in full Unicode, and runs as a set of small processes you can scale one at a time.
Important
This is a major upgrade, done with the grid stopped. 0.9.x processes cannot run beside 10.0, and the database upgrades cannot be rolled back. Read the upgrade guide before you start.
The full release notes are in docs/release-notes/10.0.0.md. This page covers the highlights.
Upgrading from 0.9.45 in five steps
- Back up the core database, every region database, and each region's script compile cache (
ScriptEngines/Phlox/cache/). - Stop the whole grid.
- Run
hc-database --upgradeon the core database and on every region database, as an account that can alter tables. MySQL 8.4 is required (MariaDB is refused). The character-set conversions copy tables, so allow time for them. - Give every process the same grid key. Run an Aperture on every region server host. Add Valkey or Garnet if you use the admin API. Move your website toolkit's grid manager to a service token. The
.inifiles are still read (with a warning) throughout 10.x, andHalcyon --convert-configconverts them to TOML. - Start the user, grid and messaging servers, then the regions. Check the logs and
/health/ready.
Starting a grid from scratch? halcyon-admin grid init creates the secrets, the schemas, a limited database account, the first administrator, and the Compose or systemd files: see setting-up-a-grid.md.
Breaking changes
Each has an item in the upgrade guide.
Grid and processes
- A process will not start without a grid key (
nullcounts as none), and every call between regions carries the key. - A process will not start on a database that hasn't been upgraded, or on one made by a newer major version.
- Aperture is mandatory. The simulator no longer serves textures or meshes, and it won't start without
[Startup] aperture_server_caps_token. - Standalone mode is gone. A region now always runs as part of a grid.
- The remote console, the XML-RPC remote admin and the JWT code are removed, with no compatibility shim. The
/v1admin API replaces them. - The simulator does no TLS. Put a proxy in front and set
[Network] public_url. - Statistics are now metrics over OTLP (
[Metrics] otlp_endpoint). The statistics JSON,Stats_URI,show statsand the hourly stats line are removed. - Renamed settings:
[Phlox],[Thoosa],[Jolt],prim_limit. A removed setting is ignored, with one warning, until the next major version. - New defaults:
serverside_object_permissions = true, currency symbolhal$, mesh upload on, wind 1–2 m/s, a profile picture limit of 512. - Legacy viewer paths are retired: UDP asset transfer by id, UDP inventory fetch and writes, the legacy Windlight capability, the packet loggers.
Data
- Core upgrade 21 widens
economy_transaction.idandtimeOccurredtobigint, and the trigger that maintains the totals becomes an upsert. - Group notices older than 14 days are deleted at the first purge. To keep them, set
[Groups] NoticeTtlDays = 0before the regions start. - A grid that stored 0.9.45's texture set deletes five assets from its asset store (guide step 7, point 6).
Economy
- The fee account named by
[Economy] CurrencyAccountmust exist. Otherwise every priced upload, group creation and classified is refused. - An object deeded to a group can't be bought or paid at a price until group money exists.
llGiveMoneyandllTransferLindenDollarspay only from the object owner's account, for the owner's own scripts, with a rate limit.
Scripts
- Many results now match Second Life's: JSON, strings counted in code points, list entry types, names.
- Physics is realistic. A script that applies a fixed impulse, force or torque, instead of one scaled by
llGetMass(), is not supported. sim_versionhas three fields (10.0.0).
See What 10.0.0 changes for a script for the full list.
What's new
Viewers and content
- Current viewer protocols: AISv3 inventory and library, Bakes on Mesh, animated mesh, extended environments (EEP), PBR (glTF) materials including terrain PBR, and the capabilities for profiles, display names, estate and region settings, friendship offers, group bans and offline messages.
- Chat crosses region borders, as in Second Life, including a script's
llListen. Turn it off with[Chat] relay_across_borders = false. - Money moves exactly once, or not at all. Each payment is one checked transfer that locks both balances. Goods are charged before delivery, and a failed delivery is refunded.
- New accounts wear a default outfit. A new seamless cloud noise, the viewer's five sky presets, and Halcyon's own moon, halo, rainbow and star textures.
- Every texture Halcyon generates now decodes in a real viewer.
- More survives a restart: a prim's physics shape type, worn attachments and a script's Running state. A script's timers keep their schedule across a region crossing.
LSL
- Dozens of Second Life functions that Halcyon lacked: strings, lists and hashes, sun and moon, PBR, animated mesh,
llSetEnvironment, display names and usernames. - Linkset data: all 13
llLinksetData*functions and thelinkset_dataevent. - Rez and derez:
llRezObjectWithParams,llGetStartString,llDerezObject,llDetectedRezzer. - Link sound and sound master/slave, synchronous notecard reads,
llSignRSA/llVerifyRSA, the camera functions, 21 moreOBJECT_*details. STATUS_RETURN_AT_EDGE,STATUS_SANDBOX,llMinEventDelay,llCollisionFilterandllGetCenterOfMassnow work instead of shouting "not implemented".- New
hal…functions for the air and the sea.iw…is deprecated in favour ofhal…; both compile to the same program until the next major version. - lsl-coverage.md lists every function and its status.
Physics (Jolt)
- Real material densities, static and sliding friction, and the air, the sea and the wind act on objects: drag, lift, buoyancy, currents.
- Avatars have a real mass from their shape sliders and walk, run, jump and step up on their legs. They push and get pushed by mass, ride moving platforms, and brake like a person.
- Second Life's movement rules: camera pitch doesn't steer walking or jumping, the jump is half the hip height, a jump at a ledge climbs it, and the landing animations match Second Life's.
- Very large linksets link in linear time (0.45 s for 10,000 prims).
Measured against 0.9.45
0.9.45 and 10.0 were run side by side on one machine, with the same test world and the same headless viewer harness.
- Region crossings are as clean as before. Every avatar, vehicle and scripted object crossing is clean on both, apart from cases 0.9.45 also fails. Scripts keep their timers, listens, globals and state.
- 0.9.45 crossing faults that 10.0 doesn't have:
- A run no longer drops to a walk at the border.
- A jump's jolt at the border falls from about 1.8 m to 0.16 m.
- A vehicle steered in open air at 20 m/s now crosses cleanly. 0.9.45 stuck it at the border or sent it back in 14 of 24 tries, over two runs.
- Other 0.9.45 faults that 10.0 doesn't have: autopilot walking through walls, two permission bugs when giving objects away, a child prim's mass of -214748.4, a rotation lock that leaked, stacks that fell apart as they were built, and an avatar push with no speed limit.
Unicode and names
- Full Unicode wherever people read or write: names, chat, inventory, notecards, archives, logs. The text columns are
utf8mb4. - Unique names are checked by their confusable skeleton, so a name that looks like an existing one is refused.
- Display names and single-name accounts.
Grid services and operations
- Separate processes that scale horizontally behind a load balancer: user, grid and messaging servers, a new inventory service, an offline message service, grid pages, Aperture, and a shared store (Valkey or Garnet).
- The
/v1admin API, with a typed route and its own scope for every operator task, service tokens, role templates, audit lines, a log stream with secrets removed, andopenapi.json.halcyon-adminis its command-line client. - Container images for
linux/amd64andlinux/arm64, Compose and systemd definitions,/health/live|startup|readyon every process, and a drain on SIGTERM. - TOML configuration in layers, including
HALCYON__SECTION__KEYenvironment variables. hc-databasecreates the databases and upgrades them with numbered scripts.- Metrics over OTLP, with Prometheus and Grafana in the Compose profile.
- A region can be taken offline and brought back online without restarting its process.
Security
- A grid key with no default. Every call between regions is authenticated, and a region checks what its neighbours tell it.
- Argon2id passwords, upgraded at each account's next login.
- Bounded capability bodies, and single-use upload URLs that can't be guessed.
- Admin access is granted by scopes, never by god level.
Versioning from now on
Versions are major.minor.patch. Starting with 10.x, a minor upgrade can be applied to a running grid (databases first, then services one copy at a time, then regions). A patch contains only fixes. Removals and renames wait for a major. The rolling-upgrade test first runs when there is an earlier 10.x release to test against.
Known limits
- Windows is built and unit-tested, but no grid has been run on it. A region needs an administrator or a URL reservation to bind its port, and
grid initis Linux-only. On Windows's default timer, a region's heartbeat runs at about 25 frames a second instead of 31, as 0.9.45's did. - Two known differences from 0.9.45, subject to change in a later release:
- A vehicle moving steadily is sent to viewers about every 1.2 s; 0.9.45 sent about ten updates a second. Viewers extrapolate in between.
- With the same vehicle settings, the car preset turns about 12% tighter on Jolt.
- The open defects are listed in issue-triage.md.
- An OpenSim
.oarloads with some differences. - The air model is "close enough for fun": gliders and keelboats won't behave properly.
- Chat across region borders can't yet be made private per parcel.
- The instant-message bridge to phones is experimental and isn't included in the archives or images.
The full notes have the complete list.
Downloads
| File | Contents |
|---|---|
halcyon-10.0.0-linux-x64.tar.gz
| Self-contained Linux build of the processes and tools (hc-database, halcyon-admin)
|
halcyon-10.0.0-win-x64.zip
| The same for Windows |
halcyon-seed-10.0.0.tar.gz
| The Compose test grid's seed world |
SHA256SUMS
| Checksums of the files above |
Container images (linux/amd64 and linux/arm64), tagged 10.0.0 and never latest:
ghcr.io/halcyongrid/halcyon-{simulator,userserver,gridserver,messagingserver,aperture,inventoryserver,offlinemessages,gridpages,tools}:10.0.0
Full changelog: v0.9.45...v10.0.0