2. Summary
- Semver Notation
- Update Path Strategy with Drupal
- What should be updated
- Which version to choose
- Coder Strategy
- Composer Update
- Minor version
- Major version
- How to deal with unusable patch
- How to deal with composer.lock conflict
4. - MAJOR when you make incompatible API changes
- MINOR when you add functionality backwards compatible
- PATCH when you make backwards compatible bug fixes
Structure
1 0 7
. .
MAJOR MINOR PATCH
MAJOR.MINOR.PATCH-LABEL (eg. 1.1.0-beta1)
6. Strict constraint are those constraints matching only one
version.
- Won't ever get bug fixes
- Dependency management harder when having a dependency in
common with another package
Why using strict constraint is bad
17. … deal with unusable patch
Go to the Issue using Patch name: https://www.drupal.org/
project/bamboo_twig/issues/3125699
- Someone has already rerolled the patch, then use the
new one
- Has been merged
- You need to create a rerolled patch