Epistola 2.0.0 en GZAC-plugin 1.0: de eerste versies voor productie

Epistola 2.0.0 en GZAC-plugin 1.0 zijn uit. Na de alpha en de bèta zijn dit de eerste versies voor productie. Ze horen bij elkaar: plugin 1.0 werkt alleen met Epistola 2.0, en wie de plugin gebruikt, heeft voor Epistola 2.0 plugin 1.0 nodig.

:warning: Controleer dit vóór de upgrade:

  • Upgrade vanaf 1.5.x. Draait u een eerdere 1.x-versie, upgrade dan eerst naar de nieuwste 1.5.x.
  • Maak eerst een back-up. Een 1.x-installatie gaat in één migratie naar 2.0. Die migratie kan niet terug en verwijdert de 1.x-tabellen. 2.0.0 kan ook niet terug naar een 2.0-alpha of -bèta.
  • Pas REST-clients aan naar contract 2.0.0. Een API-sleutel gaat alleen nog mee als Authorization: ApiKey <sleutel>; de header X-API-Key wordt niet meer gelezen. Bestaande sleutels blijven werken, met dezelfde rollen.
  • Loop de rollen na. content-viewer leest geen gegenereerde documenten meer; daarvoor zijn er document-reader en document-generator.
  • Documenten staan alleen nog in PostgreSQL. Een installatie die S3 of het bestandssysteem gebruikt, start niet.
  • Content uit 1.x wordt gerenderd met de huidige standaardinstellingen, dus een brief kan er iets anders uitzien.
  • Met localauth start Epistola niet zolang een gebruiker nog het meegeleverde wachtwoord heeft. Stel LOCAL_AUTH_ADMIN_PASSWORD en LOCAL_AUTH_USER_PASSWORD in.

De upgradehandleiding beschrijft de stappen.

Nieuw in Epistola 2.0:

  • Catalogi hebben releases die u uitrolt naar omgevingen. U werkt in de volgende release van een catalogus. Bij publiceren krijgt die een versienummer op basis van wat er veranderd is, en ligt vast welke releases van andere catalogi hij gebruikt. Een fix op een gepubliceerde release verschijnt als patch. Documenten worden gegenereerd uit de release die een omgeving uitrolt.
  • Resources hernoemen en verplaatsen, ook tussen catalogi. Alles wat een resource gebruikt, wordt bijgewerkt.
  • Applicaties: een API-sleutel hoort bij een applicatie, en een applicatie kan zo worden ingesteld dat ze alleen haar eigen documenten ziet.
  • De REST API volgt contract 2.0.0: één stijl voor namen, paginering en fouten, en een fout van de client geeft een 4xx in plaats van een 500.
  • Ondersteuning: de verbinding met Epistola-support loopt over HTTPS in plaats van gRPC, en feedback heet nu supportverzoeken.
  • Taalcontrole (alpha): templates worden gecontroleerd op heldere taal, in het Nederlands en het Engels.
  • Verder: generatiestatistieken per tenant, opmaakopties voor containers, kolommen en tabelcellen, en veel kleinere verbeteringen en fixes.

GZAC-plugin 1.0.1: upgrade de plugin samen met Epistola. Installeer 1.0.1, voor backend en frontend: npm weigert het versienummer 1.0.0 voor de frontend, dus 1.0.1 is dezelfde release onder een nieuw nummer. Geef de API-sleutel van de plugin de rol document-generator naast content-viewer; zonder die rol kan de plugin gegenereerde documenten niet downloaden. Komt u van plugin 0.21? Lees dan eerst de upgradenotities in de release notes van de plugin.

Ondersteuning van 1.x: 1.5 krijgt nog beveiligings- en datafixes tot en met 12 februari 2027.

Helm-chart 2.0.0 installeert deze versie. Chart 2.x rolt Epistola 2.x uit, dus een installatie op chart 1.x blijft op Epistola 1.x tot u bewust overstapt.

Morgen, vrijdag 13 november, lopen we Epistola 2.0 door in de Community Call.

Release notes op GitHub: Epistola 2.0.0 · GZAC-plugin 1.0.1

English

Epistola 2.0.0 and GZAC plugin 1.0 are out. After the alpha and the beta, these are the first releases for production. They go together: plugin 1.0 only works with Epistola 2.0, and if you use the plugin, Epistola 2.0 needs plugin 1.0.

:warning: Check this before upgrading:

  • Upgrade from 1.5.x. On an earlier 1.x release, upgrade to the latest 1.5.x first.
  • Take a backup first. A 1.x installation moves to 2.0 in one migration. It cannot be undone and drops the 1.x tables. 2.0.0 cannot be rolled back to a 2.0 alpha or beta either.
  • Move REST clients to contract 2.0.0. An API key is sent only as Authorization: ApiKey <key>; the X-API-Key header is no longer read. Existing keys keep working, with the same roles.
  • Review roles. content-viewer no longer reads generated documents; document-reader and document-generator do.
  • Documents are stored in PostgreSQL only. An installation configured for S3 or the file system does not start.
  • 1.x content renders with the current rendering defaults, so a letter may look slightly different.
  • With localauth, Epistola does not start while a user still has the password it ships with. Set LOCAL_AUTH_ADMIN_PASSWORD and LOCAL_AUTH_USER_PASSWORD.

The upgrade guide has the steps.

New in Epistola 2.0:

  • Catalogs have releases you deploy to environments. You work in a catalog’s next release. Publishing numbers it from what changed and pins the releases of the other catalogs it uses. A fix to a published release is published as a patch. Documents are generated from the release an environment serves.
  • Rename and move resources, also between catalogs. Everything that uses a resource is updated.
  • Applications: an API key belongs to an application, and an application can be set to see only its own documents.
  • The REST API follows contract 2.0.0: one style for names, paging and errors, and a client mistake answers with a 4xx instead of a 500.
  • Support: the connection to Epistola support runs over HTTPS instead of gRPC, and feedback is now support requests.
  • Language checks (alpha): templates are checked for clear language, in Dutch and English.
  • Also: generation statistics per tenant, layout options for containers, columns and table cells, and many smaller improvements and fixes.

GZAC plugin 1.0.1: upgrade the plugin together with Epistola. Install 1.0.1, backend and frontend alike: npm refuses version number 1.0.0 for the frontend, so 1.0.1 is the same release under a new number. Give the plugin’s API key the document-generator role beside content-viewer; without it, the plugin cannot download generated documents. Coming from plugin 0.21? Read the upgrade notes in the plugin’s release notes first.

1.x support: 1.5 receives security and data fixes until 12 February 2027.

Helm chart 2.0.0 installs this release. Chart 2.x deploys Epistola 2.x, so an installation on chart 1.x stays on Epistola 1.x until you move deliberately.

Tomorrow, Friday 13 November, we walk through Epistola 2.0 in the Community Call.

Release notes on GitHub: Epistola 2.0.0 · GZAC plugin 1.0.1