Skip to content

Commit 03d0232

Browse files
author
Jussi Kukkonen
authored
Merge pull request #1873 from jku/1.0.0-release
1.0.0 release
2 parents fc9b42f + 46f5bb7 commit 03d0232

File tree

5 files changed

+52
-29
lines changed

5 files changed

+52
-29
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@
66
[![CII](https://bestpractices.coreinfrastructure.org/projects/1351/badge)](https://bestpractices.coreinfrastructure.org/projects/1351)
77
[![PyPI](https://img.shields.io/pypi/v/tuf)](https://pypi.org/project/tuf/)
88

9-
----------------------------
10-
*__IMPORTANT NOTICE:__ A stable 1.0.0 release of the modern implementation only
11-
is scheduled for January 2022. Please see the [*1.0.0
12-
announcement*](https://github.com/theupdateframework/python-tuf/blob/develop/docs/1.0.0-ANNOUNCEMENT.md)
13-
page for more details about the release and the deprecation of the legacy
14-
implementation, including migration instructions.*
15-
169
----------------------------
1710
[The Update Framework (TUF)](https://theupdateframework.io/) is a framework for
1811
secure content delivery and updates. It protects against various types of
@@ -30,7 +23,7 @@ Python-TUF provides two APIs:
3023

3124
High-level support for implementing
3225
[repository operations](https://theupdateframework.github.io/specification/latest/#repository-operations)
33-
is planned but not yet provided: see [1.0.0 plans](https://github.com/theupdateframework/python-tuf/blob/develop/docs/1.0.0-ANNOUNCEMENT.md).
26+
is planned but not yet provided: see [ADR 10](https://github.com/theupdateframework/python-tuf/blob/develop/docs/adr/0010-repository-library-design.md).
3427

3528
The reference implementation strives to be a readable guide and demonstration
3629
for those working on implementing TUF in their own languages, environments, or

docs/1.0.0-ANNOUNCEMENT.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
# Announcing TUF 1.0.0
22

3-
In the past year we have made an effort to revise, redesign and rewrite this
4-
python-tuf reference implementation, and we are very excited to announce a
5-
stable 1.0.0 release scheduled for January 2022. The release *will* include:
3+
Python-TUF v1.0.0 is a rewritten stable reference implementation of the TUF
4+
specification, which *currently* includes:
65
- a modern low-level [*metadata
76
API*](https://theupdateframework.readthedocs.io/en/latest/api/tuf.api.html)
87
- a fully specification-compliant [*updater
98
client*](https://theupdateframework.readthedocs.io/en/latest/api/tuf.ngclient.html),
109
serving as a more robust and yet more flexible stand-in replacement
1110
for the legacy client updater
1211

12+
For the reasons outlined in [ADR 10](https://github.com/theupdateframework/python-tuf/blob/develop/docs/adr/0010-repository-library-design.md
13+
), this release *does not yet* include *repository tool*-like functionality.
14+
However, the new *metadata API* makes it easy to replicate the desired
15+
functionality tailored to the specific needs of any given repository (see
16+
*Migration* for details).
17+
1318
As discussed in [ADR 2](https://github.com/theupdateframework/python-tuf/blob/develop/docs/adr/0002-pre-1-0-deprecation-strategy.md), this
14-
release *will not* include any legacy code, as its maintenance has become
19+
release *does not* include any legacy code, as its maintenance has become
1520
infeasible for the python-tuf team. The pre-1.0.0 deprecation strategy from ADR
1621
2 applies as follows:
1722

@@ -21,13 +26,6 @@ prior to 1.0.0 will be considered, and merged (subject to normal review
2126
processes). Note that there may be delays due to the lack of developer resources
2227
for reviewing such pull requests.*
2328

24-
For the reasons outlined in [ADR 10](https://github.com/theupdateframework/python-tuf/blob/develop/docs/adr/0010-repository-library-design.md
25-
), this release *will not yet* include a new *repository tool*. However, the new
26-
*metadata API* makes it easy to replicate the desired functionality tailored to
27-
the specific needs of any given repository (see *Migration* for details).
28-
29-
30-
3129

3230
## Migration
3331

docs/CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# Changelog
22

3+
## v1.0.0
4+
5+
This release makes ngclient and the Metadata API the supported python-tuf APIs.
6+
It also removes the legacy implementation as documented in the
7+
[1.0.0 announcement](1.0.0-ANNOUNCEMENT.md): all library code is now contained
8+
in `tuf.api` or `tuf.ngclient`.
9+
10+
### Added
11+
* tests: Extend testing (#1689, #1703, #1711, #1728, #1735, #1738,
12+
#1742, #1766, #1777, #1809, #1831)
13+
14+
### Changed
15+
* Metadata API: Disallow microseconds in expiry (#1712)
16+
* Metadata API: Preserve role keyid order (#1754)
17+
* Metadata API: Make exceptions more consistent (#1725, #1734, #1787, #1840,
18+
#1836)
19+
* Metadata API: Update supported spec version to "1.0.28" (#1825)
20+
* Metadata API: Accept legacy spec version "1.0" (#1796)
21+
* Metadata API: Accept custom fields in Metadata (#1861)
22+
* ngclient: Remove temporary file in failure cases (#1757)
23+
* ngclient: Explicitly encode rolename in URL (#1759)
24+
* ngclient: Allow HTTP payload compression (#1774)
25+
* ngclient: Make exceptions more consistent (#1799, #1810)
26+
* docs: Improve documentation (#1744, #1749, #1750, #1755, #1771, #1776, #1772,
27+
#1780, #1781, #1800, #1815, #1820, #1829, #1838, #1850, #1853, #1855, #1856
28+
#1868, #1871)
29+
* build: Various build infrastructure improvements (#1718, #1724, #1760, #1762,
30+
#1767, #1803, #1830, #1832, #1837, #1839)
31+
* build: Stop supporting EOL Python 3.6 (#1783)
32+
* build: Update dependencies (#1809, #1827, #1834, #1863, #1865, #1870)
33+
34+
### Removed
35+
* Remove all legacy code including old client, repository_tool, repository_lib
36+
and the scripts (#1790)
37+
* Metadata API: Remove modification helper methods that are no longer necessary
38+
(#1736, #1740, #1743)
39+
* tests: Remove client tests that were replaced with better ones (#1741)
40+
* tests: Stop using unittest_toolbox (#1792)
41+
* docs: Remove deprecated documentation (#1768, #1769, #1773, #1848)
42+
343

444
## v0.20.0
545

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = tuf
3-
version = 0.20.0
3+
version = 1.0.0
44
author = https://www.updateframework.com
55
author_email = [email protected]
66
description = A secure updater framework for Python

tuf/__init__.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,4 @@
88
# setup.cfg has it hard-coded separately.
99
# Currently, when the version is changed, it must be set in both locations.
1010
# TODO: Single-source the version number.
11-
__version__ = "0.20.0"
12-
13-
# This reference implementation produces metadata intended to conform to
14-
# version 1.0.0 of the TUF specification, and is expected to consume metadata
15-
# conforming to version 1.0.0 of the TUF specification.
16-
# All downloaded metadata must be equal to our supported major version of 1.
17-
# For example, "1.4.3" and "1.0.0" are supported. "2.0.0" is not supported.
18-
# See https://github.com/theupdateframework/specification
19-
SPECIFICATION_VERSION = "1.0.0"
11+
__version__ = "1.0.0"

0 commit comments

Comments
 (0)