yes 2.9.0 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -1
  3. data/lib/yes/version.rb +1 -1
  4. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6aff80a9c5f6b25f7c6a5578d0b9634aa078b2ea4a0bd6a8c860fb8c189f7c9c
4
- data.tar.gz: 80813e457c785e4a59ca2bd2cbead939ff4005af3ff52a43f6a07f1f6e9134a4
3
+ metadata.gz: 167fd9426169a3210a94e458560665d954c0270cd16e375b0d4fad8851201905
4
+ data.tar.gz: c0df76d0b1112feb134a7c25297456ada289ff5b7e3499ca2f42a38fac369b50
5
5
  SHA512:
6
- metadata.gz: '06874b0e494b7afddefb13f05d6f93f5a40022e680affa2bcbb825db0d870fe8d666762306f55a20a5abf63e7c828ea17a11a82d39b557fd5a3eba4e8f5d15d9'
7
- data.tar.gz: ef5725441d112c70b027bf06d9efde79e42e88bf369b0e4c8d0a16f23ea3931c180c63aa3df92e98f3a335879d3423b30880eb8ef83611f8b2c6586390bf7580
6
+ metadata.gz: d00695838a516c76611ccfbb6db3d1efbff9ab8f73af6cef95e952b7c5b35e071e4ddf5a6ff34692561debd3b7ab503de4ee226aa2e4b6ace6f725ff1705e688
7
+ data.tar.gz: 839e52b2678c36c20af461c60d9b4753bab0217850c9981ecb90eed09351aaada91b0925dda77c3ec2b0a1f27dc63993eff5fbed4a60a49ca0e0317200d02821
data/CHANGELOG.md CHANGED
@@ -2,7 +2,28 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
- ## [Unreleased]
5
+ ## [2.10.0] - 2026-11-19
6
+
7
+ ### All gems
8
+
9
+ #### Changed
10
+ - The development and test bundles now run on Rails 8.1.4.1 (previously 7.2 for yes-core, yes-command-api and
11
+ yes-read-api), because Rails 7.2 has no patched release for recent Active Storage advisories. The gemspecs still
12
+ allow `rails >= 7.1`, but Rails 7.x is no longer tested in CI.
13
+
14
+ ### yes-core
15
+
16
+ #### Added
17
+ - Guard errors now carry the name of the failed guard in `extra[:code]` (for example `'no_change'` or
18
+ `'not_removed'`), and therefore in `error_details[:extra][:code]` of command responses. The code does not depend on
19
+ the locale or the wording of the error message. A Hash `error_extra` keeps its entries and gets the code added (the
20
+ guard name wins over an entry called `code`).
21
+
22
+ #### Changed
23
+ - A guard's non-Hash `error_extra` is no longer returned as given in `error.extra` / `error_details[:extra]`; it is
24
+ wrapped as `{ value: <the extra>, code: <guard name> }`.
25
+ - Guard errors without an `error_extra` now always have `error_details[:extra]` (`{ code: <guard name> }`); it used to
26
+ be absent.
6
27
 
7
28
  ## [2.9.0] - 2026-11-12
8
29
 
data/lib/yes/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yes
4
- VERSION = '2.9.0'
4
+ VERSION = '2.10.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: 'yes'
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nico Ritsche
@@ -15,56 +15,56 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 2.9.0
18
+ version: 2.10.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 2.9.0
25
+ version: 2.10.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: yes-command-api
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - '='
31
31
  - !ruby/object:Gem::Version
32
- version: 2.9.0
32
+ version: 2.10.0
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: 2.9.0
39
+ version: 2.10.0
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: yes-core
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - '='
45
45
  - !ruby/object:Gem::Version
46
- version: 2.9.0
46
+ version: 2.10.0
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - '='
52
52
  - !ruby/object:Gem::Version
53
- version: 2.9.0
53
+ version: 2.10.0
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: yes-read-api
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - '='
59
59
  - !ruby/object:Gem::Version
60
- version: 2.9.0
60
+ version: 2.10.0
61
61
  type: :runtime
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - '='
66
66
  - !ruby/object:Gem::Version
67
- version: 2.9.0
67
+ version: 2.10.0
68
68
  description: Event sourcing framework for Ruby on Rails applications
69
69
  email:
70
70
  - nico.ritsche@yousty.ch