Versioning and support
In short: while a package's version starts with 0., only a new minor version (0.2 to 0.3) may break your code. Patch releases (0.2.4 to 0.2.5) never do, and the changelog marks every breaking change with a migration note.
One policy covers every package: Rust and Go, ports and original packages. The full text is section 15 of STANDARDS.md.
Version numbers
- Semantic versioning, with one rule for
0.x. While the major number is zero, only the minor number may break:0.3.0may break code written for0.2.x, but0.2.5may not break0.2.4. Cargo resolves0.yrequirements the same way. For Go, which makes no promise forv0, this is our promise. - A package's version is its own, not the framework's. Each release states the framework range it supports, in its README and its manifest. The manifest gives a range, never an exact pin.
- One version per repository. A core crate and its Laravel adapter, or the Go modules of one repository, share a version number and release together. You never have to match versions by hand.
- 1.0 comes last. A package reaches 1.0 only after the framework itself has, after three months without a breaking change, and after an independent review. A port must also be at full parity.
What counts as breaking
A change is breaking if code, builds or documented behaviour that the previous release supported stop working. That includes:
- a public function, type or method removed, renamed or given another signature;
- a config key renamed or removed, or a documented default changed;
- a route, URL, view, template function, command or event renamed;
- a database migration that isn't purely additive;
- observable output changed: rendered HTML, formatted strings, JSON shapes, or error messages an app might match. For a port, this includes following a new PHP version whose output differs;
- a supported framework release dropped, or a newer framework minor required;
- the minimum Rust or Go version raised.
Not breaking: additions that leave existing code valid, new optional config keys whose defaults keep today's behaviour, and fixes that restore what the previous release documented. The changelog names the promise such a fix restores.
Deprecation
A package deprecates before it removes. The deprecation names the replacement. A deprecated item stays for at least one more minor release while the package is 0.x, and until the next major release after 1.0.
Changelogs
Every package keeps a CHANGELOG.md in the Keep a Changelog format. Each breaking line starts with Breaking:, and each breaking release includes a short migration note with before and after code.
Which versions get fixes
- The latest minor release gets every fix.
- When a new framework minor forces a breaking package release, the previous release line gets security fixes for three more months. The package's
SECURITY.mdlists each supported line and its end date. - A version is yanked or retracted only when it is unsafe or badly broken, and only after a fixed version is out. Released tags never move.