Skip to content

Commit 9e38dc8

Browse files
committed
Prepare for major version bump
Recent model changes have adjusted the return type of some methods and made certain behavior more strict. Though there probably aren't affected clients right now, this is technically backwards-incompatible, so the major version should be bumped.
1 parent c2c062d commit 9e38dc8

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- n/a
10+
### Changed
11+
- **API break**: types of fields on model objects are now strictly validated
12+
during construction.
13+
- **API break**: objects documented as immutable are now more deeply immutable;
14+
it is no longer possible to mutate list fields on these objects.
15+
- **API break**: fixed inconsistencies on collection model fields. All fields
16+
previously declared as tuples have been updated to use (immutable) lists.
17+
18+
19+
### Fixed
20+
- **API break**: `MaintenanceReport.last_updated`, `MaintenanceEntry.started`
21+
are now `datetime` objects as documented. In previous versions, these were
22+
documented as datetimes but implemented as `str`.
1123

1224
## [1.5.0] - 2019-09-03
1325

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_requirements():
2121

2222
setup(
2323
name="pubtools-pulplib",
24-
version="1.5.0",
24+
version="2.0.0",
2525
packages=find_packages(exclude=["tests"]),
2626
package_data={"pubtools.pulplib._impl.schema": ["*.yaml"]},
2727
url="https://github.com/release-engineering/pubtools-pulplib",

0 commit comments

Comments
 (0)