From 2056f244692dec212432cbd98616ba8ca2c9d053 Mon Sep 17 00:00:00 2001 From: Michael Woodward Date: Thu, 15 Aug 2024 16:50:23 +0100 Subject: [PATCH] docs(release): 1.0.0 (#28) --- CHANGELOG.md | 4 ++ README.md | 89 +------------------------------------ internal/client/version.txt | 2 +- 3 files changed, 6 insertions(+), 89 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01facc7..c0013e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), Check our main [developer changelog](https://developer.paddle.com/?utm_source=dx&utm_medium=paddle-go-sdk) for information about changes to the Paddle Billing platform, the Paddle API, and other developer tools. +## 1.0.0 - 2024-08-15 + +No documented changes. + ## 0.7.0 - 2024-08-09 ### Changed diff --git a/README.md b/README.md index 8db59b4..b0d182f 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,6 @@ Go 1.21 or later If you've used this SDK, we'd love to hear how you found it! Email us at [team-dx@paddle.com](mailto:team-dx@paddle.com) with any thoughts. -While in early access, we may introduce breaking changes. Where we can, we'll tag breaking changes and communicate ahead of time. - ## Installation Make sure your project is using Go Modules (it will have a go.mod file in its root if it already is): @@ -75,7 +73,7 @@ if err != nil { panic(err) } -err = products.Iter(ctx, func(p *paddle.ProductWithIncludes) (bool, error) { +err = products.Iter(ctx, func(p *paddle.Product) (bool, error) { // Do something with the product fmt.Printf("%+v\n", p) return true, nil @@ -162,91 +160,6 @@ webhookVerifier := paddle.NewWebhookVerifier(os.Getenv("WEBHOOK_SECRET_KEY")) ok, err := webhookVerifier.Verify(req) ``` -## Feature parity - -While in early access, not all operations in the Paddle API are available in our Go SDK. We're working on complete feature parity for our final release. - -This table shows which operations are available as of the latest release. - -| Paddle API operation | Support | -|----------------------------------------------|:--------:| -| **Products** | **Full** | -| List products | ✅ | -| Create a product | ✅ | -| Get a product | ✅ | -| Update a product | ✅ | -| **Prices** | **Full** | -| List prices | ✅ | -| Create a price | ✅ | -| Get a price | ✅ | -| Update a price | ✅ | -| **Discounts** | **Full** | -| List discounts | ✅ | -| Create a discount | ✅ | -| Get a discount | ✅ | -| Update a discount | ✅ | -| **Customers** | **Full** | -| List customers | ✅ | -| Create a customer | ✅ | -| Get a customer | ✅ | -| Update a customer | ✅ | -| List credit balances for a customer | ✅ | -| **Addresses** | **Full** | -| List addresses for a customer | ✅ | -| Create an addresses for a customer | ✅ | -| Get an address for a customer | ✅ | -| Update an address for a customer | ✅ | -| **Businesses** | ✅ | -| List businesses for a customer | ✅ | -| Create a business for a customer | ✅ | -| Get a business for a customer | ✅ | -| Update a business for a customer | ✅ | -| **Transactions** | **Full** | -| List transactions | ✅ | -| Create a transaction | ✅ | -| Get a transaction | ✅ | -| Update a transaction | ✅ | -| Preview a transaction | ✅ | -| Get a PDF invoice for a transaction | ✅ | -| **Subscriptions** | **Full** | -| List subscriptions | ✅ | -| Get a subscription | ✅ | -| Preview an update to a subscription | ✅ | -| Update a subscription | ✅ | -| Get a transaction to update payment method | ✅ | -| Preview a one-time charge for a subscription | ✅ | -| Create a one-time charge for a subscription | ✅ | -| Activate a trialing subscription | ✅ | -| Pause a subscription | ✅ | -| Resume a paused subscription | ✅ | -| Cancel a subscription | ✅ | -| **Adjustments** | **Full** | -| List adjustments | ✅ | -| Create an adjustment | ✅ | -| **Pricing preview** | **Full** | -| Preview prices | ✅ | -| **Reports** | **Full** | -| List reports | ✅ | -| Create a report | ✅ | -| Get a report | ✅ | -| Get a CSV file for a report | ✅ | -| **Notification settings** | **Full** | -| List notification settings | ✅ | -| Create a notification setting | ✅ | -| Get a notification setting | ✅ | -| Update a notification setting | ✅ | -| Delete a notification setting | ✅ | -| **Event types** | **Full** | -| List event types | ✅ | -| **Events** | **Full** | -| List events | ✅ | -| **Notifications** | **Full** | -| List notifications | ✅ | -| Get a notification | ✅ | -| Replay a notification | ✅ | -| **Notification logs** | **Full** | -| List logs for a notification | ✅ | - ## Learn more - [Paddle API reference](https://developer.paddle.com/api-reference/overview?utm_source=dx&utm_medium=paddle-go-sdk) diff --git a/internal/client/version.txt b/internal/client/version.txt index faef31a..3eefcb9 100644 --- a/internal/client/version.txt +++ b/internal/client/version.txt @@ -1 +1 @@ -0.7.0 +1.0.0