Release v0.4.2
Orisun v0.4.2
Highlights
- Removed the redundant physical
event_typestorage column from PostgreSQL and SQLite event tables. event_typeremains part of the public API; saved events now use canonicaldata.eventTypeas the backend source of truth, and reads derive response event types from that JSON key.- Added automatic PostgreSQL and SQLite migrations that backfill legacy
event_typevalues intodata.eventTypebefore dropping the old column. - Added default event-type ordering indexes for faster
eventTypecriteria and latest-event lookups. - Updated EventStore docs, tutorial, and getting-started guides to describe the API/storage split clearly.
Upgrade Notes
- Existing PostgreSQL and SQLite deployments migrate automatically on startup.
- Back up production databases before upgrading, as the migration rewrites event storage shape by dropping the legacy
event_typecolumn after backfill. - Clients do not need to change request or response payloads; continue sending
event_typeand queryingeventTypein criteria.
Validation
go test ./sqlitego test ./postgresgo test ./...bun run buildfromdocs/
Installation
Linux
# All-backends binary for amd64
curl -L https://github.com/oexza/Orisun/releases/download/v0.4.2/orisun-linux-amd64 -o orisun
chmod +x orisun
# All-backends binary for arm64
curl -L https://github.com/oexza/Orisun/releases/download/v0.4.2/orisun-linux-arm64 -o orisun
chmod +x orisun
# PostgreSQL-only binary
curl -L https://github.com/oexza/Orisun/releases/download/v0.4.2/orisun-pg-linux-amd64 -o orisun-pg
chmod +x orisun-pg
# SQLite-only binary
curl -L https://github.com/oexza/Orisun/releases/download/v0.4.2/orisun-sqlite-linux-amd64 -o orisun-sqlite
chmod +x orisun-sqlitemacOS
# All-backends binary for amd64
curl -L https://github.com/oexza/Orisun/releases/download/v0.4.2/orisun-darwin-amd64 -o orisun
chmod +x orisun
# All-backends binary for arm64 (Apple Silicon)
curl -L https://github.com/oexza/Orisun/releases/download/v0.4.2/orisun-darwin-arm64 -o orisun
chmod +x orisunWindows
Download the appropriate binary from the assets below.
Docker
docker pull orexza/orisun:0.4.2
docker pull orexza/orisun:0.4.2-pg
docker pull orexza/orisun:0.4.2-sqliteChannel tags are also available: latest, pg, and sqlite.