8000 Comparing v1.8.2...v1.9.2 · spf13/afero · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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: spf13/afero
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.8.2
Choose a base ref
...
head repository: spf13/afero
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.9.2
Choose a head ref
  • 10 commits
  • 29 files changed
  • 3 contributors

Commits on Mar 16, 2022

  1. Bump minimum go version to 1.16

    As explained in
    #291 (comment), now that
    `afero` supports `io/fs.FS`, it requires `go` >= `1.15.10`.
    
    Rather than pinning to `1.15` and occasionally confusing users who are
    on < `1.15.10`, I thought simplest to jump straight to `1.16`.
    
    Especially given `1.18` was just released, the upstream `go` team no
    longer even supports `1.16`.
    
    The change to `go.sum` was the result of running `go mod tidy`.
    jeffwidman committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    c45d7c7 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Merge pull request #346 from jeffwidman/bump-minimum-go-version

    Update `go.mod` to reflect that `afero` requires `go` >= `1.15.10`
    0xmichalis authored Apr 1, 2022
    Configuration menu
    Copy the full SHA
    100c9a6 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Move CI tests to GitHub Action

    bep committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    015be45 View commit details
    Browse the repository at this point in the history
  2. all: Run gofmt -s -w

    bep committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    9439436 View commit details
    Browse the repository at this point in the history
  3. Fix test failures on Windows

    And also enable the CI build for Windows.
    bep committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    939bf3d View commit details
    Browse the repository at this point in the history
  4. Fix staticcheck lint errors

    bep committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    52b6417 View commit details
    Browse the repository at this point in the history
  5. Make IOFS.ReadDir check for fs.ReadDirFile

    And implement `fs.ReadDirFile` for `BasePathFile`.
    
    There are other `File` implementations that could also benefit from the above, but
    this is a start.
    
    The primary motivation behind this is to allow `fs.WalkDir` use the native
    implementation whenever possible, as that new function was added in Go 1.16 with
    speed as its main selling point.
    
    This commit also adds a benchmark for `fs.WalkDir` that, when compared to the main branch:
    
    ```bash
    name        old time/op    new time/op    delta
    WalkDir-10     369µs ± 1%     196µs ± 3%  -46.89%  (p=0.029 n=4+4)
    
    name        old alloc/op   new alloc/op   delta
    WalkDir-10    85.3kB ± 0%    40.2kB ± 0%  -52.87%  (p=0.029 n=4+4)
    
    name        old allocs/op  new allocs/op  delta
    WalkDir-10       826 ± 0%       584 ± 0%  -29.30%  (p=0.029 n=4+4)
    ```
    
    Fixes #365
    bep committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    c92ae36 View commit details
    Browse the repository at this point in the history
  6. Update README.md

    bep authored Jul 14, 2022
    Configuration menu
    Copy the full SHA
    b0a534a View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Fix sorting in IOFS.ReadDir

    We recently added a check for fs.ReadDirFile in IOFS.ReadDir, but forgot to apply a sort to the
    result as defined in the spec.
    
    This fixes that and adds a test case for it.
    bep committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    0aa65ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a70f2b View commit details
    Browse the repository at this point in the history
Loading
0