Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kaptinlin/jsonschema
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.6.10
Choose a base ref
...
head repository: kaptinlin/jsonschema
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.7.3
Choose a head ref
  • 20 commits
  • 90 files changed
  • 2 contributors

Commits on Feb 9, 2026

  1. ♻️ 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
    kaptinlin committed Feb 9, 2026
    Configuration menu
    Copy the full SHA
    c7da500 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2026

  1. 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
    kaptinlin committed Feb 11, 2026
    Configuration menu
    Copy the full SHA
    7716228 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2026

  1. 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
    kaptinlin committed Feb 13, 2026
    Configuration menu
    Copy the full SHA
    9ffa7be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4372b0f View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2026

  1. 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
    kaptinlin committed Feb 14, 2026
    Configuration menu
    Copy the full SHA
    37dd30a View commit details
    Browse the repository at this point in the history
  2. 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)
    kaptinlin committed Feb 14, 2026
    Configuration menu
    Copy the full SHA
    a60df7f View commit details
    Browse the repository at this point in the history
  3. 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
    kaptinlin committed Feb 14, 2026
    Configuration menu
    Copy the full SHA
    cd87e86 View commit details
    Browse the repository at this point in the history
  4. 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
    kaptinlin committed Feb 14, 2026
    Configuration menu
    Copy the full SHA
    cc35646 View commit details
    Browse the repository at this point in the history
  5. 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
    kaptinlin committed Feb 14, 2026
    Configuration menu
    Copy the full SHA
    aad394f View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2026

  1. 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]>
    kaptinlin and claude committed Feb 15, 2026
    Configuration menu
    Copy the full SHA
    0301983 View commit details
    Browse the repository at this point in the history
  2. 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
    kaptinlin committed Feb 15, 2026
    Configuration menu
    Copy the full SHA
    f7de9fe View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2026

  1. 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.
    kaptinlin committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    416bf9e View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. 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
    kaptinlin committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    3e0c668 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2026

  1. Configuration menu
    Copy the full SHA
    a163961 View commit details
    Browse the repository at this point in the history
  2. 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.
    kaptinlin committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    1a967af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    59bed53 View commit details
    Browse the repository at this point in the history
  4. 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
    kaptinlin committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    4acacb9 View commit details
    Browse the repository at this point in the history
  5. 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
    kaptinlin committed Feb 18, 2026
    Configuration menu
    Copy the full SHA
    60643b2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5fe5d99 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2026

  1. Configuration menu
    Copy the full SHA
    69ea81e View commit details
    Browse the repository at this point in the history
Loading