yes 2.8.2 → 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -1
- data/README.md +1 -1
- data/lib/yes/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 167fd9426169a3210a94e458560665d954c0270cd16e375b0d4fad8851201905
|
|
4
|
+
data.tar.gz: c0df76d0b1112feb134a7c25297456ada289ff5b7e3499ca2f42a38fac369b50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d00695838a516c76611ccfbb6db3d1efbff9ab8f73af6cef95e952b7c5b35e071e4ddf5a6ff34692561debd3b7ab503de4ee226aa2e4b6ace6f725ff1705e688
|
|
7
|
+
data.tar.gz: 839e52b2678c36c20af461c60d9b4753bab0217850c9981ecb90eed09351aaada91b0925dda77c3ec2b0a1f27dc63993eff5fbed4a60a49ca0e0317200d02821
|
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## [
|
|
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.
|
|
27
|
+
|
|
28
|
+
## [2.9.0] - 2026-11-12
|
|
29
|
+
|
|
30
|
+
### yes-command-api
|
|
31
|
+
|
|
32
|
+
#### Changed
|
|
33
|
+
- The `message_bus` gem is no longer a runtime dependency. Applications that use the MessageBus notifier add
|
|
34
|
+
`gem 'message_bus'` to their own Gemfile; the gem's initializer only configures MessageBus when it is loaded.
|
|
35
|
+
|
|
36
|
+
### yes-core
|
|
37
|
+
|
|
38
|
+
#### Changed
|
|
39
|
+
- The spec suite declares `message_bus` itself instead of getting it through `yes-command-api`.
|
|
6
40
|
|
|
7
41
|
## [2.8.2] - 2026-11-04
|
|
8
42
|
|
data/README.md
CHANGED
|
@@ -1712,7 +1712,7 @@ The frontend subscribes to the channel and receives JSON messages:
|
|
|
1712
1712
|
|
|
1713
1713
|
#### MessageBus Notifier
|
|
1714
1714
|
|
|
1715
|
-
Uses the [MessageBus](https://github.com/discourse/message_bus) gem for long-polling or WebSocket delivery. Messages are scoped to the authenticated user via `user_ids
|
|
1715
|
+
Uses the [MessageBus](https://github.com/discourse/message_bus) gem for long-polling or WebSocket delivery. Messages are scoped to the authenticated user via `user_ids`. The `message_bus` gem is not a dependency of `yes-command-api`; applications that use this notifier add `gem 'message_bus'` to their own Gemfile:
|
|
1716
1716
|
|
|
1717
1717
|
```ruby
|
|
1718
1718
|
config.command_notifier_classes = [Yes::Command::Api::Commands::Notifiers::MessageBus]
|
data/lib/yes/version.rb
CHANGED
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|