Skip to content

Commit

Permalink
Update CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
hajimes committed Sep 17, 2024
1 parent 551c477 commit 1b3f19b
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 25 deletions.
39 changes: 24 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ This project has adhered to

### Added

- Add `digest` functions that accept a non-immutable buffer as input
and process it without internal copying
([#75](https://github.com/hajimes/mmh3/issues/75)).
- Slightly improve the performance of the `hash_bytes` function.
- Add support for Python 3.13.
- Add `digest` functions that support the new buffer protocol
([PEP 688](https://peps.python.org/pep-0688/)) as input
([#75](https://github.com/hajimes/mmh3/pull/75)).
These functions are implemented with
[METH_FASTCALL](https://docs.python.org/3/c-api/structures.html#c.METH_FASTCALL),
offering improved performance over legacy functions.
- Slightly improve the performance of the `hash_bytes()` function.
- Add Read the Docs documentation
([#54](https://github.com/hajimes/mmh3/issues/54)).
- (planned: Document benchmark results
Expand All @@ -24,16 +27,22 @@ This project has adhered to

- Change the format of CHANGELOG.md to conform to the
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) standard
([#63](https://github.com/hajimes/mmh3/issues/63)).
([#63](https://github.com/hajimes/mmh3/pull/63)).
- **Backward-incompatible**: Change the constructors of hasher classes to
accept a buffer as the first argument.
accept a buffer as the first argument
([#83](https://github.com/hajimes/mmh3/pull/83)).

### Deprecated

- Deprecate the `hash_from_buffer()` function.
Use `mmh3_32_sintdigest()` or `mmh3_32_uintdigest()` as alternatives.

### Fixed

- Fix a reference leak in the `hash_from_buffer()` function
([#75](https://github.com/hajimes/mmh3/issues/75)).
- Fix type hints ([#76](https://github.com/hajimes/mmh3/issues/76),
[#77](https://github.com/hajimes/mmh3/issues/77)).
([#75](https://github.com/hajimes/mmh3/pull/75)).
- Fix type hints ([#76](https://github.com/hajimes/mmh3/pull/76),
[#77](https://github.com/hajimes/mmh3/pull/77)).

## [4.1.0] - 2024-01-09

Expand All @@ -47,7 +56,7 @@ This project has adhered to
([#50](https://github.com/hajimes/mmh3/issues/50)).
- Fix incorrect type hints ([#51](https://github.com/hajimes/mmh3/issues/51)).
- Fix invalid results on s390x when the arg `x64arch` of `hash64` or
`hash_bytes` is set to `False`
`hash_bytes()` is set to `False`
([#52](https://github.com/hajimes/mmh3/issues/52)).

## [4.0.1] - 2023-07-14
Expand Down Expand Up @@ -97,8 +106,8 @@ This project has adhered to
[wouter bolsterlee](https://github.com/wbolster) and
[Dušan Nikolić](https://github.com/n-dusan)!
- Add support for 32-bit architectures such as `i686` and `armv7l`. From now on,
`hash` and `hash_from_buffer` on these architectures will generate the same
hash values as those on other environments. Thanks
`hash()` and `hash_from_buffer()` on these architectures will generate the
same hash values as those on other environments. Thanks
[Danil Shein](https://github.com/dshein-alt)!
- In relation to the above, `manylinux2014_i686` wheels are now available.
- Support for hashing huge data (>16GB). Thanks
Expand Down Expand Up @@ -134,13 +143,13 @@ This project has adhered to

### Fixed

- Bugfix for `hash_bytes`. Thanks [doozr](https://github.com/doozr)!
- Bugfix for `hash_bytes()`. Thanks [doozr](https://github.com/doozr)!

## [2.5] - 2017-10-28

### Added

- Add `hash_from_buffer`. Thanks [Dimitri Vorona](https://github.com/alendit)!
- Add `hash_from_buffer()`. Thanks [Dimitri Vorona](https://github.com/alendit)!
- Add a keyword argument `signed`.

## [2.4] - 2017-05-27
Expand Down Expand Up @@ -175,7 +184,7 @@ Thanks!

### Added

- Add `hash128`, which returns a 128-bit signed integer.
- Add `hash128()`, which returns a 128-bit signed integer.

### Fixed

Expand Down
29 changes: 19 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,14 @@ complete changelog.

#### Added

- Add `digest` functions that accept a non-immutable buffer as input
and process it without internal copying
([#75](https://github.com/hajimes/mmh3/issues/75)).
- Slightly improve the performance of the `hash_bytes` function.
- Add support for Python 3.13.
- Add `digest` functions that support the new buffer protocol
([PEP 688](https://peps.python.org/pep-0688/)) as input
([#75](https://github.com/hajimes/mmh3/pull/75)).
These functions are implemented with
[METH_FASTCALL](https://docs.python.org/3/c-api/structures.html#c.METH_FASTCALL),
offering improved performance over legacy functions.
- Slightly improve the performance of the `hash_bytes()` function.
- Add Read the Docs documentation
([#54](https://github.com/hajimes/mmh3/issues/54)).
- (planned: Document benchmark results
Expand All @@ -149,16 +152,22 @@ complete changelog.

- Change the format of CHANGELOG.md to conform to the
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) standard
([#63](https://github.com/hajimes/mmh3/issues/63)).
([#63](https://github.com/hajimes/mmh3/pull/63)).
- **Backward-incompatible**: Change the constructors of hasher classes to
accept a buffer as the first argument.
accept a buffer as the first argument
([#83](https://github.com/hajimes/mmh3/pull/83)).

#### Deprecated

- Deprecate the `hash_from_buffer()` function.
Use `mmh3_32_sintdigest()` or `mmh3_32_uintdigest()` as alternatives.

#### Fixed

- Fix a reference leak in the `hash_from_buffer()` function
([#75](https://github.com/hajimes/mmh3/issues/75)).
- Fix type hints ([#76](https://github.com/hajimes/mmh3/issues/76),
[#77](https://github.com/hajimes/mmh3/issues/77)).
([#75](https://github.com/hajimes/mmh3/pull/75)).
- Fix type hints ([#76](https://github.com/hajimes/mmh3/pull/76),
[#77](https://github.com/hajimes/mmh3/pull/77)).

### [4.1.0] - 2024-01-09

Expand All @@ -172,7 +181,7 @@ complete changelog.
([#50](https://github.com/hajimes/mmh3/issues/50)).
- Fix incorrect type hints ([#51](https://github.com/hajimes/mmh3/issues/51)).
- Fix invalid results on s390x when the arg `x64arch` of `hash64` or
`hash_bytes` is set to `False`
`hash_bytes()` is set to `False`
([#52](https://github.com/hajimes/mmh3/issues/52)).

## License
Expand Down

0 comments on commit 1b3f19b

Please sign in to comment.