@@ -16,6 +16,79 @@ in our repository.
16
16
17
17
.. towncrier release notes start
18
18
19
+ Version 3.0.0-dev.2
20
+ ===================
21
+
22
+ :Released: 2020-11-01
23
+ :Maintainer: Tom Schraitle
24
+
25
+
26
+ Deprecations
27
+ ------------
28
+
29
+ * :gh: `169 `: Deprecate CLI functions not imported from ``semver.cli ``.
30
+
31
+
32
+
33
+ Features
34
+ --------
35
+
36
+ * :gh: `169 `: Create semver package and split code among different modules in the packages.
37
+
38
+ * Remove :file: `semver.py `
39
+ * Create :file: `src/semver/__init__.py `
40
+ * Create :file: `src/semver/cli.py ` for all CLI methods
41
+ * Create :file: `src/semver/_deprecated.py ` for the ``deprecated `` decorator and other deprecated functions
42
+ * Create :file: `src/semver/__main__.py ` to allow calling the CLI using :command: `python -m semver `
43
+ * Create :file: `src/semver/_types.py ` to hold type aliases
44
+ * Create :file: `src/semver/version.py ` to hold the :class: `Version ` class (old name :class: `VersionInfo `) and its utility functions
45
+ * Create :file: `src/semver/__about__.py ` for all the metadata variables
46
+
47
+ * :gh: `305 `: Rename :class: `VersionInfo ` to :class: `Version ` but keep an alias for compatibility
48
+
49
+
50
+
51
+ Improved Documentation
52
+ ----------------------
53
+
54
+ * :gh: `304 `: Several improvements in documentation:
55
+
56
+ * Reorganize API documentation.
57
+ * Add migration chapter from semver2 to semver3.
58
+ * Distinguish between changlog for version 2 and 3
59
+
60
+ * :gh: `305 `: Add note about :class: `Version ` rename.
61
+
62
+
63
+
64
+ Trivial/Internal Changes
65
+ ------------------------
66
+
67
+ * :gh: `169 `: Adapted infrastructure code to the new project layout.
68
+
69
+ * Replace :file: `setup.py ` with :file: `setup.cfg ` because the :file: `setup.cfg ` is easier to use
70
+ * Adapt documentation code snippets where needed
71
+ * Adapt tests
72
+ * Changed the ``deprecated `` to hardcode the ``semver `` package name in the warning.
73
+
74
+ Increase coverage to 100% for all non-deprecated APIs
75
+
76
+ * :gh: `304 `: Support PEP-561 :file: `py.typed `.
77
+
78
+ According to the mentioned PEP:
79
+
80
+ "Package maintainers who wish to support type checking
81
+ of their code MUST add a marker file named :file: `py.typed `
82
+ to their package supporting typing."
83
+
84
+ Add package_data to :file: `setup.cfg ` to include this marker in dist
85
+ and whl file.
86
+
87
+
88
+
89
+ ----
90
+
91
+
19
92
Version 3.0.0-dev.1
20
93
===================
21
94
0 commit comments