File: CHANGELOG.rst

package info (click to toggle)
python-semver 2.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 296 kB
  • sloc: python: 1,589; makefile: 29
file content (538 lines) | stat: -rw-r--r-- 11,217 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
##########
Change Log
##########


All notable changes to this code base will be documented in this file,
in every released version.


Version 2.10.2
==============

:Released: 2020-06-15
:Maintainer: Tom Schraitle

Features
--------

:gh:`268`: Increase coverage


Bug Fixes
---------

:gh:`260` (:pr:`261`): Fixed ``__getitem__`` returning None on wrong parts
:pr:`263`: Doc: Add missing "install" subcommand for openSUSE


Additions
---------

n/a

Deprecations
--------

* :gh:`160` (:pr:`264`):
    * :func:`semver.max_ver`
    * :func:`semver.min_ver`


Version 2.10.1
==============

:Released: 2020-05-13
:Maintainer: Tom Schraitle


Features
--------

* :pr:`249`: Added release policy and version restriction in documentation to
  help our users which would like to stay on the major 2 release.
* :pr:`250`: Simplified installation semver on openSUSE with ``obs://``.
* :pr:`256`: Made docstrings consistent


Bug Fixes
---------

* :gh:`251` (:pr:`254`): Fixed return type of ``semver.VersionInfo.next_version``
  to always return a ``VersionInfo`` instance.


Version 2.10.0
==============

:Released: 2020-05-05
:Maintainer: Tom Schraitle

Features
--------

* :pr:`138`: Added ``__getitem__`` magic method to ``semver.VersionInfo`` class.
  Allows to access a version like ``version[1]``.
* :pr:`235`: Improved documentation and shift focus on ``semver.VersionInfo`` instead of advertising
  the old and deprecated module-level functions.


Bug Fixes
---------

* :gh:`224` (:pr:`226`): In ``setup.py``, replaced in class ``clean``,
  ``super(CleanCommand, self).run()`` with ``CleanCommand.run(self)``
* :gh:`244` (:pr:`245`): Allow comparison with ``VersionInfo``, tuple/list, dict, and string.


Additions
---------

* :pr:`228`: Added better doctest integration


Deprecations
--------
* :gh:`225` (:pr:`229`): Output a DeprecationWarning for the following functions:

  - ``semver.parse``
  - ``semver.parse_version_info``
  - ``semver.format_version``
  - ``semver.bump_{major,minor,patch,prerelease,build}``
  - ``semver.finalize_version``
  - ``semver.replace``
  - ``semver.VersionInfo._asdict`` (use the new, public available
    function ``semver.VersionInfo.to_dict()``)
  - ``semver.VersionInfo._astuple`` (use the new, public available
    function ``semver.VersionInfo.to_tuple()``)

  These deprecated functions will be removed in semver 3.



Version 2.9.1
=============
:Released: 2020-02-16
:Maintainer: Tom Schraitle

Features
--------

