v2.0.0 #324
apexdodge
announced in
Announcements
v2.0.0
#324
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.
Hello everyone,
Raytha 2.0.0 is the first release of the 2.0 line. The admin is a React application, PostgreSQL is the only database, and the host runs on .NET 10.
Docker:
raythahq/raytha:2.0.0(alsolatest).What's changed
/raytha, from a bundle in the host. It uses the same cookie session and calls/raytha/api/adminand/raytha/api/auth. Old 1.5 admin URLs redirect to the new pages. Sign-in screens are part of the SPA. Error pages, logout, the SAML and JWT sign-in handoffs, theme export, and the function test runner are still Razor pages.jsonb,ILIKE) are used directly.VERSIONat the repo root is the product version (2.0.0), and/healthzreports it./healthzfor liveness and/healthz/readyfor Postgres and file storage.Breaking changes
Back up the database before upgrading. The
v2_0_0migration rewrites data, not only the schema. Rolling the migration back does not undo those rewrites, and 1.5 cannot read the converted dates. To go back to 1.5, restore the backup.Apply it by starting with
APPLY_PENDING_MIGRATIONS=true, or by runningdb/Postgres/v1_5_0_to_v2_0_0.sqlyourself and leaving that flag false. Both end on the same schema.m/d/yyyyor in the server's culture. Each date field's day/month order is inferred from its own values, and values are rewritten asYYYY-MM-DD, orYYYY-MM-DDTHH:MM:SSwhen they carried a time. This covers published content, drafts, revisions, and trash. A value that could be either order, or is not a recognizable date, is left unchanged and reported as aNOTICE(onlypsqlshows those). 2.0 reads a leftover value in the server's culture. One it cannot parse reads as an empty date, and the editor shows the stored text. The README has a query for leftovers.SameSite=Laxin every environment.TRUSTED_PROXIES. Unset means any peer is trusted. If clients can reach Raytha without going through your proxy, setnoneor list the proxies.Full upgrade notes are in the README, under "Upgrading from 1.5.0".
This discussion was created from the release v2.0.0.
All reactions