All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- 102 is the new ESR major version
- Added
MobileVersion
as a replacement toFenixVersion
;FenixVersion
to be removed in a future release
- 91 is the new ESR major version
- added
is_release
,is_beta
, and is_release_candidateattrs to
MavenVersion`
- 78 is the new ESR major number
GeckoVersion.bump_version_type()
to help mergedays.
FenixVersion
support for release or beta style Fenix releases.
- Missing requirements in pypi packages
BaseVersion.bump()
, which takes care of setting or resetting the right numbers. It's also exposed to child classes. Edge cases are taken into account- Pre-rapid-release version numbers (like 1.5.0.1) are now supported. There are a few edge cases still unsupported (e.g.: 3.0.19-real-real)
VersionType.RELEASE_CANDIDATE
was added to support pre-rapid-release version numbers.
VersionType.RELEASE
andVersionType.ESR
have their integer bumped, soVersionType.RELEASE_CANDIDATE
fits in.PatternNotMatchedError
now takes several patternsGeckoVersion
now raises when an "a2" version is created after Project Dawn happened.
- Bug 1561617: part 3 - FennecVersion accepts 68.X because of the version.txt of beta.
- Bug 1561617: part 2 - FennecVersion accepts 68.Xa1.
- Bug 1561617: part 1 - FennecVersion doesn't accept any version >=69 and accepts 68.XbN.
BalrogVersion
,GeckoVersion
and derivatives are now hashable.
mozilla_version.version.BaseVersion
to expose semver-like numbers.mozilla_version.maven.MavenVersion
to handle Maven version and more precisely the ones like0.30.0-SNAPSHOT
.
VersionType.ESR
is now greater thanVersionType.RELEASE
. This facilitates filtering on mixed-list of releases.
mozilla_version.gecko.GeckoSnapVersion
to handle Ubuntu Snap packages.
GeckoVersion._compare()
doesn't cast other toFirefoxVersion
anymore.
- Added requirements.txt.in in package so setup.py works
- Unpinned dependencies when installing mozilla-version as a library (via setup.py)
FirefoxVersion
was moved frommozilla_version.firefox
tomozilla_version.gecko
FirefoxVersion()
doesn't parse strings anymore.FirefoxVersion.parse(string)
should be called instead.FirefoxVersion()
allows to build version numbers by specifying raw values directly
- In
mozilla_version.gecko
:ThunderbirdVersion
,FennecVersion
,DeveditionVersion
, andGeckoVersion
. The latter being a class that has generic support of the others (+FirefoxVersion
) - Known edge cases that were ever shipped to Balrog. For instance: Firefox 38.0.5b1.
- Added
enum34
package for python < 3.4
- Missing requirements file in package
- Python 2.7 support, needed by mozilla-central
Initial release