Skip to content

chore: release v0.3.0#50

Merged
jdx merged 1 commit intomainfrom
release-plz-2026-03-24T21-24-47Z
Mar 24, 2026
Merged

chore: release v0.3.0#50
jdx merged 1 commit intomainfrom
release-plz-2026-03-24T21-24-47Z

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented Mar 24, 2026

🤖 New release

  • pklr: 0.2.2 -> 0.3.0 (⚠ API breaking changes)

pklr breaking changes

--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.46.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field ObjectSource.type_name in /tmp/.tmpJNeWZq/pklr/src/value.rs:20
Changelog

0.3.0 - 2026-03-24

Added

  • implement output.renderer.converters support (#49)


This PR was generated with release-plz.

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request serves as a release chore, updating the pklr package to its new major version 0.3.0. This release incorporates a significant new feature, output.renderer.converters support, and includes API breaking changes that require attention from consumers.

Highlights

  • pklr package release: The pklr package has been updated to version 0.3.0, introducing API breaking changes and implementing support for output.renderer.converters.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Mar 24, 2026

Greptile Summary

This is an automated release PR generated by release-plz, bumping pklr from 0.2.2 to 0.3.0. The version increment correctly follows semver convention for a pre-1.0 crate with a breaking API change (minor version bump). The sole functional change shipped in this release is output.renderer.converters support from PR #49.

Key points:

  • Version bump in Cargo.toml and Cargo.lock from 0.2.20.3.0 is correct given the confirmed breaking change.
  • The CHANGELOG.md entry for v0.3.0 is missing documentation of the breaking change (ObjectSource gains a new pub field type_name), which was detected by cargo-semver-checks and noted in the PR description. Downstream users reading the changelog will not be warned that struct-literal constructions of ObjectSource need to be updated.

Confidence Score: 4/5

  • Safe to merge; only concern is a missing breaking-change note in the CHANGELOG.
  • The version bump is mechanically correct and all three files are consistent. The only gap is that the documented changelog entry does not surface the confirmed API breaking change for users upgrading.
  • CHANGELOG.md — should document the ObjectSource.type_name breaking change.

Important Files Changed

Filename Overview
CHANGELOG.md Adds v0.3.0 entry with an Added section, but the confirmed API breaking change (ObjectSource.type_name field addition) is not documented.
Cargo.toml Version bumped from 0.2.2 to 0.3.0; correct minor-version bump for a pre-1.0 crate with a breaking change.
Cargo.lock Lock file updated to reflect the new pklr version 0.3.0; no other dependency changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[release-plz triggers release] --> B[Bump version 0.2.2 → 0.3.0]
    B --> C[Update Cargo.toml]
    B --> D[Update Cargo.lock]
    B --> E[Update CHANGELOG.md]
    C & D & E --> F[PR #50 merged]
    F --> G[Publish pklr v0.3.0 to crates.io]
    G --> H{Downstream users upgrade}
    H -->|Read CHANGELOG| I[See only 'Added: converters support']
    H -->|Compile code| J[⚠ ObjectSource struct literal breaks if type_name missing]
Loading

Fix All in Claude Code

Reviews (1): Last reviewed commit: "chore: release v0.3.0" | Re-trigger Greptile

Comment thread CHANGELOG.md
Comment on lines +10 to +14
## [0.3.0](https://github.com/jdx/pklr/compare/v0.2.2...v0.3.0) - 2026-03-24

### Added

- implement output.renderer.converters support ([#49](https://github.com/jdx/pklr/pull/49))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Breaking change not documented in CHANGELOG

The PR description and cargo-semver-checks output confirm there is an API breaking change in this release — a new pub field type_name was added to the ObjectSource struct in src/value.rs, which is a source-incompatible change for users constructing that struct with literal syntax.

However, the v0.3.0 changelog entry only includes an ### Added section and makes no mention of this breaking change. Downstream users relying on CHANGELOG.md to understand upgrade requirements will not be aware that their code may fail to compile after upgrading.

Consider adding a ### Breaking Changes (or ### Changed) section, for example:

Suggested change
## [0.3.0](https://github.com/jdx/pklr/compare/v0.2.2...v0.3.0) - 2026-03-24
### Added
- implement output.renderer.converters support ([#49](https://github.com/jdx/pklr/pull/49))
## [0.3.0](https://github.com/jdx/pklr/compare/v0.2.2...v0.3.0) - 2026-03-24
### Breaking Changes
- `ObjectSource` struct has a new `pub` field `type_name`; existing struct-literal constructions must be updated ([#49](https://github.com/jdx/pklr/pull/49))
### Added
- implement output.renderer.converters support ([#49](https://github.com/jdx/pklr/pull/49))

Fix in Claude Code

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the project version to 0.3.0 across Cargo.toml, Cargo.lock, and CHANGELOG.md, and adds an entry for output.renderer.converters support. The primary feedback is to document a breaking API change related to the ObjectSource struct in the CHANGELOG.md under a new Changed section, adhering to Keep a Changelog conventions.

Comment thread CHANGELOG.md
Comment on lines +12 to +14
### Added

- implement output.renderer.converters support ([#49](https://github.com/jdx/pklr/pull/49))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This release includes breaking API changes, as noted in the pull request description. It would be beneficial for users to have these documented in the changelog. According to Keep a Changelog conventions, breaking changes are typically listed under a Changed section.

I suggest adding a Changed section to highlight the breaking change related to the ObjectSource struct.

Suggested change
### Added
- implement output.renderer.converters support ([#49](https://github.com/jdx/pklr/pull/49))
### Added
- implement output.renderer.converters support ([#49](https://github.com/jdx/pklr/pull/49))
### Changed
- **(breaking)** The `ObjectSource` struct has a new public field `type_name`. This is an API breaking change for consumers constructing this struct directly.

@jdx jdx merged commit df91408 into main Mar 24, 2026
6 checks passed
@jdx jdx deleted the release-plz-2026-03-24T21-24-47Z branch March 24, 2026 21:30
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