-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Next tracking branch #526
base: master
Are you sure you want to change the base?
Next tracking branch #526
Conversation
commit 88d7dbc Author: Matthew Zeitlin <[email protected]> Date: Sun Jan 7 15:00:26 2024 -0500 Use OpenAPI definitions in webhook event definition commit 6adf3f9 Author: Matthew Zeitlin <[email protected]> Date: Fri Jan 5 15:01:03 2024 -0800 Remove unnecessary test closure commit c3e3c8f Author: Matthew Zeitlin <[email protected]> Date: Fri Jan 5 12:59:07 2024 -0800 Remove AsRef<str> generated impl for enums commit 8157122 Author: Matthew Zeitlin <[email protected]> Date: Thu Dec 28 12:45:11 2023 -0500 Fix polymorphic returned types, add test commit 4b4f493 Author: Matthew Zeitlin <[email protected]> Date: Wed Dec 27 15:57:14 2023 -0500 Deduplication WIP commit acc796e Author: Matthew Zeitlin <[email protected]> Date: Tue Dec 26 14:24:59 2023 -0500 Clean update some codegen, start adding back dedup commit e09c203 Author: Matthew Zeitlin <[email protected]> Date: Sat Dec 23 15:33:37 2023 -0500 DOC: fix cases of crazy-long lines in doc comments commit 3009c49 Author: Matthew Zeitlin <[email protected]> Date: Sat Dec 23 13:59:38 2023 -0500 Try to flatten the namespace as much as possible commit feb13c4 Author: Matthew Zeitlin <[email protected]> Date: Sat Dec 23 11:47:48 2023 -0500 Add test for charge having nullable refunds commit d8a2dec Author: Matthew Zeitlin <[email protected]> Date: Sat Dec 23 11:33:51 2023 -0500 List<T> -> Option<List<T>>, no more List<T> defaults commit 3abe2e6 Author: Matthew Zeitlin <[email protected]> Date: Fri Dec 22 13:00:18 2023 -0500 Patch URLFinder handling commit 00c139c Author: Matthew Zeitlin <[email protected]> Date: Fri Dec 22 12:04:16 2023 -0500 Reintegrate search pagination too, add lots more pagination testing commit ccb9570 Author: Matthew Zeitlin <[email protected]> Date: Sun Dec 17 16:31:39 2023 -0500 Add back AsCursor trait and clean up Expandable removed id method commit 9930853 Author: Matthew Zeitlin <[email protected]> Date: Sun Dec 17 16:00:16 2023 -0500 Workaround stripe docs change, don't require doc urls commit b279dcb Author: Matthew Zeitlin <[email protected]> Date: Sun Dec 17 15:53:17 2023 -0500 Keep simple, relegate more generated code to specific generated crates commit 0a4ae20 Author: Matthew Zeitlin <[email protected]> Date: Sun Dec 10 14:28:28 2023 -0500 Add initial README changes, migration guide commit 8e2f641 Author: Matthew Zeitlin <[email protected]> Date: Sun Dec 10 10:50:47 2023 -0500 Update contributing docs and add codegen readme commit f7a0999 Author: Matthew Zeitlin <[email protected]> Date: Sun Dec 3 20:00:16 2023 -0500 [skip ci] Add readme to examples directory commit 11d80e6 Author: Matthew Zeitlin <[email protected]> Date: Sun Dec 3 19:41:57 2023 -0500 Clean up some codegen, add ability to autogenerate generated crate description commit a6bba63 Author: Matthew Zeitlin <[email protected]> Date: Sun Dec 3 13:10:20 2023 -0500 Make webhook examples more easily runnable without features commit cfb4fd0 Author: Matthew Zeitlin <[email protected]> Date: Fri Dec 1 12:59:10 2023 -0500 Address initial comments and fix openapi clippy commit 975440d Author: Matthew Zeitlin <[email protected]> Date: Thu Nov 30 15:16:06 2023 -0500 Add some manual renaming to lessen breaking changes / use clearer names commit 8c04938 Author: Matthew Zeitlin <[email protected]> Date: Thu Nov 30 14:52:16 2023 -0500 Remove rustfmt hack for stripe_treasury long lines commit 30eb3c1 Author: Matthew Zeitlin <[email protected]> Date: Thu Nov 30 14:48:16 2023 -0500 Try using just path to infer object struct name commit b7630f9 Author: Matthew Zeitlin <[email protected]> Date: Thu Nov 30 12:35:03 2023 -0500 Make sure nested paths are also reexported so don't need stripe_types commit c402ad9 Author: Matthew Zeitlin <[email protected]> Date: Thu Nov 30 12:04:22 2023 -0500 Allow codegen to replace Default::default() -> None for common option case commit 12db0bc Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 17:57:26 2023 -0500 Add examples back to CI commit 30673e9 Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 15:23:29 2023 -0500 Quiet some tracing, make sure nightly formatting present for CI commit 3c817c8 Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 15:17:15 2023 -0500 Ci fixups: async-std tests + don't expect out dir to exist commit 9836631 Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 15:08:50 2023 -0500 Keep examples separate in ci for now commit 18c4348 Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 15:02:39 2023 -0500 Make CI use same indexmap versions commit 168eeda Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 14:59:14 2023 -0500 Try to fix gh actions commit 1f83a15 Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 14:24:26 2023 -0500 Add more tests for closable issues commit 0b46685 Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 12:40:40 2023 -0500 Make id inference safer and more correct commit 0b958dc Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 11:02:44 2023 -0500 Add some testing commit 1026ea5 Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 10:56:16 2023 -0500 Move id handling to external mappings file commit 99d3fa5 Author: Matthew Zeitlin <[email protected]> Date: Sun Nov 26 00:20:43 2023 -0500 Remove no longer used generated code commit aa9e78c Author: Matthew Zeitlin <[email protected]> Date: Sat Nov 25 20:34:03 2023 -0500 Migrate git workflows commit 6e1b11e Author: Matthew Zeitlin <[email protected]> Date: Sat Nov 25 20:30:07 2023 -0500 Migrate old examples, add back from branch commit 02ba0fa Author: Matthew Zeitlin <[email protected]> Date: Sat Nov 25 17:53:52 2023 -0500 Migrate old tests, add back from branch commit 6ff0bac Author: Matthew Zeitlin <[email protected]> Date: Sat Nov 25 16:58:03 2023 -0500 Add generated files and webhook crate commit 50afbe3 Author: Matthew Zeitlin <[email protected]> Date: Sat Nov 25 16:47:14 2023 -0500 Add codegen changes commit edea437 Author: Matthew Zeitlin <[email protected]> Date: Sat Nov 25 13:53:40 2023 -0500 Remove extra files commit 25077cb Author: Matthew Zeitlin <[email protected]> Date: Sat Nov 25 13:49:41 2023 -0500 Stripe client changes + core types crate More merge changes
Codegen revamp
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #526 +/- ##
===========================================
+ Coverage 5.83% 25.62% +19.78%
===========================================
Files 146 934 +788
Lines 22571 99872 +77301
===========================================
+ Hits 1317 25592 +24275
- Misses 21254 74280 +53026 ☔ View full report in Codecov by Sentry. |
Simplify client, remove some allocations
Remove prefix validation from ids
Add fixture testing and serialize object keys Fix object keys in tests Add object field for serialization without adding field Split serde gate into serialize and deserialize
Implement miniserde-based deserialization
Implement Expandable::into_id
Enum generated FromStr improvements
* Rebase Update codegen code wip wip * Fix doc build * stripe_* to async-stripe-* crate naming * Reexport async-stripe-std from root * Add updated workflow
Add basic secret key sanity checks
A call to tracing:: was added on #576 but the dependency seems to be missing, which causes the branch to not compile at the moment.
fix(client-core): add tracing dependency
Rust 1.80 enables check cfg by default. This means that it will look for unexpected cfg configs. Currently we are using multiple cfgs that are not defined on the webhook Cargo.toml. This should fix it.
fix(next): linting issues from Rust 1.80
Be careful with ? in generated code
fix(next): enum serialization
feat(next): owned types on requests
feat(next): parse a webhook event without the secret
feat(next): expose webhook event data
feat(next): Serialize and deserialize webhook events
feat(next): keep original string on unknown variants
Monomorphisation is dead. Long live ______
Tracking PR for async-stripe
next
which addresses longstanding codegen issues from time immemorial and fixes our compile time issues.Outstanding:
It is intended that this branch become the basis for a release candidate for 1.0