fix(deps): update go deps#58
Merged
Merged
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
96b36dc to
126c438
Compare
126c438 to
d1cbc78
Compare
jsonschema v0.9.2 requires jsonpointer v0.4.26; the auto-bumped v0.4.27 dropped Validate/Format and changed Parse's signature, breaking the build. Also drop go-intl, go-i18n, messageformat-go and x/text, which jsonschema no longer pulls in after moving localization to an optional subpackage.
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
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 PR contains the following updates:
v0.2.5→v0.2.11v0.4.9→v0.6.0v0.4.26→v0.4.27v0.7.15→v0.9.2v0.6.5→v0.8.2v0.45.0→v0.46.0v0.37.0→v0.38.0Release Notes
agentable/go-intl (github.com/agentable/go-intl)
v0.2.11Compare Source
v0.2.10Compare Source
v0.2.9Compare Source
v0.2.8Compare Source
v0.2.7Compare Source
v0.2.6Compare Source
What's Changed
Fixed
Changed
Tests
kaptinlin/go-i18n (github.com/kaptinlin/go-i18n)
v0.6.0Compare Source
What's Changed
Changed
TranslationResult.LocalewithMatchedLocaleandCatalogLocaleso direct, fallback, and missing results are unambiguous.Breaking Changes
NewBundlenow returns(*I18n, error).Optionnow configures construction state rather than mutating a live bundle.TranslationResult.Localewas removed; useMatchedLocaleandCatalogLocale.v0.5.0Compare Source
v0.4.11Compare Source
v0.4.10Compare Source
kaptinlin/jsonpointer (github.com/kaptinlin/jsonpointer)
v0.4.27Compare Source
kaptinlin/jsonschema (github.com/kaptinlin/jsonschema)
v0.9.2Compare Source
v0.9.1Compare Source
v0.9.0Compare Source
Multi-draft validation
jsonschemanow validates Draft 2019-09, Draft-07, Draft-06, and Draft-04 in addition to Draft 2020-12, selected automatically from each schema's$schema. When a schema omits$schemait defaults to Draft 2020-12, so existing code is unaffected.Each dialect's keyword semantics are honored — Draft-04
id, booleanexclusiveMinimum/exclusiveMaximum,dependencies(→dependentRequired/dependentSchemas), tupleitems+additionalItems, and Draft 2019-09$recursiveRef/$recursiveAnchor(mapped to dynamic refs). Behavior is verified against the official JSON Schema Test Suite for all five drafts.New API
Dialecttype with constantsDraft202012,Draft201909,Draft7,Draft6,Draft4(*Compiler).SetDefaultDialect(Dialect)— dialect used when a schema has no$schema(defaultDraft202012)(*Schema).Dialect()— the resolved dialect of a compiled schemaSchema.CommentandSchema.Vocabularytyped fields for$commentand$vocabularyDialect-aware keyword recognition
A keyword is recognized only under the dialects that define it; anything else is preserved verbatim in
Schema.Extra(withSetPreserveExtra(true)) and ignored for validation.$commentand$vocabularyare modeled as fields and round-trip cleanly.Performance
The compile/parse path was reworked: schema objects decode in a single pass, the dialect walk allocates nothing, and unknown keywords are decoded lazily.
newSchemaallocations dropped ~73% and bytes ~55% on a representative schema.Compatibility
Purely additive. Default Draft 2020-12 validation is unchanged for valid schemas, and the
Schema.Extracontract matches v0.8.x. No breaking changes.Full Changelog: kaptinlin/jsonschema@v0.8.1...v0.9.0
v0.8.1Compare Source
v0.8.0Compare Source
Localization moved to the optional
i18nsubpackageThe root package no longer imports any translation framework. Pure validation users pay zero Intl compile, link, and binary cost — 28 transitive packages dropped from the root import graph, and not a single byte of locale data ends up in your binary unless you opt in.
Localization is now opt-in through the consumer-side
Translatorinterface:The
i18nsubpackage provides the built-in 9-locale implementation (backed bygo-i18n); or implement the one-method interface yourself with any backend.Migration
jsonschema.I18n()+bundle.NewLocalizer("zh-Hans")i18n.New("zh-Hans")— importgithub.com/kaptinlin/jsonschema/i18nerr.Localize(localizer)err.Localize(translator)result.ToLocalizeList(localizer, ...)result.ToLocalizedList(translator, ...)result.DetailedErrors(localizer)result.LocalizedDetailedErrors(translator)result.DetailedErrors()Behavior
niltranslator or a missing translation falls back to the built-in English message — localization never fails.en,de-DE,es-ES,fr-FR,ja-JP,ko-KR,pt-BR,zh-Hans,zh-Hant.i18n.Newrejects unknown locales withErrUnsupportedLocaleinstead of silently falling back to English.Dependencies
go-i18nupgraded to v0.5.0 (now usesmessageformat-go/mf1v0.7.0).Full Changelog: kaptinlin/jsonschema@v0.7.18...v0.8.0
v0.7.18Compare Source
v0.7.17Compare Source
What's Changed
Security
v0.7.16Compare Source
kaptinlin/messageformat-go (github.com/kaptinlin/messageformat-go)
v0.8.2Compare Source
v0.8.1Compare Source
What's Changed
Changed
v0.8.0Compare Source
v0.7.0Compare Source
v0.6.6Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.