Skip to content

Support printing errors as JSON given --json#524

Merged
jviotti merged 1 commit intomainfrom
json-errors
Oct 29, 2025
Merged

Support printing errors as JSON given --json#524
jviotti merged 1 commit intomainfrom
json-errors

Conversation

@jviotti
Copy link
Member

@jviotti jviotti commented Oct 29, 2025

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

@jviotti jviotti force-pushed the json-errors branch 7 times, most recently from d760694 to 8d82898 Compare October 29, 2025 19:56
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@jviotti jviotti changed the title [WIP] Support printing errors as JSON given --json Support printing errors as JSON given --json Oct 29, 2025
@jviotti jviotti marked this pull request as ready for review October 29, 2025 20:07
@jviotti
Copy link
Member Author

jviotti commented Oct 29, 2025

@Karan-Palan Its happening!

@jviotti jviotti merged commit 72b90f8 into main Oct 29, 2025
8 of 11 checks passed
@jviotti jviotti deleted the json-errors branch October 29, 2025 20:19
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Nov 3, 2025
⚠️ **CAUTION: this is a major update, indicating a breaking change!** ⚠️

This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [sourcemeta/jsonschema](https://github.com/sourcemeta/jsonschema) | major | `v11.11.1` -> `v12.2.0` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>sourcemeta/jsonschema (sourcemeta/jsonschema)</summary>

### [`v12.2.0`](https://github.com/sourcemeta/jsonschema/releases/tag/v12.2.0)

[Compare Source](sourcemeta/jsonschema@v12.1.1...v12.2.0)

#### What's Changed

- Emit line/column information for YAML schemas and instances by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;529](sourcemeta/jsonschema#529)

**Full Changelog**: <sourcemeta/jsonschema@v12.1.1...v12.2.0>

### [`v12.1.1`](https://github.com/sourcemeta/jsonschema/releases/tag/v12.1.1)

[Compare Source](sourcemeta/jsonschema@v12.1.0...v12.1.1)

#### What's Changed

- Disable SIMD support on Docker binaries by [@&#8203;peat-psuwit](https://github.com/peat-psuwit) in [#&#8203;526](sourcemeta/jsonschema#526)
- Get full ECMA 262 regex compliance, Unicode support, and higher performance by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;527](sourcemeta/jsonschema#527)

#### New Contributors

- [@&#8203;peat-psuwit](https://github.com/peat-psuwit) made their first contribution in [#&#8203;526](sourcemeta/jsonschema#526)

**Full Changelog**: <sourcemeta/jsonschema@v12.1.0...v12.1.1>

### [`v12.1.0`](https://github.com/sourcemeta/jsonschema/releases/tag/v12.1.0)

[Compare Source](sourcemeta/jsonschema@v12.0.0...v12.1.0)

#### What's Changed

- Support printing errors as JSON given `--json` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;524](sourcemeta/jsonschema#524)
- Upgrade Hydra to `38206da873311f0d1fc5f851a9c38838459e89b9` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;525](sourcemeta/jsonschema#525)

**Full Changelog**: <sourcemeta/jsonschema@v12.0.0...v12.1.0>

### [`v12.0.0`](https://github.com/sourcemeta/jsonschema/releases/tag/v12.0.0)

[Compare Source](sourcemeta/jsonschema@v11.11.1...v12.0.0)

#### What's Changed

- Speed up Blaze compilation and fix an infinite loop on circular `$ref`s by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;502](sourcemeta/jsonschema#502)
- Fix `jsonschema.json` not being located for relative path inputs by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;504](sourcemeta/jsonschema#504)
- Fix `validate` not ignoring top-level keywords sibling to `$ref` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;505](sourcemeta/jsonschema#505)
- Normalise error message metadata by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;520](sourcemeta/jsonschema#520)
- Improve schema formatting with `fmt` by becoming dialect aware by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;522](sourcemeta/jsonschema#522)
  - With this change, `fmt` needs to be able to access custom meta-schemas, so you might need to use `--resolve` or `jsonschema.json` accordingly

**Full Changelog**: <sourcemeta/jsonschema@v11.11.1...v12.0.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTkuNCIsInVwZGF0ZWRJblZlciI6IjQxLjE2Ny4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant