Release v0.1.4#36
Closed
0ngk wants to merge 10 commits into
Closed
Conversation
Release/v0.1.0
Hotfix/v0.1.3
chore: bumping deps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces improved validation for Discord webhook payloads, specifically targeting duplicate component IDs in typed Components V2 payloads. It also updates dependencies to the latest versions and clarifies documentation regarding the library's unofficial status and new validation features.
Validation improvements:
duplicatevalidation utility and integrated into the component validation logic. (src/kitazith/internal/validation/component.gleam[1] [2]src/kitazith/internal/validation/duplicate.gleam[3]src/kitazith/validation.gleam[4] [5]test/kitazith/validation_test.gleam[6]src/kitazith/internal/validation/attachment.gleam[1] [2]Documentation updates:
kitazithis an unofficial library not endorsed by Discord. (README.mdREADME.mdR12-R16)README.md[1] [2] [3]Dependency and version updates:
gleam_stdlib1.0.0 andgleeunit1.10.0. (gleam.toml[1] [2]examples/kitazith_example/gleam.toml[3].github/workflows/gleam-bootstrap.yml[4]examples/kitazith_example/.github/workflows/test.yml[5]examples/kitazith_example/manifest.toml[6]kitazithversion to 0.1.4. (gleam.toml[1]examples/kitazith_example/manifest.toml[2]These changes strengthen payload validation, improve error reporting, and keep the project dependencies current.