Skip to content

v1.0.0-beta.237

Choose a tag to compare

@github-actions github-actions released this 17 Nov 14:03
· 38 commits to main since this release
f2da409

Important 🚨

If you’re upgrading from an earlier version, deploy v1.0.0-beta.237 to all API servers, workers, and scheduled jobs before upgrading to a later release. This version prepares the notification database and lets OpenMeter read both legacy and versioned Event type names during the transition.

What's Changed

Exciting New Features 🎉

  • feat(ledger): preassign IDs for breakage bookkeeping by @GAlexIHU in #5252
  • feat(credits): filter grants by feature spendability by @GAlexIHU in #5317
  • feat: support negative amount in progressive billing by @borosr in #5325
  • feat(ledger): add spendable balances for FBO collection by @GAlexIHU in #5270
  • feat(api): expose booked and spendable credit balances by @GAlexIHU in #5316
  • feat(billing): add customer billing profile selection endpoint by @turip in #5357
  • feat(notifications): add Svix provider by @chrisgacsal in #5352
  • feat(creditgrant): add sorting to grant listing by @GAlexIHU in #5376
  • feat(api): add customer charge invoicing action by @turip in #5381
  • feat(notification): add v4 event registry [OM-565] by @gergely-kurucz-konghq in #5371
  • feat(notification): generate v4 event type definitions from TypeSpec by @gergely-kurucz-konghq in #5403
  • feat(notification): record v4 event type definition fingerprints [OM-566] by @gergely-kurucz-konghq in #5422
  • feat(ledger): stamp transaction groups with writer build metadata by @GAlexIHU in #5463
  • perf(customer): add trigram index for subject key contains filter by @gergely-kurucz-konghq in #5483
  • feat(kafka): support SSL security protocol and sslCaLocation by @gontarzpawel in #5445
  • feat(billing): add subscription sync v2 state persistence by @turip in #5514
  • feat(billing): add empty invoice mode to billing workflow settings by @borosr in #5529
  • feat(billing): track subscription revisions in cleanup sync state by @turip in #5538
  • refactor(billing): require subscription sync revisions by @turip in #5545
  • feat(billing): mark subscription changes in sync state by @turip in #5554
  • feat(notification): define the legacy Event types as v1 Event contracts by @gergely-kurucz-konghq in #5552
  • feat(billing): omit empty invoices from the invoicing app by @borosr in #5534

