-
Notifications
You must be signed in to change notification settings - Fork 6
Payment webhooks #265
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
Payment webhooks #265
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to update changelog as well.
I was also thinking about updating webhooks screenshot with the new ones, but since it's just an example, we are probably good there.
|
@StoneFrog Isn't something which should be updated after a new release?
So the updating of changelog should be in another PR which should also trigger a new release. But, of course, if you wish I can update it. I just never meet with such a release flow. |
|
@Exelord Ha, you're more experienced than I'm, so you might be right. Until now I updated changelog in the PR introducing changes and just instead of version/date I used |
|
Good. You are right it cannot be overlooked. That's why github shows you the difference between the last version and the latest commit: There are also cool tools like automatic changelog generator which based on closed PRs and issues generate it for you: https://github.com/skywinder/github-changelog-generator Basically, the master branch doesn't mean the release, as you already know, so we can merge there even a documentation which is for upcoming features. The only thing we have to care about, we have to just keep the releases fully documented, what means that right before/after the version we have to add the changelog and publish the doc on a website. In fact, do not expect that some outside contributor will update the changelog in a PR :/ This is not his responsibility. I will add a changelog as you mentioned but I definitely suggest to change a release flow in the future. As an example, you can look to some big projects eg. ember-cli or any other following schematic versioning pattern. |
|
@StoneFrog which date should I use in the changelog If I don't know when the feature will be merged? # Changelog
## 2017-XX-11
* [api improvement] Add `payment` webhooks
## 2017-18-10
* [api improvement] Add `change_overs` endpoint.
## 2017-12-10
* [doc update] Add guides for webhooks' subscriptions |
|
@Exelord for the time being |
I disagree here, it is a responsibility of the contributor to update docs, changelog etc. It is the case e.g. in Rails and as far as I remember is or used to be in ember-cli-mirage. It's just a matter of adding something under |
|
@Azdaroth OK, here are 3 random PR's from ember-cli-mirage :) and from rails Contributors don't care about changelog because PRs and releases are totally different things. The natural changelog for code is the history of commits and for the project is a changelog. When you are releasing the project (or a new version) you are going through all merged changes and based on that build the release changelog. And this is a one-time operation (can be automated) which do not rely on users engagement. This is the responsibility of project maintainer. You can not assure the contributor that his merged changes will be present in the next version. Especially in the case when you have multiple release branches. According to docs, I totally agree. |
|
@Exelord Hmm, so maybe it used to be :P But I definitely remember updating Changelog in Rails and writing docs to ember-cli-mirage when I was contributing... Ok, that makes sense, but on the other hand, I think all PRs have been submitted by us so far, so it's not like we are making it harder that way for anyone to contribute :P |
Yes, docs are totally required if the changes touch some API or behaviors. 👍 And definitely yes, we didn't make it harder :) We just shouldn't expect it from outside collaborators. This is not something obvious for them :) It would be nice if in the future we can cover and split the release flow from the development ;) |
|
@Exelord I think it depends on the project, not sure if it would help in this one. Someone from our team would need to add a Changelog, so ideally it would be the author of PR. But in the gems or addons I guess it would make more sense. |

Description
Documentation for payment webhooks