-
Notifications
You must be signed in to change notification settings - Fork 25
Comparing changes
Open a pull request
base repository: kaptinlin/jsonschema
base: v0.6.10
head repository: kaptinlin/jsonschema
compare: v0.7.3
- 20 commits
- 90 files changed
- 2 contributors
Commits on Feb 9, 2026
-
♻️ refactor: apply Google Go Best Practices naming and performance op…
…timizations - Remove Get prefix from accessor methods per Google Go naming conventions: GetDefaultCompiler -> DefaultCompiler, GetSchema -> Schema, GetSchemaURI -> SchemaURI, GetSchemaLocation -> SchemaLocation, GetCompiler -> Compiler, GetUnresolvedReferenceURIs -> UnresolvedReferenceURIs, GetDetailedErrors -> DetailedErrors, GetCustomValidator -> CustomValidator, GetCacheStats -> CacheStats, GetI18n -> I18n, getDefaultFunc -> defaultFunc, and cmd/schemagen: DependencyGraph, CircularDependencies, ReferencedStructs, Cycles - Add size hints to make() calls where size is known for better performance: result.go convertErrors, uniqueItems.go seen map and slices, validate.go objectMap - Modernize for loops to use for-range-N syntax (Go 1.22+): struct_validation.go, validate.go, uniqueItems.go, pkg/tagparser/parser.go - Update all call sites, tests, examples, and documentation
Configuration menu - View commit details
-
Copy full SHA for c7da500 - Browse repository at this point
Copy the full SHA c7da500View commit details
Commits on Feb 11, 2026
-
style: apply Google Go Decisions naming and error handling guidelines
- Rename type-suffixed variables per naming decisions: argsStr → rawArgs/raw, urlStr → rawURL, timeStr → raw - Use pre-compiled regex in struct_validation.go instead of regexp.MatchString (reuses schema.compiledPatterns) - Add comment for intentionally discarded json.Marshal error in dependentRequired.go
Configuration menu - View commit details
-
Copy full SHA for 7716228 - Browse repository at this point
Copy the full SHA 7716228View commit details
Commits on Feb 13, 2026
-
refactor: modernize test code with Go 1.22+ for range N syntax
- Replace traditional for loops (for i := 0; i < N; i++) with modern for range N syntax - Add slice preallocation with capacity hints to address linter warnings - Update dependencies to latest versions (go-i18n v0.2.4, jsonpointer v0.4.10) - All tests pass and linter checks succeed
Configuration menu - View commit details
-
Copy full SHA for 9ffa7be - Browse repository at this point
Copy the full SHA 9ffa7beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4372b0f - Browse repository at this point
Copy the full SHA 4372b0fView commit details
Commits on Feb 14, 2026
-
chore(deps): upgrade dependencies to latest versions
- Upgrade go-i18n to v0.2.5 and messageformat-go to v0.4.12 - Upgrade golangci-lint from v2.7.2 to v2.9.0 - Update Go version references from 1.24/1.25 to 1.26 - Clean up .gitignore and .editorconfig - Update copyright year in LICENSE
Configuration menu - View commit details
-
Copy full SHA for 37dd30a - Browse repository at this point
Copy the full SHA 37dd30aView commit details -
chore(deps): upgrade dependencies and remove unused code
- Upgrade go-i18n from v0.2.5 to v0.2.6 - Upgrade jsonpointer from v0.4.11 to v0.4.13 - Upgrade messageformat-go from v0.4.12 to v0.4.14 - Remove unused helper functions (stringPtr, intPtr, boolPtr, float64Ptr, ptrString, strPtr) - Remove unnecessary loop variable copy (Go 1.22+ scoping)
Configuration menu - View commit details
-
Copy full SHA for a60df7f - Browse repository at this point
Copy the full SHA a60df7fView commit details -
chore(deps): upgrade dependencies and improve error handling
- Upgrade jsonpointer to v0.4.14 - Upgrade messageformat-go to v0.4.15 - Fix error wrapping to avoid double %w format verbs - Simplify error messages following Google Go best practices
Configuration menu - View commit details
-
Copy full SHA for cd87e86 - Browse repository at this point
Copy the full SHA cd87e86View commit details -
refactor: improve naming consistency and upgrade dependencies
- Rename MinLen/MaxLen to MinLength/MaxLength for consistency with field names - Add deprecated aliases for backward compatibility - Upgrade github.com/kaptinlin/go-i18n v0.2.6 => v0.2.7 - Upgrade github.com/kaptinlin/messageformat-go v0.4.15 => v0.4.16
Configuration menu - View commit details
-
Copy full SHA for cc35646 - Browse repository at this point
Copy the full SHA cc35646View commit details -
refactor: apply go fix modernizers and add //go:fix inline for deprec…
…ated APIs Use Go 1.26 go fix to modernize codebase: - Apply newexpr analyzer: replace ptrFloat64() with new(float64()) syntax - Add //go:fix inline to deprecated MinLen/MaxLen, auto-inline all callers to MinLength/MaxLength - Migrate internal usage of deprecated error variables to new names - Standardize deprecated comments to Go convention (// Deprecated: Use [X] instead.) - Update schemagen to generate MinLength/MaxLength instead of deprecated names - Remove unused ptrFloat64 helper and dead code
Configuration menu - View commit details
-
Copy full SHA for aad394f - Browse repository at this point
Copy the full SHA aad394fView commit details
Commits on Feb 15, 2026
-
refactor!: remove deprecated error aliases and keyword functions
Remove 60 unused backward-compatibility error aliases and deprecated MinLen/MaxLen wrapper functions. Update documentation to use the current MinLength/MaxLength API. BREAKING CHANGE: Removed deprecated error variables (ErrFailedToReadData, ErrFailedToFetch, etc.) and deprecated functions (MinLen, MaxLen). Use the new names instead (ErrDataRead, ErrNetworkFetch, MinLength, MaxLength). Co-Authored-By: Claude Opus 4.6 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0301983 - Browse repository at this point
Copy the full SHA 0301983View commit details -
refactor(jsonschema): simplify code structure and update dependencies
- Simplified error handling and reduced nesting in validate.go - Streamlined compiler.go by removing redundant variables - Improved readability in result.go, schema.go, enum.go, properties.go, ref.go, and utils.go - Removed verbose comments while preserving essential context - Updated go-i18n from v0.2.7 to v0.2.8 - Updated jsonpointer from v0.4.14 to v0.4.15
Configuration menu - View commit details
-
Copy full SHA for f7de9fe - Browse repository at this point
Copy the full SHA f7de9feView commit details
Commits on Feb 16, 2026
-
chore: initialize shared agent skills submodule and symlink
Add golang-skills as .agents/skills submodule and create .claude/skills symlink for consistent skill discovery across agent tooling.
Configuration menu - View commit details
-
Copy full SHA for 416bf9e - Browse repository at this point
Copy the full SHA 416bf9eView commit details
Commits on Feb 17, 2026
-
refactor: improve code quality following Go best practices
- Remove "Get" prefix from internal methods (getRootSchema -> rootSchema, getScopeSchema -> scopeSchema, getParentBaseURI -> parentBaseURI) - Improve documentation comments to start with symbol names - Add detailed comments for non-obvious function behavior - Update dependency versions (go-i18n v0.2.9, messageformat-go v0.4.17) - Simplify object evaluation with generic convertStringMap helper
Configuration menu - View commit details
-
Copy full SHA for 3e0c668 - Browse repository at this point
Copy the full SHA 3e0c668View commit details
Commits on Feb 18, 2026
-
Configuration menu - View commit details
-
Copy full SHA for a163961 - Browse repository at this point
Copy the full SHA a163961View commit details -
ci: optimize submodule initialization for test suite
Replace recursive submodule initialization with selective init to avoid cloning unnecessary private submodules during CI runs. Only initialize the JSON-Schema-Test-Suite submodule required for tests.
Configuration menu - View commit details
-
Copy full SHA for 1a967af - Browse repository at this point
Copy the full SHA 1a967afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59bed53 - Browse repository at this point
Copy the full SHA 59bed53View commit details -
migrate from Makefile to Taskfile.yml
- Convert all Makefile targets to Task format - Add proper task descriptions for better discoverability - Implement golangci-lint version checking with status - Use Task dependencies for parallel execution where appropriate - Maintain all original functionality (test, lint, bench, clean, etc.) - Remove Makefile after successful migration
Configuration menu - View commit details
-
Copy full SHA for 4acacb9 - Browse repository at this point
Copy the full SHA 4acacb9View commit details -
add Taskfile migration plan based on jsonschema test case
- Document successful jsonschema migration as reference - Provide standard Taskfile template for Go packages - Include migration checklist and common patterns - List all packages requiring migration - Document known issues and solutions
Configuration menu - View commit details
-
Copy full SHA for 60643b2 - Browse repository at this point
Copy the full SHA 60643b2View commit details -
chore(ci): update submodules and migrate CI to task runner
Co-Authored-By:
Configuration menu - View commit details
-
Copy full SHA for 5fe5d99 - Browse repository at this point
Copy the full SHA 5fe5d99View commit details
Commits on Feb 21, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 69ea81e - Browse repository at this point
Copy the full SHA 69ea81eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.6.10...v0.7.3