Skip to content

Release v0.4.2

Choose a tag to compare

@github-actions github-actions released this 22 Jun 15:33

Orisun v0.4.2

Highlights

  • Removed the redundant physical event_type storage column from PostgreSQL and SQLite event tables.
  • event_type remains part of the public API; saved events now use canonical data.eventType as 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_type values into data.eventType before dropping the old column.
  • Added default event-type ordering indexes for faster eventType criteria 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_type column after backfill.
  • Clients do not need to change request or response payloads; continue sending event_type and querying eventType in criteria.

Validation

  • go test ./sqlite
  • go test ./postgres
  • go test ./...
  • bun run build from docs/

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-sqlite

macOS

# 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 orisun

Windows

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-sqlite

Channel tags are also available: latest, pg, and sqlite.