Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc(version): bump to v0.54.1 #315

Merged
merged 1 commit into from
Jan 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api
Submodule api updated 67 files
+1 −0 .gitignore
+0 −1 Gemfile
+0 −4 Gemfile.lock
+1 −0 app/controllers/api/v1/billable_metrics_controller.rb
+12 −0 app/graphql/types/billable_metric_filters/input.rb
+15 −0 app/graphql/types/billable_metric_filters/object.rb
+3 −1 app/graphql/types/billable_metrics/create_input.rb
+1 −0 app/graphql/types/billable_metrics/object.rb
+3 −1 app/graphql/types/billable_metrics/update_input.rb
+6 −5 app/graphql/types/charges/properties.rb
+1 −0 app/graphql/types/charges/properties_input.rb
+1 −0 app/graphql/types/customers/usage/charge.rb
+1 −0 app/graphql/types/fees/object.rb
+1 −0 app/models/billable_metric_filter.rb
+1 −0 app/models/plan.rb
+2 −0 app/models/tax.rb
+13 −0 app/serializers/v1/billable_metric_filter_serializer.rb
+13 −1 app/serializers/v1/billable_metric_serializer.rb
+32 −0 app/serializers/v1/commitment_serializer.rb
+1 −0 app/serializers/v1/customers/charge_usage_serializer.rb
+1 −0 app/serializers/v1/fee_serializer.rb
+10 −0 app/serializers/v1/plan_serializer.rb
+1 −0 app/serializers/v1/tax_serializer.rb
+61 −0 app/services/billable_metric_filters/create_or_update_batch_service.rb
+1 −2 app/services/billable_metrics/aggregations/base_service.rb
+1 −1 app/services/billable_metrics/aggregations/unique_count_service.rb
+1 −2 app/services/billable_metrics/aggregations/weighted_sum_service.rb
+1 −2 app/services/billable_metrics/breakdown/sum_service.rb
+7 −0 app/services/billable_metrics/create_service.rb
+11 −0 app/services/billable_metrics/destroy_service.rb
+2 −4 app/services/billable_metrics/prorated_aggregations/sum_service.rb
+16 −9 app/services/billable_metrics/update_service.rb
+10 −4 app/services/events/stores/base_store.rb
+6 −0 app/services/events/stores/clickhouse_store.rb
+6 −0 app/services/events/stores/postgres_store.rb
+6 −1 config/environments/production.rb
+6 −1 config/environments/staging.rb
+0 −2 config/initializers/lograge.rb
+1 −2 db/migrate/20221114102649_fill_sync_with_provider_field.rb
+7 −0 db/migrate/20240118140703_add_grouped_by_to_cached_aggregations.rb
+7 −0 db/migrate/20240118141022_add_grouped_by_to_fees.rb
+3 −1 db/schema.rb
+24 −0 schema.graphql
+302 −24 schema.json
+10 −0 spec/graphql/types/billable_metric_filters/input_spec.rb
+11 −0 spec/graphql/types/billable_metric_filters/object_spec.rb
+17 −0 spec/graphql/types/billable_metrics/create_input_spec.rb
+27 −0 spec/graphql/types/billable_metrics/object_spec.rb
+18 −0 spec/graphql/types/billable_metrics/update_input_spec.rb
+26 −0 spec/graphql/types/charges/properties_input_spec.rb
+26 −0 spec/graphql/types/charges/properties_spec.rb
+15 −0 spec/graphql/types/customers/usage/charge_spec.rb
+1 −0 spec/graphql/types/fees/object_spec.rb
+1 −0 spec/models/billable_metric_filter_spec.rb
+6 −2 spec/requests/api/v1/billable_metrics_spec.rb
+20 −0 spec/serializers/v1/billable_metric_filter_serializer_spec.rb
+3 −1 spec/serializers/v1/billable_metric_serializer_spec.rb
+52 −0 spec/serializers/v1/commitment_serializer_spec.rb
+50 −1 spec/serializers/v1/customers/charge_usage_serializer_spec.rb
+1 −0 spec/serializers/v1/fee_serializer_spec.rb
+86 −32 spec/serializers/v1/plan_serializer_spec.rb
+125 −0 spec/services/billable_metric_filters/create_or_update_batch_service_spec.rb
+26 −0 spec/services/billable_metrics/create_service_spec.rb
+15 −0 spec/services/billable_metrics/destroy_service_spec.rb
+20 −1 spec/services/billable_metrics/update_service_spec.rb
+17 −4 spec/services/events/stores/clickhouse_store_spec.rb
+18 −7 spec/services/events/stores/postgres_store_spec.rb
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ services:

api:
container_name: lago-api
image: getlago/api:v0.54.0-beta
image: getlago/api:v0.54.1-beta
restart: unless-stopped
depends_on:
- db
@@ -82,7 +82,7 @@ services:

front:
container_name: lago-front
image: getlago/front:v0.54.0-beta
image: getlago/front:v0.54.1-beta
restart: unless-stopped
# Use this command if you want to use SSL with Let's Encrypt
# command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
@@ -120,7 +120,7 @@ services:

api-worker:
container_name: lago-worker
image: getlago/api:v0.54.0-beta
image: getlago/api:v0.54.1-beta
restart: unless-stopped
depends_on:
- api
@@ -163,7 +163,7 @@ services:
# It is recommendend if you have a high usage of events to not impact the other Sidekiq Jobs.
#api-events-worker:
# container_name: lago-events-worker
# image: getlago/api:v0.54.0-beta
# image: getlago/api:v0.54.1-beta
# restart: unless-stopped
# depends_on:
# - api
@@ -200,7 +200,7 @@ services:

api-clock:
container_name: lago-clock
image: getlago/api:v0.54.0-beta
image: getlago/api:v0.54.1-beta
restart: unless-stopped
depends_on:
- api