Skip to content

chore: release v1.40.0#763

Merged
jdx merged 1 commit intomainfrom
release
Apr 1, 2026
Merged

chore: release v1.40.0#763
jdx merged 1 commit intomainfrom
release

Conversation

@jdx
Copy link
Copy Markdown
Owner

@jdx jdx commented Mar 23, 2026

🚀 Features

🐛 Bug Fixes

  • (docs) replace invalid /latest/ pkl package URIs with versioned format by @jdx in #770
  • (stage) do not stage pre-existing untracked files by @jdx in #788

📚 Documentation

  • add benchmarks page and reproducible benchmark suite by @jdx in #766
  • add recommended setup section to mise integration by @timothysparg in #780

📦️ Dependency Updates

New Contributors


Note

Medium Risk
Primarily a version/documentation bump, but it also updates the Rust dependency lockfile (e.g., hyper and windows-sys), which could introduce build/runtime regressions.

Overview
Bumps hk to v1.40.0 and publishes the corresponding release notes in CHANGELOG.md.

Updates generated CLI/docs and all Pkl package URL references in docs/examples to point at v1.40.0, and refreshes Cargo.lock with dependency updates/removals consistent with the new release.

Written by Cursor Bugbot for commit da00ab8. This will update automatically on new commits. Configure here.

@jdx jdx added the release label Mar 23, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

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 performs a minor version increment to 1.39.1, primarily to reflect recent dependency updates. The changes ensure that all internal configurations, build files, and user-facing documentation consistently reference the latest version of the project's Pkl packages and the application itself.

Highlights

  • Version Bump: The project version has been updated from 1.39.0 to 1.39.1 across all relevant configuration files and documentation.
  • Dependency Updates: The Cargo.lock file was updated as part of routine lock file maintenance, reflecting potential changes in dependencies.
  • Documentation and Examples Alignment: All documentation and example Pkl configuration files referencing the project's Pkl packages have been updated to point to the new v1.39.1 release.
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 23, 2026

Greptile Summary

