Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
3f7164ca
Commit
3f7164ca
authored
Oct 17, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated versioning policy [skip ci]
parent
4d3e4d88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
34 deletions
+21
-34
versions.md
docs/internals/versions.md
+21
-34
No files found.
docs/internals/versions.md
View file @
3f7164ca
Yii
version number
ing
Yii
Version
ing
==============
=======
==============
Releases
This document summarizes the versioning policy of Yii. In general, Yii follows the
[
Semantic Versioning
](
http://semver.org/
)
.
--------
```
## Patch Releases `2.x.Y`
A.B.C
```
-
A = For Yii2 it's always 2.
*
Maintained on a branch named
`2.x`
-
B = Major version. Non-BC changes with upgrade instructions.
*
Mainly contain bug fixes and minor feature enhancements
-
C = BC changes and additions.
*
No major features.
*
Must be 100% backward compatible to ensure worry-free upgrade. Only exception is security issues that may require breaking BC.
*
Release cycle is around 1 to 2 months.
*
No pre-releases (alpha, beta, RC) needed.
*
Should be merged back to master branch constantly (at least once every week manually).
Release candidates
------------------
```
## Minor Releases `2.X.0`
A.B.C-rc
A.B.C-rc2
```
This is when we want to do a release candidate. RC number increments till we're getting a stable release with no
*
Developed on master branch
critical bugs and backwards incompatibility reports.
*
Mainly contain new features and bug fixes
*
Contain minor features and bug fixes merged from patch releases
*
May contain BC-breaking changes which are recorded in
`UPGRADE-2.X.md`
file
*
Release cycle is around 6 to 8 months
*
Require pre-releases:
`2.X.0-alpha`
,
`2.X.0-beta`
,
`2.X.0-rc`
*
Requires major news releases and marketing effort.
Alphas and betas
----------------
```
## Major Releases `X.0.0`
A.B.C-alpha
A.B.C-alpha2
```
Alphas are unstable versions where significant bugs may and probably do exist. API isn't fixed yet and may be changed
None in plan.
significantly.
`alpha2`
etc. may or may not be released based on overall stability of code and API.
```
A.B.C-beta
A.B.C-beta2
```
Beta is more or less stable with less bugs and API instability than alphas. There still could be changes in API but
there should be a significant reason for it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment