diff --git a/CHANGELOG.md b/CHANGELOG.md index c27ec97c9..483065d9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,104 @@ +# 1.0.0 (2024-04-12) + + +### Bug Fixes + +* **#342:** add documentation regarding idempotency to the main readme ([d28f7df](https://github.com/jwiesler/async-stripe/commit/d28f7df6754738884049335e5b40684ff3093236)), closes [#342](https://github.com/jwiesler/async-stripe/issues/342) +* add automated release config ([ac5a87a](https://github.com/jwiesler/async-stripe/commit/ac5a87a65d3e78b02cc1624b424fad32c7cd36a6)) +* Add card to PaymentMethodDetails ([fe83da4](https://github.com/jwiesler/async-stripe/commit/fe83da4d20b806792cc9f33a545fcdecbd99a860)) +* add every Stripe error code https://stripe.com/docs/error-codes ([57f06b6](https://github.com/jwiesler/async-stripe/commit/57f06b6b294beffef8bf45b687e2ffeec0a9b6da)) +* add idempotency_error ([0e842f5](https://github.com/jwiesler/async-stripe/commit/0e842f5d2dfc6792a8e23ec176e79ed0783d6d78)) +* Add missing fields to PaymentIntent ([e968304](https://github.com/jwiesler/async-stripe/commit/e9683040d0fe3b2cc7f6e2aca38ded5e4a015250)) +* add missing prefix for CheckoutSessionItemId ([c6bdb57](https://github.com/jwiesler/async-stripe/commit/c6bdb572920d466d6db73d4445e2b1921c01acff)) +* add plan prefix to PriceId ([6655058](https://github.com/jwiesler/async-stripe/commit/6655058a476adc6551643a947308f13e8ba320d3)) +* add products to features list in cargo.toml and export from resourses ([d26860f](https://github.com/jwiesler/async-stripe/commit/d26860f9049dd3a9ef934ad1a5f5ed3e6b365e70)) +* Add sis_ id prefix for usage record summaries ([1042493](https://github.com/jwiesler/async-stripe/commit/10424938736b0ce87d3be99fccb053855f3ddd3c)) +* add support for atxi id prefix ([414d534](https://github.com/jwiesler/async-stripe/commit/414d53400eeb35b0b0c483c766375c3d2c15c7c4)) +* api changes to resolve overlapping imports ([6eb5b05](https://github.com/jwiesler/async-stripe/commit/6eb5b059c48a4148482af3b5cb7c63e5dca80c25)) +* avoid generating nested currency options ([f020df4](https://github.com/jwiesler/async-stripe/commit/f020df4feb4fee89366b5bc15cc596caec697f78)) +* **codegen:** generate terminal resource objects ([bf7e117](https://github.com/jwiesler/async-stripe/commit/bf7e1178d61d50a83e21199d0c67bc99b5d04f60)) +* correctly generate types for optional lists ([63732cc](https://github.com/jwiesler/async-stripe/commit/63732cc37f4bc20b4e81a671c11c904a1a600c60)) +* **currency:** add BYN and MMK to currency list ([03cddce](https://github.com/jwiesler/async-stripe/commit/03cddce1a9c20c25b531aab47e6e47254b6bef60)) +* don't pin time-core for msrv ([00a9a1d](https://github.com/jwiesler/async-stripe/commit/00a9a1d0067461f94ce978fd3b1885b3d2b8b6b6)) +* export request strategy ([f350a34](https://github.com/jwiesler/async-stripe/commit/f350a3446d299733a90340321bc6a4e604bf7cb1)) +* export SearchList ([a427943](https://github.com/jwiesler/async-stripe/commit/a42794314a5c41b34c349835e705d890cbc62d3e)) +* expose the `auto_advance` field from the `FinalizeInvoiceParams` struct ([ae1a807](https://github.com/jwiesler/async-stripe/commit/ae1a807e202f32f3ff8405fdbc1d14aca44c41e8)) +* fixes an issue with missing renames of Self_ ([9c58038](https://github.com/jwiesler/async-stripe/commit/9c5803812af379a5265946afe4c177d3fcd0370e)) +* generate api version from the codegen ([3006688](https://github.com/jwiesler/async-stripe/commit/3006688bfadd5af84691c82f39abeb54dfdb859a)) +* introduce subtle and use it for constant time comparison ([dc11407](https://github.com/jwiesler/async-stripe/commit/dc1140708f0c31da85b3d4d080e2c3ed03b2d7a4)) +* make checkout depend on billing ([906b937](https://github.com/jwiesler/async-stripe/commit/906b9375a037db1183a286ac69a13aea0afa56d1)) +* Manually return error ([2e135ee](https://github.com/jwiesler/async-stripe/commit/2e135ee937f2a272a9ae0cef3ca0c8e1ed42e383)) +* Move feature check to `build.rs` ([8d06be0](https://github.com/jwiesler/async-stripe/commit/8d06be0f45aa645ce0e491a21cae33d4acc08b43)) +* nickname can be null. This fix the "invalid type: null, expected a string" error ([c8aff89](https://github.com/jwiesler/async-stripe/commit/c8aff89d6047cc63c377b41715a2a5737884f378)) +* **pagination:** prevent infinite loop caused by clone ([bc20bd4](https://github.com/jwiesler/async-stripe/commit/bc20bd46f67ffb384d67d0605cb5126e1f3d6333)) +* **params:** do not print "next" while iterating ([9139ccd](https://github.com/jwiesler/async-stripe/commit/9139ccdd32985dddc7342fc6d5e61fa48c356210)) +* **prefixes:** add pyr_ prefix to Refund object ([5bc477b](https://github.com/jwiesler/async-stripe/commit/5bc477b4d8ca69a1d80abac54420b36601f96ec4)) +* prevent freeze when hitting network errors in a retry strategy ([d423be2](https://github.com/jwiesler/async-stripe/commit/d423be225b457c5c08cc173e85e2dd2a2f3b04d8)) +* prevent panic on StatusCode conversion ([9b94228](https://github.com/jwiesler/async-stripe/commit/9b942282e556b269c806caba56c8c7026badc33c)) +* prevent publishing the benchmark crate ([e4be54d](https://github.com/jwiesler/async-stripe/commit/e4be54d0dbdec799ddab698f2941fc031b511fd1)) +* prevent publishing the openapi crate ([6de846e](https://github.com/jwiesler/async-stripe/commit/6de846e922dcf4cf828202f26a085aee6a2147ae)) +* reexport duplicate SubscriptionPaymentBehaviour ([dbcff41](https://github.com/jwiesler/async-stripe/commit/dbcff4189528483e72b4fa2c00a2396900aa97b8)) +* Remove "Some()" from RequestError's display ([e609cad](https://github.com/jwiesler/async-stripe/commit/e609cadb1321cd097d9a2fb9fc23d87a13eff1f5)) +* remove non-error and add __NonExhaustive ([08c923f](https://github.com/jwiesler/async-stripe/commit/08c923fbc349d5600aeeffbb399e3c9a841de548)) +* rename redirect_url to return_url on ConfirmSetupIntent ([9da5a28](https://github.com/jwiesler/async-stripe/commit/9da5a28864215967d39ddb432cc593820a797a9e)), closes [#504](https://github.com/jwiesler/async-stripe/issues/504) +* respect the required and optional fields for EventType and Metadata ([cdabd2e](https://github.com/jwiesler/async-stripe/commit/cdabd2eac56cf3b9613f3b4617492684e27446a6)) +* small issue with features ([51c2884](https://github.com/jwiesler/async-stripe/commit/51c28840cfd27a2f8696356d35cf1d5cecbbd311)) +* support pdp_ as an id prefix for dispute objects ([be506d6](https://github.com/jwiesler/async-stripe/commit/be506d6fc6fa41dd6085d3887abbadbef069432c)) +* typo in checkout.rs ([c55541b](https://github.com/jwiesler/async-stripe/commit/c55541b1ee96d91eb29ef900f7292f1337a7c3c3)) +* Update hyper-rustls to fix RUSTSEC-2023-0052 ([7c31f76](https://github.com/jwiesler/async-stripe/commit/7c31f76b0272031efabc7bda29ee12967d67ed10)) +* Use `HashMap::from` ([0c8dc9d](https://github.com/jwiesler/async-stripe/commit/0c8dc9d89267a034c0901e7da15adc79c30050c3)) +* use get_query to fix bad query strings ([f032570](https://github.com/jwiesler/async-stripe/commit/f032570488e601c27f9daf5e616a6360c7e30a44)) + + +### Features + +* add CreditNote and CustomerBalanceTransaction ([dc82e59](https://github.com/jwiesler/async-stripe/commit/dc82e59cd6e4e2f84b311d8e38c1299e96f5726d)) +* add idempotent_with_uuid convenience method ([d9bc63b](https://github.com/jwiesler/async-stripe/commit/d9bc63b58c4dfc2d5ed115de5ef5c9051f6ab677)) +* Add imports ([afd7aaf](https://github.com/jwiesler/async-stripe/commit/afd7aaffc8054295e3086ccfb2e54ef81f419410)) +* add paginator API ([2dc1a68](https://github.com/jwiesler/async-stripe/commit/2dc1a6873e993e7790f03b07c2a66925434bb83e)) +* Add path to errors ([1548ee4](https://github.com/jwiesler/async-stripe/commit/1548ee47ab1420859d6a4541f0d4de8b36dee5b4)) +* add retrieve checkout session ([25bd0f5](https://github.com/jwiesler/async-stripe/commit/25bd0f5fec520bb163a1496904e2434343b6af2f)) +* add steam API to list ([8160ee4](https://github.com/jwiesler/async-stripe/commit/8160ee4c345a57356d0dd1363ce63f28fa59ae07)) +* add support for connect tokens ([b7c5489](https://github.com/jwiesler/async-stripe/commit/b7c5489240eed0bd28e720eeda08afaf71bfa0eb)) +* add support for webpki (alt. to native-certs) ([c994b1c](https://github.com/jwiesler/async-stripe/commit/c994b1caea19b5d7a4e8c0784cfa937127d54462)) +* add tax calculation api behind a feature ([2266ed1](https://github.com/jwiesler/async-stripe/commit/2266ed1196f6c9662d38815583ea266d170ff67f)) +* added finalize invoice ([c6333bc](https://github.com/jwiesler/async-stripe/commit/c6333bce94ae52454bcc90b79987baf96576da83)) +* fixed bool value ([c752f52](https://github.com/jwiesler/async-stripe/commit/c752f52c623a6af86b6253b27b03c3da83e46d6e)) +* fixed bool value ([153d63d](https://github.com/jwiesler/async-stripe/commit/153d63d984482dd67a42c6b16a3ee68106517727)) +* fixed mutability ([86aabdd](https://github.com/jwiesler/async-stripe/commit/86aabddd70432c13cb3d14eca29dc01b9bbe5155)) +* fixed mutability ([5ad76c5](https://github.com/jwiesler/async-stripe/commit/5ad76c5971d925aa719445a3ba1774b0a0cb1ab9)) +* fixed warnings ([30f0a1e](https://github.com/jwiesler/async-stripe/commit/30f0a1e9d6c8c6c1426b0f505d6bdd4b6ed6c349)) +* fixed warnings ([e0d0bd8](https://github.com/jwiesler/async-stripe/commit/e0d0bd8157257f8c40394de554f3be3c8482720a)) +* fn to expire checkout sessions ([0368c79](https://github.com/jwiesler/async-stripe/commit/0368c79f065cfc179855bc7fc60fa157ac758d1f)) +* generate latest changes from OpenApi spec ([a3b0e4d](https://github.com/jwiesler/async-stripe/commit/a3b0e4d84c99068e274d8ed7f319d4cc1d3db0cd)) +* generate latest changes from OpenApi spec ([29a457d](https://github.com/jwiesler/async-stripe/commit/29a457d280f25ebd7d95e80ad5a4af4172e05682)) +* generate latest changes from OpenApi spec ([19ac377](https://github.com/jwiesler/async-stripe/commit/19ac377c82c8b52a44092a3f93174917983d166f)) +* generate latest changes from OpenApi spec ([9b3a844](https://github.com/jwiesler/async-stripe/commit/9b3a844a94c090fd66ce7d223ccd8ddcd93a5c45)) +* generate latest changes from OpenApi spec ([d0cbc71](https://github.com/jwiesler/async-stripe/commit/d0cbc718a980aedee4b191a401e76a958c3e4bb5)) +* generate latest changes from OpenApi spec ([32e802e](https://github.com/jwiesler/async-stripe/commit/32e802ef4d36f8ab495e7c2b6abba29450eb999f)) +* generate latest changes from OpenApi spec ([4c25649](https://github.com/jwiesler/async-stripe/commit/4c256490d60e8d1e158f8f6ed7300a766c1f449d)) +* generate latest changes from OpenApi spec ([652a360](https://github.com/jwiesler/async-stripe/commit/652a3606f69e84734be7a4f83b1c7826af824437)) +* generate latest changes from OpenApi spec ([a76703c](https://github.com/jwiesler/async-stripe/commit/a76703cbb0a81ccba0a419c16518eff7216d1e26)) +* Generate latest changes from OpenApi spec ([7421960](https://github.com/jwiesler/async-stripe/commit/742196050dda3593d272321ad7565451b0012031)) +* Generate latest changes from OpenApi spec ([2fedb71](https://github.com/jwiesler/async-stripe/commit/2fedb717db50b9438d026d2b4116c3fcdbd5bdc1)) +* handle currency_options ([1bb8165](https://github.com/jwiesler/async-stripe/commit/1bb8165673eabdf157856de170ad47a1066ae362)) +* Ignore vscode folder ([0a4265d](https://github.com/jwiesler/async-stripe/commit/0a4265d6ab5466689571de7ffb29482d5143916a)) +* impl Paginable for all list items ([e05872b](https://github.com/jwiesler/async-stripe/commit/e05872b05de7b1818ee2a1d8bd1358a8e4fd8538)) +* Implement Balance retrieve ([7509c98](https://github.com/jwiesler/async-stripe/commit/7509c9878f9c85b91949e7dfeb1e1890a63f9fc2)) +* improve api doc code to fix / add more coverage ([fecaa2e](https://github.com/jwiesler/async-stripe/commit/fecaa2e17b4fb443e44b1f470beddd6659eeb107)) +* update stripe api ([2cba3fe](https://github.com/jwiesler/async-stripe/commit/2cba3fe0083c7e865e27c2795a2dfe712b421466)) +* updated ListPaginator to be generic over type T where T impl PaginableList instead of having separate SearchListPaginator and ListPaginator implementations for types SearchList and List. ([9d49602](https://github.com/jwiesler/async-stripe/commit/9d496023128ff5b3b5b16065241afc83fc1ba3cd)) +* updated ListPaginator to be generic over type T where T impl PaginableList instead of having separate SearchListPaginator and ListPaginator implementations for types SearchList and List. ([411f82c](https://github.com/jwiesler/async-stripe/commit/411f82ce849357587712043e03b2aff7e0a55e3b)) +* use codegen version of WebhookEvent rather than overriding manually ([8347a6d](https://github.com/jwiesler/async-stripe/commit/8347a6d600b11fe8d9e5d82217b9df56f9c800c8)) +* use non-generic inner function for send ([03ee440](https://github.com/jwiesler/async-stripe/commit/03ee44065d9298551152ff0a859131aae5c24349)) +* **webhook_events:** support construct_event with timestamp ([88fe501](https://github.com/jwiesler/async-stripe/commit/88fe501f3b735b87b10f80acb227bd05765355b8)) + + +### Reverts + +* Revert "chore: pin dependencies to prevent msrv lapse" ([7826eff](https://github.com/jwiesler/async-stripe/commit/7826effbf0b6a657afec47eb2b5473ec783fa701)) +* Revert "Remove dependency on chrono" ([e816e3b](https://github.com/jwiesler/async-stripe/commit/e816e3b872bc69aa9c2d96fae65117cbad4a5473)) + ## [0.34.2](https://github.com/arlyon/async-stripe/compare/v0.34.1...v0.34.2) (2024-02-21) diff --git a/Cargo.toml b/Cargo.toml index e8cd455f9..42b3a3544 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ [package] name = "async-stripe" -version = "0.34.3" +version = "1.0.0" description = "API bindings for the Stripe HTTP API" rust-version = "1.68.0" authors = [