arlyon / async-stripe

Async (and blocking!) Rust bindings for the Stripe API
https://payments.rs
Apache License 2.0
453 stars 130 forks source link

Public api #553

Closed jwiesler closed 1 week ago

jwiesler commented 4 months ago

Observations:

Open questions:

Update: cargo public-api diff should work after they release a new version on crates.io. This is also what I would use. However, how would we use this? As an optional check just to at least see that something changed?

arlyon commented 4 months ago

Hi! It would be handy if we could get a comment on each PR with the changes. It would really help during the weekly codegen changes to see what is different (and by extension the changelogs :))

jwiesler commented 4 months ago

This is a proof of concept for cargo public api, we need to talk about what to integrate (I'd favor the job instead of the test). It'd also be great if the new client features would be additive insteadof exclusive such that we can use one tests run, one clippy run and one public-api job run instead of n.

arlyon commented 2 months ago

Will take a proper look at this tonight and come back with some detailed comments. Thanks!

arlyon commented 2 months ago

Nice, I can see the PR is closed out so I will see if I can get this working. I have a CI step that produces unpublished APIs, we can reuse that to post a comment on PRs

github-actions[bot] commented 2 months ago

Removed items from the public API

(none)

Changed items in the public API

(none)

Added items to the public API

(none)

arlyon commented 2 months ago

^ nice! shall we get rid of the test and just use this @jwiesler?

jwiesler commented 1 month ago

Sure! I'll just do it right now.

jwiesler commented 1 month ago

@arlyon as far as I remember this has one problem: The ci token of actions that run from a commiter that is not a collaborator has severly reduced permissions and can't generate/edit comments.

Edit: see https://stackoverflow.com/a/71683208

jwiesler commented 1 month ago

I fixed it. Can't merge it though since tokio-hyper doesn't compile on the current nightly (seems to me)

arlyon commented 1 week ago

:tada: This PR is included in version 0.40.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: