Skip to content

PoracleNG Version Compatibility

PoracleWeb.NET requires PoracleNG 5.4.0 or newer. There is nothing to configure, and no feature switches on or off with the server's version.

5.4.0 is the minimum

PoracleWeb.NET still starts against an older PoracleNG, because refusing to start would take the whole site down over something an operator can fix in minutes. It logs an error at startup and the Versions card on Admin → Server settings says the server is too old. Beyond that it makes no allowance: it calls PoracleNG's /api/v2 routes for humans, profiles, areas, places and mutes with no v1 fallback, and a route that doesn't exist answers with a message naming the version it needs.

Upgrade PoracleNG before taking a PoracleWeb.NET release that requires a newer one. The upgrade guide covers the order of steps and the rule repair to run afterwards.

Which PoracleNG to run

PoracleNG doesn't publish git tags or GitHub releases. A release is its develop branch merged into main, and the latest image is built from main. 5.4.0 reached main on 10 November 2026 (jfberry/PoracleNG#361); before that it was only on develop, and main and latest were 5.2.1.

PoracleWeb.NET PoracleNG Status
This version 5.4.0 or newer: main or the latest image from 10 November 2026, or develop; images ghcr.io/jfberry/poracleng:latest and :develop Required. Tested against develop at 34421b82 (22 October 2026) and in production against develop at 97430191 (30 October 2026), whose /api/v2 is identical to the 5.4.0 release.
This version A develop build from 21–22 October 2026, before 34421b82 Works, except that rules on a profile number with no profile row stay out of Profile Overview and the rule repair scan (jfberry/PoracleNG#331).
This version 5.2.1 (main or latest pulled before 10 November 2026), or anything older Not supported. Startup logs an error, the Versions card says PoracleNG is too old, and most saves fail.
2.21.0 5.1.0 or newer, including 5.2.1 and 5.4.0 Supported. Quiet periods, editing saved places and alarm edits through /api/v2 need 5.2.0 or newer. Tested against 5.2.1 and against develop at 34421b82.
Earlier 2.x releases 5.1.0 or newer Supported up to 5.2.1. Not tested against 5.4.0; move to 2.21.0 first.
Experimental shiny line (ghcr.io/pgan-dev/poracleweb.net-experimental) feat/personal-shiny (jfberry/PoracleNG#255); image ghcr.io/jfberry/poracleng:feat-personal-shiny Closed; no further prereleases are planned. Its last build, 3.5.0-shiny.1, works with the shiny controls hidden on a PoracleNG without that pull request.

The PoracleWeb.NET images: ghcr.io/pgan-dev/poracleweb.net:<version> for each release (and latest for the newest), :beta for PoracleWeb.NET's own develop branch, which follows the "This version" rows.

Known differences between the combinations above:

  • This version can't create an invasion alarm limited to genderless grunts, and can't save an existing one, because PoracleNG's /api/v2 has no genderless value for invasions. It says so and changes nothing.
  • A fort-change alarm for Power Spots only (!fort station in the bot) doesn't appear on the web and can't be made there. PoracleNG's /api/v2 fort route takes pokestop, gym and everything and refuses station by design, so PoracleWeb.NET skips such a rule when it reads the list and logs it. The rule keeps working in the bot.
  • 2.21.0 against a PoracleNG with personal shiny: adding an alarm next to a personal one that differs only in its radius is refused, because 2.21.0 doesn't know PoracleNG counts the personal flag as part of a rule. Nothing is overwritten.
  • 2.21.0: start PoracleNG before PoracleWeb.NET. If PoracleWeb.NET starts while PoracleNG isn't answering, quiet periods stay unavailable until PoracleWeb.NET restarts. This version doesn't have that problem.

These results come from running PoracleWeb.NET's API test suite against each pairing on 22 October 2026, using the published images.

Why 5.4.0

PoracleNG 5.4.0 is the release that carries everything PoracleWeb.NET asked upstream for while working out how to stop reading and writing PoracleNG's database (jfberry/PoracleNG#328; the requests are listed under Upstream history). Supporting an older server meant keeping each workaround beside the code that replaced it, so the fallbacks were deleted instead of gated. What went in the first step, which covers humans, profiles, places, mutes and geocoding:

Removed What it did on an older PoracleNG
HumanRepository, ProfileRepository Listed and deleted humans, renamed profiles and wrote a new profile's areas and location straight into PoracleNG's tables. Admin list and delete now use GET /api/v2/humans and DELETE /api/v2/humans/{id}; rename and new-profile geography use the v2 profile, area and location routes
ProfileNumbering (list, create, re-list, diff) Worked out which number PoracleNG gave a new profile, because the create answered {"status":"ok"} and nothing else. The create now returns it
The v1 branch of every single-human call /api/humans/... and /api/profiles/... fallbacks behind a cached "v2 is absent" flag
MuteCapabilityService, PlaceUpdateCapabilityService, QuestPokecoinCapabilityService, CostumeCapabilityService Asked whether the server could do the thing before the SPA showed the control. Quiet periods, moving a saved place, Pokécoin quest rewards and costume filters are always offered
The legacy geocoder call Called the geocoder PoracleNG was configured with, as Nominatim, when PoracleNG had no /api/geocode routes
ProbePokestopEventsAsync Probed for the Pokéstop Events page on a server without it
Poracle:TrackingApiVersion (PORACLE_TRACKING_API_VERSION) Pinned the tracking surface for a fork whose version string lied. A leftover setting is ignored
Eleven PoracleV2Capabilities flags Each asked the server's /openapi.json whether one field or route existed. TrustedSetAreas went with the area writes

No call to the v1 tracking API is left in this application. Alert reads, creates, edits, deletes, bulk distance changes and the cleaning toggle are all v2 (the last two as a PATCH), with no fallback. User-drawn geofence names, including the ones an alert is limited to, reach PoracleNG through its /api/v2 routes with the trusted flag, which 5.4.0 carries; nothing is written straight to PoracleNG's database.

trusted also lifts PoracleNG's [tracking] max_areas and max_distance (jfberry/PoracleNG#346), so PoracleWeb.NET reads both from /api/config/poracleWeb and applies them itself, following PoracleNG's rules: an area list over max_areas is refused unless it only keeps or shrinks the list it replaces, a bulk radius change is cut to max_distance, and PoracleNG's admins and non-person destinations are exempt. A PoracleNG without #346 publishes neither value, and then nothing is limited here, which matches what it does itself.

How support is decided

Two probes, cached for five minutes. The mechanics are in Backend Patterns.

Signal Source Answers
Version GET /health Whether this server is known to be older than the minimum.
Published schema GET /openapi.json Which properties each V2*Rule declares, and the numeric bounds it publishes. The tracking proxy reads them so a property PoracleWeb.NET doesn't model is carried through an edit, and a value outside the server's own bound is refused before it's sent.

PoracleServerProfile.IsSupported is true when PoracleNG answered and its version is not below MinimumSupported. An unparseable version, or the 0.0.0 a locally built binary reports because its build flags were never injected, counts as current: a build of today's source is newer than 5.4.0, and hiding features from it on a guess helps nobody. An unreachable server is not supported.

GET /health also carries a capability map, which covers bot and template-editor features and nothing about alarms. A missing key there means unsupported, PoracleNG's own contract for the map, so reaching for Supports() to answer an alarm question quietly answers false forever.

What still depends on the server

Feature Signal Needs
Alarm reads and deletes through /api/v2 A plaintext 404 only (no version gate) A PoracleNG that serves the v2 routes. There is no v1 fallback: a route that answers gin's plaintext 404 page not found raises PoracleUnsupportedException. Deletes of a rule outside the active profile are re-issued with ?profile=N, since v2 only deletes on the active one
Alarm creates and edits through /api/v2 A plaintext 404 only (no version gate) A PoracleNG that serves the v2 routes, including dry_run on a create and 409 on a colliding edit. There is no v1 fallback: a plaintext 404 raises PoracleUnsupportedException("saving alarms", ...), and a row the translator can't express is refused rather than sent elsewhere
Pokéstop-event tracking (incident) Poracle's own general.disable_showcase Only true hides the page. Absent or unreadable leaves it on
Pokemon edit-in-place Poracle's tracking.pokemon_edit config The key true. Absent or unreadable hides the toggle
Translated grunt display names Response field A /api/masterdata/grunts entry carrying grunt_type and short_name
Rule descriptions on alarm cards Response field Any v2 read

The flags IPoracleV2SchemaService used to answer (profile create returning its number, rename through PATCH, the admin human routes, trusted setAreas) went with 5.4.0, which carries all of them. The one flag left, InvasionGruntType, is still parsed but nothing reads it. What the schema still decides is the per-rule property list and bounds above, which the tracking proxy reads from /openapi.json itself and caches.

SummaryCapabilityService and PokemonEditCapabilityService answer from Poracle's configuration, not from the version, because quest summary delivery and pokemon edit-in-place are deployment settings an operator can switch off on a server that supports them. Pokéstop Events are decided by UpstreamFeatureFlagService for the same reason, with disable_showcase.

There is deliberately no central registry. A registry was written and abandoned, because the per-feature shape already existed and two mechanisms answering one question is how one of them ends up being the one nobody updates.

Costume names come from PoracleNG's /api/masterdata/costumes?locale=, which 5.4.0 added beside monsters and grunts. PoracleWeb.NET reads it for the interface language, drops the "Unset" entry (the picker has its own "no costume" choice) and any name PoracleNG left as a bare costume_{id} key, and hands the SPA the same id-to-name map it always had. A language PoracleNG has no costume strings for comes back English from it. When PoracleNG is unreachable or answers nothing usable, the names fall back to the raw WatWowMap masterfile PoracleNG itself downloads, so a costume too new for either shows as its number.

TrackingFieldPreserver carries forward every stored field PoracleWeb.NET has no model for on an edit, and bulk distance and cleaning send only the field they change, so a field set with the bot survives a web edit whatever the server is.

Rule descriptions belong on this list too. A v2 tracking read takes ?include_descriptions=true and returns a description on each rule, the same sentence PoracleNG's bot answers a !pokemon command with. It is easy to conclude otherwise: description is not on the named V2PokemonRule request schema, and the response envelope that carries it is an inline object under rules.items rather than a named component, so a search of components/schemas finds nothing. Resolve V2ListOutput...Body.properties.rules.items before believing a field is absent.

Reading and deleting an existing rule is never gated, only creating one. A rule can already exist (set with the bot, or left behind by a downgrade), and a row nobody can see is a row nobody can delete.

When a request cannot be served

On a server below 5.4.0 a human, profile, area, place or geocode route answers gin's plaintext 404 page not found. Telling that apart from a real "not found" is the whole job: PoracleProblemDetails.IsProblemJson says whether the body is PoracleNG's own answer. A problem+json 404 keeps its meaning (no such human, no such profile, nothing at this coordinate). A plaintext one throws PoracleUnsupportedException(feature, "PoracleNG 5.4.0"), and the global PoracleUnsupportedExceptionFilter turns it into 409 Conflict:

{
  "error": "This PoracleNG does not support listing areas. It requires PoracleNG 5.4.0.",
  "feature": "listing areas",
  "requires": "PoracleNG 5.4.0"
}

409 rather than 403 on purpose. The 403 branch belongs to disable_* site settings and keys off a disableKey in the body; borrowing it would put an operator's switch and a version shortfall behind the same toast, and the version shortfall has the one detail worth reading in it. 409 has no interceptor branch, so it falls through to the caller, which shows the message beside the control that caused it (the same route TrackingConflictExceptionFilter takes). Address search is the exception: its caller swallows the 409, so on a too-old server the search just returns nothing.

A separate filter, PoracleUnreachableExceptionFilter, answers 503 with a message when PoracleNG cannot be reached at all. It is applied to the mute and location controllers and to all eleven alarm controllers, where a failed read used to look like an empty answer: a quiet-period chip claiming nothing is quiet, or a places list that said the user had none.

Throw PoracleUnsupportedException from the service layer, not from a controller. Quick-pick apply, profile duplicate and profile import all reach the alarm services without passing an action that could have checked first.

Adding a feature that needs a newer PoracleNG

  1. Raise the minimum, or gate on what the server publishes. A feature every supported server has needs no gate. One that only some do goes through IPoracleV2SchemaService: add a typed question, read it from the target's /openapi.json, answer false when the document cannot be read. Don't add a version compare; the minimum is the only version PoracleWeb.NET checks.
  2. Write a small per-feature service if the SPA needs to ask, shaped like ISummaryCapabilityService: one method, one question, answering false when it cannot tell.
  3. Guard the service write path, on create, update and bulk alike, and throw PoracleUnsupportedException(feature, requires) with words the user can act on.
  4. Give the SPA a way to ask. GET /api/admin/server-profile is admin-only, so it cannot be the answer for a user-facing control. An ordinary authenticated endpoint answers instead, like GET /api/summary-schedules/capability.
  5. Prefer hiding the control to disabling it with an explanation. There is nothing the user can do about their operator's PoracleNG version.
  6. Add a row to the table above.

Raising the minimum again

Move PoracleServerProfile.MinimumSupported, then delete what only the old floor needed, as 5.4.0 did. Before deleting a fallback, ask whether it is there for the old version or for a server that answers differently today. The plaintext-404 handling on each v2 route was the first kind, which is why it now throws PoracleUnsupportedException everywhere rather than falling back.

Things that look like they differ between versions and do not

These are the ones most likely to send you writing a check that buys nothing.

The v1 API is frozen. Its release notes describe RFC 9457 application/problem+json error bodies and 422 status codes, and those are real, on /api/v2 only. A v1 tracking POST for a user that does not exist answers {"message":"User not found","status":"error"}; a malformed v2 path parameter answers 422 with Content-Type: application/problem+json and an errors array. Assuming the new shapes applied everywhere cost a wrongly framed issue and pull request. Each proxy reads errors through PoracleProblemDetails, which handles both dialects. See PoracleNG API Proxy.

Do not take active_hours day numbering from PoracleNG's OpenAPI schema. On older builds V2ActiveHourEntry.day was declared minimum: 0, maximum: 6 and described as "0=Sunday … 6=Saturday". The scheduler uses ISO weekdays, Monday 1 through Sunday 7 (isoDow in processor/cmd/processor/profiles.go), and PoracleWeb.NET validates 1 to 7. ProfileController.ValidateActiveHours is the place that would be wrong if somebody "fixed" it against a stale document.

The /health capability map is not where alarm features appear. It covers bot and template-editor features (buttons, snapshots, autocreate, tomlDts, costume, customMaps and the like) and says nothing about incidents or mutes. Reaching for Supports() for an alarm feature will quietly answer false forever.