Repository navigation
v2.0.0 #710
Pinned
luskaner
announced in
Announcements
v2.0.0
#710
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
What's Changed
Since last stable release
🎮 General
Ports.Bsis no longer lowercased).subtitleis sent asnullwhen omitted, matching the official responses, instead of an empty string.🖥️ Server
Warning
Do not port over the user data of a previous installation: let the server create
userDatafrom scratch. The ranked storage changed (season-scopedratingsand a newmmrtable) and an existingautomatch2.dbis not migrated: the server logs a schema error and disables match history and leaderboards. Deleteresources/userData/<game>/automatch2.db(and its-wal/-shmfiles) or the wholeuserDatafolder. Coming from a 2.0.0 prerelease older than Beta 3, this is the one manual step.Important
Coming from a 2.0.0 prerelease older than Beta 3, cloud assets moved from
resources/responses/cloud/<game>/toresources/responses/cloud/<game>/builtin/. Re-extract the server archive or move the existing files intobuiltin/, otherwise downloads of the bundled assets fail. A fresh installation is already correct.[Games.<game>.EmbeddedBattleServer]. The server can now start a Battle Server inside its own process when no external one is configured or discovered. This means for the 'Online-like' variant:Sign.Enabled), off by default. When on, the server re-signs catalogues it serves; users inSign.PlatformUserIdExceptionsget the opposite behavior. Signing allows for the catalogues to be dynamic. GenCert now generates the signing public and private keys. In order for the client to accept the new signature you must use AgeFakeSignature.dll from https://github.com/luskaner/ageServerLauncherCompanion.matchTypesare now resolved against the bundledautomatchMaps.jsonpool plus a per-gameautomatchQueues.jsonoverlay (ladder, rated, completion, ack, max players, advertisement match type), with per-title wire formats, FIFO queues, party units and reserved advertisements.getPersonalStatis now served for all four titles.rm_<map>scenarios, with party support.getAvailableCommunityEvents, a visible ladder reset every season while a per-queue hidden MMR survives it, and Quick Match search no longer cancelled by the party/session lobby. Map vetoes are now scoped to their own queue.Automatch.AssumeQueue = 'rm-solo'(or--assumeQueue rm-solo) pairs unknownmatchTypesas unrated 1v1 Random Map instead of rejecting the search. Off by default.challenges.json— including the Crucible masteries — as completed, using the official positional form (completionCount1,progress0,expiryTimenull). The loading bug that leftgetChallengeProgressempty is fixed:challenges.jsonis an array asset, not a signed one, so it never reached the challenge model before. Existing profiles are unlocked when they load (document version 2 renames the oldstatusfield and drops the-1expiry, which the client reads as already expired), andupdateProgressBatchedaccepts both the form-encoded and JSON payloads and never reverts a completed challenge. The parser accepts both the current wrapper[result, groups, definitions, signature]and the historical flat array, so the AoE II and AoM resources keep loading.[Replays]section (Enabled,MaxFileSize,MaxTotalSize,Expiry) replaces[BattleServerReplays]and theFolderkey is gone; enabled by default, 32 MB per replay, 1 GB per game, kept forever by default (-1s)./cloudfiles/is a real store with two areas underresources/responses/cloud/<game>/:builtin/for shipped assets (never evicted) andreplays/for uploads (evicted oldest-first). Downloads now also work for AoE IV and AoM; uploads are enabled for AoE II, AoE IV and AoM, and match history lists one entry per stored replay. Large uploads are no longer truncated (the body cap is raised and the read deadline extended up to 5 minutes based on the size limit),Accept-Rangesis sent again (it was misspelledAccept-Range) and downloads report the file name inx-ms-meta-filename./community/API, the unauthenticated counterpart of/game/, served on its official host and reachable without a session. The 18 documented endpoints are registered from the start, including the 6 that can only answer with an exact-shape stub (clans, achievements, the Steam proxy and the two upstream-404 ones), so no documented path ever 404s. Response shapes follow the live service where the wiki is outdated. Seeserver/README.mdanddocs/community-api-implementation.md./api/MatchContent/(upload and download endpoints). Configurable in theCustomFilessection. Matches can now be restored to be played. Thanks to @DrA1exencodedOptions,encodedSlots,maxPlayers,description), so the post-game screen rebuilds the slot layout.maxPlayersis the lobby capacity reported by the official service per title (16 AoE IV, 8 AoE II, 12 AoM).getNewsendpoint so the server can serve news to clients.is_newis now persisted per item instance instead of being rejected, which is what the client reports throughupdateItemAttributeswhen the player opens a reward. Rewards the server hands out by default are created already seen, so a fresh profile no longer shows every mastery portrait, monument or sigil with a new badge; the items document moves to version 1 and old profiles are migrated on load. Items whose definition does not declareis_newstill carry no attribute, matching the official inventory.Internet.IP(autoby default) to set a static WAN IP instead of relying of apify service. Only relevant if the server is accessed from the WAN side. Thanks to @bgstack15.Internet.Enabled(enabled by default) to disable the use of features that always require internet. Thanks to @bgstack15.lxzan/gwsinstead ofgorilla/websocket).simplayerIDs=[4294967295](unsigned "no sim player") failed to bind the whole form, soreportMatchanswered code 2 with no history entry, no ladder update and no replay./advertisement/updateno longer rewinds a started match, and the start time is only stamped once.customUpdates, unknown JSON keys (e.g.customScoring) survive, malformeditemUpdatesno longer reject the report, andstatGroupIDis resolved the same way in the notification and the history.reportMatchsuccess code is0again (verified against the 1.16.0 client).getChallengeProgressByProfileIDanswered with the caller's progress. The route was aFIXMEregistered againstgetChallengeProgress; it is now its own handler and answers with the requestedprofile_id(or an empty list when that profile is unknown). AoE IV is the only title that registers it.sourceandmtypeand never persists the transientis_newflag. Thanks to anonymous person.getTempCredentialsonly issues a SAS once the key exists, instead of leaving a live credential for every unknown key.statfails for any reason, not only when it does not exist.KeyUsageandExtKeyUsage; generated private keys are owner-only (0600).matchHistory.GetProfileByPlatformUserIDno longer converts an arbitraryuint64platform id toint64: any id abovemath.MaxInt64wrapped negative and could match an unrelated row, and it now reports not-found.communityEventkeeps the event type asint64instead of narrowing it toint.🎮 Launcher
CanUseInternet/--internet(defaulttrue) to disable the use of features that always require internet.CanUseDialogstofalse.arthurlive-release<N>-api.worldsedgelink.com, the domains the native client queries. Releases 1 and 2 are static and work offline; the rest are discovered via DNS when internet access is available (refs macOS support (steam 28/10/2026 buildID 26272505) #688).postAgentStartpolling is bounded and reports failure instead of hanging forever.hostsfile integrity: legacy owned comments are never revived on revert, an invalid or empty backup can never replace the file (it is rotated tohosts.bak.old-<timestamp>), an emptiedhostsis recovered from the backup, a custom hosts path no longer gets duplicated content, an over-limit line no longer drops the other entries, the temporary file is truncated to its written size and the backup is synced after copying. Thanks to @Chichimokers.0).userDatafolder and the GUI reads/writes the new[Replays]section.launcher-config flush-cachenow reports a failed file logger initialization instead of discarding the error silently, the waysetUpandrevertalready did.ShellExecuteExWno longer writes into a stack-allocated struct and releases the process handle.🖥️ Battle Server Manager
ValidDatalength checks.Developer changes
TestsCI workflow:go vetplusgo testfor every module on Linux and Windows, and-raceforcommonandserver.httptestcoverage for all server routes, models, playfab, textmoderation and WSS; matchmaking coverage (per-title profile table pinned against the captures, catalog pool/overlay validation, response goldens, an end-to-end pairing of two AoE I players, season/MMR and replay/chat route tests); dependency-injection refactors with their test suites across admin client, revert/executor, config-helper,runRoot, battle-server-manager and the rest of the modules; a benchmark for a full 1000-row leaderboard page in both orderings.common/bytesizeand is shared by the server and the configuration GUI, so the editor can no longer accept a value the server rejects. TheMaxFileSize/MaxTotalSize/Expiryvalidation is oneresolveSizeLimits.mergeBuildssorts the merged architecture lists, whose map iteration order madeTestGenerateConfigUniversalMacOSflaky on Linux.battleconfig, andNumberToInt64/BoolToNumberreplace the copies of the same conversions.AGENTS.mdadded with the contract a change must pass before it is considered done (gofmt, build, vet, tests and-race, the modernizers, the cross-GOOSvet and the signed-commit steps);DEVELOPMENT.mdrefreshed for Go 1.27, Node.js and GoReleaser v2.task buildnow builds only the host platform with--single-target;task buildwas renamed totask build-all.go.work; GitHub Actionssetup-gov6 → v7,setup-nodev4 → v7 with Nodelts/*instead of a pinned major, the legacy Windows 7 toolchain to1.27.4-1, and GoReleaser to v2.20.2 (both the action parameter and thetools/scriptsdependency).ageBattleServerv1.0.0 → v1.1.0,battle-server-broadcastv1.3.2 → v1.3.3,gorilla/websocket→lxzan/gws,pflagv1.0.10 → v1.1.0,modernc.org/sqlitev1.61.0 → v1.62.0,modernc.org/libcv1.80.1 → v1.81.2,modernc.org/memoryv1.12.1 → v1.13.0,charm.land/lipgloss/v2v2.0.6 → v2.1.1,goreleaser/chglogv0.7.4 → v0.7.5,goreleaser/nfpm/v2v2.48.0 → v2.49.0,klauspost/compressv1.20.3 → v1.20.4,puregov0.11.2 → v0.11.3 andgolang.org/x/crypto,/image,/sync,/sys,/term,/textbumped to their latest minors.changeme.exefrom the repository.restart: unless-stopped; the Docker entrypoint validates and quotesGAME_ID.AddCert's real error path, and results that cannot be acted upon now discarded explicitly.go fixran the Go 1.27 modernizers andgofmtis clean across the workspace.wsshandler dropsServerOption.WriteBufferSize(deprecated since gws v1.4.5 and ignored) and the unusedwriteMessagehelper.go vetfailures incommon/cmdlog(non-constant format strings) now that the tests run in CI..gitignorenow separatesgo.work.sumand adds coverage,.gocacheanduserData/patterns;go.workgets its missing trailing newline.matchTypeis nowuint16, so queue ids above 255 are preserved.ignorePid) to support Docker-like containers in host-like network mode.See Github differences in v1.15.6...v2.0.0
Help
Create an issue or look for other related issues.
This discussion was created from the release v2.0.0.
All reactions