Skip to content

chore(deps): bump hjkl-picker from 0.3.2 to 0.4.0#33

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/hjkl-picker-0.4.0
Closed

chore(deps): bump hjkl-picker from 0.3.2 to 0.4.0#33
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/hjkl-picker-0.4.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Bumps hjkl-picker from 0.3.2 to 0.4.0.

Changelog

Sourced from hjkl-picker's changelog.

[0.4.0] - 2026-05-04

Breaking

  • PickerAction reduced to Custom(Box<dyn Any + Send>) + None. The enum no longer carries app-specific variants (OpenPath, OpenPathAtLine, ShowCommit, CheckoutBranch, SwitchSlot, StashApply, StashPop, StashDrop all removed). Consumers define their own action enum and box it; the dispatcher downcasts via Box<dyn Any>::downcast. Keeps the library reusable from any app without leaking file/git/buffer-specific dependencies.
  • GitStatusSource removed. Moved to consumer apps. Previously the picker shipped a built-in source that depended on git2; that coupling is gone.

Added

  • PickerLogic::handle_key(idx, key) -> Option<PickerAction> — sources can intercept keys before they fall through to the query input. Picker calls it after built-in nav (Enter / arrows / Ctrl+N+P) so reserved keys still work. Default returns None.
  • PickerLogic::preserve_source_order() -> bool — opt-in for sources whose enumeration order is meaningful (e.g. git log chronological, branches with HEAD-first sort). Default false keeps the existing alphabetical-on-empty- query behavior.
  • PickerLogic::label_styles(idx, label) -> Option<Vec<(Range, Style)>> — optional per-row semantic styling for labels. Char-index ranges with a base style; fuzzy-match positions overlay these. Default None.
Commits
  • a6df0aa chore: bump version
  • 48cf450 refactor!: drop app-specific PickerAction variants
  • c9fdd00 feat(logic): handle_key hook + StashApply/Pop/Drop actions
  • 2463d43 feat(logic): add preserve_source_order opt-in for pre-sorted sources
  • 48e7086 feat(logic): add PickerAction::CheckoutBranch for branch pickers
  • 22f0db2 feat(logic): add label_styles for per-row semantic coloring
  • 3ecc88f feat(logic): add PickerAction::ShowCommit for commit viewers
  • eeb2199 refactor(source): drop GitStatusSource (moved to consumer apps)
  • 7a1536e feat(source): add GitStatusSource for git status fuzzy picker
  • 9fedbd2 docs: add reference link defs to all CHANGELOG version headings
  • 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)

Bumps [hjkl-picker](https://github.com/kryptic-sh/hjkl-picker) from 0.3.2 to 0.4.0.
- [Changelog](https://github.com/kryptic-sh/hjkl-picker/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kryptic-sh/hjkl-picker/compare/v0.3.2...v0.4.0)

---
updated-dependencies:
- dependency-name: hjkl-picker
  dependency-version: 0.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 6, 2026
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github May 12, 2026

Superseded by #38.

@dependabot dependabot Bot closed this May 12, 2026
@dependabot dependabot Bot deleted the dependabot/cargo/hjkl-picker-0.4.0 branch May 12, 2026 17:33
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.

0 participants