Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: arpitjain799/python-semver

Tags

3.0.0

Toggle 3.0.0's commit message
Version 3.0.0

* Fix python-semver#258: Keep semver._deprecated.compare
* Simplify max_ver and min_ver

3.0.0-rc.1

Toggle 3.0.0-rc.1's commit message
Version: 3.0.0-rc.1

* Combine all dev releases together in one changelog
* Remove all changelog.d entries and integrate it into CHANGELOG
* Move dev releases to file changelog-semver3-devel.rst
* Split contributing into different sections
* Some doc polishing; use :meth: consistently for semver.Version methods
* Fix also some doc bugs

3.0.0-dev.4

Toggle 3.0.0-dev.4's commit message
Version: 3.0.0-dev.4

Following issues/PRs were fixed for this release:

Bug Fixes
 * python-semver#374: Correct Towncrier’s config entries in the pyproject.toml file. The old entries [[tool.towncrier.type]] are deprecated and need to be replaced by [tool.towncrier.fragment.<TYPE>].

Deprecations
 * python-semver#372: Deprecate support for Python 3.6.

   Python 3.6 reached its end of life and isn’t supported anymore. At the time of writing (Dec 2022), the lowest version is 3.7.

   Although the poll didn’t cast many votes, the majority agree to remove support for Python 3.6.

Improved Documentation
 * python-semver#335: Add new section “Converting versions between PyPI and semver” the limitations and possible use cases to convert from one into the other versioning scheme.
 * python-semver#340: Describe how to get version from a file
 * python-semver#343: Describe combining Pydantic with semver in the “Advanced topic” section.
 * python-semver#350: Restructure usage section. Create subdirectory “usage/” and splitted all section into different files.
 * python-semver#351: Introduce new topics for:
   * “Migration to semver3”
   * “Advanced topics”

Features
 * PR python-semver#359: Add optional parameter optional_minor_and_patch in Version.parse() to allow optional minor and patch parts.
 * PR python-semver#362: Make Version.match() accept a bare version string as match expression, defaulting to equality testing.
 * python-semver#364: Enhance pyproject.toml to make it possible to use the pyproject-build command from the build module. For more information, see Building semver.
 * python-semver#365: Improve pyproject.toml.
   * Use setuptools, add metadata. Taken approach from A Practical Guide to Setuptools and Pyproject.toml.
   * Doc: Describe building of semver
   * Remove .travis.yml in MANIFEST.in (not needed anymore)
   * Distinguish between Python 3.6 and others in tox.ini
   * Add skip_missing_interpreters option for tox.ini
   * GH Action: Upgrade setuptools and setuptools-scm and test against 3.11.0-rc.2

Trivial/Internal Changes
 * python-semver#378: Fix some typos in Towncrier configuration

3.0.0-dev.3

Toggle 3.0.0-dev.3's commit message
Version: 3.0.0-dev.3

Following issues/PRs were fixed for this release:

Bug Fixes

* python-semver#310: Rework API documentation. Follow a more “semi-manual” attempt
  and add auto directives into docs/api.rst.

Improved Documentation

* python-semver#312: Rework “Usage” section.
  * Mention the rename of VersionInfo to Version class
  * Remove `semver.` prefix in doctests to make examples shorter
  * Correct some references to dunder methods like `__getitem__()`,
    `__gt__()` etc.
  * Remove inconsistencies and mention module level function as
    deprecated and discouraged from using
  * Make empty `super()` call in `semverwithvprefix.py` example

* python-semver#315: Improve release procedure text

* python-semver#337: Improve documentation for semver max/min

Trivial/Internal Changes

* python-semver#309: Some (private) functions from the semver.version module has been changed.
  The following functions got renamed as it is only useful inside the
  Version class:

  * function `semver.version.comparator` got renamed to
    `semver.version._comparator()`
  * function `semver.version.cmp` got renamed to `semver.version._cmp()`

  The following functions got integrated into the Version class:

   * function `semver.version._nat_cmd` as a classmethod
   * function `semver.version.ensure_str`

* python-semver#313: Correct `tox.ini` for changelog entry to skip installation for
  semver. This should speed up the execution of towncrier.

* python-semver#316: Comparisons of Version class and other types return now a
  `NotImplemented` constant instead of a `TypeError` exception.

  The `NotImplemented` section of the Python documentation recommends
  returning this constant when comparing with `__gt__`, `__lt__`, and
  other comparison operators to “to indicate that the operation is not
  implemented with respect to the other type”.

* python-semver#319: Introduce stages in `.travis.yml`. The config file contains now
  two stages: check and test. If check fails, the test stage won’t be
  executed. This could speed up things when some checks fails.

