Releases: openmeterio/openmeter
Releases · openmeterio/openmeter
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
v1.0.0-beta.219
What's Changed
Exciting New Features 🎉
Bug Fixes 🐛
- chore: fix stripe webhook logging by @turip in #3164
- fix: remove naked flat fee support by @turip in #3170
- fix: invalid error on period correction by @turip in #3173
Dependency Updates ⬆️
- chore(deps): bump github.com/redpanda-data/benthos/v4 from 4.53.1 to 4.54.0 in the benthos group by @dependabot[bot] in #3154
- chore(deps): bump github.com/jmattheis/goverter from 1.9.0 to 1.9.1 by @dependabot[bot] in #3155
- chore(deps): bump github.com/go-co-op/gocron/v2 from 2.16.2 to 2.16.3 by @dependabot[bot] in #3162
- chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.39.0 to 2.40.1 by @dependabot[bot] in #3163
- chore(deps): bump github.com/prometheus/client_golang from 1.22.0 to 1.23.0 in the prometheus group by @dependabot[bot] in #3167
- chore(deps): bump go.opentelemetry.io/proto/otlp from 1.7.0 to 1.7.1 in the otel group by @dependabot[bot] in #3166
- chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.3 to 5.3.0 by @dependabot[bot] in #3168
- chore(deps): bump urllib3 from 2.2.2 to 2.5.0 in /api/client/python by @dependabot[bot] in #3012
- chore(deps): bump aiohttp from 3.12.12 to 3.12.14 in /api/client/python by @dependabot[bot] in #3098
Other Changes
- chore(api): update typespec by @tothandras in #3165
- chore(deps): bump urllib3 from 2.2.2 to 2.5.0 in /api/client/python/examples/async by @dependabot[bot] in #3011
- chore(api): update javascript client dependencies by @tothandras in #3171
Full Changelog: v1.0.0-beta.218...v1.0.0-beta.219
v1.0.0-beta.218
What's Changed
Exciting New Features 🎉
- feat(streaming): query by customer by @hekike in #3115
- feat: support LATEST meter aggregation entitlements by @tothandras in #3125
- feat(api): cutomer stripe apis by @hekike in #3144
- feat(client): javascript add stripe endpoints by @hekike in #3148
- fix: always generate usage based lines if price is set to 0 by @turip in #3151
Bug Fixes 🐛
- fix(sub): setting Customer metadata/annotations by @chrisgacsal in #3116
- fix: allow creating invoice for customers already deleted by @turip in #3131
- fix: deleting notification channel by @chrisgacsal in #3139
- fix: omit deleted when listing channels by @chrisgacsal in #3140
- fix: update/maintain dueAt on invoices [OM-1376] by @turip in #3143
- fix(stripe): customer portal create status code by @hekike in #3153
- fix: do not hardcode schema in migrations by @turip in #3160
- fix: error mapping by @chrisgacsal in #3161
Dependency Updates ⬆️
- chore(deps): bump the golang group across 1 directory with 3 updates by @dependabot[bot] in #3118
- chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 by @dependabot[bot] in #3113
- chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.2 to 5.2.3 by @dependabot[bot] in #3102
- chore(deps): bump github.com/urfave/cli/v2 from 2.27.6 to 2.27.7 by @dependabot[bot] in #3111
- chore(deps): bump github.com/invopop/gobl from 0.218.0 to 0.220.4 by @dependabot[bot] in #3112
- chore(deps): bump golang from 1.24.4-alpine3.21 to 1.24.5-alpine3.21 by @dependabot[bot] in #3094
- chore(deps): bump github.com/svix/svix-webhooks from 1.68.0 to 1.69.0 by @dependabot[bot] in #3080
- chore(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 by @dependabot[bot] in #3100
- chore(deps): bump github.com/oapi-codegen/runtime from 1.1.1 to 1.1.2 in the oapi-codegen group across 1 directory by @dependabot[bot] in #3109
- chore(deps): bump alpine from 3.22.0 to 3.22.1 by @dependabot[bot] in #3127
- chore(deps): bump the k8s group with 3 updates by @dependabot[bot] in #3104
- chore(deps): bump golang from
933e5a0to6edc205by @dependabot[bot] in #3126 - chore(deps): bump github.com/invopop/gobl from 0.220.4 to 0.220.5 by @dependabot[bot] in #3128
- chore(deps): bump go.opentelemetry.io/otel/exporters/prometheus from 0.59.0 to 0.59.1 in the otel group by @dependabot[bot] in #3132
- chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.37.2 to 2.38.0 by @dependabot[bot] in #3133
- chore(deps): bump github.com/ClickHouse/clickhouse-go/v2 from 2.38.0 to 2.39.0 by @dependabot[bot] in #3138
- chore(deps): bump github.com/huandu/go-sqlbuilder from 1.35.1 to 1.36.0 by @dependabot[bot] in #3145
- chore(deps): bump the benthos group across 1 directory with 2 updates by @dependabot[bot] in #3095
Other Changes
- feat: add customer subject service hook by @chrisgacsal in #3106
- chore: update oapi-codegen to 2.5.0 by @tothandras in #3107
- fix(customer): subject service hook by @chrisgacsal in #3114
- fix: metadata serialization by @chrisgacsal in #3120
- chore: fix test notification event by @turip in #3121
- chore(sink-worker): log out dropped events by @tothandras in #3130
- chore: include usage attribution in customer data by @turip in #3135
- chore: add json tags to RawEvent struct by @tothandras in #3136
- feat(api): define routes for customer entitlements by @GAlexIHU in #3134
- fix: improve watermill router shutdown behavior by @turip in #3141
- chore(api): add create subscription type summaries by @tothandras in #3157
- refactor: ignore/log payment app type mismatch by @chrisgacsal in #3158
Full Changelog: v1.0.0-beta.217...v1.0.0-beta.218
v1.0.0-beta.217
What's Changed
Other Changes
- chore(collector): add statefulset replicas to helm chart by @tothandras in #3096
Full Changelog: v1.0.0-beta.216...v1.0.0-beta.217
v1.0.0-beta.216
What's Changed
Bug Fixes 🐛
- fix(api): customerIdOrKey entitlement param type by @tothandras in #3093
Other Changes
- feat(api): add annotations to customer by @chrisgacsal in #3091
Full Changelog: v1.0.0-beta.215...v1.0.0-beta.216
v1.0.0-beta.215
What's Changed
Exciting New Features 🎉
- feat: redis high watermark cache by @turip in #3038
- refactor(subs): remove unaligned subs by @GAlexIHU in #3043
- feat(entitlement): changing UsagePeriod duration by @GAlexIHU in #3064
- feat(client): generate zod js types with coerce by @tothandras in #3077
- feat: make sure lines are generated in a continous manner by @turip in #3087
- feat(collector): kubernetes leader election by @tothandras in #3084
Bug Fixes 🐛
- fix: invoice list containing lines by @turip in #3044
- fix(stripe): resolving app id from billing profile by @chrisgacsal in #3056
- fix(app): resolving app id from customer billing profile by @chrisgacsal in #3057
- fix: NoAccessValue in entitlements by @chrisgacsal in #3066
- fix: nil ptr deref by @chrisgacsal in #3071
- fix(api): use external key format for customer routes by @tothandras in #3078
Breaking Changes 🛠
Dependency Updates ⬆️
- chore(deps): bump the redis group with 2 updates by @dependabot[bot] in #3040
- chore(deps): bump the otel group with 3 updates by @dependabot[bot] in #3046
- chore(deps): bump github.com/svix/svix-webhooks from 1.67.0 to 1.68.0 by @dependabot[bot] in #3047
- chore(deps): bump the benthos group across 1 directory with 2 updates by @dependabot[bot] in #2972
- chore(deps): bump github.com/go-chi/cors from 1.2.1 to 1.2.2 by @dependabot[bot] in #3059
- chore(deps): bump github.com/ThreeDotsLabs/watermill from 1.4.6 to 1.4.7 by @dependabot[bot] in #3067
- chore(deps): bump github.com/confluentinc/confluent-kafka-go/v2 from 2.10.1 to 2.11.0 by @dependabot[bot] in #3068
Other Changes
- feat: allow listing unpinned customers by @turip in #3041
- refactor(meter): reduce cross dependencies by @chrisgacsal in #3052
- refactor(subs): use validationissues by @GAlexIHU in #3058
- chore: allow setting postgres settings by field by @turip in #3060
- feat(api): update problem response type by @tothandras in #3063
Full Changelog: v1.0.0-beta.214...v1.0.0-beta.215