megachangelog
Improvement1.22.0

v1.22.0

Inngest v1.22.0 includes fixes for batch size enforcement and function orphaning after upgrades, a new CLI update notifier, performance improvements to batch partitioning, and security updates to dependencies.

Release Notes

  • #3871 fix(batching): Enforce batch size limits in the in-memory batching path.

    Enforce batch size limits in the in-memory batching.

  • #4143 fix(syncs): fix function orphaning on app resync after <v1.15 upgrade

    Inngest server: fix functions being orphaned (and runs/history pointing at a now-archived app) when re-syncing after upgrading from pre-v1.15. Legacy URL-keyed app rows are adopted in place by name on first re-sync.

  • #4185 feat: Add update notifier to select commands

    The CLI now automatically checks and notifies the user when there is an updated version available. The check will not run if any of the following environment variables are set to a truthy value (e.g. =1): INNGEST_NO_UPDATE_NOTIFIER, NO_UPDATE_NOTIFIER, DO_NOT_TRACK, CI. The update does not print when using the start or doctor commands or when using a non TTY input.

Migration Notes

  • #4143 fix(syncs): fix function orphaning on app resync after <v1.15 upgrade

    Goose database migration 000004_apps_unique_active_name.sql (sqlite) / 000006_apps_unique_active_name.sql (postgres) adds the partial unique index and pre-archives any pre-existing same-name duplicates (active row or row with most functions wins, losers get their name suffixed with their id so they remain reachable for manual recovery). No action required for clean installs. This cleanup should also remove classes of bugs that were possible before.

Changelog

๐Ÿš€ Features

  • Insights: Add stubs for new insights API endpoints (#4189)
  • Add update notifier to select commands (#4185)
  • Phase 1 scoring (#4170)

๐Ÿ› Bug Fixes

  • (syncs) Fix function orphaning on app resync after <v1.15 upgrade (#4143)
  • (pauses) Retry enqueueing edge after consuming pause (#4228)
  • (batching) Enforce batch size limits in the in-memory batching path. (#3871)
  • Add feature flag for enforcing state size limits (#4251)
  • Bulk canel bug (#4255)

๐Ÿ’ผ Other

  • (deps) Update pgx and goose (#4248)
  • (deps) Remove vulnerable docker module (#4249)

โšก Performance

  • (batch) Split batch partition into workspace-scoped partitions (#4236)

๐Ÿงช Testing

  • (connect) Forward regression test (#4214)

โš™๏ธ Miscellaneous Tasks

  • Add a concurrency safe marshal to state configs (#4256)

๐Ÿ›ก๏ธ Security

  • (npm) Address vulnerable npm dependencies (#4250)
batchingclidatabaseperformancesecuritybugfix

Source: original entry โ†—