Bug Fixes 🐛

  • fix(subscription): default added items to plan currency by @GAlexIHU in #5275
  • fix(notification): return 400 for webhook validation failures by @GAlexIHU in #5278
  • fix(subscription): preserve legacy cadences during metadata resolution by @GAlexIHU in #5267
  • fix(billing): net amount discounts when delta rating progressive invoices by @borosr in #5297
  • fix(billing): preserve tax codes for v3 customer charges by @turip in #5328
  • fix(billing): expose pinned and effective customer profiles by @turip in #5342
  • fix: use sorted first tier for zero-usage graduated pricing by @arian-gogani in #5347
  • fix(billing): resolve persisted split history during invoice simulation by @turip in #5360
  • fix(ledger): collect credits at booking time by @GAlexIHU in #5294
  • fix(credits): use shared tax code helper in custom currency test by @chrisgacsal in #5364
  • fix(credits): support custom currencies in grant APIs by @GAlexIHU in #5318
  • fix(billing): net prior split discounts in legacy commitment history by @arian-gogani in #5367
  • fix(billing): bill the exact package count just under a boundary by @arian-gogani in #5372
  • fix(e2e): wait for worker Kafka subscriptions before tests by @turip in #5382
  • fix(billing): book deliberate zero detailed lines in delta rating by @borosr in #5361
  • fix(sdk): preserve optional TypeScript request bodies by @turip in #5383
  • perf(billing): optimize credit balance and history queries by @GAlexIHU in #5425
  • test(charges): reproduce missing refunds for fully funded mutable runs by @turip in #5374
  • fix(subscription): read view entitlements from the same item snapshot by @tothandras in #5429
  • perf(ledger): scope history and balance lookups by namespace by @GAlexIHU in #5431
  • fix(billing): set the line engine on simulated invoice lines by @gergely-kurucz-konghq in #5428
  • fix(billing): make profile reads transaction-aware by @eudaimos in #5433
  • Return labels on v3 plans and store plan add-on labels on create by @jgimbel in #5436
  • fix(app): prevent deadlock when rotating Stripe API keys by @turip in #5443
  • fix(stripe): skip Stripe delete for invoices without synced Stripe ID by @Tyagiquamar in #5444
  • fix(billing): recognize settled payments when retrying paid callbacks by @borosr in #5441
  • fix(billing): preserve trigger and charge context in invoice validation errors by @borosr in #5449
  • fix(charges): omit outstanding usage without a live reading by @GAlexIHU in #5451
  • fix(billing): stabilize invoice list pagination by @GAlexIHU in #5450
  • fix(charges): preserve trigger and charge context in unhandled invoice patch errors by @borosr in #5458
  • fix(ledger): return unused promotional credit to wash on void by @GAlexIHU in #5461
  • fix(ledger): include corrections in credit history by @GAlexIHU in #5195
  • fix(charges): allow attaching future manual usage-based lines to draft invoices by @borosr in #5480
  • fix(charges): schedule in-period credit_then_invoice usage charges for advancement by @borosr in #5489
  • perf(notification): use the annotations GIN index for balance hash lookups by @chrisgacsal in #5498
  • Optimize unpaginated queries and subscription charge lookups by @turip in #5501
  • perf(customer): index namespace-scoped list ordering by @tothandras in #5505
  • feat(billing): configurable minimum age for auto-advance candidates by @tothandras in #5507
  • perf(billing): index invoice line charge lookups by @tothandras in #5506
  • fix(customer): reject delete while a subscription has not ended by @tothandras in #5515
  • fix(billing): map invoice subscription ids onto the documented fields by @pcbeingused333 in #5464
  • fix(billing): track completed subscription deletion cleanup by @turip in #5516
  • fix(api): report the violated rule behind allOf validation errors by @tothandras in #5518
  • perf(notification): index delivery status lookups by event ID by @chrisgacsal in #5510
  • fix(billing): clean up subscriptions starting after customer deletion by @turip in #5531
  • perf(notification): make event delivery status loading opt-in by @chrisgacsal in #5532
  • fix(notification): use the v1 model alias in the consumer test by @chrisgacsal in #5539
  • feat(billing): record ended and skipped subscription sync results by @turip in #5548

Breaking Changes 🛠

