Skip to content
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

Change Log Process #17

Open
QuintinWillison opened this issue Feb 9, 2022 · 4 comments
Open

Change Log Process #17

QuintinWillison opened this issue Feb 9, 2022 · 4 comments
Labels
SDK Relates to the Ably SDK Team and our ways of working in open source.

Comments

@QuintinWillison
Copy link
Contributor

QuintinWillison commented Feb 9, 2022

In this PR comment I referred to a possible alternative to the way that we build our change logs for releases:

This is a good example of a change where we need to 'remember' (collectively) to ensure this is highlighted as a (potentially breaking?) change to runtime behaviour. Impacts:

  • It should appear in changelog as such for next release
  • Next release should perhaps have more than a patch revision bump (I know we're planning to make this part of a minor bump for next release, perhaps)

the basic mechanism was that when a change was made that was changelog-worthy for the next release then the changelog was modified as an atomic part of that change (i.e. within the same PR). I like that, a lot. We would need to define a standard for how we do this as a team

That is, our CHANGELOG.md would become a first class citizen in the development process. We would have a 'running tab' for the 'latest' (HEAD of main - default - branch) at the top, and then when we did a release PR the engineer working on that would curate and mould it into something that's ready to present for the that release.

@QuintinWillison QuintinWillison added the SDK Relates to the Ably SDK Team and our ways of working in open source. label Feb 9, 2022
@QuintinWillison
Copy link
Contributor Author

Scope of work done under this issue should also include this internal Slack comment from @mattheworiordan:

Can we please write up a wiki entry on what the process is for SDK updates and public changelog and library changelog?

@QuintinWillison
Copy link
Contributor Author

Internal Confluence pages on this topic:

There is probably value in bringing all this information into open source, within this repository.

@QuintinWillison
Copy link
Contributor Author

We also need to define what things are 'change log worthy' and which things should not be added because they contribute 'noise' from the SDK-user / App-developer perspective. So, for example, the 'skipped test' entries in this change log commit don't add any value to SDK users who are going to be looking at the change log in order to discover things that might affect their application code.

@QuintinWillison
Copy link
Contributor Author

We also need to consider the situation where we're releasing a version that's coming out of pre-release. This means that the changelog will have entries for each pre-release, yet we should probably (?) create a changelog entry for this new non-pre-release that summarises changes all the way back to the previous non-pre-release. e.g.:

Version Changelog Entry Scope
1.0.0
1.1.0-rc.1 From 1.0.0 to 1.1.0-rc.1
1.1.0-rc.2 From 1.1.0-rc.1 to 1.1.0-rc.2
1.1.0 From 1.0.0 to 1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SDK Relates to the Ably SDK Team and our ways of working in open source.
Development

No branches or pull requests

1 participant