Skip to content

Commit bb230a1

Browse files
committed
Bump version to 0.4.1
1 parent f101668 commit bb230a1

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,21 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.1] - 2024-11-02
9+
10+
### Changed
11+
12+
- Refactor verification on JRuby to avoid parsing encoded hashes unnecessarily
13+
- No longer describe the gem in terms of bindings to the reference C
14+
implementation given the Bouncy Castle-based JRuby implementation
15+
- Only wrap `IllegalStateException` with `Argon2id::Error` on JRuby
16+
817
## [0.4.0] - 2024-11-02
918

1019
### Added
1120

1221
- Added support for JRuby 9.4 by adding an implementation of Argon2id hashing
13-
and verification using JRuby-OpenSSL's Bouncy Castle internals.
22+
and verification using JRuby-OpenSSL's Bouncy Castle internals
1423
- Added `output` to `Argon2id::Password` instances so the actual "output" part
1524
of a password hash can be retrieved (and compared)
1625

@@ -77,6 +86,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7786
reference C implementation of Argon2, the password-hashing function that won
7887
the Password Hashing Competition.
7988

89+
[0.4.1]: https://github.com/mudge/argon2id/releases/tag/v0.4.1
8090
[0.4.0]: https://github.com/mudge/argon2id/releases/tag/v0.4.0
8191
[0.3.0]: https://github.com/mudge/argon2id/releases/tag/v0.3.0
8292
[0.2.1]: https://github.com/mudge/argon2id/releases/tag/v0.2.1

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Ruby bindings to [Argon2][], the password-hashing function that won the 2015
55

66
[![Build Status](https://github.com/mudge/argon2id/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/mudge/argon2id/actions)
77

8-
**Current version:** 0.4.0
8+
**Current version:** 0.4.1
99
**Bundled Argon2 version:** libargon2.1 (20190702)
1010

1111
```ruby
@@ -127,7 +127,7 @@ password == "opensesame" #=> true
127127
password == "notopensesame" #=> false
128128
```
129129

130-
Or, if you only have the hash (e.g. retrieved from storage):
130+
Or, if you only have the encoded hash (e.g. retrieved from storage):
131131

132132
```ruby
133133
password = Argon2id::Password.new("$argon2id$v=19$m=19456,t=2,p=1$ZS2nBFWBpnt28HjtzNOW4w$SQ+p+dIcWbpzWpZQ/ZZFj8IQkyhYZf127U4QdkRmKFU")
@@ -143,7 +143,7 @@ password.is_password?("opensesame") #=> true
143143
password.is_password?("notopensesame") #=> false
144144
```
145145

146-
The various parts of the encoded password can be retrieved:
146+
The various parts of the encoded hash can be retrieved:
147147

148148
```ruby
149149
password = Argon2id::Password.new("$argon2id$v=19$m=256,t=2,p=1$c29tZXNhbHQ$nf65EOgLrQMR/uIPnA4rEsF5h7TKyQwu9U1bMCHGi/4")

lib/argon2id/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Argon2id
4-
VERSION = "0.4.0"
4+
VERSION = "0.4.1"
55
end

0 commit comments

Comments
 (0)