Updating goilerplate
How to update your goilerplate project to the latest version
Unlike traditional frameworks, goilerplate is a starting point that you’ll customize extensively. Automatic updates could overwrite your changes, so we recommend reviewing changelogs and cherry-picking the updates you need.
How to Update
1. Check for New Releases
Visit the Releases page to see what’s new.
2. Review the Changelog
Each release includes:
- What changed (features, fixes, breaking changes)
- Files affected
- Migration notes if applicable
3. Compare Versions
Use GitHub’s compare view to see all changes between versions:
https://github.com/templui/goilerplate/compare/v1.0.2...v1.0.3
Replace version numbers with your current and target versions.
4. Apply Changes Manually
Review the diff and apply relevant changes to your codebase. Focus on:
- Bug fixes - Usually safe to apply
- Security updates - Important to review and apply
- New features - Optional, apply if needed
- Breaking changes - Requires careful migration
When to Update
- Security fixes - Update as soon as possible
- Bug fixes - Update when convenient
- New features - Update when you need them
- Breaking changes - Plan migration carefully