This is a standard release PR that bumps hk from v1.39.0 to v1.40.0, aggregating all changes merged since the previous release.

  • Version bump: Cargo.toml and Cargo.lock updated to 1.40.0; hk.usage.kdl and docs/cli/commands.json/index.md version strings updated accordingly
  • Pkl package URIs: All amends and import URIs across documentation (docs/), public example files (docs/public/*.pkl), and reference examples (docs/reference/examples/*.md) updated from v1.39.0 to v1.40.0
  • Changelog: v1.40.0 entry added covering new builtins (betterleaks, gitleaks, mdschema, google-java-format, dclint), pkl/pklr backend, config/core improvements, bug fixes, and dependency updates
  • Cargo.lock: Routine dependency bumps (hyper 1.8→1.9, wasm-bindgen 0.2.116→0.2.117, libc 0.2.183→0.2.184, serde_spanned/toml_parser/toml_writer patch releases); pin-utils removed as it is no longer a transitive dependency of hyper

All changes are mechanical and consistent with an automated or semi-automated release process. No logic changes are introduced in this PR.

Confidence Score: 5/5

Safe to merge — purely mechanical version bump and lock-file update with no logic changes.

Every change is a version string update (1.39.0 → 1.40.0) in documentation, example files, or build manifests, plus routine Cargo.lock dependency refreshes. No source logic was modified. All occurrences are consistent and complete.

No files require special attention.

Important Files Changed

Filename Overview
Cargo.toml Version bumped from 1.39.0 to 1.40.0; no other changes.
Cargo.lock Routine dependency updates: hyper 1.8→1.9, libc 0.2.183→0.2.184, wasm-bindgen 0.2.116→0.2.117, web-sys 0.3.93→0.3.94, serde_spanned/toml_parser/toml_writer patch bumps; pin-utils removed (no longer needed by hyper).
CHANGELOG.md Added v1.40.0 changelog entries covering all merged features, bug fixes, docs, and dependency updates.
hk.pkl Updated the commented-out versioned package URI to v1.40.0; active import still uses local pkl/ path (expected for development).
hk-example.pkl Both amends and import URIs updated from v1.39.0 to v1.40.0.
hk.usage.kdl Version string updated from 1.39.0 to 1.40.0.
docs/builtins.md Pkl package URIs in code examples updated to v1.40.0.
docs/configuration.md All four pkl package URI occurrences updated from v1.39.0 to v1.40.0.
docs/cli/commands.json Version field updated from 1.39.0 to 1.40.0.
docs/cli/index.md Version string updated from 1.39.0 to 1.40.0.
docs/getting_started.md Pkl package URIs in getting-started code example updated to v1.40.0.
docs/mise_integration.md Single pkl amends URI updated from v1.39.0 to v1.40.0.
docs/pkl_introduction.md Pkl amends URI in introduction updated to v1.40.0.
docs/public/custom-linters.pkl Both amends and import URIs updated to v1.40.0.
docs/public/javascript-project.pkl Both amends and import URIs updated to v1.40.0.
docs/public/monorepo.pkl Both amends and import URIs updated to v1.40.0.
docs/public/python-project.pkl Both amends and import URIs updated to v1.40.0.
docs/reference/examples/custom-linters.md Pkl package URIs in embedded example updated to v1.40.0.
docs/reference/examples/javascript-project.md Pkl package URIs in embedded example updated to v1.40.0.
docs/reference/examples/monorepo.md Pkl package URIs in embedded example updated to v1.40.0.
docs/reference/examples/python-project.md Pkl package URIs in embedded example updated to v1.40.0.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Release PR v1.40.0] --> B[Cargo.toml\nversion 1.39.0 → 1.40.0]
    A --> C[Cargo.lock\nDependency updates]
    A --> D[CHANGELOG.md\nv1.40.0 entry added]
    A --> E[Pkl package URIs\n14 files updated]
    A --> F[CLI docs / KDL\nVersion strings updated]

    E --> E1[docs/builtins.md]
    E --> E2[docs/configuration.md]
    E --> E3[docs/public/*.pkl 4 example files]
    E --> E4[docs/reference/examples/*.md 4 files]
    E --> E5[hk-example.pkl / hk.pkl]

    C --> C1[hyper 1.8 → 1.9 / pin-utils removed]
    C --> C2[wasm-bindgen 0.2.116 → 0.2.117]
    C --> C3[libc 0.2.183 → 0.2.184]
    C --> C4[serde_spanned / toml_* patch bumps]
Loading

Reviews (18): Last reviewed commit: "chore: release v1.40.0" | Re-trigger Greptile

Copy link
Copy Markdown
Contributor

@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 bumps the project version to 1.39.1 across various files, including the changelog, Cargo configuration, and documentation. The changes are consistent with a release process. However, I've noticed that many documentation examples and even an error message in the source code use hardcoded version numbers in URLs. This creates unnecessary maintenance overhead for each release, as all these locations need to be updated. I've suggested replacing these with a dynamic reference like latest to make future releases easier.

Comment thread docs/getting_started.md Outdated
Comment on lines +50 to +51
amends "package://github.com/jdx/hk/releases/download/v1.39.1/hk@1.39.1#/Config.pkl"
import "package://github.com/jdx/hk/releases/download/v1.39.1/hk@1.39.1#/Builtins.pkl"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Using a specific version in documentation examples requires updating them with every release. To improve maintainability, please use a dynamic reference like latest. This ensures the documentation remains up-to-date without manual changes for each version bump.

Suggested change
amends "package://github.com/jdx/hk/releases/download/v1.39.1/hk@1.39.1#/Config.pkl"
import "package://github.com/jdx/hk/releases/download/v1.39.1/hk@1.39.1#/Builtins.pkl"
amends "package://github.com/jdx/hk/releases/latest/hk#/Config.pkl"
import "package://github.com/jdx/hk/releases/latest/hk#/Builtins.pkl"

Comment thread src/config.rs Outdated
Examples:\n\
• amends \"pkl/Config.pkl\" (if vendored)\n\
• amends \"package://github.com/jdx/hk/releases/download/v1.39.0/hk@1.39.0#/Config.pkl\"",
• amends \"package://github.com/jdx/hk/releases/download/v1.39.1/hk@1.39.1#/Config.pkl\"",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The hardcoded version in this example URL will become outdated with every new release, creating maintenance overhead. Consider using a more generic URL with latest, like package://github.com/jdx/hk/releases/latest/hk#/Config.pkl, which appears to be supported based on the project's documentation. This would avoid frequent updates.

Suggested change
• amends \"package://github.com/jdx/hk/releases/download/v1.39.1/hk@1.39.1#/Config.pkl\"",
• amends "package://github.com/jdx/hk/releases/latest/hk#/Config.pkl"

@jdx jdx force-pushed the release branch 2 times, most recently from 52c0ec7 to bca7939 Compare March 23, 2026 22:04
@jdx jdx changed the title chore: release v1.39.1 chore: release v1.40.0 Mar 23, 2026
@jdx jdx force-pushed the release branch 5 times, most recently from d5235dd to 667fe37 Compare March 27, 2026 09:54
@jdx jdx force-pushed the release branch 10 times, most recently from be69f1f to 8a9da57 Compare April 1, 2026 15:49
@jdx jdx enabled auto-merge (squash) April 1, 2026 16:05
@jdx jdx merged commit 1d36621 into main Apr 1, 2026
21 checks passed
@jdx jdx deleted the release branch April 1, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants