Skip to content

Commit e1fe537

Browse files
chrisdengsogithub-actions[bot]
authored andcommitted
feat: v1.4.0, API changes
1 parent 1fd693a commit e1fe537

7 files changed

Lines changed: 28 additions & 17 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 0199302d-9d48-4081-a021-a66e7a11ce41
33
management:
4-
docChecksum: d6bce8a263f0ec11d54bdf026957ba2f
4+
docChecksum: ba8f51bbef68a56e2f6633b0447f417c
55
docVersion: 1.1.0
66
speakeasyVersion: internal
77
generationVersion: internal
8-
releaseVersion: 1.3.0
9-
configChecksum: cba30f585a63d0da38fb70b401b25d5e
8+
releaseVersion: 1.4.0
9+
configChecksum: 8dd588e2f67e2feb90c248cfac22e589
1010
repoURL: https://github.com/moderation-api/sdk-php
1111
installationURL: https://github.com/moderation-api/sdk-php.git
1212
published: true
@@ -774,7 +774,7 @@ trackedFiles:
774774
docs/Models/Operations/UnblockAuthorResponseBody.md:
775775
last_write_checksum: sha1:af868cee06a14fe460e0c033458bdd6a573bab22
776776
docs/Models/Operations/UnicodeSpoofing.md:
777-
last_write_checksum: sha1:dcc11bf5e62c90b2ac0c2f11329dfdabd0c205ef
777+
last_write_checksum: sha1:2296695724c48e20c5521e2924ff25bf9a7b11fb
778778
docs/Models/Operations/UnresolveQueueItemRequest.md:
779779
last_write_checksum: sha1:c978170bc5ad02a63805869da25d2d3365b4a2ee
780780
docs/Models/Operations/UnresolveQueueItemResponse.md:
@@ -1684,7 +1684,7 @@ trackedFiles:
16841684
src/Models/Operations/UnblockAuthorResponseBody.php:
16851685
last_write_checksum: sha1:c7bbdc50394aba4df6b98d748407ed42a34dda80
16861686
src/Models/Operations/UnicodeSpoofing.php:
1687-
last_write_checksum: sha1:280971a1558295ec10314a1f8ea945083b2b10e2
1687+
last_write_checksum: sha1:eba70d14b8f981ffea6b671acf9f4b3ac9029b6c
16881688
src/Models/Operations/UnresolveQueueItemRequest.php:
16891689
last_write_checksum: sha1:c4eec26b08994710d880c2b559cb6e954fb688e2
16901690
src/Models/Operations/UnresolveQueueItemResponse.php:
@@ -1784,7 +1784,7 @@ trackedFiles:
17841784
src/Queue.php:
17851785
last_write_checksum: sha1:be966a810109ae154cee3d97d78b3dec2c7512ef
17861786
src/SDKConfiguration.php:
1787-
last_write_checksum: sha1:173a42d3f25b734c175524888318a21c747aa42b
1787+
last_write_checksum: sha1:d94629e6785e23d2f3eae32160d246604ef5724d
17881788
src/Utils/BigDecimalHandler.php:
17891789
last_write_checksum: sha1:2d36b5ae690b042acfcdfe7e7277d44c5055416f
17901790
src/Utils/BigIntHandler.php:

‎.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
php:
35-
version: 1.3.0
35+
version: 1.4.0
3636
additionalDependencies:
3737
autoload: {}
3838
autoload-dev: {}

‎.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+
## 1.4.0 (2026-10-28)
4+
5+
Full Changelog: [v1.3.0...v1.4.0](https://github.com/moderation-api/sdk-php/compare/v1.3.0...v1.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
## 1.3.0 (2026-10-28)
413

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

0 commit comments

Comments
 (0)