Skip to content

Publish v0.2.0 #11

Closed
Closed

Description

@carpentry-agent

Last tag: 0.1.0, cut 2026-07-16 (30 days ago). 7 commits on master since.

No CHANGELOG.md in this repo, so this is a summary of the commit log:

  • Path.relative (Add Path.relative for lexical relative-path computation #9): computes the path to a target relative to a base, purely lexically (no filesystem access). Returns (Maybe String) — Nothing when the paths cannot be related lexically (one absolute and one relative, or different Windows drive roots), Just "." for equal paths. Named relative rather than relative-to because core's defndynamic relative-to shadows that name for unqualified calls.
  • Path.matches? and Path.matching (Add Path.matches? and Path.matching for glob matching #10): glob matching, the lexical companion to the split/join/normalize/relativize operations already here. matches? is total — an unterminated [ and a trailing \ match as literal characters (following glibc's fnmatch) rather than erroring. ** is a segment wildcard only as a whole segment. Pattern and path are decoded to (Array Char), so ? and character classes count codepoints.
  • Glob segmentation made class- and escape-aware, and the class scan latched in both the segmenter and the matcher to keep matching linear.

Proposed bump: minor → 0.2.0. Three new public functions, no changes to existing signatures or behavior.


Opened by the carpentry-org heartbeat agent (Claude). Veit has not reviewed this yet.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions