Skip to content

build(deps): bump schemars from 0.8.22 to 1.2.2 - #59

Merged
echobt merged 2 commits into
mainfrom
dependabot/cargo/schemars-1.2.2
Sep 16, 2026
Merged

echobt merged 2 commits into
mainfrom
dependabot/cargo/schemars-1.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 9, 2026

Copy link
Copy Markdown
Contributor

Bumps schemars from 0.8.22 to 1.2.2.

Release notes

Sourced from schemars's releases.

v1.2.2

  • Update to syn 3 in schemars_derive

v1.2.1

Fixed

  • transform attributes are now applied after the schema is otherwise fully constructed. In particular, they're now applied after all other attributes are processed. (GREsau/schemars#505)

v1.2.0

🎅 Merry Christmas! 🎄

Added

Changed

  • Schemas generated for HashMap/BTreeMap with enum keys are now more specific (GREsau/schemars#452)

v1.1.0

Added

  • Public functions that have no side-effects are now marked with #[must_use] so that they report a lint warning when the returned value is unused, as this likely indicates a mistake.

Fixed

v1.0.5

Fixed

v1.0.4

Fixed

v1.0.3

Fixed

  • Fix compile error when a doc comment is set on both a transparent (or newtype) struct and its field (GREsau/schemars#446)
  • Fix json_schema!() macro compatibility when used from pre-2021 rust editions (GREsau/schemars#447)

v1.0.2

Fixed

... (truncated)

Changelog

Sourced from schemars's changelog.

[1.2.2] - 2026-07-27

  • Update to syn 3 in schemars_derive

[1.2.1] - 2026-02-01

Fixed

  • transform attributes are now applied after the schema is otherwise fully constructed. In particular, they're now applied after all other attributes are processed. (GREsau/schemars#505)

[1.2.0] - 2025-12-25 🎄

Added

Changed

  • Schemas generated for HashMap/BTreeMap with enum keys are now more specific (GREsau/schemars#452)

[1.1.0] - 2025-11-05

Added

  • Public functions that have no side-effects are now marked with #[must_use] so that they report a lint warning when the returned value is unused, as this likely indicates a mistake.

Fixed

[1.0.5] - 2025-11-02

Fixed

[1.0.4] - 2025-07-06

Fixed

[1.0.3] - 2025-06-28

Fixed

  • Fix compile error when a doc comment is set on both a transparent (or newtype) struct and its field (GREsau/schemars#446)
  • Fix json_schema!() macro compatibility when used from pre-2021 rust editions (GREsau/schemars#447)

... (truncated)

Commits

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 area:build Build, dependencies, tests, and CI dependencies Pull requests that update a dependency file labels Sep 9, 2026
@dependabot
dependabot Bot requested a review from echobt as a code owner September 9, 2026 19:08
@greptile-apps

greptile-apps Bot commented Sep 9, 2026

Copy link
Copy Markdown

Greptile Summary

Updates the schemars dependency to 1.2 and completes the associated protocol and OpenAPI migration. The custom conversation identifier schema uses the current public API, generated nested schemas are placed under OpenAPI components with valid references, and the contract documentation identifies the updated generator version.

Confidence Score: 5/5

Safe to merge.

The previously reported build-breaking schema API usage is fully migrated, and the contract documentation now matches the resolved schemars version. No outstanding findings remain.

Reviews (2): Last reviewed commit: "fix(deps): migrate schemars 0.8 to 1.2 A..." | Re-trigger Greptile

Comment thread Cargo.toml
Comment thread Cargo.toml
dependabot Bot and others added 2 commits September 16, 2026 13:27
Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.22 to 1.2.2.
- [Release notes](https://github.com/GREsau/schemars/releases)
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md)
- [Commits](GREsau/schemars@v0.8.22...v1.2.2)

---
updated-dependencies:
- dependency-name: schemars
  dependency-version: 1.2.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
The 1.2 bump changes two things the workspace relied on:

- `JsonSchema::schema_name` returns `Cow<'static, str>`, and the
  `r#gen` / `schema` modules are gone. `ConversationId`'s manual impl
  now returns a borrowed name and builds its schema with the
  `json_schema!` macro, which is the 1.x replacement for
  `SchemaObject { instance_type, format, .. }`.
- `schema_for!` emits nested schemas under `$defs` (JSON Schema
  2020-12, the dialect OpenAPI 3.1 uses) instead of draft 7's
  `definitions`. The app-server's OpenAPI builder unwraps both keys and
  rewrites either `$ref` prefix into `#/components/schemas/`, so
  `ToolCallResponse` and the other nested models stay in the document.

The checked-in contract is regenerated (numeric `minimum` values lose
their `.0`, `required` ordering follows the structs) and the
`app-server.md` note names the version that generates it.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@echobt
echobt force-pushed the dependabot/cargo/schemars-1.2.2 branch from fabc063 to 30b28f4 Compare September 16, 2026 13:37
@echobt

echobt commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

@greptileai

@echobt
echobt merged commit 9ce526a into main Sep 16, 2026
21 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/schemars-1.2.2 branch September 16, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:build Build, dependencies, tests, and CI dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant