Releases: openmeterio/openmeter
Releases · openmeterio/openmeter
v1.0.0-beta.229
What's Changed
Exciting New Features 🎉
- feat(spec): update v3 spec by @tothandras in #4381
- feat(ledger): add tax code and tax behavior to ledger types by @mark-vass-konghq in #4291
- feat(statemachine): promotional credit purchase statemachine by @mark-vass-konghq in #4457
- refactor(billing): remove detailed line tax config domain by @turip in #4460
- feat(sdk): generate TypeScript SDK for the AIP spec by @tothandras in #4469
Bug Fixes 🐛
- fix: sync deleted subscriptions at least once by @turip in #4382
- fix: child unique reference handling by @turip in #4385
- fix: credit then invoice config name by @turip in #4398
- fix: repair rebased migrations by @turip in #4400
- Fix CTI ledger booking timestamps by @turip in #4397
- fix: ent reset list logic by @GAlexIHU in #4406
- chore: fix taxcode conflicts by @turip in #4408
- fix: missing error mapping on conflict by @chrisgacsal in #4426
- fix(api): masking service errors as conflict by @chrisgacsal in #4425
- fix: gathering preview totals for charge lines by @turip in #4458
- fix(billing): merge tax-code Stripe+ID atomically by @borbelyr-kong in #4467
- fix(ledger): lock accrued account postings by @GAlexIHU in #4476
- fix(taxcode): dedupe tax_codes by app mapping by @borbelyr-kong in #4448
- fix(ledger): hydrate tax behavior by @GAlexIHU in #4475
Deprecations ❌
Dependency Updates ⬆️
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.21.1 to 2.21.2 by @dependabot[bot] in #4393
- chore(deps): bump github.com/invopop/gobl from 0.402.0 to 0.403.0 by @dependabot[bot] in #4404
- chore(deps): bump github.com/IBM/sarama from 1.48.1 to 1.48.2 by @dependabot[bot] in #4403
- chore(deps): bump google.golang.org/grpc from 1.81.0 to 1.81.1 in the googlecloud group by @dependabot[bot] in #4402
- chore(deps): bump alpine from 3.23.2 to 3.23.4 by @dependabot[bot] in #4416
- chore(deps): bump github.com/ThreeDotsLabs/watermill from 1.5.1 to 1.5.2 by @dependabot[bot] in #4407
- chore(deps): bump golang from 1.25.5-alpine3.23 to 1.26.3-alpine3.23 by @dependabot[bot] in #4417
- chore(deps): bump github.com/go-git/go-git/v5 from 5.19.0 to 5.19.1 by @dependabot[bot] in #4388
- chore(deps): bump github.com/svix/svix-webhooks from 1.92.2 to 1.93.0 by @dependabot[bot] in #4360
- chore(deps): bump github.com/getkin/kin-openapi from 0.137.0 to 0.138.0 by @dependabot[bot] in #4367
- chore(deps): bump idna from 3.11 to 3.15 in /api/client/python by @dependabot[bot] in #4386
- chore(deps): bump github.com/apache/thrift from 0.22.0 to 0.23.0 by @dependabot[bot] in #4323
- chore(deps): bump github.com/redpanda-data/connect to v4.78.1 by @chrisgacsal in #4420
- chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.4 to 3.0.5 by @dependabot[bot] in #4421
- chore(deps): bump github.com/aws/aws-sdk-go-v2/service/bedrockruntime from 1.41.0 to 1.50.4 by @dependabot[bot] in #4423
- chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp from 1.39.0 to 1.43.0 by @dependabot[bot] in #4422
- chore(deps): bump github.com/docker/cli from 28.4.0+incompatible to 29.2.0+incompatible by @dependabot[bot] in #4428
- chore(deps): bump github.com/containerd/containerd from 1.7.27 to 1.7.32 by @dependabot[bot] in #4429
- chore(deps): bump github.com/go-git/go-git/v5 from 5.16.3 to 5.19.1 in /collector by @dependabot[bot] in #4430
- chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.88.4 to 1.97.3 in /collector by @dependabot[bot] in #4432
- chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.4 to 3.0.5 in /collector by @dependabot[bot] in #4443
- chore(deps): bump github.com/svix/svix-webhooks from 1.93.0 to 1.94.0 by @dependabot[bot] in #4440
- chore(deps): bump github.com/oapi-codegen/runtime from 1.4.0 to 1.4.1 in the oapi-codegen group across 1 directory by @dependabot[bot] in #4446
- chore(deps): bump the benthos group across 1 directory with 2 updates by @dependabot[bot] in #4439
- chore(deps): bump github.com/IBM/sarama from 1.48.2 to 1.49.0 by @dependabot[bot] in #4441
- chore(deps): bump sigs.k8s.io/controller-runtime from 0.23.3 to 0.24.1 in /collector by @dependabot[bot] in #4442
- chore(deps): bump github.com/ClickHouse/ch-go from 0.71.0 to 0.72.0 by @dependabot[bot] in #4451
- chore(deps): bump the k8s group across 1 directory with 3 updates by @dependabot[bot] in #4450
- chore(deps): bump github.com/redpanda-data/connect/public/bundle/free/v4 from 4.92.0 to 4.93.0 in /collector in the benthos group across 1 directory by @dependabot[bot] in #4455
- chore(deps): bump github.com/getkin/kin-openapi from 0.138.0 to 0.139.0 by @dependabot[bot] in #4456
- chore(deps): bump the redis group across 1 directory with 2 updates by @dependabot[bot] in #4479
- chore(deps): bump the otel group across 1 directory with 15 updates by @dependabot[bot] in #4480
- chore(deps): bump the prometheus group across 2 directories with 1 update by @dependabot[bot] in #4482
- chore(deps): bump github.com/svix/svix-webhooks from 1.94.0 to 1.95.1 by @dependabot[bot] in #4484
Other Changes
- feat(taxcode): create tax codes on namespace create & set defaults by @borbelyr-kong in #4390
- feat(charges): apply namespace default tax codes on charge create by @borbelyr-kong in #4396
- feat(taxcode): add default guard to DeleteTaxCode by @borbelyr-kong in #4405
- chore(api): refactor names and patch typespec by @tothandras in #4411
- refactor: mv collector to subpackage by @chrisgacsal in #4424
- feat: add stacktrace to panics by @chrisgacsal in #4438
- chore: log API binding errors as warnings by @turip in #4452
- chore: simplify featuregate interface by @borosr in #4454
- feat: add credit enabled feature gate for v1 product catalog endpoints by @rolosp in #4459
- chore: update CodeGraph startup guidance by @GAlexIHU in #4466
- fix(telemetry): instrument v3 API routes with tracing by @gergely-kurucz-konghq in #4468
Full Changelog: v1.0.0-beta.228...v1.0.0-beta.229
v1.0.0-beta.228
What's Changed
Security Fixes 🚨
- fix(sec): sql injection in validate jsonpath query (CVE-2026-8462) by @chrisgacsal in #4383
Exciting New Features 🎉
- feat(api): Add currencies v3 api spec by @mark-vass-konghq in #3883
- feat(ent): Add custom currencies to the database schema by @mark-vass-konghq in #3888
- feat(api): add optional
atquery param to V1 grant void endpoint by @GAlexIHU in #3912 - feat(api): Add API Handlers to the v3 currencies API by @mark-vass-konghq in #3891
- feat(credit): credit purchase charges by @GAlexIHU in #3925
- feat(api): meter query v3 by @tothandras in #3918
- feat(llmcost): add by @hekike in #3905
- feat(api): add meter query v3 handler by @tothandras in #3927
- fear(api): v3 feature cost by @hekike in #3932
- feat(entitlement): add grant balances to v2 entitlement value api by @GAlexIHU in #3922
- feat(llmcost): alias request and response token types by @hekike in #3953
- feat(cost): normalize query by @hekike in #3954
- feat(api): v3 feature endpoint types by @rolosp in #3972
- feat(feature): migrate meter_slug to meter_id by @hekike in #3987
- feat(api): added price types by @rolosp in #3982
- feat(ledger): chargeadapters by @GAlexIHU in #3963
- feat(api): v3 feature handlers and unit config by @hekike in #3986
- feat(api): credits API specification by @tothandras in #3938
- feat(backend): implement invoice settlement mode for credits by @mark-vass-konghq in #3976
- feat(api): add csv response to post meter query by @tothandras in #4004
- feat(api): ratecard type introduction to v3 productcatalog types by @rolosp in #3994
- feat: refactor charges common meta to use mixins by @turip in #3995
- feat(ent): Add settlement mode for subscription and plan schemas by @mark-vass-konghq in #4005
- feat(feature): unit cost update api by @hekike in #3962
- feat: implement credits-only flat fee handling by @turip in #4009
- feat: subscription sync semantic patching by @turip in #4014
- feat(backend): add settlement mode to internal types by @mark-vass-konghq in #4013
- feat(llmcost): add source filter to list prices and overrides API by @hekike in #4022
- feat(api): added plan and addon operations by @rolosp in #4015
- feat: subs sync charge create by @turip in #4024
- feat(api): Add settlement mode to v1 api by @mark-vass-konghq in #4029
- feat: add support for negative credit allocations by @turip in #4035
- feat(api): add settlement mode to v1 api handlers by @mark-vass-konghq in #4044
- feat: credit priority and effective at by @turip in #4066
- feat(api): credit grants handler by @tothandras in #4075
- feat: charges list api by @turip in #4085
- refactor: use helpers for converting labels by @chrisgacsal in #4097
- feat: invoice calculation hook by @turip in #4116
- feat: support AIP filtering by @tothandras in #4117
- chore: allow enabling credit then invoice seperately by @turip in #4136
- feat: book invoice accrued for usagebased items by @turip in #4144
- feat(api): plan and planaddon handlers by @rolosp in #4041
- feat(api): add charges list api http handler by @mark-vass-konghq in #4103
- feat: implement realtime expand by @turip in #4155
- feat: implement external payment endpoints by @turip in #4158
- refactor: evaluating entitlement balance thresholds by @chrisgacsal in #4162
- feat(api): add update meter api spec by @mark-vass-konghq in #4168
- feat: payment settlement by @turip in #4154
- feat(api): UpdateMeter implementation by @mark-vass-konghq in #4169
- feat: usagebased payment flows by @turip in #4179
- feat(api): add-ons v3 by @chrisgacsal in #4138
- feat(api): add aip filters to meters api by @mark-vass-konghq in #4170
- feat(features): add meter id filter option to the list endpoint by @borosr in #4164
- feat(api): add csv support for v3 meter query by @tothandras in #4196
- feat(features): add key and name filters and sort to the features list operation by @borosr in #4204
- feat[charges]: skaffold progressive billing support by @turip in #4203
- feat(api): add v3 list events endpoint by @tothandras in #4211
- feat: short collection by @turip in #4215
- feat(api): add validation errors to v3 ingested events by @tothandras in #4222
- feat(charges): add tax code by @mark-vass-konghq in #4237
- feat(api): add tax id and tax behavior to charges list api by @mark-vass-konghq in #4263
- feat(billing): scaffold usage based charge lifecycle mapping by @turip in #4297
- feat(api): update aip field filter types by @tothandras in #4301
- feat(test) Charge tax config carryover by @mark-vass-konghq in #4287
- chore: add credits api extensions by @turip in #4311
- feat: app stripe credits support by @turip in #4315
- feat: credit then invoice delete by @turip in #4327
- feat: add extend support for usage-based charges [credit_then_invoice settlement mode] by @turip in #4333
- feat(api): typed feature meter reference by @tothandras in #4332
- feat(api): add v3 customer and subscription list filters by @tothandras in #4336
- chore: usagebased credit-then-invoice [shrink] by @turip in #4339
- chore: flat-fee run support by @turip in #4350
- feat: add flat fee credit-then-invoice lifecycle by @turip in #4351
- feat(credit_then_invoice): flat fee shrink/expand by @turip in #4357
- refactor: add generic feature resolver with ratecard support by @chrisgacsal in #4353
Bug Fixes 🐛
- fix(ent): 500 on negative value with V2 API by @GAlexIHU in #3870
- fix: invoiceline splitgroup is not marshalable by @turip in #3875
- fix: fix cost-basis list api handler by @mark-vass-konghq in #3924
- fix: regression in gathering invoice rendering by @turip in #3939
- fix(plan): add validation for metered entitlement template by @tothandras in #3946
- fix(api): delete encoders by @tothandras in #3950
- fix(sink): tracing by @tothandras in #3967
- fix(sink): fix flush error handling by @tothandras in #3968
- fix: improve server timeout handling by @turip in #3980
- fix(credit): snapshotting concurrency by @GAlexIHU in #3997
- fix(cost): query with not found llm cost by @hekike in https://github....
v1.0.0-beta.227
What's Changed
Exciting New Features 🎉
- feat(api): add app endpoints to v3 api by @gergely-kurucz-konghq in #3782
- feat(api): v3 stripe customer session handlers by @gergely-kurucz-konghq in #3784
- feat(clickhouse): better precision queries by @tothandras in #3828
Bug Fixes 🐛
- fix: add v3 server post auth middleware by @gergely-kurucz-konghq in #3796
- fix: mark invoice invalid if meters are missing by @turip in #3805
- fix: allow lookups on deleted customers for entitlements by @turip in #3829
- fix(clickhouse): fallback to zero when null for sum aggregation by @tothandras in #3830
- fix: subscription sync by @turip in #3837
- fix(api): list customers order by createdAt by @tothandras in #3836
- fix: emulate metadata on standard invoice queries by @turip in #3842
- fix(api): custom invoicing map triggers by @tothandras in #3848
- chore: only fetch ubp lines by @turip in #3852
- fix(api): customer entitlement override status code by @tothandras in #3857
- fix(collector): recover leader election after etcd or kubernetes API issues by @tothandras in #3861
Dependency Updates ⬆️
- chore(deps): bump github.com/invopop/gobl from 0.304.2 to 0.305.1 by @dependabot[bot] in #3780
- chore(deps): bump github.com/rickb777/period from 1.0.21 to 1.0.22 by @dependabot[bot] in #3781
- chore(deps): bump golang.org/x/text from 0.32.0 to 0.33.0 in the golang group by @dependabot[bot] in #3786
- chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.4.0 to 2.5.0 by @dependabot[bot] in #3792
- chore(deps): bump github.com/oliveagle/jsonpath from 0.0.0-20180606110733-2e52cf6e6852 to 0.1.0 by @dependabot[bot] in #3806
- chore(deps): bump github.com/go-chi/chi/v5 from 5.2.3 to 5.2.4 by @dependabot[bot] in #3800
- chore(deps): bump github.com/invopop/gobl from 0.305.1 to 0.306.0 by @dependabot[bot] in #3820
- chore(deps): bump github.com/ClickHouse/ch-go from 0.69.0 to 0.70.0 by @dependabot[bot] in #3825
- chore(deps): bump sigs.k8s.io/controller-runtime from 0.22.4 to 0.23.0 by @dependabot[bot] in #3819
- chore(deps): bump github.com/huandu/go-sqlbuilder from 1.38.2 to 1.39.0 by @dependabot[bot] in #3818
Other Changes
- fix(nix): disable nix xcbuild as a workaround by @GAlexIHU in #3783
- feat: add clickhouse pool metrics by @turip in #3787
- fix: deepcopy/merge for Annotations by @chrisgacsal in #3790
- fix(api): update v3 billing profile handlers by @tothandras in #3791
- fix: make sure billing profile references a single app by @turip in #3793
- refactor: split line manipulation should use invoice API by @turip in #3788
- chore: migrate detailed lines to new schema pt1 by @turip in #3798
- chore: use meter service from invoice svc by @turip in #3821
- feat: remove PrepareForCreate from line service by @turip in #3823
- refactor: move line snapshot logic to line service by @turip in #3824
- refactor: simplify line service by @turip in #3807
- feat: do not resolve customer for entitlements on each query by @turip in #3826
- chore(client): update npm dependencies by @tothandras in #3832
- refactor: start implementing gathering invoice by @turip in #3804
- refactor: pricer billable period cleanup by @turip in #3843
- chore: move invoice pending lines to gathering types by @turip in #3847
- refactor: splitlinegroup gathering types by @turip in #3851
- feat: add gathering/standard invoice update functions by @turip in #3860
Full Changelog: v1.0.0-beta.226...v1.0.0-beta.227
v1.0.0-beta.226
What's Changed
Exciting New Features 🎉
- feat(entitlement): expose TotalAvailableGrantedAmount by @GAlexIHU in #3556
- chore: remove redis based highwatermark cache by @turip in #3605
- feat(multi-subject): entitlement subjects by @GAlexIHU in #3576
- feat: allow setting key prefix for progress manager by @turip in #3615
- feat(streaming): lookup usage by customer key and subjects by @hekike in #3178
- feat: add annotations and metadata to meter by @chrisgacsal in #3626
- feat: add clickhouse retries by @turip in #3691
- feat: persist sync state by @turip in #3711
Bug Fixes 🐛
- fix(sdk): javascript client customer stripe method by @tothandras in #3597
- fix: event reconcile by @chrisgacsal in #3598
- chore: fix no migrations to run error by @turip in #3599
- fix: notification channel state out-of-sync by @chrisgacsal in #3600
- fix: delivery status sync by @chrisgacsal in #3604
- fix: issueAfterReset and Grants used together error by @chrisgacsal in #3609
- fix: validation of max rules per channel by @chrisgacsal in #3625
- fix(subs): use correct timing validation by @GAlexIHU in #3637
- fix: fix draftuntil logging by @GAlexIHU in #3638
- fix: allow entitlement and subscription creation if customer has no subjects assigned by @GAlexIHU in #3642
- fix: streaming customer validations by @GAlexIHU in #3643
- fix: validate params in param validation by @GAlexIHU in #3644
- fix(planaddon): max quantity of plan add-on by @chrisgacsal in #3655
- fix: use correct defaults by @GAlexIHU in #3660
- fix: validate features before publishing plans/add-ons by @chrisgacsal in #3661
- fix: static entitlement deserialization by @GAlexIHU in #3701
- fix(pc): resolve only active features by @chrisgacsal in #3716
- fix(api): static entitlement mapping by @chrisgacsal in #3726
- fix(stripe): client array allocation by @hekike in #3732
- fix(billing): support customers without subjects by @hekike in #3734
- fix(stripe): invoice sync line limit by @hekike in #3737
- fix(invoice): customer usage attribution by @hekike in #3739
- fix: entitlement config compare by @chrisgacsal in #3741
- fix(meterexport): allow groubpys by @GAlexIHU in #3689
- fix: filtering grants by customers by @chrisgacsal in #3746
- fix(entitlements): total active grant calculation by @tothandras in #3745
- fix: list entitlement by event subject by @chrisgacsal in #3748
- fix: list grants by customer subjects by @chrisgacsal in #3749
- fix: error handling in reconcile loop by @chrisgacsal in #3753
- fix: resolving svix endpoints by msg attempts by @chrisgacsal in #3754
- fix: entitlement query for customer meters by @chrisgacsal in #3758
Breaking Changes 🛠
- refactor!: static entitlement config type to string by @chrisgacsal in #3736
Dependency Updates ⬆️
- chore(deps): bump the k8s group across 1 directory with 3 updates by @dependabot[bot] in #3612
- chore(deps): bump the golang group with 2 updates by @dependabot[bot] in #3610
- chore(deps): bump github.com/prometheus/common from 0.67.2 to 0.67.3 in the prometheus group by @dependabot[bot] in #3621
- chore(deps): bump golang.org/x/crypto from 0.44.0 to 0.45.0 by @dependabot[bot] in #3622
- chore(deps): bump github.com/samber/slog-multi from 1.5.0 to 1.6.0 in the samber group by @dependabot[bot] in #3624
- chore(deps-dev): bump black from 25.9.0 to 25.11.0 in /api/client/python in the development-dependencies group by @dependabot[bot] in #3611
- chore(deps): bump google.golang.org/grpc from 1.76.0 to 1.77.0 in the googlecloud group by @dependabot[bot] in #3629
- chore(deps): bump the redis group with 2 updates by @dependabot[bot] in #3630
- chore(deps): bump github.com/invopop/gobl from 0.302.1 to 0.303.0 by @dependabot[bot] in #3632
- chore(deps): bump github.com/prometheus/common from 0.67.3 to 0.67.4 in the prometheus group by @dependabot[bot] in #3639
- chore(deps): bump github.com/rickb777/period from 1.0.19 to 1.0.21 by @dependabot[bot] in #3631
- chore(deps): bump github.com/go-resty/resty/v2 from 2.16.5 to 2.17.0 by @dependabot[bot] in #3641
- chore(deps): bump github.com/golang-migrate/migrate/v4 from 4.19.0 to 4.19.1 by @dependabot[bot] in #3662
- chore(deps): bump github.com/eclipse/paho.mqtt.golang from 1.5.0 to 1.5.1 by @dependabot[bot] in #3659
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.18.0 to 2.18.2 by @dependabot[bot] in #3657
- chore(deps): bump the redis group with 2 updates by @dependabot[bot] in #3656
- chore(deps): bump github.com/xdg-go/scram from 1.1.2 to 1.2.0 by @dependabot[bot] in #3658
- chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 by @dependabot[bot] in #3673
- chore(deps): bump the redis group with 2 updates by @dependabot[bot] in #3671
- chore(deps): bump the golang group across 1 directory with 3 updates by @dependabot[bot] in #3705
- chore(deps): bump the k8s group across 1 directory with 3 updates by @dependabot[bot] in #3710
- chore(deps): bump the otel group with 15 updates by @dependabot[bot] in #3706
- chore(deps): bump github.com/invopop/gobl from 0.303.0 to 0.304.1 by @dependabot[bot] in #3714
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.18.2 to 2.19.0 by @dependabot[bot] in #3715
- chore(deps): bump github.com/svix/svix-webhooks from 1.81.0 to 1.82.0 by @dependabot[bot] in #3672
- chore(deps): bump github.com/ClickHouse/ch-go from 0.68.0 to 0.69.0 by @dependabot[bot] in #3713
- chore(deps): bump urllib3 from 2.5.0 to 2.6.0 in /api/client/python by @dependabot[bot] in #3665
- chore(deps): bump urllib3 from 2.5.0 to 2.6.0 in /api/client/python/examples by @dependabot[bot] in #3666
- chore(deps): bump github.com/invopop/gobl to v0.304.2 by @chrisgacsal in #3717
- chore(deps): bump github.com/go-resty/resty/v2 from 2.17.0 to 2.17.1 by @dependabot[bot] in #3725
- chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.40.3 to 2.42.0 by @dependabot[bot] in #3724
- chore(deps): bump urllib3 from 2.6.0 to 2.6.2 in /api/client/python in the production-dependencies group by @dependabot[bot] in #3723
- chore(deps): bump google.golang.org/protobuf from 1.36.10 to 1.36.11 in the googlecloud group by @dependabot[bot] in #3719
- chore(deps): bump github.com/svix/svix-webhooks from 1.82.0 to 1.83.0 by @dependabot[bot] in #3727
- chore(deps): bump github.com/XSAM/otelsql from 0.40.0 to 0.41.0 by @dependabot[bot] in #3728
- chore(deps): bump github.com/jackc/pgx/v5 from 5.7.6 to 5.8.0 by @dependabot[bot] in #3744
- chore(deps): bump github.com/samber/slog-multi from 1....
v1.0.0-beta.225
What's Changed
Exciting New Features 🎉
- refactor(subs): subscription validations by @GAlexIHU in #3442
- feat(subs): unique constraints by @GAlexIHU in #3455
- feat(api): add advancedMeterGroupByFilters to features by @tothandras in #3472
- feat(meter): list subject period params by @hekike in #3477
- feat(api): add meter group by values endpoint by @tothandras in #3478
- feat(subs): add status filtering and ordering params by @GAlexIHU in #3469
- feat(api): add advancedMeterGroupByFilters to meter query params by @tothandras in #3531
- feat: update python SDK by @tothandras in #3535
- feat: first day of month billing by @GAlexIHU in #3519
- feat: add support for resending notification events by @gergely-kurucz-konghq in #3578
- feat: allow migrating postgres via a kubernetes job by @turip in #3594
Bug Fixes 🐛
- fix(api): map metadata on input by @GAlexIHU in #3444
- fix: store metadata in metadata by @GAlexIHU in #3451
- chore: revert min tls for sarama by @turip in #3453
- fix: grant creation mapping by @GAlexIHU in #3454
- fix: ffx hook was registered too early by @GAlexIHU in #3460
- fix(subs): validate page inputs and set defaults in http handler by @GAlexIHU in #3471
- refactor: handle invalid ingested events properly by @chrisgacsal in #3481
- fix: drop invalid cloud event messages by @chrisgacsal in #3486
- fix: invalid plan update by @chrisgacsal in #3487
- fix: deletedAt idempotency by @gergely-kurucz-konghq in #3491
- fix: server url for svix api client by @chrisgacsal in #3518
- fix: feature delete by @chrisgacsal in #3522
- fix: grant delete by @GAlexIHU in #3524
- fix(api): validate customer usage attribution subject keys by @tothandras in #3526
- fix: entitlement balance threshold matching by @chrisgacsal in #3530
- fix(api): meter query params validation by @tothandras in #3534
- chore: fix ingest event entitlement filtering by @turip in #3554
- feat(entitlements): improve snapshotting behavior by @GAlexIHU in #3557
- fix: map annotation on expanded view by @GAlexIHU in #3573
- fix(streaming): update ClickHouse windowed meter query by @tothandras in #3574
- fix: delivery state sync by @chrisgacsal in #3586
Breaking Changes 🛠
Dependency Updates ⬆️
- chore(deps): bump github.com/invopop/gobl from 0.300.2 to 0.301.0 by @dependabot[bot] in #3468
- chore(deps): bump the googlecloud group across 1 directory with 2 updates by @dependabot[bot] in #3473
- chore(deps): bump sigs.k8s.io/controller-runtime from 0.22.1 to 0.22.2 by @dependabot[bot] in #3475
- chore(deps): bump golang from 1.25.1-alpine3.21 to 1.25.2-alpine3.21 by @dependabot[bot] in #3498
- chore(deps): bump alpine from 3.22.1 to 3.22.2 by @dependabot[bot] in #3496
- chore(deps): bump github.com/huandu/go-sqlbuilder from 1.37.0 to 1.38.0 by @dependabot[bot] in #3490
- chore(deps): bump github.com/samber/lo from 1.51.0 to 1.52.0 in the samber group by @dependabot[bot] in #3483
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.16.6 to 2.17.0 by @dependabot[bot] in #3488
- chore(deps): bump the golang group across 1 directory with 2 updates by @dependabot[bot] in #3482
- chore(deps): bump github.com/confluentinc/confluent-kafka-go/v2 from 2.11.1 to 2.12.0 by @dependabot[bot] in #3489
- chore(deps): bump github.com/IBM/sarama from 1.46.1 to 1.46.2 by @dependabot[bot] in #3501
- chore(deps): bump github.com/svix/svix-webhooks from 1.76.1 to 1.77.0 by @dependabot[bot] in #3503
- chore(deps): bump sigs.k8s.io/controller-runtime from 0.22.2 to 0.22.3 by @dependabot[bot] in #3504
- chore(deps): bump github.com/prometheus/common from 0.66.1 to 0.67.1 in the prometheus group by @dependabot[bot] in #3480
- chore(deps): bump the redis group with 2 updates by @dependabot[bot] in #3527
- chore(deps): bump github.com/avast/retry-go/v4 from 4.6.1 to 4.7.0 by @dependabot[bot] in #3525
- chore(deps): bump the redis group with 2 updates by @dependabot[bot] in #3542
- chore(deps): bump github.com/huandu/go-sqlbuilder from 1.38.0 to 1.38.1 by @dependabot[bot] in #3543
- chore(deps): bump github.com/svix/svix-webhooks from 1.77.0 to 1.79.0 by @dependabot[bot] in #3544
- chore(deps): bump github.com/svix/svix-webhooks from 1.79.0 to 1.80.0 by @dependabot[bot] in #3550
- chore(deps): bump github.com/rickb777/period from 1.0.16 to 1.0.17 by @dependabot[bot] in #3570
- chore(deps): bump github.com/invopop/gobl from 0.301.0 to 0.302.0 by @dependabot[bot] in #3568
- chore(deps): bump github.com/IBM/sarama from 1.46.2 to 1.46.3 by @dependabot[bot] in #3560
- chore(deps): bump github.com/svix/svix-webhooks from 1.80.0 to 1.81.0 by @dependabot[bot] in #3569
- chore(deps): bump github.com/invopop/gobl from 0.302.0 to 0.302.1 by @dependabot[bot] in #3577
- chore(deps): bump github.com/prometheus/common from 0.67.1 to 0.67.2 in the prometheus group by @dependabot[bot] in #3567
- chore(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0 in the golang group by @dependabot[bot] in #3589
- chore(deps): bump github.com/rickb777/period from 1.0.17 to 1.0.19 by @dependabot[bot] in #3591
- chore(deps): bump go.opentelemetry.io/proto/otlp from 1.8.0 to 1.9.0 in the otel group by @dependabot[bot] in #3590
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.17.0 to 2.18.0 by @dependabot[bot] in #3592
- chore(deps): bump sigs.k8s.io/controller-runtime from 0.22.3 to 0.22.4 by @dependabot[bot] in #3593
Other Changes
- chore: security hardening by @turip in #3446
- chore(api): move features under Product Catalog by @tothandras in #3461
- refactor(validationissue): extend attribute support so it can be better used by other framework stuff by @GAlexIHU in #3458
- feat: change internal feature & meter query filters type by @tothandras in #3462
- feat(database): add new advanced filter group by column to features by @tothandras in #3470
- chore(api): add omitzero to filter fields by @tothandras in #3476
- refactor(fieldselector): introduce fielddescriptors by @GAlexIHU in #3485
- chore: add indexes for invoice listing per namespace by @turip in #3512
- refactor: billing entity diffing by @turip in #3233
- refactor: detailed line provisioning logic by @turip in #3516
- refactor: remove recursive line lookups by @turip in #3517
- chore: invocing fixes by @turip in #3520
- refactor: split detailed line type by @turip in #3514
- chore: balance worker tweaks by @turip in https://github.com/openmeterio/openme...
v1.0.0-beta.224
What's Changed
Exciting New Features 🎉
- chore: allow override webhook URL by @turip in #3428
- feat(streaming): meter query prewhere by @hekike in #3430
- refactor(entitlement): update V2 API to better conform to new standards by @GAlexIHU in #3401
Bug Fixes 🐛
- fix: stripe app errors by @chrisgacsal in #3406
- fix: customer validation on subscription create by @chrisgacsal in #3409
- fix(subject-http): add errorencoder by @GAlexIHU in #3410
- fix: logging customer provisioning errors by @chrisgacsal in #3412
- fix: fetching deleted subjects for new entitlemetns by @chrisgacsal in #3415
- fix: create/update plan validation by @chrisgacsal in #3414
- fix(entitlement): delete customer entitlement no response by @hekike in #3424
- fix(app): stripe portal session stripe custome not found by @hekike in #3435
- fix(sdk): zod schema generation by @tothandras in #3436
Breaking Changes 🛠
Dependency Updates ⬆️
- chore(deps): bump github.com/invopop/gobl from 0.300.1 to 0.300.2 by @dependabot[bot] in #3405
- chore(deps): bump github.com/IBM/sarama from 1.46.0 to 1.46.1 by @dependabot[bot] in #3404
- chore(deps): bump github.com/cloudevents/sdk-go/v2 from 2.16.1 to 2.16.2 by @dependabot[bot] in #3417
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.16.5 to 2.16.6 by @dependabot[bot] in #3427
- chore(deps): bump github.com/samber/mo from 1.15.0 to 1.16.0 in the samber group by @dependabot[bot] in #3432
Other Changes
- chore: allow disabling topic provisioner by @turip in #3403
- feat: allow using DataDog compliant fields for service.name by @turip in #3407
- feat: add redirect response encoder by @chrisgacsal in #3418
- chore: optimize subject queries by @turip in #3422
- fix(grants): undo incorrect rename by @GAlexIHU in #3434
Full Changelog: v1.0.0-beta.223...v1.0.0-beta.224
v1.0.0-beta.223
What's Changed
Exciting New Features 🎉
- feat: additional client options by @turip in #3341
- feat(collector): add support for prometheus input client headers by @tothandras in #3286
- feat(collector): add configurable pending pod inclusion for kubernetes input by @tothandras in #3394
Bug Fixes 🐛
- chore: fix subscription sync deleted customer handling by @turip in #3376
- refactor: soft delete subjects by @chrisgacsal in #3373
- fix: shallowing error on owner lookup by @chrisgacsal in #3377
- fix: return billing period for free phases too by @GAlexIHU in #3391
- fix: remove unnecessary deleted check on subject when fetching by @GAlexIHU in #3392
- fix(api): use filters in listing customer entitlements by @GAlexIHU in #3390
Dependency Updates ⬆️
- chore(deps): bump github.com/invopop/gobl from 0.220.6 to 0.300.0 by @dependabot[bot] in #3370
- chore(deps): bump gotest.tools/gotestsum from 1.12.3 to 1.13.0 by @dependabot[bot] in #3371
- chore(deps): bump tonistiigi/xx from 1.6.1 to 1.7.0 by @dependabot[bot] in #3380
- chore(deps): bump github.com/invopop/gobl from 0.300.0 to 0.300.1 by @dependabot[bot] in #3384
- chore(deps): bump github.com/jmattheis/goverter from 1.9.1 to 1.9.2 by @dependabot[bot] in #3385
- chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.40.1 to 2.40.3 by @dependabot[bot] in #3388
- chore(deps): bump github.com/ThreeDotsLabs/watermill-kafka/v3 from 3.1.1 to 3.1.2 by @dependabot[bot] in #3386
- chore(deps): bump github.com/rickb777/period from 1.0.15 to 1.0.16 by @dependabot[bot] in #3387
- chore(deps): bump github.com/huandu/go-sqlbuilder from 1.36.1 to 1.37.0 by @dependabot[bot] in #3400
Other Changes
Full Changelog: v1.0.0-beta.222...v1.0.0-beta.223
v1.0.0-beta.222
What's Changed
Exciting New Features 🎉
- refactor(entitlement): subject-entitlement db linking by @GAlexIHU in #3222
- refactor: customer subject service hooks by @chrisgacsal in #3291
- feat: CustomerEntitlements by @GAlexIHU in #3255
- feat(api): add root entitlement v2 APIs by @GAlexIHU in #3372
- feat(api): include entitlements v2 methods in JavaScript SDK by @tothandras in #3375
Bug Fixes 🐛
- fix(stripe): app client error handling by @hekike in #3271
- fix: customer lookup by usage attribution by @chrisgacsal in #3292
- fix: breaking down migration by @GAlexIHU in #3301
- fix(entitlement): fix upsertentitlementcurrentperiods by @GAlexIHU in #3302
- chore: fix meter query validation errors by @turip in #3310
- fix: subscription sync should save deleted invoices by @turip in #3311
- fix: support time zoned monthly metered queries by @turip in #3313
- fix(customer): check if customer has entitlements by @hekike in #3319
- chore: fix missing nil check by @turip in #3321
- fix(notification): fix payload type by @tothandras in #3322
- chore: prevent deletion of customers/subjects with active entitlements by @turip in #3324
- fix: missing usage attribution for deleted customer by @chrisgacsal in #3327
- fix: check for deleted customer by @chrisgacsal in #3337
- fix: upsert of stripe customer id by @chrisgacsal in #3339
- fix: integration tests by @chrisgacsal in #3345
- fix: customer subject hook init by @chrisgacsal in #3347
- fix(entitlement/repo): properly resolve entitlement's customer's cust… by @GAlexIHU in #3357
- fix(subscription-sync): allow calculating FullServicePeriod for zero-item at end of subscription by @GAlexIHU in #3346
- fix(stripe): send invoice payment collection method with period due date by @hekike in #3343
- fix: entitlement threshold validation by @chrisgacsal in #3364
- fix: define custom type to be used instead of duration scalar by @GAlexIHU in #3365
- fix: transaction handling by @chrisgacsal in #3369
- fix: deletion of customer with active subscriptions by @chrisgacsal in #3368
Breaking Changes 🛠
- feat!: add customer to entitlement notification events by @chrisgacsal in #3285
Dependency Updates ⬆️
- chore(deps): bump github.com/ThreeDotsLabs/watermill-kafka/v3 from 3.0.6 to 3.1.0 by @dependabot[bot] in #3275
- chore(deps): bump github.com/svix/svix-webhooks from 1.73.0 to 1.75.0 by @dependabot[bot] in #3277
- chore(deps): bump github.com/google/wire from 0.6.0 to 0.7.0 by @dependabot[bot] in #3266
- chore(deps): bump google.golang.org/protobuf from 1.36.7 to 1.36.8 in the googlecloud group by @dependabot[bot] in #3253
- chore(deps): bump github.com/ThreeDotsLabs/watermill from 1.4.7 to 1.5.0 by @dependabot[bot] in #3274
- chore(deps): bump entgo.io/ent from 0.14.5-0.20250325141242-9db6f4df431f to 0.14.5 by @dependabot[bot] in #3169
- chore(deps): bump github.com/getkin/kin-openapi from 0.132.0 to 0.133.0 by @dependabot[bot] in #3267
- chore(deps): bump sigs.k8s.io/controller-runtime from 0.21.0 to 0.22.0 by @dependabot[bot] in #3280
- chore(deps): bump github.com/huandu/go-sqlbuilder from 1.36.0 to 1.36.1 by @dependabot[bot] in #3281
- chore(deps): bump github.com/go-chi/chi/v5 from 5.2.2 to 5.2.3 by @dependabot[bot] in #3283
- chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by @dependabot[bot] in #3278
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.16.3 to 2.16.4 by @dependabot[bot] in #3290
- chore(deps): bump github.com/IBM/sarama from 1.45.2 to 1.46.0 by @dependabot[bot] in #3265
- chore(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.9 by @dependabot[bot] in #3298
- chore(deps): bump golang from 1.25.0-alpine3.21 to 1.25.1-alpine3.21 by @dependabot[bot] in #3329
- chore(deps): bump github.com/svix/svix-webhooks from 1.75.0 to 1.76.1 by @dependabot[bot] in #3317
- chore(deps): bump github.com/samber/slog-multi from 1.4.1 to 1.5.0 in the samber group by @dependabot[bot] in #3315
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.16.4 to 2.16.5 by @dependabot[bot] in #3308
- chore(deps): bump github.com/ThreeDotsLabs/watermill from 1.5.0 to 1.5.1 by @dependabot[bot] in #3305
- chore(deps): bump github.com/golang-migrate/migrate/v4 from 4.18.3 to 4.19.0 by @dependabot[bot] in #3300
- chore(deps): bump github.com/spf13/pflag from 1.0.9 to 1.0.10 by @dependabot[bot] in #3307
- chore(deps): bump the prometheus group across 1 directory with 2 updates by @dependabot[bot] in #3316
- chore(deps): bump github.com/spf13/cobra from 1.9.1 to 1.10.1 by @dependabot[bot] in #3304
- chore(deps): bump the otel group across 1 directory with 16 updates by @dependabot[bot] in #3306
- chore(deps): bump the k8s group with 3 updates by @dependabot[bot] in #3362
- chore(deps): bump the golang group across 1 directory with 5 updates by @dependabot[bot] in #3360
- chore(deps): bump github.com/XSAM/otelsql from 0.39.0 to 0.40.0 by @dependabot[bot] in #3355
- chore(deps): bump github.com/spf13/viper from 1.20.1 to 1.21.0 by @dependabot[bot] in #3354
- chore(deps): bump sigs.k8s.io/controller-runtime from 0.22.0 to 0.22.1 by @dependabot[bot] in #3352
- chore(deps): bump github.com/ThreeDotsLabs/watermill-kafka/v3 from 3.1.0 to 3.1.1 by @dependabot[bot] in #3351
- chore(deps): bump github.com/jackc/pgx/v5 from 5.7.5 to 5.7.6 by @dependabot[bot] in #3353
- chore(deps): bump the redis group with 2 updates by @dependabot[bot] in #3350
Other Changes
- fix: tune subject manager cache by @turip in #3312
- fix: rm new tx for immutable operations in subject service by @chrisgacsal in #3335
- chore(api): remove x-internal tags from v2 entitlement endpoints by @tothandras in #3358
- refactor: rm unnecessary validation by @chrisgacsal in #3374
Full Changelog: v1.0.0-beta.221...v1.0.0-beta.222
v1.0.0-beta.221
What's Changed
Exciting New Features 🎉
- feat: expose subscription billing period by @turip in #3243
- feat(event): add customer id by @hekike in #3246
- feat(api): customer list search by partial key by @tothandras in #3263
- refactor: thresholds for balance threshold events by @chrisgacsal in #3269
Bug Fixes 🐛
Dependency Updates ⬆️
- chore(deps): bump google.golang.org/grpc from 1.74.2 to 1.75.0 in the googlecloud group by @dependabot[bot] in #3251
- chore(deps): bump golang from 1.24.6-alpine3.21 to 1.25.0-alpine3.21 by @dependabot[bot] in #3242
- chore(deps): bump github.com/svix/svix-webhooks from 1.71.0 to 1.73.0 by @dependabot[bot] in #3228
- chore(deps): bump the k8s group with 3 updates by @dependabot[bot] in #3227
- chore(deps): bump github.com/confluentinc/confluent-kafka-go/v2 from 2.11.0 to 2.11.1 by @dependabot[bot] in #3250
- chore(deps): bump atlas to v.0.36.0 by @chrisgacsal in #3252
Other Changes
- fix: e2e docker rebuilds by @GAlexIHU in #3244
- chore(collector): add lease health check to leader elector by @tothandras in #3248
Full Changelog: v1.0.0-beta.220...v1.0.0-beta.221
v1.0.0-beta.220
What's Changed
Exciting New Features 🎉
- feat(customers): check for key and subject conflict by @hekike in #3176
- feat(app): stripe add metadata to invoice by @hekike in #3185
- feat(invoice): query usage by customer by @hekike in #3208
- feat: allow any subscription anchor, do not normalize the anchor by @turip in #3229
Bug Fixes 🐛
- fix(subs): remove up validation by @GAlexIHU in #3188
- fix(ent): make expiration count uint32 from uint8 by @GAlexIHU in #3193
- fix(streaming): filter for customer without group by by @hekike in #3214
- fix: recurring period calculation fix by @turip in #3224
- feat(pc): add duplicated phase key error by @chrisgacsal in #3231
- chore: add jobs binary to image by @turip in #3236
- fix: add missing services by @turip in #3235
Dependency Updates ⬆️
- chore(deps): bump the production-dependencies group in /api/client/python with 2 updates by @dependabot[bot] in #3186
- chore(deps): bump github.com/svix/svix-webhooks from 1.69.0 to 1.70.1 by @dependabot[bot] in #3191
- chore(deps): bump github.com/redpanda-data/benthos/v4 from 4.54.0 to 4.55.0 in the benthos group by @dependabot[bot] in #3190
- chore(deps): bump google.golang.org/protobuf from 1.36.6 to 1.36.7 in the googlecloud group by @dependabot[bot] in #3189
- chore(deps): bump the redis group with 2 updates by @dependabot[bot] in #3187
- chore(deps): bump golang from 1.24.5-alpine3.21 to 1.24.6-alpine3.21 by @dependabot[bot] in #3205
- chore(deps): bump github.com/svix/svix-webhooks from 1.70.1 to 1.71.0 by @dependabot[bot] in #3196
- chore(deps): bump github.com/invopop/gobl from 0.220.5 to 0.220.6 by @dependabot[bot] in #3215
- chore(deps): bump github.com/samber/mo from 1.14.0 to 1.14.1 in the samber group by @dependabot[bot] in #3195
- chore(deps): bump the golang group with 2 updates by @dependabot[bot] in #3194
Other Changes
- chore: reduce worker noise by @turip in #3175
- feat: add datetime package by @tothandras in #3049
- chore: add tracing to watermill routers by @turip in #3198
- feat: subscription sync allow disabling continuous line logic by @turip in #3226
Full Changelog: v1.0.0-beta.219...v1.0.0-beta.220