Skip to content

Bump jsonschema from 0.55.1 to 0.58.1 - #457

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/jsonschema-0.58.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/jsonschema-0.58.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor

Bumps jsonschema from 0.55.1 to 0.58.1.

Release notes

Sourced from jsonschema's releases.

[CLI] Release 0.58.1

No release notes provided.

[Python] Release 0.58.1

Fixed

  • Crash in canonical.json.to_string on free-threaded Python when another thread resized a list or dict. #1664
  • Crash when an Enum member's value override, a custom keyword or a custom format emptied a list or dict holding the instance being read, during validation, schema conversion or canonical.json.to_string.

Performance

  • uri and uri-reference formats check the syntax directly instead of parsing each value into a URI.
  • Enum members read their stored value directly instead of calling the value property.

[Ruby] Release 0.58.1

Performance

  • uri and uri-reference formats check the syntax directly instead of parsing each value into a URI.

[Rust] Release 0.58.1

Fixed

  • Crash in Pyo3 validators when an Enum member's value override emptied a list or dict holding the instance being read.

Performance

  • uri and uri-reference formats check the syntax directly instead of parsing each value into a URI.
  • Enum members read their stored value directly instead of calling the value property in Pyo3 validators.

[CLI] Release 0.58.0

No release notes provided.

[Python] Release 0.58.0

Performance

  • oneOf and anyOf whose branches each require a property fixed to a distinct string validate only the branch matching the instance's value.
  • meta.is_valid and meta.validate check a schema against the bundled drafts without converting it first, about 2x faster on the benchmarked schemas.

Fixed

  • Crash on free-threaded Python when another thread resized a list or dict during validation.
  • find_unsatisfiable missing a oneOf over $ref branches beside a sibling none of them admits.

[Ruby] Release 0.58.0

Performance

  • oneOf and anyOf whose branches each require a property fixed to a distinct string validate only the branch matching the instance's value.
  • Meta.valid? and Meta.validate! check a schema against the bundled drafts without converting it first, 2 to 5x faster on the benchmarked schemas.

Fixed

... (truncated)

Changelog

Sourced from jsonschema's changelog.

[0.58.1] - 2026-09-26

Fixed

  • Crash in Pyo3 validators when an Enum member's value override emptied a list or dict holding the instance being read.

Performance

  • uri and uri-reference formats check the syntax directly instead of parsing each value into a URI.
  • Enum members read their stored value directly instead of calling the value property in Pyo3 validators.

[0.58.0] - 2026-09-25

Added

  • backend = Pyo3 on #[jsonschema::validator], generating a validator that reads Python objects in place.
  • backend = Magnus on #[jsonschema::validator], generating a validator that reads Ruby objects in place.
  • jsonschema::meta::pyo3, the bundled meta-schema validators for a schema held as a Python object.
  • jsonschema::meta::magnus, the bundled meta-schema validators for a schema held as a Ruby object.
  • methods = { ... } on #[jsonschema::validator], selecting which of is_valid, validate, and iter_errors are generated.
  • json::Jsonb, validating a Postgres jsonb value in place, behind the jsonb feature.

Performance

  • oneOf and anyOf whose branches each require a property fixed to a distinct string validate only the branch matching the instance's value.
  • Generated validate checks required in the same pass over an object as properties, instead of looking up each required name.

Fixed

  • A oneOf over $ref branches beside a sibling none of them admits, which canonicalized to an allOf instead of false.
  • multipleOf incorrectly accepted 1e-400 and other magnitudes below the smallest f64 subnormal with arbitrary-precision (they are not zero).
  • Numeric keywords panicked on a custom representation holding a number past f64 without arbitrary-precision.

[0.57.0] - 2026-09-22

Added

  • PreparedDocument::unsatisfiable, naming the keywords that leave each unsatisfiable subschema empty and where they are.

Changed

  • PreparedDocument::unsatisfiable_pointers is replaced by PreparedDocument::unsatisfiable.

