Skip to content

Add rich error information to every exception#554

Merged
jviotti merged 1 commit into
mainfrom
errors-revision
Nov 25, 2025
Merged

Add rich error information to every exception#554
jviotti merged 1 commit into
mainfrom
errors-revision

Conversation

@jviotti

@jviotti jviotti commented Nov 24, 2025

Copy link
Copy Markdown
Member

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

@jviotti jviotti force-pushed the errors-revision branch 6 times, most recently from e398008 to ac8ce8d Compare November 24, 2025 20:50
@jviotti jviotti changed the title [WIP] Add rich error information to every possible exception Add rich error information to every possible exception Nov 24, 2025
@jviotti jviotti marked this pull request as ready for review November 24, 2025 20:50
@jviotti jviotti changed the title Add rich error information to every possible exception Add rich error information to every exception Nov 24, 2025
@jviotti jviotti force-pushed the errors-revision branch 2 times, most recently from e744bda to 918c29b Compare November 25, 2025 12:58
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@jviotti jviotti merged commit 6b16258 into main Nov 25, 2025
9 of 11 checks passed
@jviotti jviotti deleted the errors-revision branch November 25, 2025 14:31
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Dec 12, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [sourcemeta/jsonschema](https://github.com/sourcemeta/jsonschema) | minor | `v12.7.1` -> `v12.10.1` |

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.10.1`](https://github.com/sourcemeta/jsonschema/releases/tag/v12.10.1)

[Compare Source](sourcemeta/jsonschema@v12.10.0...v12.10.1)

#### What's Changed

- Speed up schema compilation and linting by orders of magnitude (up to 10x) by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;578](sourcemeta/jsonschema#578)

**Full Changelog**: <sourcemeta/jsonschema@v12.10.0...v12.10.1>

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

[Compare Source](sourcemeta/jsonschema@v12.9.3...v12.10.0)

#### What's Changed

- Avoid synchronous functions in the NPM wrapper by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;575](sourcemeta/jsonschema#575)
- Support validating multi-doc YAML files by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;577](sourcemeta/jsonschema#577)

**Full Changelog**: <sourcemeta/jsonschema@v12.9.3...v12.10.0>

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

[Compare Source](sourcemeta/jsonschema@v12.9.2...v12.9.3)

#### What's Changed

- Fix NPM publishing and re-publish using Trusted Publishing by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;574](sourcemeta/jsonschema#574)

**Full Changelog**: <sourcemeta/jsonschema@v12.9.2...v12.9.3>

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

[Compare Source](sourcemeta/jsonschema@v12.9.1...v12.9.2)

#### What's Changed

- Fix NPM publishing and re-publish using Trusted Publishing by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;573](sourcemeta/jsonschema#573)

**Full Changelog**: <sourcemeta/jsonschema@v12.9.1...v12.9.2>

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

[Compare Source](sourcemeta/jsonschema@v12.9.0...v12.9.1)

#### What's Changed

- Fix NPM publishing command by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;572](sourcemeta/jsonschema#572)

**Full Changelog**: <sourcemeta/jsonschema@v12.9.0...v12.9.1>

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

[Compare Source](sourcemeta/jsonschema@v12.8.1...v12.9.0)

#### What's Changed

- Expose a spawning interface in the CLI NPM wrapper by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;564](sourcemeta/jsonschema#564)
- Support cases where platform.machine() is 'amd64' instead of 'x86\_64' by [@&#8203;EMBailey-Topaz](https://github.com/EMBailey-Topaz) in [#&#8203;570](sourcemeta/jsonschema#570)
- Fix `docs/configuration` link to Sourcemeta One by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;568](sourcemeta/jsonschema#568)

#### New Contributors

- [@&#8203;EMBailey-Topaz](https://github.com/EMBailey-Topaz) made their first contribution in [#&#8203;570](sourcemeta/jsonschema#570)

**Full Changelog**: <sourcemeta/jsonschema@v12.8.1...v12.9.0>

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

[Compare Source](sourcemeta/jsonschema@v12.8.0...v12.8.1)

#### What's Changed

- Fix NPM publishing by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;562](sourcemeta/jsonschema#562)

**Full Changelog**: <sourcemeta/jsonschema@v12.8.0...v12.8.1>

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

[Compare Source](sourcemeta/jsonschema@v12.7.1...v12.8.0)

#### What's Changed

- Add rich error information to every exception by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;554](sourcemeta/jsonschema#554)
- Adopt NPM's trusted publishing by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;557](sourcemeta/jsonschema#557)
- Report linter errors for more than one rule position by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;558](sourcemeta/jsonschema#558)
- Improve the lint description of the `unknown_keywords_prefix` rule by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;559](sourcemeta/jsonschema#559)
- Support `extension` in `jsonschema.json` by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;560](sourcemeta/jsonschema#560)
- Consider `jsonschema.json` extensions when loading direct schema paths by [@&#8203;jviotti](https://github.com/jviotti) in [#&#8203;561](sourcemeta/jsonschema#561)

**Full Changelog**: <sourcemeta/jsonschema@v12.7.1...v12.8.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:eyJjcmVhdGVkSW5WZXIiOiI0Mi4yNy4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
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