Logo
Explore Help
Sign in
fslabs/lago-api
fslabs/lago-api
10
0
Fork
You've already forked lago-api
0
Code Issues Pull requests Projects Releases 182 Packages Wiki Activity Actions
182 releases 187 tags
  • v0.1.0-alpha 3147e29d50

    v0.1.0-alpha Pre-release

    jdenquin released this 2022-05-31 12:36:19 +00:00 | 4497 commits to main since this release

    What's Changed

    • misc: Add local env configuration by @jdenquin in https://github.com/getlago/lago-api/pull/3
    • Jeremy/t 906 api add api key field by @jdenquin in https://github.com/getlago/lago-api/pull/5
    • Bump nokogiri from 1.13.1 to 1.13.3 by @dependabot in https://github.com/getlago/lago-api/pull/1
    • Bump puma from 5.6.1 to 5.6.2 by @dependabot in https://github.com/getlago/lago-api/pull/2
    • misc: Add build staging image action by @jdenquin in https://github.com/getlago/lago-api/pull/7
    • T 912 api add token on registeruser mutation by @jdenquin in https://github.com/getlago/lago-api/pull/8
    • feat: T-913 - Returns organization with current user by @vincent-pochet in https://github.com/getlago/lago-api/pull/9
    • feat: T-911 handle JWT token expiration by @vincent-pochet in https://github.com/getlago/lago-api/pull/10
    • feat: T-914 Renew JWT token on each request by @vincent-pochet in https://github.com/getlago/lago-api/pull/11
    • misc: Add tests for GraphQL controller by @vincent-pochet in https://github.com/getlago/lago-api/pull/12
    • feat: T 915 Add Mutation to create a Billable metric by @vincent-pochet in https://github.com/getlago/lago-api/pull/13
    • feat: T-920 Add graphql query for billable metrics by @vincent-pochet in https://github.com/getlago/lago-api/pull/14
    • feat: T-922 Edit billable metric mutation by @vincent-pochet in https://github.com/getlago/lago-api/pull/15
    • feat: T-923 Destroy billable metric mutation by @vincent-pochet in https://github.com/getlago/lago-api/pull/16
    • feat: T-921 Add Product and ProductItem models by @vincent-pochet in https://github.com/getlago/lago-api/pull/17
    • T 925 api remove pro rata on billablemetrics by @jdenquin in https://github.com/getlago/lago-api/pull/18
    • T 924 api add mutation to create a product by @vincent-pochet in https://github.com/getlago/lago-api/pull/19
    • feat: T-926 Add mutation to destroy a product by @vincent-pochet in https://github.com/getlago/lago-api/pull/20
    • Add billable periods on billable_metrics by @jdenquin in https://github.com/getlago/lago-api/pull/21
    • feat: T-928 Add a query to retrieve list of products by @vincent-pochet in https://github.com/getlago/lago-api/pull/22
    • feat: T-927 Add a mutation to Update an existing product by @vincent-pochet in https://github.com/getlago/lago-api/pull/23
    • Rename Products to Plans by @jdenquin in https://github.com/getlago/lago-api/pull/24
    • Add properties to Plans by @jdenquin in https://github.com/getlago/lago-api/pull/25
    • feat: T-940 Create charges allong with plan create/update by @vincent-pochet in https://github.com/getlago/lago-api/pull/26
    • Update charges from plan by @jdenquin in https://github.com/getlago/lago-api/pull/29
    • feat: Add description to GraphQL mutations and queries by @vincent-pochet in https://github.com/getlago/lago-api/pull/28
    • feat: T-941 Use x-lago-organization header for resource creation by @vincent-pochet in https://github.com/getlago/lago-api/pull/27
    • fix: Fix CVE with rails dependencies (dependabot alert) by @vincent-pochet in https://github.com/getlago/lago-api/pull/31
    • misc: Add rubocop and simplecov by @vincent-pochet in https://github.com/getlago/lago-api/pull/30
    • feat: handle validation errors on create/update GraphQL mutations by @vincent-pochet in https://github.com/getlago/lago-api/pull/32
    • Add Customers and Subscriptions models by @jdenquin in https://github.com/getlago/lago-api/pull/33
    • feat: Rename billing periods enum values in plan by @vincent-pochet in https://github.com/getlago/lago-api/pull/35
    • Add API authentication logic by @jdenquin in https://github.com/getlago/lago-api/pull/34
    • feat: Add API end-point to create a customer by @vincent-pochet in https://github.com/getlago/lago-api/pull/36
    • feat: Rename external_id into customer_id on Customer by @vincent-pochet in https://github.com/getlago/lago-api/pull/37
    • T 947 api create subscription endpoint by @jdenquin in https://github.com/getlago/lago-api/pull/38
    • feat: Lago internal id should be prefixed by lago by @vincent-pochet in https://github.com/getlago/lago-api/pull/39
    • Delete a charge when not linked to a plan by @jdenquin in https://github.com/getlago/lago-api/pull/40
    • feat: T-949 Expose charge and customer count in Plan GraphQL type by @vincent-pochet in https://github.com/getlago/lago-api/pull/41
    • Configure Redis and Sidekiq by @jdenquin in https://github.com/getlago/lago-api/pull/42
    • feat: T-953 Create event structure by @vincent-pochet in https://github.com/getlago/lago-api/pull/44
    • feat: T-954 Add API endpoint to push an event by @vincent-pochet in https://github.com/getlago/lago-api/pull/45
    • feat: T-955 Add service to find billable subscriptions by @vincent-pochet in https://github.com/getlago/lago-api/pull/46
    • feat: Add clock specs by @vincent-pochet in https://github.com/getlago/lago-api/pull/47
    • feat: T-951 Create customer with subscription if customer does not exists by @vincent-pochet in https://github.com/getlago/lago-api/pull/48
    • feat: T-952 Expose customers and subscription in GraphQL API by @vincent-pochet in https://github.com/getlago/lago-api/pull/49
    • feat: T-957 Add ChargeModel enum to Charges by @vincent-pochet in https://github.com/getlago/lago-api/pull/50
    • feat: T-959 Add Invoice model by @vincent-pochet in https://github.com/getlago/lago-api/pull/51
    • feat: T-958 Create fee model by @vincent-pochet in https://github.com/getlago/lago-api/pull/52
    • feat: T-960 Add create customer mutation by @vincent-pochet in https://github.com/getlago/lago-api/pull/53
    • T 962 api add subscription fee logic by @jdenquin in https://github.com/getlago/lago-api/pull/54
    • feat: T 961 api add pay in advance to plan by @jdenquin in https://github.com/getlago/lago-api/pull/55
    • feat: T-979-api-rename-plan-billing_period-into-frequency by @jdenquin in https://github.com/getlago/lago-api/pull/56
    • feat: T 979 api rename plan billing period into frequency by @jdenquin in https://github.com/getlago/lago-api/pull/57
    • feat: T-963 Implement pay in advance feature for subscripiton by @vincent-pochet in https://github.com/getlago/lago-api/pull/58
    • feat: T-966 Process invoice amounts by @vincent-pochet in https://github.com/getlago/lago-api/pull/59
    • T 967 api create invoice graphql query by @jdenquin in https://github.com/getlago/lago-api/pull/60
    • feat: T-952 Add a new GraphQL query to expose a single customer by @vincent-pochet in https://github.com/getlago/lago-api/pull/61
    • feat: T-983-api-create-a-subscription-graphql-mutation by @jdenquin in https://github.com/getlago/lago-api/pull/63
    • feat: T-984-api-create-some-seeds by @jdenquin in https://github.com/getlago/lago-api/pull/64
    • feat: Attach plan and subscription to Invoice GraphQL object by @vincent-pochet in https://github.com/getlago/lago-api/pull/65
    • feat: T-965 Generate fees for charges by @vincent-pochet in https://github.com/getlago/lago-api/pull/62
    • feat: T-986 Edit / Delete billable metric permissions by @vincent-pochet in https://github.com/getlago/lago-api/pull/67
    • build(deps): bump nokogiri from 1.13.3 to 1.13.4 by @dependabot in https://github.com/getlago/lago-api/pull/66
    • feat: T-969-api-upgrade-a-subscription by @jdenquin in https://github.com/getlago/lago-api/pull/68
    • feat: T-987 Edit / Delete plan permissions by @vincent-pochet in https://github.com/getlago/lago-api/pull/69
    • feat: T-971 Downgrade an existing subscription by @vincent-pochet in https://github.com/getlago/lago-api/pull/70
    • feat: Add Subscription Anniversary Date by @jdenquin in https://github.com/getlago/lago-api/pull/71
    • feat: remove pro_rata from plans by @jdenquin in https://github.com/getlago/lago-api/pull/72
    • feat: T-974 Improve subscription downgrade by @vincent-pochet in https://github.com/getlago/lago-api/pull/73
    • feat: Add single objects resolvers by @vincent-pochet in https://github.com/getlago/lago-api/pull/74
    • feat: T-993 Drop plan frequency by @vincent-pochet in https://github.com/getlago/lago-api/pull/75
    • feat: T-994 Update/Destroy mutations for customers by @vincent-pochet in https://github.com/getlago/lago-api/pull/77
    • feat: T-974 Fix billing of upgrade/downgrade by @vincent-pochet in https://github.com/getlago/lago-api/pull/78
    • feat: T-998 Apply upgrade dowgrade to charges by @vincent-pochet in https://github.com/getlago/lago-api/pull/79
    • T 997 api terminate a subscription by @jdenquin in https://github.com/getlago/lago-api/pull/80
    • feat: #90 Cancel pending subscription if upgrading/downgrading again by @vincent-pochet in https://github.com/getlago/lago-api/pull/93
    • feat: #87 Implement aggregation logic by @vincent-pochet in https://github.com/getlago/lago-api/pull/92
    • feat: #88 Separate customer creation between API and GraphQL API by @vincent-pochet in https://github.com/getlago/lago-api/pull/98
    • feat: #95 Add metadatas to customers by @vincent-pochet in https://github.com/getlago/lago-api/pull/100
    • feat: #91 Compare plan amount on same duration by @vincent-pochet in https://github.com/getlago/lago-api/pull/97
    • feat: #89 Remove frequency from charge by @vincent-pochet in https://github.com/getlago/lago-api/pull/94
    • feat: #82 Handle Trial period on subscriptions by @jdenquin in https://github.com/getlago/lago-api/pull/96
    • feat: Expose ActiveRecord validation errors in GraphQL by @vincent-pochet in https://github.com/getlago/lago-api/pull/102
    • feat: Improve event API by @vincent-pochet in https://github.com/getlago/lago-api/pull/103
    • feat: #86 Add sequencial ID to invoices by @vincent-pochet in https://github.com/getlago/lago-api/pull/105
    • feat: #81 add webhooks for invoices by @jdenquin in https://github.com/getlago/lago-api/pull/106
    • fix: #85 Assign subscription to customers in GraphQL using internal IDS by @vincent-pochet in https://github.com/getlago/lago-api/pull/99
    • feat: #108 Add organization update mutation by @jdenquin in https://github.com/getlago/lago-api/pull/109
    • misc: #115 Add lograge configuration by @jdenquin in https://github.com/getlago/lago-api/pull/116
    • misc: Drop unused pro rata property from charges by @vincent-pochet in https://github.com/getlago/lago-api/pull/114
    • misc: #118 Add Sentry Support by @jdenquin in https://github.com/getlago/lago-api/pull/119
    • feat: Format date as iso8601 in API by @vincent-pochet in https://github.com/getlago/lago-api/pull/117
    • feat: Expose customer's metadata in API by @vincent-pochet in https://github.com/getlago/lago-api/pull/120
    • feat: Terminate a subscription only via customer_id by @vincent-pochet in https://github.com/getlago/lago-api/pull/123
    • feat: #113 Add vat_rate at customer level by @vincent-pochet in https://github.com/getlago/lago-api/pull/122
    • feat: #113 Add vat_rate to organization by @vincent-pochet in https://github.com/getlago/lago-api/pull/124
    • misc: #125 Run Seeds for preview environments by @jdenquin in https://github.com/getlago/lago-api/pull/126
    • fix: change charge factory in seeds by @lovrocolic in https://github.com/getlago/lago-api/pull/128
    • bug: #131 sidekiqs dead jobs by @jdenquin in https://github.com/getlago/lago-api/pull/132
    • feat: #129 Add error codes for vat_rate validation by @vincent-pochet in https://github.com/getlago/lago-api/pull/130
    • feat: #133 Add issuer URL in webhook signature by @vincent-pochet in https://github.com/getlago/lago-api/pull/135
    • fix: #138 Add factory bot for seeds on staging by @jdenquin in https://github.com/getlago/lago-api/pull/139
    • feat: #137 Organization#vatRate cannot be null by @vincent-pochet in https://github.com/getlago/lago-api/pull/141
    • fix: #143 Add dedicated mutation to assign vatRate to customer by @vincent-pochet in https://github.com/getlago/lago-api/pull/144
    • feat: #140 Add mandatory transaction_id for event ingestion by @vincent-pochet in https://github.com/getlago/lago-api/pull/142
    • feat: #113 drop vat rate from plan and charges by @vincent-pochet in https://github.com/getlago/lago-api/pull/121
    • fix: #145 Fix subscription terminate API route by @vincent-pochet in https://github.com/getlago/lago-api/pull/149
    • feat: #136 add properties to charges by @vincent-pochet in https://github.com/getlago/lago-api/pull/151
    • feat: #134 Add API route to retrieve webhook signature public key by @vincent-pochet in https://github.com/getlago/lago-api/pull/150
    • feat: #136 Apply graduated charge model by @vincent-pochet in https://github.com/getlago/lago-api/pull/148
    • fix: Fix cors issue for production environment by @vincent-pochet in https://github.com/getlago/lago-api/pull/152
    • misc: Improve docker compose config by @vincent-pochet in https://github.com/getlago/lago-api/pull/153
    • misc: #164 remove helm values by @jdenquin in https://github.com/getlago/lago-api/pull/165
    • Fixes QA bugs by @vincent-pochet in https://github.com/getlago/lago-api/pull/154
    • fix: Fix handling of charges when events are not clean by @vincent-pochet in https://github.com/getlago/lago-api/pull/166
    • fix: #160 Assign empty hash to event properties when missing by @vincent-pochet in https://github.com/getlago/lago-api/pull/167
    • fix: #163 add private key environment variable by @jdenquin in https://github.com/getlago/lago-api/pull/168
    • fix: #159 Validate presence of event arguments by @vincent-pochet in https://github.com/getlago/lago-api/pull/169
    • fix: #157 better handling of floating points for pro-rata by @vincent-pochet in https://github.com/getlago/lago-api/pull/170
    • feat: #136 Expose graduated charge model in GraphQL by @vincent-pochet in https://github.com/getlago/lago-api/pull/146
    • fix: #177 Do not send webhook when no webhook URLs by @vincent-pochet in https://github.com/getlago/lago-api/pull/178
    • fix: #158 Fix billing of terminated subscription when not on first period by @vincent-pochet in https://github.com/getlago/lago-api/pull/171
    • Fix http error issue and add tests for http client by @lovrocolic in https://github.com/getlago/lago-api/pull/179
    • feat: #173 add package charge model implementation by @vincent-pochet in https://github.com/getlago/lago-api/pull/174
    • feat: #173 Expose package model for charge in plan GraphQL mutations by @vincent-pochet in https://github.com/getlago/lago-api/pull/176
    • fix: #183 upgrade subscription pay in advance amount by @jdenquin in https://github.com/getlago/lago-api/pull/184
    • Fix: Update fees datatype from id to uuid by @vincent-pochet in https://github.com/getlago/lago-api/pull/181
    • misc: #188 add new relic configuration by @jdenquin in https://github.com/getlago/lago-api/pull/189
    • feat: #186 Create a coupon by @vincent-pochet in https://github.com/getlago/lago-api/pull/187
    • build(deps): bump nokogiri from 1.13.4 to 1.13.6 by @dependabot in https://github.com/getlago/lago-api/pull/192
    • feat: Add support for new currencies: DKK, GBP, NOK and SEK by @vincent-pochet in https://github.com/getlago/lago-api/pull/197
    • bug: Order customer invoices by issuing date by @vincent-pochet in https://github.com/getlago/lago-api/pull/196
    • feat: Add UpdateCoupon mutation into graphql by @vincent-pochet in https://github.com/getlago/lago-api/pull/194
    • feat: #186 Add GraphQL queries to fetch coupons by @vincent-pochet in https://github.com/getlago/lago-api/pull/193
    • feat: Expose Coupon deletion in GraphQL by @vincent-pochet in https://github.com/getlago/lago-api/pull/195
    • fix: Graduated model does not work for middle ranges by @vincent-pochet in https://github.com/getlago/lago-api/pull/199
    • feat: Define AppliedCoupon to store relation between coupon and customer by @vincent-pochet in https://github.com/getlago/lago-api/pull/200
    • feat: Terminate an applied coupon by @vincent-pochet in https://github.com/getlago/lago-api/pull/204
    • feat: Add logic to assign a coupon to a customer by @vincent-pochet in https://github.com/getlago/lago-api/pull/203
    • HOTFIX: Package charge with free units should not return negative amounts by @vincent-pochet in https://github.com/getlago/lago-api/pull/209
    • feat: Apply coupon to customer via API by @vincent-pochet in https://github.com/getlago/lago-api/pull/205
    • feat: Apply filter on status of coupons query by @vincent-pochet in https://github.com/getlago/lago-api/pull/206
    • feat: Terminate expired coupons by @vincent-pochet in https://github.com/getlago/lago-api/pull/212
    • fix: #218 invoice amount computing when upgrading by @jdenquin in https://github.com/getlago/lago-api/pull/219
    • feat: Apply user coupons to invoices and push them to webhooks by @vincent-pochet in https://github.com/getlago/lago-api/pull/211
    • feat: render events collection in GraphQL by @vincent-pochet in https://github.com/getlago/lago-api/pull/220
    • feat: Add units to fees for invoice webhook by @vincent-pochet in https://github.com/getlago/lago-api/pull/217
    • 202 add-on feature CRUD actions by @lovrocolic in https://github.com/getlago/lago-api/pull/210
    • feat: #207 Add multiple decimals support on charges by @jdenquin in https://github.com/getlago/lago-api/pull/208
    • bug: prevent assignation of multiple coupon to customers by @vincent-pochet in https://github.com/getlago/lago-api/pull/228

    New Contributors

    • @jdenquin made their first contribution in https://github.com/getlago/lago-api/pull/3
    • @dependabot made their first contribution in https://github.com/getlago/lago-api/pull/1
    • @vincent-pochet made their first contribution in https://github.com/getlago/lago-api/pull/9
    • @lovrocolic made their first contribution in https://github.com/getlago/lago-api/pull/128

    Full Changelog: https://github.com/getlago/lago-api/commits/v0.1.0-alpha

    Downloads
    • Source code (ZIP)
      0 downloads
    • Source code (TAR.GZ)
      0 downloads
Powered by Forgejo Version: 14.0.0 Page: 64ms Template: 8ms
English
Bahasa Indonesia Dansk Deutsch English Español Esperanto Filipino Français Italiano Latviešu Magyar nyelv Nederlands Plattdüütsch Polski Português de Portugal Português do Brasil Slovenščina Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API