Dependency Updates ⬆️

  • chore(deps): bump cirello.io/pglock from 1.16.2 to 1.17.0 by @dependabot[bot] in #5273
  • chore(deps): bump Svix to v2.8.0 by @chrisgacsal in #5276
  • chore(deps): bump source-map-js from 1.2.1 to 1.2.2 in /api/client/javascript by @dependabot[bot] in #5257
  • chore(deps): bump github.com/huandu/go-sqlbuilder from 1.43.0 to 1.44.0 by @dependabot[bot] in #5288
  • chore(deps): bump github.com/lmittmann/tint from 1.2.0 to 1.2.1 by @dependabot[bot] in #5287
  • chore(deps): bump github.com/redpanda-data/connect/public/bundle/free/v4 from 4.111.1 to 4.112.0 in /collector in the benthos group across 1 directory by @dependabot[bot] in #5286
  • chore(deps): bump the golang group across 2 directories with 1 update by @dependabot[bot] in #5282
  • chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.48.0 to 2.49.0 by @dependabot[bot] in #5299
  • chore(deps): bump github.com/confluentinc/confluent-kafka-go/v2 from 2.15.1 to 2.16.0 by @dependabot[bot] in #5298
  • chore(deps): bump github.com/rickb777/period from 1.2.1 to 1.3.0 by @dependabot[bot] in #5296
  • chore(deps): bump cirello.io/pglock from 1.17.0 to 1.18.0 by @dependabot[bot] in #5285
  • chore(deps): bump the otel group across 2 directories with 15 updates by @dependabot[bot] in #5281
  • chore(deps): bump the redis group across 1 directory with 2 updates by @dependabot[bot] in #5283
  • chore(deps): bump the benthos group across 1 directory with 2 updates by @dependabot[bot] in #5302
  • chore(deps): bump golang from 1.27.1-alpine3.23 to 1.27.2-alpine3.23 by @dependabot[bot] in #5306
  • chore(deps): bump github.com/shopspring/decimal from 1.4.0 to 1.5.0 by @dependabot[bot] in #5284
  • chore(deps): bump golang.org/x/text from 0.42.0 to 0.43.0 in the golang group across 1 directory by @dependabot[bot] in #5313
  • chore(deps): bump tonistiigi/xx from 1.9.0 to 1.10.0 by @dependabot[bot] in #5329
  • chore(deps): bump the prometheus group across 2 directories with 2 updates by @dependabot[bot] in #5312
  • chore(deps): bump github.com/go-chi/chi/v5 from 5.3.2 to 5.4.0 by @dependabot[bot] in #5314
  • chore(deps): bump github.com/getkin/kin-openapi from 0.149.0 to 0.150.0 by @dependabot[bot] in #5324
  • chore(deps-dev): bump pyright from 1.1.407 to 1.1.414 in /api/client/python/examples in the development-dependencies group across 1 directory by @dependabot[bot] in #5330
  • fix(python): require Python 3.10 and patched HTTP dependencies by @turip in #5334
  • fix(javascript): patch SDK tooling vulnerabilities by @turip in #5335
  • fix(api/spec): patch generation and test tooling vulnerabilities by @turip in #5336
  • fix(api/spec): upgrade TypeSpec to address output path traversal by @turip in #5337
  • chore(deps): bump github.com/invopop/gobl from 0.507.0 to 0.508.1 by @dependabot[bot] in #5338
  • chore(deps): bump github.com/invopop/gobl from 0.508.1 to 0.510.0 by @dependabot[bot] in #5344
  • chore(deps): bump the benthos group across 1 directory with 2 updates by @dependabot[bot] in #5359
  • chore(deps): bump github.com/shopspring/decimal from 1.5.0 to 1.6.0 by @dependabot[bot] in #5358
  • chore(deps): bump the production-dependencies group across 1 directory with 2 updates by @dependabot[bot] in #5378
  • chore(deps): bump the oapi-codegen group across 1 directory with 2 updates by @dependabot[bot] in #5406
  • chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.4 to 4.1.6 in /collector by @dependabot[bot] in #5402
  • chore(deps): bump github.com/samber/slog-multi from 1.8.0 to 1.9.0 in the samber group across 1 directory by @dependabot[bot] in #5415
  • chore(deps): bump certifi from 2026.10.19 to 2026.10.23 in /api/client/python in the production-dependencies group across 1 directory by @dependabot[bot] in #5427
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.22.0 to 2.23.0 in /collector by @dependabot[bot] in #5421
  • chore(deps): bump github.com/svix/svix-webhooks/v2 from 2.8.0 to 2.9.1 by @dependabot[bot] in #5440
  • chore(deps): bump the prometheus group across 2 directories with 1 update by @dependabot[bot] in #5439
  • chore(deps): bump the googlecloud group across 3 directories with 1 update by @dependabot[bot] in #5438
  • chore(deps): bump the k8s group across 1 directory with 3 updates by @dependabot[bot] in #5437
  • fix(deps): update brotli to v1.2.7 by @turip in #5459
  • chore(deps): bump alpine from 3.24.2 to 3.24.3 by @dependabot[bot] in #5411
  • chore(deps): bump the prometheus group across 2 directories with 1 update by @dependabot[bot] in #5455
  • chore(deps): bump github.com/confluentinc/confluent-kafka-go/v2 from 2.16.0 to 2.16.1 by @dependabot[bot] in #5448
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.22.0 to 2.23.0 by @dependabot[bot] in #5416
  • chore(deps): bump github.com/spf13/pflag from 1.0.10 to 1.1.0 by @dependabot[bot] in #5456
  • chore(deps): bump the benthos group across 1 directory with 2 updates by @dependabot[bot] in #5420
  • chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.49.0 to 2.50.0 by @dependabot[bot] in #5419
  • chore(deps): bump github.com/invopop/gobl from 0.510.0 to 0.511.1 by @dependabot[bot] in #5447
  • chore(deps): bump github.com/jackc/pgx/v5 from 5.11.0 to 5.12.0 in /e2e by @dependabot[bot] in #5473
  • chore(deps): bump github.com/jackc/pgx/v5 from 5.11.0 to 5.12.0 by @dependabot[bot] in #5472
  • chore(deps): bump github.com/huandu/go-sqlbuilder from 1.44.0 to 1.44.1 by @dependabot[bot] in #5417
  • chore(deps): bump Athenz to v1.12.39 in collector by @chrisgacsal in #5474
  • chore(deps): raise minimum Go patch versions by @chrisgacsal in #5475
  • chore(deps): use the grpcutil rootcerts fallback in collector by @chrisgacsal in #5476
  • chore(deps): update collector mockoidc to use go-jose v4 by @chrisgacsal in #5477
  • chore(deps): remove collector OpenTelemetry replacements by @chrisgacsal in #5478
  • chore(deps): bump the golang group across 2 directories with 1 update by @dependabot[bot] in #5482
  • chore(deps): bump collector gosnowflake to v2.3.0 by @chrisgacsal in #5491
  • chore(deps): bump Go to 1.27.4 and SDK minimum to 1.26.11 by @chrisgacsal in #5492
  • chore(deps): bump github.com/xdg-go/scram from 1.2.0 to 1.3.0 by @dependabot[bot] in #5494
  • chore(deps): bump alpine from 3.24.3 to 3.24.4 by @dependabot[bot] in #5523
  • chore(deps): bump github.com/xdg-go/scram from 1.3.0 to 1.4.0 by @dependabot[bot] in #5511
  • chore(deps): bump golang.org/x/tools from 0.51.0 to 0.52.0 in the golang group across 1 directory by @dependabot[bot] in #5541
  • chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.50.0 to 2.51.0 in the clickhouse group across 1 directory by @dependabot[bot] in #5542
  • chore(deps): bump github.com/redpanda-data/connect/public/bundle/free/v4 from 4.116.1 to 4.117.0 in /collector in the benthos group across 1 directory by @dependabot[bot] in #5543
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.23.0 to 2.23.1 in /collector by @dependabot[bot] in #5560
  • chore(deps): bump golang.org/x/text from 0.43.0 to 0.44.0 in the golang group across 1 directory by @dependabot[bot] in #5557
  • chore(deps): bump github.com/svix/svix-webhooks/v2 from 2.9.1 to 2.10.0 by @dependabot[bot] in #5559
  • chore(deps): bump github.com/go-co-op/gocron/v2 from 2.23.0 to 2.23.1 by @dependabot[bot] in #5558