Fixed

  • The instance path of a schema build error, which was empty instead of naming the keyword location that failed to compile.
  • PreparedDocument::unsatisfiable_pointers passed over a subschema that admits no value only once its references resolve, such as an allOf over two $refs.

Performance

... (truncated)

Commits
  • a3033e5 chore(rust): Release 0.58.1
  • 108be08 fix(python): Use-after-free when Python code empties the instance mid-walk
  • 3051b06 fix(python): Concurrent mutation crash in canonical.json.to_string on free-th...
  • 29f6c5f perf: Check uri and uri-reference syntax without building a URI
  • 5a17d44 docs: Update changelog
  • 76516b2 chore(python): Release 0.58.0
  • 894beed chore(ruby): Release 0.58.0
  • ad33f36 chore(rust): Release 0.58.0
  • 84ec127 docs: Update FHIR benchmark numbers
  • 91ac6fa perf: Validate only the matching branch of discriminated oneOf and anyOf
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 5, 2026
@dependabot
dependabot Bot requested a review from yansfil as a code owner October 5, 2026 03:01
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Oct 5, 2026
yansfil added a commit that referenced this pull request Oct 15, 2026
…ower-http (#1195)

Supersedes #455 #456 #457 #458

## Summary

오래 열려 있던 Dependabot 메이저 업데이트 4건을 하나로 처리합니다.
- typify 0.7.0 -> 0.8.0, jsonschema 0.55.1 -> 0.58.1, tokio-tungstenite
0.29.0 -> 0.30.0.
- tower-http는 올리지 않고 지웠습니다. hided가 처음부터 선언만 하고 코드 어디에서도 쓰지 않았습니다.
- tower-http가 켜 주던 tokio `fs` 기능을 실제로 쓰는 hided와 hide-node가 직접 선언합니다.
- `cargo hakari generate`와 `manage-deps --yes`로 `workspace-hack`을 다시
썼습니다.

## Review

- **판단해 주세요**: axum 0.8.9(최신)가 tokio-tungstenite 0.29를 써서, 빌드에
tungstenite 0.29와 0.30이 함께 들어갑니다. axum이 0.30으로 오면 하나로 돌아옵니다. 작은 크레이트 두
개를 한 번 더 컴파일하는 비용과 #455를 닫는 것 중 이쪽을 골랐습니다.
- **조심해서 볼 파일**: `herdr-core/Cargo.toml` - typify는 Herdr wire 타입 생성기입니다.
생성 코드 비교는 Evidence에 있습니다.
- **조심해서 볼 파일**: `workspace-hack/Cargo.toml` - tower-http가 빠지면서 tokio
`fs`, tokio-util이 공용 기능 집합에서 빠지고 futures-sink/task가 들어왔습니다.

## Evidence

- **확인한 것**: typify 0.7과 0.8이 같은 계약(`contracts/herdr-api.schema.json`)에서
만든 4개 파일을 doc 주석을 빼고 최상위 항목 단위로 비교했습니다. 아래 세 가지를 맞추면 513개 항목이 모두 같습니다.
- `Option` 필드의 `#[serde(default)]`가 빠짐: serde는 빠진 `Option` 필드를 원래
`None`으로 읽으므로 의미가 같습니다.
  - `TryFrom<&String>` 구현 56개가 빠짐: 쓰는 곳이 없어 컴파일이 그대로 됩니다.
- 모든 필드가 `Default::default()`인 수동 `Default` 21개가 `#[derive(Default)]`로
바뀜. 기본값 함수를 쓰는 3개(`PaneZoomParams`, `PluginSourceInfo` 2개)는 수동 구현
그대로입니다.
- **확인한 것**: macOS에서 `verify-cargo.sh nextest -p herdr-core -p hide-ai
-p hide-node -p hided` 3321개 통과(92 skipped), `lint`(fmt + clippy `-D
warnings`), `hakari`, `check --workspace --all-targets` 통과. main(#1082
포함)을 merge한 뒤(`dab09dc99`) 다시 돌린 결과입니다.
- **확인한 것**: `scripts/check-herdr-contract.sh --schema-only`를 번들 Herdr
0.9.3으로 돌려 pass(protocol 22).
- **확인하지 못한 것**: contract 검사의 서버 단계는 돌리지 않았습니다. 이 pane의 Herdr가 운영자 서버라
테스트가 닿으면 안 됩니다. wire 해석은 herdr-core의 `wire::tests`가 덮습니다.
- **확인하지 못한 것**: Linux, Windows lane은 이 PR의 CI에 맡깁니다.
@yansfil

yansfil commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Superseded by #1195, which landed typify 0.8, jsonschema 0.58 and tokio-tungstenite 0.30 together and removed tower-http, which hided declared but never used.

@yansfil yansfil closed this Oct 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/jsonschema-0.58.1 branch October 15, 2026 18:20
HyunjunJeon pushed a commit to HyunjunJeon/hide that referenced this pull request Nov 9, 2026
A test's own sshd chose its port by binding port 0 and letting it go, and
reported itself ready when any listener answered on that port. Another test's
sshd took the port first, the test's sshd exited with "Address already in
use", and the daemon signed in to the other server and stopped at
host_key_changed (with-hide/hide-private#210). A server is now ready only when
its own log says it listens, and one that lost the bind is started again on
another port.

The device pane asker asked the node for a credential as soon as its program
started, before the holder wrote the pane's record as running, and was
refused once with no retry (with-hide#503). The test now releases the asker after the
node's proof of the pane, and a failed wait shows the asker's screen.

The node's caller cap probe wrote its request to a connection the node had
already answered and ended (with-hide#149), and the setup renderer's receipt wait gave
up after 64 frames of a busy daemon (with-hide#294); one now only listens, the other
waits by time.

The remote hook's miss and the relay's non-binary frame (with-hide#173, with-hide#457) now say
which stage ran out and which message arrived. The remote mailbox lane can be
repeated by hand on a branch (repeat input).
HyunjunJeon pushed a commit to HyunjunJeon/hide that referenced this pull request Nov 9, 2026
Closes with-hide/hide-private#210
Closes with-hide/hide-private#503
Closes with-hide/hide-private#149
Closes with-hide/hide-private#294
Related: with-hide/hide-private#718 with-hide#719 (제품 쪽 후속), with-hide#173 (hook 시간 초과는 원인
미확정, 진단만 추가), with-hide#457 (relay, 진단만 추가), with-hide#339 with-hide#398 (WSL, 이슈에 원인과 남은 일을 적음)

## Summary

기기 연결 테스트가 가끔 실패하던 원인 넷을 고쳤습니다. 제품 코드는 바뀌지 않고 테스트 보조 코드와 CI 입구만 바뀝니다.

- with-hide#210: 테스트용 sshd가 고른 포트를 다른 테스트의 sshd가 먼저 잡아도 "준비됨"으로 통과해서, 데몬이 남의 서버에
붙고 `host_key_changed`로 끝났습니다. 이제 자기 sshd가 "listening"을 로그에 쓸 때까지 기다리고,
포트를 잃었으면 다른 포트로 다시 시작합니다.
- with-hide#503: 질문하는 프로그램이 holder가 pane 기록을 `running`으로 쓰기 전에 물어서 한 번 거절당했습니다.
테스트가 노드의 증명을 확인한 뒤에 풀어 주게 순서를 고정했습니다.
- with-hide#149: 거절 순서 문제는 `133b05fe9`가 이미 고쳤고, 남은 BrokenPipe는 상한 확인용 연결이 이미 닫힌
연결에 요청을 쓰던 테스트 경쟁이라 듣기만 하게 바꿨습니다.
- with-hide#294: 설정용 renderer가 프레임 64개에서 포기하던 것을 시간 상한으로 바꿨습니다. 이슈 본문의 첫 증상인
doorbell 시간 초과는 with-hide#173 댓글대로 10월 28일 뒤 재발이 없어, frame 상한을 고친 이 PR로 닫습니다.
- remote mailbox 레인을 브랜치에서 손으로 N번 반복할 수 있습니다: `gh workflow run
remote-mailbox.yml --ref <branch> -f repeat=10`.

## Review

- **판단해 주세요**: 반복 실행을 새 workflow가 아니라 `remote-mailbox.yml`의
`workflow_dispatch` + `repeat` 입력으로 둔 것. `test_vt_cache.py`가 vt-cache 사용
workflow 목록을 고정해서 새 파일은 정책 검사에 걸립니다.
- **조심해서 볼 파일**: `hided/tests/it/support/sshd.rs` - 준비 판정을 연결 성공에서 자기
로그의 "Server listening ... port N."으로 바꾼 곳(macOS sshd로 문구 확인).
재시작(`online(false)` 뒤 `online(true)`)은 로그가 이어 쓰이므로 spawn 뒤에 쓰인 부분만 읽고,
같은 포트를 잃으면 이유를 말하며 실패합니다. `system_ssh`에 이 경로를 확인하는 시험을 더했습니다.
- **조심해서 볼 파일**: `hided/tests/it/device_own_engine.rs` - asker가 파일이 생길
때까지 기다리는 셸 반복. 상태를 기다리는 것이고 시간을 기다리지 않습니다.
- **질문**: #173의 11월 7일 실패는 hook이 제품 예산(`INTAKE_BUDGET` 1.65초) 안에 답을 못 받은
것입니다. 부하 때문에 예산을 못 지키는 경우를 테스트가 어떻게 다룰지(병렬도를 줄일지) 정하지 못해 이번엔 진단만 넣었습니다.

- **후속 이슈**: #149의 남은 틈(노드가 연결을 닫은 뒤에 자리를 돌려주는 것)은 제품 쪽이라 #718에, #503의
제품 쪽 경쟁(holder 기록이 Running이 되기 전의 첫 `hide` 호출 거절)은 #719에 적었습니다. 테스트 쪽
원인은 이 PR이 고쳤습니다.
- 반복 실행은 `--retries 0`으로 돌아, 한 번의 실패가 job의 실패입니다.

## Evidence

- **확인한 것**: `cargo check`와 `clippy -D warnings`(hided, hide-relay 테스트)가
통과합니다. 포트 충돌 메시지(`Bind to port N on 127.0.0.1 failed: Address already in
use`)와 listening 문구는 이 Mac의 sshd에서 직접 확인했습니다.
- **확인한 것**: with-hide#210 원인은 실패한 CI 실행(42085737360)의 보관된 sshd 로그에 `Address
already in use`와 데몬의 `host_key_changed`가 함께 있는 것으로 확인했습니다.
- **확인하지 못한 것**: #503의 원인은 코드 읽기로 좁힌 것입니다(`hide-holder/src/holder.rs`의
spawn 뒤 `running` 기록 사이). 실패한 CI에는 asker 화면이 없었고, 이번 변경이 다음 실패 때 그 화면을
남깁니다.
- **확인한 것**: remote mailbox 레인(Linux)을 이 브랜치에서 `repeat=10`으로 돌려 10회 모두
통과했고(33개 x 10, 재시도 0번, `FLAKY` 줄 없음)
https://github.com/with-hide/hide/actions/runs/42386421651 에서 볼 수 있습니다.
- **확인한 것**: 재시작 경로를 고친 head 6817f7c09에서 `--retries 0`으로 다시 `repeat=10`을
돌려 10회 모두 통과했습니다(33개 x 10, `no flaky test`)
https://github.com/with-hide/hide/actions/runs/42429757957
- **확인하지 못한 것**: 고치기 전 실패율은 이슈별로 며칠에 한두 번이라 10회 통과가 재발 없음을 증명하지는 않습니다. 이
Mac에서는 레인을 돌리지 않았습니다.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant