Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: streamich/memfs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.52.0
Choose a base ref
...
head repository: streamich/memfs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.53.0
Choose a head ref
  • 6 commits
  • 7 files changed
  • 3 contributors

Commits on Dec 11, 2025

  1. Configuration menu
    Copy the full SHA
    5b0a438 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2026

  1. Configuration menu
    Copy the full SHA
    4454596 View commit details
    Browse the repository at this point in the history
  2. feat: implement Result type and improve error handling for exists met…

    …hods
    
    - Add Result<T, E> type from PR #1218 for better error handling
    - Refactor walk() to return Result<Link|null, StatError> instead of throwing
    - Add StatError interface with toError() method for deferred error conversion
    - Improve performance of existsSync for non-existent files (+992.2%)
    - Improve performance of existsSync for existing files (+10.9%)
    - Add createStatError utility function for consistent error creation
    - Update _stat, _exists, and related methods to use Result type
    - All 932 tests pass with improved error handling
    
    Performance improvements verified by benchmark:
    - existsSync (existing): 667.97 → 700.87 ops/ms (+4.9%)
    - existsSync (non-existing): 130.93 → 1430.57 ops/ms (+992.2%) ⭐
    - existsSync (deep path): 805.69 → 808.98 ops/ms (+0.4%)
    - exists (existing): 623.78 → 665.76 ops/ms (+6.7%)
    streamich committed Jan 16, 2026
    Configuration menu
    Copy the full SHA
    f95531f View commit details
    Browse the repository at this point in the history
  3. style: 💄 run formatter

    streamich committed Jan 16, 2026
    Configuration menu
    Copy the full SHA
    b61710d View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2026

  1. Merge pull request #1227 from streamich/exists-perf

    Exists performance improvement
    streamich authored Jan 17, 2026
    Configuration menu
    Copy the full SHA
    685a4ab View commit details
    Browse the repository at this point in the history
  2. chore(release): 4.53.0 [skip ci]

    # [4.53.0](v4.52.0...v4.53.0) (2026-01-17)
    
    ### Features
    
    * implement Result type and improve error handling for exists methods ([f95531f](f95531f)), closes [#1218](#1218)
    semantic-release-bot committed Jan 17, 2026
    Configuration menu
    Copy the full SHA
    e6b1811 View commit details
    Browse the repository at this point in the history
Loading