Skip to content

Commit

Permalink
misc: Bump version to v1.2.1 (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet authored Apr 23, 2024
1 parent 7a31471 commit eae0518
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion api
Submodule api updated 81 files
+4 −2 app/controllers/api/v1/plans_controller.rb
+1 −2 app/controllers/api/v1/wallet_transactions_controller.rb
+1 −1 app/graphql/mutations/wallet_transactions/create.rb
+1 −1 app/graphql/resolvers/integration_collection_mappings/netsuite_collection_mappings_resolver.rb
+37 −0 app/graphql/resolvers/integration_items_resolver.rb
+1 −1 app/graphql/resolvers/integration_mappings/netsuite_mappings_resolver.rb
+0 −5 app/graphql/types/charges/object.rb
+3 −0 app/graphql/types/charges/properties.rb
+3 −0 app/graphql/types/charges/properties_input.rb
+13 −0 app/graphql/types/integration_items/item_type_enum.rb
+16 −0 app/graphql/types/integration_items/object.rb
+1 −1 app/graphql/types/plans/object.rb
+1 −0 app/graphql/types/query_type.rb
+1 −0 app/graphql/types/wallet_transactions/object.rb
+13 −0 app/graphql/types/wallet_transactions/transaction_status_enum.rb
+16 −0 app/jobs/integrations/aggregator/fetch_items_job.rb
+16 −0 app/jobs/integrations/aggregator/fetch_tax_items_job.rb
+1 −1 app/jobs/wallet_transactions/create_job.rb
+4 −4 app/models/charge_filter.rb
+2 −1 app/models/charge_filter_value.rb
+20 −0 app/models/integration_item.rb
+7 −0 app/models/wallet_transaction.rb
+35 −0 app/queries/integration_items_query.rb
+7 −5 app/serializers/v1/customers/charge_usage_serializer.rb
+2 −1 app/serializers/v1/wallet_transaction_serializer.rb
+3 −0 app/services/billable_metrics/aggregation_factory.rb
+25 −0 app/services/billable_metrics/aggregations/custom_service.rb
+2 −0 app/services/charges/charge_model_factory.rb
+21 −0 app/services/charges/charge_models/custom_service.rb
+30 −19 app/services/charges/filter_charge_model_properties_service.rb
+1 −0 app/services/credits/applied_prepaid_credit_service.rb
+8 −0 app/services/integrations/aggregator/base_service.rb
+68 −0 app/services/integrations/aggregator/items_service.rb
+1 −8 app/services/integrations/aggregator/sync_service.rb
+67 −0 app/services/integrations/aggregator/tax_items_service.rb
+1 −1 app/services/plans/create_service.rb
+3 −3 app/services/plans/update_service.rb
+1 −0 app/services/subscriptions/free_trial_billing_service.rb
+3 −1 app/services/wallet_transactions/create_service.rb
+1 −1 app/services/wallet_transactions/recredit_service.rb
+2 −2 app/views/templates/invoices/v4/charge.slim
+7 −0 db/migrate/20240314170211_add_charge_filter_id_to_quantified_events.rb
+19 −0 db/migrate/20240419071607_add_transaction_status_to_wallet_transactions.rb
+15 −0 db/migrate/20240419085012_create_integration_items.rb
+14 −1 db/schema.rb
+1 −0 db/seeds/base.rb
+10 −5 lib/lago_http_client/lago_http_client/client.rb
+35 −2 schema.graphql
+351 −4 schema.json
+1 −1 spec/factories/billable_metrics.rb
+7 −0 spec/factories/charges.rb
+11 −0 spec/factories/integration_items.rb
+65 −0 spec/fixtures/integration_aggregator/items_response.json
+49 −0 spec/fixtures/integration_aggregator/tax_items_response.json
+1 −1 spec/graphql/mutations/wallet_transactions/create_spec.rb
+81 −0 spec/graphql/resolvers/integration_items_resolver_spec.rb
+2 −0 spec/graphql/types/charges/properties_input_spec.rb
+2 −0 spec/graphql/types/charges/properties_spec.rb
+14 −0 spec/graphql/types/integration_items/object_spec.rb
+19 −0 spec/graphql/types/wallet_transactions/object_spec.rb
+23 −0 spec/jobs/integrations/aggregator/fetch_items_job_spec.rb
+23 −0 spec/jobs/integrations/aggregator/fetch_tax_items_job_spec.rb
+2 −2 spec/jobs/wallet_transactions/create_job_spec.rb
+9 −0 spec/models/integration_item_spec.rb
+88 −0 spec/queries/integration_items_query_spec.rb
+119 −52 spec/requests/api/v1/customers/usage_controller_spec.rb
+1 −1 spec/scenarios/plans/create_and_update_filters_spec.rb
+14 −14 spec/serializers/v1/customers/charge_usage_serializer_spec.rb
+29 −0 spec/serializers/v1/wallet_transaction_serializer_spec.rb
+6 −0 spec/services/billable_metrics/aggregation_factory_spec.rb
+44 −0 spec/services/billable_metrics/aggregations/custom_service_spec.rb
+6 −0 spec/services/charges/charge_model_factory_spec.rb
+32 −0 spec/services/charges/charge_models/custom_service_spec.rb
+19 −9 spec/services/charges/filter_charge_model_properties_service_spec.rb
+2 −1 spec/services/credits/applied_prepaid_credit_service_spec.rb
+7 −5 spec/services/fees/charge_service_spec.rb
+54 −0 spec/services/integrations/aggregator/items_service_spec.rb
+1 −0 spec/services/integrations/aggregator/sync_service_spec.rb
+55 −0 spec/services/integrations/aggregator/tax_items_service_spec.rb
+12 −1 spec/services/subscriptions/free_trial_billing_service_spec.rb
+17 −7 spec/services/wallet_transactions/create_service_spec.rb
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:

api:
container_name: lago-api
image: getlago/api:v1.2.0
image: getlago/api:v1.2.1
restart: unless-stopped
depends_on:
- db
Expand Down Expand Up @@ -88,7 +88,7 @@ services:

front:
container_name: lago-front
image: getlago/front:v1.2.0
image: getlago/front:v1.2.1
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;\"'"
Expand Down Expand Up @@ -128,7 +128,7 @@ services:

api-worker:
container_name: lago-worker
image: getlago/api:v1.2.0
image: getlago/api:v1.2.1
restart: unless-stopped
depends_on:
api:
Expand Down Expand Up @@ -173,7 +173,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:v1.2.0
# image: getlago/api:v1.2.1
# restart: unless-stopped
# depends_on:
# api:
Expand Down Expand Up @@ -212,7 +212,7 @@ services:

api-clock:
container_name: lago-clock
image: getlago/api:v1.2.0
image: getlago/api:v1.2.1
restart: unless-stopped
depends_on:
api:
Expand Down
2 changes: 1 addition & 1 deletion front

0 comments on commit eae0518

Please sign in to comment.