Skip to content

Commit cd83aca

Browse files
chrisdengsogithub-actions[bot]
authored andcommitted
feat: v3.4.0, API changes
1 parent 2fe001a commit cd83aca

9 files changed

Lines changed: 32 additions & 21 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: a78f35a2-6d8d-4b9f-8962-89b8103f2924
33
management:
4-
docChecksum: d6bce8a263f0ec11d54bdf026957ba2f
4+
docChecksum: ba8f51bbef68a56e2f6633b0447f417c
55
docVersion: 1.1.0
66
speakeasyVersion: internal
77
generationVersion: internal
8-
releaseVersion: 3.3.0
9-
configChecksum: f643d19c39f460f5b897b686b9f50d2e
8+
releaseVersion: 3.4.0
9+
configChecksum: c9a222e953fdc5d702181456b833ed7c
1010
repoURL: https://github.com/moderation-api/sdk-ruby
1111
installationURL: https://github.com/moderation-api/sdk-ruby
1212
published: true
@@ -38,7 +38,7 @@ trackedFiles:
3838
Gemfile:
3939
last_write_checksum: sha1:8c1b6fa9505f61abd0fb6741f8094e9655a55495
4040
Gemfile.lock:
41-
last_write_checksum: sha1:6e10344330d556edc920935336fa64f52bda4df7
41+
last_write_checksum: sha1:c8e6dae81c73f4a444ac274375a62c07a4bf1853
4242
Rakefile:
4343
last_write_checksum: sha1:c572639efdae8c7b24141ee5c02d8f009e101ed8
4444
USAGE.md:
@@ -778,7 +778,7 @@ trackedFiles:
778778
docs/models/operations/unblockauthorresponsebody.md:
779779
last_write_checksum: sha1:8b747cfe2e8ef37842c4b1d0672dd205a9bd3fd1
780780
docs/models/operations/unicodespoofing.md:
781-
last_write_checksum: sha1:79534af1086c3960979eeadb5a132cbba08a993a
781+
last_write_checksum: sha1:8fa334552a549f8725350b34f80a7f6e5ff965bf
782782
docs/models/operations/unresolvequeueitemrequest.md:
783783
last_write_checksum: sha1:1c6256d300d386b67c88b7a50a1693a152c9bec1
784784
docs/models/operations/unresolvequeueitemresponse.md:
@@ -2416,7 +2416,7 @@ trackedFiles:
24162416
lib/moderation_api/models/operations/unblockauthor_responsebody.rbi:
24172417
last_write_checksum: sha1:d4c3f778a488c456376e95499608a2cd231c7b0a
24182418
lib/moderation_api/models/operations/unicode_spoofing.rb:
2419-
last_write_checksum: sha1:0727fb610bfaa91f2a8dab9edc155cfd097d4a21
2419+
last_write_checksum: sha1:9d7bd9b5c69da039c675e0ce384f435fec17563e
24202420
lib/moderation_api/models/operations/unicode_spoofing.rbi:
24212421
last_write_checksum: sha1:7656bced8fbc58bd5d5acd35faf840f724c02f2f
24222422
lib/moderation_api/models/operations/unresolvequeueitem_request.rb:
@@ -2618,7 +2618,7 @@ trackedFiles:
26182618
lib/moderation_api/sdk_hooks/types.rb:
26192619
last_write_checksum: sha1:4c965332c50ba795946cf8df50a6202e89db0a45
26202620
lib/moderation_api/sdkconfiguration.rb:
2621-
last_write_checksum: sha1:80368426dbf67637927adc40f84b77e1ee1d2aa4
2621+
last_write_checksum: sha1:2f2fbd9b5954e2fc9f4ee6e206490ea6f067ed7f
26222622
lib/moderation_api/sdkconfiguration.rbi:
26232623
last_write_checksum: sha1:0ff7c53716ae2b6668c84ad4f83b9a8697482c33
26242624
lib/moderation_api/utils/forms.rb:
@@ -2646,7 +2646,7 @@ trackedFiles:
26462646
lib/moderation_api/words.rb:
26472647
last_write_checksum: sha1:1caff3b1db9983d6cd6d76e0f90d47a39e376842
26482648
moderation_api.gemspec:
2649-
last_write_checksum: sha1:06d86939c2481dab45a58511862ea78f38c7df98
2649+
last_write_checksum: sha1:166cc314904fa48b06f09c7fcb565cf219238c51
26502650
sorbet/config:
26512651
last_write_checksum: sha1:d02b32628dad70edc5929a9b9801d5e2dca15d40
26522652
sorbet/rbi/annotations/.gitattributes:

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
generateNewTests: true
3333
skipResponseBodyAssertions: false
3434
ruby:
35-
version: 3.3.0
35+
version: 3.4.0
3636
additionalDependencies:
3737
development: {}
3838
runtime: {}

‎.speakeasy/openapi.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10174,13 +10174,15 @@
1017410174
"const": "unicode_spoofing"
1017510175
},
1017610176
"signals": {
10177-
"description": "Per-signal flag toggles. Omitted spoofing signals are enabled; encoding_damage defaults to off because decode damage (U+FFFD) marks a broken pipeline, not an attack. A disabled signal is still detected and reported as a label, but does not by itself flag the policy.",
10177+
"description": "Per-signal flag toggles. Omitted spoofing signals are enabled; encoding_damage defaults to off because decode damage (U+FFFD) marks a broken pipeline, not an attack, and hidden_lookalike and leetspeak default to off because they are opt-in. A disabled signal is still detected and reported as a label, but does not by itself flag the policy. Lookalike words are only spelled out in the cleaned text when their signal is enabled.",
1017810178
"type": "object",
1017910179
"propertyNames": {
1018010180
"type": "string",
1018110181
"enum": [
1018210182
"mixed_script",
1018310183
"confusable_word",
10184+
"hidden_lookalike",
10185+
"leetspeak",
1018410186
"invisible",
1018510187
"zalgo",
1018610188
"illegal",

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 3.4.0 (2026-10-28)
4+
5+
Full Changelog: [v3.3.0...v3.4.0](https://github.com/moderation-api/sdk-ruby/compare/v3.3.0...v3.4.0)
6+
7+
### API changes
8+
9+
- `POST /moderate`: added the new `hidden_lookalike` enum value to the request property `policies/items/oneOf[subschema #36: Unicode Spoofing]/signals/propertyNames/`
10+
- `POST /moderate`: added the new `leetspeak` enum value to the request property `policies/items/oneOf[subschema #36: Unicode Spoofing]/signals/propertyNames/`
11+
312
## 3.3.0 (2026-10-28)
413

514
Full Changelog: [v3.2.0...v3.3.0](https://github.com/moderation-api/sdk-ruby/compare/v3.2.0...v3.3.0)

‎Gemfile.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
moderation_api (3.3.0)
4+
moderation_api (3.4.0)
55
faraday
66
faraday-multipart
77
faraday-retry

0 commit comments

Comments
 (0)