* :gh:`177` (:pr:`178`): Fixed repository and CI links (moved https://github.com/k-bx/python-semver/ repository to https://github.com/python-semver/python-semver/)
* :pr:`179`: Added note about moving this project to the new python-semver organization on GitHub
* :gh:`187` (:pr:`188`): Added logo for python-semver organization and documentation
* :gh:`191` (:pr:`194`): Created manpage for pysemver
* :gh:`196` (:pr:`197`): Added distribution specific installation instructions
* :gh:`201` (:pr:`202`): Reformatted source code with black
* :gh:`208` (:pr:`209`): Introduce new function :func:`semver.VersionInfo.isvalid`
  and extend :command:`pysemver` with :command:`check` subcommand
* :gh:`210` (:pr:`215`): Document how to deal with invalid versions
* :pr:`212`: Improve docstrings according to PEP257

Bug Fixes
---------

* :gh:`192` (:pr:`193`): Fixed "pysemver" and "pysemver bump" when called without arguments


Version 2.9.0
=============
:Released: 2019-10-30
:Maintainer: Sébastien Celles <s.celles@gmail.com>

Features
--------

* :gh:`59` (:pr:`164`): Implemented a command line interface
* :gh:`85` (:pr:`147`, :pr:`154`): Improved contribution section
* :gh:`104` (:pr:`125`): Added iterator to :func:`semver.VersionInfo`
* :gh:`112`, :gh:`113`: Added Python 3.7 support
* :pr:`120`: Improved test_immutable function with properties
* :pr:`125`: Created :file:`setup.cfg` for pytest and tox
* :gh:`126` (:pr:`127`): Added target for documentation in :file:`tox.ini`
* :gh:`142` (:pr:`143`): Improved usage section
* :gh:`144` (:pr:`156`): Added :func:`semver.replace` and :func:`semver.VersionInfo.replace`
  functions
* :gh:`145` (:pr:`146`): Added posargs in :file:`tox.ini`
* :pr:`157`: Introduce :file:`conftest.py` to improve doctests
* :pr:`165`: Improved code coverage
* :pr:`166`: Reworked :file:`.gitignore` file
* :gh:`167` (:pr:`168`): Introduced global constant :data:`SEMVER_SPEC_VERSION`

Bug Fixes
---------

* :gh:`102`: Fixed comparison between VersionInfo and tuple
* :gh:`103`: Disallow comparison between VersionInfo and string (and int)
* :gh:`121` (:pr:`122`): Use python3 instead of python3.4 in :file:`tox.ini`
* :pr:`123`: Improved :func:`__repr__` and derive class name from :func:`type`
* :gh:`128` (:pr:`129`): Fixed wrong datatypes in docstring for :func:`semver.format_version`
* :gh:`135` (:pr:`140`): Converted prerelease and build to string
* :gh:`136` (:pr:`151`): Added testsuite to tarball
* :gh:`154` (:pr:`155`): Improved README description

Removals
--------

* :gh:`111` (:pr:`110`): Dropped Python 3.3
* :gh:`148` (:pr:`149`): Removed and replaced ``python setup.py test``


Version 2.8.2
=============
:Released: 2019-05-19
:Maintainer: Sébastien Celles <s.celles@gmail.com>

Skipped, not released.


Version 2.8.1
=============
:Released: 2018-07-09
:Maintainer: Sébastien Celles <s.celles@gmail.com>

Features
--------

* :gh:`40` (:pr:`88`): Added a static parse method to VersionInfo
* :gh:`77` (:pr:`47`): Converted multiple tests into pytest.mark.parametrize
* :gh:`87`, :gh:`94` (:pr:`93`): Removed named tuple inheritance.
* :gh:`89` (:pr:`90`): Added doctests.

Bug Fixes
---------

* :gh:`98` (:pr:`99`): Set prerelease and build to None by default
* :gh:`96` (:pr:`97`): Made VersionInfo immutable


Version 2.8.0
=============
:Released: 2018-05-16
:Maintainer: Sébastien Celles <s.celles@gmail.com>


Changes
-------

* :gh:`82` (:pr:`83`): Renamed :file:`test.py` to :file:`test_semver.py` so 
  py.test can autodiscover test file

Additions
---------

* :gh:`79` (:pr:`81`, :pr:`84`): Defined and improve a release procedure file
* :gh:`72`, :gh:`73` (:pr:`75`): Implemented :func:`__str__` and :func:`__hash__`

Removals
--------

* :gh:`76` (:pr:`80`): Removed Python 2.6 compatibility


Version 2.7.9
=============

:Released: 2017-09-23
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>


Additions
---------

* :gh:`65` (:pr:`66`): Added :func:`semver.finalize_version` function.


Version 2.7.8
=============

:Released: 2017-08-25
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

* :gh:`62`: Support custom default names for pre and build


Version 2.7.7
=============

:Released: 2017-05-25
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

* :gh:`54` (:pr:`55`): Added comparision between VersionInfo objects
* :pr:`56`: Added support for Python 3.6


Version 2.7.2
=============

:Released: 2016-11-08
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Additions
---------

* Added :func:`semver.parse_version_info` to parse a version string to a
  version info tuple.

Bug Fixes
---------

* :gh:`37`: Removed trailing zeros from prelease doesn't allow to
  parse 0 pre-release version

* Refine parsing to conform more strictly to SemVer 2.0.0.

  SemVer 2.0.0 specification §9 forbids leading zero on identifiers in
  the prerelease version.


Version 2.6.0
=============

:Released: 2016-06-08
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Removals
--------

* Remove comparison of build component.

  SemVer 2.0.0 specification recommends that build component is
  ignored in comparisons.


Version 2.5.0
=============

:Released: 2016-05-25
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Additions
---------

* Support matching 'not equal' with “!=”.

Changes
-------

* Made separate builds for tests on Travis CI.


Version 2.4.2
=============

:Released: 2016-05-16
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Changes
-------

* Migrated README document to reStructuredText format.

* Used Setuptools for distribution management.

* Migrated test cases to Py.test.

* Added configuration for Tox test runner.


Version 2.4.1
=============

:Released: 2016-03-04
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Additions
---------

* :gh:`23`: Compared build component of a version.


Version 2.4.0
=============

:Released: 2016-02-12
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Bug Fixes
---------

* :gh:`21`: Compared alphanumeric components correctly.


Version 2.3.1
=============

:Released: 2016-01-30
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Additions
---------

* Declared granted license name in distribution metadata.


Version 2.3.0
=============

:Released: 2016-01-29
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Additions
---------

* Added functions to increment prerelease and build components in a
  version.


Version 2.2.1
=============

:Released: 2015-08-04
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Bug Fixes
---------

* Corrected comparison when any component includes zero.


Version 2.2.0
=============

:Released: 2015-06-21
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Additions
---------

* Add functions to determined minimum and maximum version.

* Add code examples for recently-added functions.


Version 2.1.2
=============

:Released: 2015-05-23
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Bug Fixes
---------

* Restored current README document to distribution manifest.


Version 2.1.1
=============

:Released: 2015-05-23
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Bug Fixes
---------

* Removed absent document from distribution manifest.


Version 2.1.0
=============

:Released: 2015-05-22
:Maintainer: Kostiantyn Rybnikov <k-bx@k-bx.com>

Additions
---------

* Documented installation instructions.

* Documented project home page.

* Added function to format a version string from components.

* Added functions to increment specific components in a version.

Changes
-------

* Migrated README document to Markdown format.

Bug Fixes
---------

* Corrected code examples in README document.


Version 2.0.2
=============

:Released: 2015-04-14
:Maintainer: Konstantine Rybnikov <k-bx@k-bx.com>

Additions
---------

* Added configuration for Travis continuous integration.

* Explicitly declared supported Python versions.


Version 2.0.1
=============

:Released: 2014-09-24
:Maintainer: Konstantine Rybnikov <k-bx@k-bx.com>

Bug Fixes
---------

* :gh:`9`: Fixed comparison of equal version strings.


Version 2.0.0
=============

:Released: 2014-05-24
:Maintainer: Konstantine Rybnikov <k-bx@k-bx.com>

Additions
---------

* Grant license in this code base under BSD 3-clause license terms.

Changes
-------

* Update parser to SemVer standard 2.0.0.

* Ignore build component for comparison.


Version 0.0.2
=============

:Released: 2012-05-10
:Maintainer: Konstantine Rybnikov <k-bx@k-bx.com>

Changes
-------

* Use standard library Distutils for distribution management.


Version 0.0.1
=============

:Released: 2012-04-28
:Maintainer: Konstantine Rybnikov <kost-bebix@yandex.ru>

* Initial release.


..
    Local variables:
    coding: utf-8
    mode: text
    mode: rst
    End:
    vim: fileencoding=utf-8 filetype=rst :