Other Changes

  • test(billing): scaffold skipped charges compatibility suites by @turip in #5277
  • fix(deps): upgrade x/net to address critical HTTP/2 vulnerability by @turip in #5290
  • test(billing): migrate remaining compatibility suites to charges by @turip in #5293
  • feat(billing): validate invoice sanity before app handoffs by @turip in #5292
  • feat(api): v3 notification event resend takes channel references by @borosr in #5291
  • feat(billing): expand standard invoice sanity checks by @turip in #5320
  • refactor(billing): require invoice schema level 2 by @turip in #5323
  • refactor(billing): separate ordinary and legacy rating by @turip in #5326
  • fix(python): require patched certifi and monitor examples by @turip in #5327
  • chore(billing): archive and remove legacy invoice storage by @turip in #5332
  • fix(deps): update vulnerable SDK and notification emitter dependencies by @turip in #5340
  • refactor(billing): load split-line history as persisted facts by @turip in #5333
  • refactor(billing): resolve split-line history in the legacy engine by @turip in #5341
  • refactor(taxcode): unify tax code test env across suites by @borbelyr-kong in #5354
  • refactor(billing): remove embedded split-line history by @turip in #5356
  • refactor(billing): model customer profile assignments explicitly by @turip in #5348
  • feat(notifications): add provider types by @chrisgacsal in #5351
  • feat(ledger): add accounting diagnostics and balance telemetry by @GAlexIHU in #5304
  • refactor(test): expose tax code service only through TaxCodeEnv by @borbelyr-kong in #5377
  • docs(billing): document legacy progressive unit conversion discrepancy by @turip in #5375
  • refactor(api): add billing infix to v3 notification operation ids by @borosr in #5379
  • fix(api): fix lint for customer charge invoicing action by @borbelyr-kong in #5392
  • feat(server): share HTTP request attribute middleware by @turip in #5430
  • refactor(test): reference live tax codes in subscription example inputs by @borbelyr-kong in #5385
  • docs(config): document postgres poolMaxConns by @eudaimos in #5434
  • feat(taxcode): keep existing app mappings immutable on update by @borbelyr-kong in #5457
  • fix(deps): update dependencies by @tothandras in #5462
  • test(e2e): pin v1 taxConfig response shape across catalog, subscriptions, billing profiles and invoices by @borbelyr-kong in #5393
  • fix(api): require Go 1.26 for the v3 Go client by @tothandras in #5469
  • fix(api): generate the v3 Go client with Go 1.26 by @tothandras in #5471
  • feat(productcatalog): add read-side TaxCodeResolver with BatchResolve by @borbelyr-kong in #5368
  • feat(productcatalog): add tax code resolver factory with stripe code backfill by @borbelyr-kong in #5404
  • refactor(productcatalog): rate cards carry only a tax code reference by @borbelyr-kong in #5408
  • feat(notification): prepare Channel storage for rolling upgrades by @chrisgacsal in #5484
  • refactor(notification): support compatible Rule configuration storage by @chrisgacsal in #5485
  • feat(notification): prepare Event and delivery storage for rolling upgrades by @chrisgacsal in #5486
  • perf(charges): index non-final customer charge lookups by @turip in #5502
  • perf(apps): release sandbox invoice sequence locks early by @turip in #5503
  • perf(subscription): scope item lookups by namespace by @turip in #5504
  • refactor(billing): consolidate subscription sync by ID by @turip in #5512
  • refactor(api): separate legacy and v3 Go models from HTTP transports by @chrisgacsal in #5509
  • feat(productcatalog): allow inherited deleted tax codes, reject authored ones by @borbelyr-kong in #5500
  • feat(notification): return full legacy Event payloads from the v3 API by @gergely-kurucz-konghq in #5499
  • feat(notification): read versioned event types while preserving legacy writes by @chrisgacsal in #5546
  • feat(notification): leave schema annotations out of definition fingerprints by @gergely-kurucz-konghq in #5550
  • refactor(notification): generate Event contract types into api/v3/models by @gergely-kurucz-konghq in #5551
  • refactor(billing): billing profile and invoice default tax config reference a Tax Code by ID by @borbelyr-kong in #5549

New Contributors

Full Changelog: v1.0.0-beta.236...v1.0.0-beta.237