Repository navigation
Comparing changes
Open a pull request
base repository: go-openapi/jsonpointer
base: v0.23.2
head repository: go-openapi/jsonpointer
compare: v0.24.0
- 17 commits
- 20 files changed
- 3 contributors
Commits on Jun 29, 2026
-
refact loading, jsonutils, yamlutils utililities
Follow-up on refactoring the swag API as more granular packages, and deprecating the vast API currently exposed by swag. All existing methods are maintained and work. Existing configuration using global vars will continue to work at the "swag" level: sub-packages no longer expose global variables. Smaller packages will help maintain this very diverse set of features. This API separates: * loading : file loading utilities * jsonutils, yamlutils: JSON & YAML document conversions Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7a32044 - Browse repository at this point
Copy the full SHA 7a32044View commit details -
refact: refactored the package into multiple specialized sub-packages
This clarifies the dependencies between the various utilities exposed by this package. Ultimately (not in this PR), we may convert some of the sub-packages into go modules, so as to isolate dependencies and allow users of some of the features not to be polluted by cross-dependencies. * refactored mangling to remove package state Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1e343ce - Browse repository at this point
Copy the full SHA 1e343ceView commit details -
This PR transforms the "swag" package into a mono repo, which exposes a collection of independant go modules. The objective is to reduce the footprint of required dependencies. To remain fully backward-compatible, the swag module imports all the newly created (sub) modules, for programs that consume its deprecated API. ci: ci automation, test coverage reporting and dependabot configuration have been adapted to support this new mono-repo structure. Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c8ef8a2 - Browse repository at this point
Copy the full SHA c8ef8a2View commit details -
chore(ci): setup monorepo linting and fixed automerge
Linting ------- * lint: updated linter config * lint; golangci-lint no longer digs into sub-modules: we have to run the action explicitly with "working-directory" * setup a matrix of submodules to lint all modules in this repo * lint: relinted code Auto-merging ------- * ci(auto-merge): the issue with golang.org updates auto-merge rule is caused by the name of the group "golang.org-dependencies" is internally rewritten as a slug name "golang-org-dependencies" (with a dash, not a dot) so this no longer matches the triggering rules. * ci(auto-merge): fixed the group name to replace "." by "-" (note: this fix should be propagated to all go-openapi repositories). Mono-repo settings ------- * hack: modified the tagging utility to support future modules declared at an arbitrary level in the hierarchy of folders. * ci: introduced a new job to identify all sub-modules and produces the corresponding matrix for linting & testing each one independently. * ci: introduced rendez-vous jobs for linting and testing so we can use only these two in branch protection rule requirements Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for e7dc017 - Browse repository at this point
Copy the full SHA e7dc017View commit details -
Remove dependency to mailru/easyjson by default
We want to remove this dependency by default, while still providing support to users who want to use easyjson. * fixes #68 This PR introduces an adapter to use ReadJSON and WriteJSON with different supporting libraries. By default only the standard library is enabled. A simple runtime registration allows the adapter to support easyjson. When import swag or swag/jsonutils or swag/yamlutils, easyjson is no longer a dependency: JSON serialization only requires the standard library. Supporting easyjson interfaces (e.g. for faster serialization) remains possible, by calling an independent module: swag/jsonutils/adapters/easyjson/json.Register(). 1. ordered map w/stdlib 2. registry with stdlib as default 3. fixed int vs float64 rendering 4. beefed up tests, including integration tests 5. honed doc 6. more tests TODO: * [x] hone test coverage * benchmarks * profiling Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3807d86 - Browse repository at this point
Copy the full SHA 3807d86View commit details -
chore: improved mono-repo management
This PR prepares the forthcoming release. We need to tidy up a little bit the way the mono-repo setup is handled. This starts by embracing `go.work`. Content ======= * added go.work declaration * ci: adapted go tests to go.work. This should dramatically reduce the number of test jobs. At this moment, we still lint go modules in independent jobs. * ci: fixed issue with go mod caching * fix: dependabot not being able to update nested modules * updated stretchr/testify dependency (because dependabot didn't succeed doing so previously) * removed replace directives from top-level module. We still to keep the replace directives in sub-modules. These will disappear when we cut the next release. * doc (updated TODO items list) adapter tagger script to go.work Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3eee415 - Browse repository at this point
Copy the full SHA 3eee415View commit details -
chore: removed most remaining external dependencies
* switch to forked testify (go-openapi/testify/v2) which no longer imports external dependencies * all test dependencies now boil down to go-openapi/testify/v2 Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7653690 - Browse repository at this point
Copy the full SHA 7653690View commit details -
licensing: modernized the licensing of source code.
This commit replaces the full license terms in each go source file by the more compact SPDX annotations (i.e. 2 lines instead of 13). All go files now embed these summarized licensing terms. Also: * license is now cited in README Aside: * fixed sample code in README on how to register an adapter Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 763de45 - Browse repository at this point
Copy the full SHA 763de45View commit details -
Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9d139a2 - Browse repository at this point
Copy the full SHA 9d139a2View commit details -
test: upgraded to go-openapi/testify@v2.3.0 (#175)
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for c86da87 - Browse repository at this point
Copy the full SHA c86da87View commit details -
test: upgraded tests to use generics (#176)
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1106664 - Browse repository at this point
Copy the full SHA 1106664View commit details -
build(deps): bump the go-openapi-dependencies group across 15 directo…
…ries with 2 updates Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for e8f76b3 - Browse repository at this point
Copy the full SHA e8f76b3View commit details -
feat(jsonname): added new json name provider more respectful of go co…
…nventions for JSON (#195) Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for d138cf8 - Browse repository at this point
Copy the full SHA d138cf8View commit details -
build(deps): bump the go-openapi-dependencies group across 15 directo…
…ries with 2 updates Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 5667aac - Browse repository at this point
Copy the full SHA 5667aacView commit details -
chore: wired the local jsonname package & relinted
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for ae73433 - Browse repository at this point
Copy the full SHA ae73433View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3663b09 - Browse repository at this point
Copy the full SHA 3663b09View commit details -
doc: announced dependencies reshuffle for v0.24.0 (#142)
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
Configuration menu - View commit details
-
Copy full SHA for 933d263 - Browse repository at this point
Copy the full SHA 933d263View 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.23.2...v0.24.0