Skip to content

Tip 47 - Ch-ch-ch-ch-changes

I get it! Youā€™re excited to tell your community about new updates to your project. Your team worked hard and is celebrating an accomplishment. They may have done some Clever Thingsā„¢ļø or removed some long-standing pain points. You publish release notes or update a CHANGELOG with what you did. (mic drop; dust hands; walk away)

But, the task has only just begun for the people who use your project! Not only do they have to learn about your changes. They may have to change their own code or how they use your project.

One PR suggestion I often make is to include actionable guidance alongside the description of a change. Your project has changes. Your reader needs to make changes! Connecting those dots in your change documentation can remove a lot of the pain, suffering, and stress of upgrading to a new version.

  • āœ… Astro v3.0 changes the default port from 3000 to 4321. šŸš€ Update any existing references to localhost:3000, for example in tests or in your README, to reflect the new port localhost:4321.

  • šŸ˜ The new default port is 4321. šŸš€

Donā€™t just tell them what. Show them how.

Donā€™t make me tap the ā€œno one ever complained that docs were too easy to readā€ sign again!

You may think the ā€œadviceā€ is trivial. Surely, your reader will know what to do with the information. But, your team has already written tests for various situations and can pinpoint which areas of a project might need updating. Who wouldnā€™t appreciate a checklist to ensure they didnā€™t miss anything during a major upgrade?

Itā€™s how we write the Astro upgrade guide breaking changes (And, I document our preferred breaking changes docs format in Astro Docs Docs.)

Toggle Comments

Ā© 2021 - 2024 Sarah Rainsberger. Except where otherwise noted, and/or quoting external sources, the content of this site is licensed under CC BY-NC-SA 4.0