* python-semver#322: Switch from Travis CI to GitHub Actions.

* python-semver#347: Support Python 3.10 in GitHub Action and other config files.

* Start supporting Python 3.10

Contributors

(in alphabetical order)

* @mzjp2
* @tlaferriere

Thanks to all! ❤️

3.0.0-dev.2

Toggle 3.0.0-dev.2's commit message
Version: 3.0.0-dev.2

Following issues/PRs were fixed for this release:

 # Deprecations

-   python-semver#169: Deprecate CLI functions not
    imported from `semver.cli`.

 # Features

-   python-semver#169: Create semver package and split code among different modules in the packages:
    -   Remove `semver.py`
    -   Create `src/semver/__init__.py`
    -   Create `src/semver/cli.py` for all CLI methods
    -   Create `src/semver/_deprecated.py` for the `deprecated`
        decorator and other deprecated functions
    -   Create `src/semver/__main__.py` to allow calling the CLI using
        `python -m semver`
    -   Create `src/semver/_types.py` to hold type aliases
    -   Create `src/semver/version.py` to hold the `Version` class (old
        name `VersionInfo`) and its utility functions
    -   Create `src/semver/__about__.py` for all the metadata variables
-   python-semver#305: Rename `VersionInfo` to `Version` but keep an alias for compatibility

 # Improved Documentation

-   python-semver#304: Several improvements in documentation:
    -   Reorganize API documentation.
    -   Add migration chapter from semver2 to semver3.
    -   Distinguish between changlog for version 2 and 3
-   python-semver#305: Add note about `Version` rename.

 # Trivial/Internal Changes

-   python-semver#169: Adapted infrastructure code to the new project layout.

    -   Replace `setup.py` with `setup.cfg` because the
        `setup.cfg` is easier to use
    -   Adapt documentation code snippets where needed
    -   Adapt tests
    -   Changed the `deprecated` to hardcode the `semver` package name
        in the warning.

    Increase coverage to 100% for all non-deprecated APIs

-   python-semver#304: Support PEP-561 `py.typed`.

    According to the mentioned PEP:

    > \"Package maintainers who wish to support type checking of their
    > code MUST add a marker file named `py.typed` to their
    > package supporting typing.\"

    Add package\_data to `setup.cfg` to include this marker in dist and whl file.

 # Contributors

(in alphabetical order)

* @tlaferriere

Thanks to all! ❤️

3.0.0-dev.1

Toggle 3.0.0-dev.1's commit message
Version: 3.0.0-dev.1

This is a major release. So many things were changed.
Following issues/PRs were fixed for this release:

* python-semver#290: Create semver 3.0.0-dev.1; mostly improving in
  * documentation: new layout to distinguish from the semver2 line.
    Also new logo, removed occurances of Python2, describe changelog
    process with Towncrier and update release process.
  * Introduce `changelog.d` directory for Towncrier. Used to
    improve process of our Changelog generation.
  * Remove old code in regards to Python2; also testing it against
    3.8, 3.9-dev, and 3.10-dev
* python-semver#234: Simplify `setup.py`
* python-semver#270: Configure Towncrier
* python-semver#276: Document how to create a subclass from `VersionInfo` class
* python-semver#291: Disallow negative numbers in `VersionInfo` arguments for
  `major`, `minor`, and `patch`.

2.13.0

Toggle 2.13.0's commit message
Version 2.12.0

Following issues/PRs were fixed for this release:

* python-semver#287: Document how to create subclass from VersionInfo
* python-semver#283: Ensure equal versions have equal hashes

2.12.0

Toggle 2.12.0's commit message
Version 2.12.0

Following issues/PRs were fixed for this release:

* Fix python-semver#291: Disallow negative numbers in VersionInfo (python-semver#292)

2.11.0

Toggle 2.11.0's commit message
Version 2.11.0

* python-semver#274 / python-semver#275 String Types Py2 vs. Py3 compatibility
* python-semver#277 Turn VersionInfo.parse into classmethod to allow subclasses
* python-semver#286 Add author and update changelog for python-semver#276/python-semver#277

2.10.2

Toggle 2.10.2's commit message
Create semver version 2.10.2 (python-semver#271)

Following issues/PRs were fixed for this release:

* python-semver#160: Deprecated `semver.max_ver` and `semver.min_ver`
* python-semver#260: Fixed `__getitem__` returning None on wrong parts
* python-semver#263: Doc: Added missing "install" subcommand for openSUSE
* python-semver#268: Increased coverage