Skip to content

Commit

Permalink
Change version to 0.0.2 (#37)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis <[email protected]>
Co-authored-by: Facundo Tuesca <[email protected]>
  • Loading branch information
DarkaMaul and facutuesca authored Oct 30, 2024
1 parent f581e6d commit 02457f7
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 12 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]


## [0.0.2] - 2024-10-30

### Added

- Magic methods (`__hash__` and `__repr__`) have been added for TimestampResponse and
TimestampRequest ([#32](https://github.com/trailofbits/rfc3161-client/pull/32))
- `VerifierBuilder` is now the only way to create a `Verifier` ([#35](https://github.com/trailofbits/rfc3161-client/pull/35))

### Fixed

- The version is now correctly sourced from `pyproject.toml` ([#30](https://github.com/trailofbits/rfc3161-client/pull/30))
- The nonce generation no longer fails sporadically ([#33](https://github.com/trailofbits/rfc3161-client/pull/33))
- `Accuracy` now correctly accepts valid inputs and enforce range invariants ([#43](https://github.com/trailofbits/rfc3161-client/pull/43))
- Fixes a bug in how `TSTInfo` was parsed ([#45](https://github.com/trailofbits/rfc3161-client/pull/45))

### Changed

- The public API is now available directly from the main package module ([#36](https://github.com/trailofbits/rfc3161-client/pull/36))

## [0.0.1] - 2024-10-18

This is the first alpha release of `rfc3161-client`.

[Unreleased]: https://github.com/trailofbits/rfc3161-client/compare/v0.0.2...HEAD
[0.0.2]: https://github.com/trailofbits/rfc3161-client/compare/v0.0.1...v0.0.2
[0.0.1]: https://github.com/trailofbits/rfc3161-client/releases/tag/v0.0.1
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ classifiers = [
"Typing :: Typed",
]
# Maturin does not support dynamic fields
# So we keep the version number here (and in __init__.py)
version = "0.0.1"
# So we keep the version number here instead of __init__
version = "0.0.2"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "Trail of Bits", email = "[email protected]" }]
Expand Down
5 changes: 2 additions & 3 deletions src/rfc3161_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""rfc3161-client"""

from .base import decode_timestamp_response
from .base import TimestampRequestBuilder, decode_timestamp_response
from .errors import VerificationError
from .tsp import (
Accuracy,
Expand All @@ -16,6 +16,7 @@

__all__ = [
"decode_timestamp_response",
"TimestampRequestBuilder",
"Verifier",
"VerifierBuilder",
"VerificationError",
Expand All @@ -28,5 +29,3 @@
"SignedData",
"SignerInfo",
]

__version__ = "0.0.1"
7 changes: 0 additions & 7 deletions test/test_init.py

This file was deleted.

0 comments on commit 02457f7

Please sign in to comment.