Skip to content

Commit 6c7069e

Browse files
authored
Prep 2.0.0 (#778)
* sigstore: 2.0.0 Signed-off-by: William Woodruff <william@trailofbits.com> * README, CHANGELOG: 2.0 prep Signed-off-by: William Woodruff <william@trailofbits.com> * transparency: fix Pydantic API use Signed-off-by: William Woodruff <william@trailofbits.com> --------- Signed-off-by: William Woodruff <william@trailofbits.com>
1 parent 9255024 commit 6c7069e

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ All versions prior to 0.9.0 are untracked.
88

99
## [Unreleased]
1010

11+
## [2.0.0]
12+
1113
### Added
1214

1315
* CLI: `sigstore sign` and `sigstore get-identity-token` now support the
@@ -279,7 +281,8 @@ All versions prior to 0.9.0 are untracked.
279281
([#351](https://github.com/sigstore/sigstore-python/pull/351))
280282

281283
<!--Release URLs -->
282-
[Unreleased]: https://github.com/sigstore/sigstore-python/compare/v1.1.2...HEAD
284+
[Unreleased]: https://github.com/sigstore/sigstore-python/compare/v2.0.0...HEAD
285+
[2.0.0]: https://github.com/sigstore/sigstore-python/compare/v1.1.2...v2.0.0
283286
[1.1.2]: https://github.com/sigstore/sigstore-python/compare/v1.1.1...v1.1.2
284287
[1.1.1]: https://github.com/sigstore/sigstore-python/compare/v1.1.0...v1.1.1
285288
[1.1.0]: https://github.com/sigstore/sigstore-python/compare/v1.0.0...v1.1.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ namely the Fulcio's supported identity providers and the claims expected within
394394

395395
### Verifying against a signature and certificate
396396

397-
By default, `sigstore verify` will attempt to find a `<filename>.sigstore` in the
397+
By default, `sigstore verify identity` will attempt to find a `<filename>.sigstore` in the
398398
same directory as the file being verified:
399399

400400
```console

sigstore/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@
2525
* `sigstore.sign`: creation of Sigstore signatures
2626
"""
2727

28-
__version__ = "2.0.0rc3"
28+
__version__ = "2.0.0"

sigstore/transparency.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
BaseModel,
2525
ConfigDict,
2626
Field,
27-
FieldValidationInfo,
2827
StrictInt,
2928
StrictStr,
29+
ValidationInfo,
3030
field_validator,
3131
)
3232
from pydantic.dataclasses import dataclass
@@ -62,7 +62,7 @@ def _tree_size_positive(cls, v: int) -> int:
6262

6363
@field_validator("tree_size")
6464
def _log_index_within_tree_size(
65-
cls, v: int, info: FieldValidationInfo, **kwargs: Any
65+
cls, v: int, info: ValidationInfo, **kwargs: Any
6666
) -> int:
6767
if "log_index" in info.data and v <= info.data["log_index"]:
6868
raise ValueError(

0 commit comments

Comments
 (0)