Skip to content

v1.0.0

Choose a tag to compare

@tenedev tenedev released this 30 Jan 07:45

Breaking Changes

Dropped Chaining (Fluent API Removed)

The fluent / chainable API has been removed.

Git methods no longer return the API instance. Each method now resolves independently, simplifying internal flow control, improving error handling, and making behavior more predictable.

Migration impact:

  • Chained calls like git.add().commit() are no longer supported
  • Calls must now be executed independently

Features

Branch Management

  • Added a comprehensive branch management API supporting create, delete, copy, rename, and list operations across both local and remote repositories.
  • Supports multiple output formats for branch listings.
  • Added utility functions for:
    • Branch existence checks
    • Upstream tracking configuration
    • Resetting branches
    • Retrieving the current and default branch information

Tag Management

  • Added full Git tag management support, including:
    • Creating tags (both lightweight and annotated)
    • Deleting tags
    • Listing tags (including SemVer-only filtering)
    • Checking tag existence
    • Validating tag names
  • Introduced a consolidated Tag API for simpler and more ergonomic usage.

Chores

  • Updated pre-commit linting configuration to handle unmatched files gracefully, preventing commits from failing when no files match configured patterns.

  • New Tag API
    Introduced a comprehensive and ergonomic API for Git tag operations, including creation, deletion, listing, and validation.

  • Enhanced makeList Utility
    Refactored the internal makeList utility to accept optional prefixes and a replacement string, improving flexibility when parsing Git command output.

  • Biome Configuration Update
    Updated the lint-staged Biome configuration to include the --no-errors-on-unmatched flag, preventing errors when patterns do not match any files.

What's Changed

  • feat: add branch API by @teneplaysofficial in #11
  • chore(deps): update pnpm to v10.28.0 by @renovate[bot] in #12
  • chore(deps): update dependency tsdown to ^0.19.0 by @renovate[bot] in #13
  • chore(deps): update pnpm to v10.28.1 by @renovate[bot] in #15
  • chore: pre-commit autoupdate by @pre-commit-ci[bot] in #14
  • chore(deps): update dependency tsdown to ^0.20.0 by @renovate[bot] in #16
  • ci: pre-commit autoupdate by @pre-commit-ci[bot] in #17
  • chore(deps): update pnpm to v10.28.2 by @renovate[bot] in #19
  • feat: add tag API by @teneplaysofficial in #18

New Contributors

Full Changelog: v0.3.0...v1.0.0