yes 2.3.0 → 2.4.1
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 +33 -0
- 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: d708f2f63eb4cd742aa3e0398da05a180b249bfb7382046aa7415ac72f71b15d
|
|
4
|
+
data.tar.gz: 94463308255bf790fbd74294ce2049a15c06961145b69a7488fa43d343770e04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76096d51bfee1e241207bf437827b852a678eb7a9ff34e562bd349dc908080b505f492b9b8f5e7ed30506567e48be5401f9726dcd574c9f72e697bdccb3dca30
|
|
7
|
+
data.tar.gz: a724df550b48053d33c7c459851f408e5d482f6e4fbeb6b10d889ff473eace370b0d0cca1e0e0d20c943802958f64d5ae0234df59547591c7f48832a3548e4bc
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [2.4.1] - 2026-09-07
|
|
6
|
+
|
|
7
|
+
### yes-auth
|
|
8
|
+
|
|
9
|
+
#### Fixed
|
|
10
|
+
- The `auth_principals_*` FactoryBot factories are now included in the released gem.
|
|
11
|
+
They live in `spec/factories`, which no gemspec packaged, so an application that
|
|
12
|
+
installed yes-auth from a gem server got a gem without them while one that resolved
|
|
13
|
+
the same version from git got them on disk. Applications load these factories by
|
|
14
|
+
path to build principals for their own authorization specs, and the usual loader
|
|
15
|
+
guards on the directory existing — so the gem install failed silently at load and
|
|
16
|
+
only surfaced later as `Factory not registered: "auth_principals_user"`.
|
|
17
|
+
|
|
18
|
+
`spec/factories/dummy_resources.rb` stays unpackaged on purpose: it defines generic
|
|
19
|
+
`:company` / `:apprenticeship` / `:location` factories for this gem's own dummy app,
|
|
20
|
+
which would collide with an application's factories of the same name.
|
|
21
|
+
|
|
22
|
+
## [2.4.0] - 2026-09-07
|
|
23
|
+
|
|
24
|
+
### yes-core
|
|
25
|
+
|
|
26
|
+
#### Added
|
|
27
|
+
- `Authorization::CerbosGrpcRetryPolicy` and the `cerbos_grpc_channel_args` configuration option.
|
|
28
|
+
The Cerbos client now carries a gRPC retry policy that retries `UNAVAILABLE` calls (up to 4
|
|
29
|
+
attempts, exponential backoff from 100ms) so a PDP pod that is killed or restarting mid-check
|
|
30
|
+
no longer surfaces as `Cerbos::Error::Unavailable`.
|
|
31
|
+
|
|
32
|
+
#### Changed
|
|
33
|
+
- `Authorization::CerbosClientProvider` keeps one `Cerbos::Client` (one gRPC channel) per
|
|
34
|
+
process instead of building a new client, and opening new connections, on every check. The
|
|
35
|
+
client is rebuilt after a fork; `CerbosClientProvider.reset!` drops it explicitly (tests).
|
|
36
|
+
|
|
5
37
|
## [2.3.0] - 2026-09-03
|
|
6
38
|
|
|
7
39
|
### yes-core
|
|
@@ -23,6 +55,7 @@ All notable changes to this project will be documented in this file.
|
|
|
23
55
|
raise `WrongExpectedRevisionError` with pg_eventstore's field order: `revision` is the
|
|
24
56
|
store's value, `expected_revision` the caller's. Both were inverted.
|
|
25
57
|
|
|
58
|
+
|
|
26
59
|
## [2.2.0] - 2026-09-01
|
|
27
60
|
|
|
28
61
|
### yes-core
|
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.4.1
|
|
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.4.1
|
|
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.4.1
|
|
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.4.1
|
|
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.4.1
|
|
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.4.1
|
|
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.4.1
|
|
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.4.1
|
|
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.4.1
|
|
68
68
|
description: Event sourcing framework for Ruby on Rails applications
|
|
69
69
|
email:
|
|
70
70
|
- nico.ritsche@yousty.ch
|