graphiti 1.13.1 → 1.13.2
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 +7 -0
- data/graphiti.gemspec +0 -18
- data/lib/graphiti/version.rb +1 -1
- metadata +3 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ffedb3e23185f2ec27cb3aebb302c7e27caad8d9595605a90dc1de87d08a5f93
|
|
4
|
+
data.tar.gz: '082375ee5cb6e20e0b1dc1bbc80cb4283e0c6f7330e4bbc02d253aa074bbfeef'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b7af8affb728561eef3e45a83f238597465eb8d050a44ec41bfe84e88de2455b86f998d3141a345bec100b41ca479c057643a1db86bbd8c57cac101d629b45c
|
|
7
|
+
data.tar.gz: 5eecece4715d3bab183ec10e37a846558ab547534b03bf15f601ea576735a3952717a567d25fa6c3746317c5449a99a5477e5758c22142f5d4e820d155bd4211
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
graphiti changelog
|
|
2
2
|
|
|
3
|
+
## [1.13.2](https://github.com/graphiti-api/graphiti/compare/v1.13.1...v1.13.2) (2026-08-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* drop the relationship guard install notice ([65b8be6](https://github.com/graphiti-api/graphiti/commit/65b8be65455a7d034c9dca082434c1dbfe610a7a))
|
|
9
|
+
|
|
3
10
|
## [1.13.1](https://github.com/graphiti-api/graphiti/compare/v1.13.0...v1.13.1) (2026-08-02)
|
|
4
11
|
|
|
5
12
|
|
data/graphiti.gemspec
CHANGED
|
@@ -18,24 +18,6 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
spec.require_paths = ["lib"]
|
|
19
19
|
spec.required_ruby_version = ">= 2.7"
|
|
20
20
|
|
|
21
|
-
# TODO: remove once the 1.12 upgrade window has passed
|
|
22
|
-
spec.post_install_message = <<~MSG
|
|
23
|
-
Graphiti: relationship readable:/writable: guards are now enforced.
|
|
24
|
-
|
|
25
|
-
Symbols, strings, and procs passed to a relationship's readable/writable
|
|
26
|
-
guards were always interpreted as true and never actually called before this
|
|
27
|
-
conditional relationship change. They are now evaluated per-request, where
|
|
28
|
-
unreadable relationships are omitted from responses and includes, and unwritable
|
|
29
|
-
relationships reject writes.
|
|
30
|
-
|
|
31
|
-
To list every affected relationship in your app:
|
|
32
|
-
|
|
33
|
-
bin/rails runner 'puts Graphiti.guarded_relationships'
|
|
34
|
-
|
|
35
|
-
Audit these before deploying. Apps using schema.json will also see affected
|
|
36
|
-
relationships flagged as "became guarded" by the schema check.
|
|
37
|
-
MSG
|
|
38
|
-
|
|
39
21
|
spec.add_dependency "jsonapi-serializable", "~> 0.3.0"
|
|
40
22
|
spec.add_dependency "jsonapi-renderer", "~> 0.2", ">= 0.2.2"
|
|
41
23
|
spec.add_dependency "dry-types", ">= 0.15.0", "< 2.0"
|
data/lib/graphiti/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphiti
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.13.
|
|
4
|
+
version: 1.13.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lee Richmond
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jsonapi-serializable
|
|
@@ -371,14 +371,7 @@ homepage: https://github.com/graphiti-api/graphiti
|
|
|
371
371
|
licenses:
|
|
372
372
|
- MIT
|
|
373
373
|
metadata: {}
|
|
374
|
-
post_install_message:
|
|
375
|
-
strings, and procs passed to a relationship's readable/writable\nguards were always
|
|
376
|
-
interpreted as true and never actually called before this\nconditional relationship
|
|
377
|
-
change. They are now evaluated per-request, where\nunreadable relationships are
|
|
378
|
-
omitted from responses and includes, and unwritable\nrelationships reject writes.\n\nTo
|
|
379
|
-
list every affected relationship in your app:\n\n bin/rails runner 'puts Graphiti.guarded_relationships'\n\nAudit
|
|
380
|
-
these before deploying. Apps using schema.json will also see affected \nrelationships
|
|
381
|
-
flagged as \"became guarded\" by the schema check.\n"
|
|
374
|
+
post_install_message:
|
|
382
375
|
rdoc_options: []
|
|
383
376
|
require_paths:
|
|
384
377
|
- lib
|