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: zip-rs/zip2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0.0
Choose a base ref
...
head repository: zip-rs/zip2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.1.0
Choose a head ref
  • 10 commits
  • 19 files changed
  • 9 contributors

Commits on Feb 15, 2026

  1. style: Add a message on failure in tests/invalid_path.rs (#664)

    * Apply suggested fix to tests/invalid_path.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to tests/invalid_path.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    ---------
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Pr0methean and github-code-quality[bot] authored Feb 15, 2026
    Configuration menu
    Copy the full SHA
    d611d69 View commit details
    Browse the repository at this point in the history
  2. feat: add system to FileOption, so byte-for-byte identical archives c…

    …an be created across platforms (#660)
    
    * feat: add system for FileOption
    
    * feat: add more system
    
    * add from_version_made_by
    
    * change order
    
    * add default permission
    
    * cleanup
    
    * add hint
    
    * [skip ci] test: add tests for custom system field in FileOptions
    
    Add comprehensive tests for the system field feature:
    - Test setting System::Unix explicitly
    - Test setting System::Dos explicitly  
    - Test round-trip behavior with multiple system types
    - Test default behavior when system is not explicitly set
    
    These tests verify that the custom system value is correctly
    written to and read from ZIP archives.
    
    * Revert redundant tests
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Document defaults for System
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Add missing import
    
    * cargo fmt --all
    
    ---------
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    Co-authored-by: amazon-q-developer[bot] <208079219+amazon-q-developer[bot]@users.noreply.github.com>
    Co-authored-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    3 people authored Feb 15, 2026
    Configuration menu
    Copy the full SHA
    69656fa View commit details
    Browse the repository at this point in the history
  3. test: Remove debug printing in tests/end_to_end.rs (#663)

    * Apply suggested fix to tests/end_to_end.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to tests/end_to_end.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to tests/end_to_end.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to tests/end_to_end.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to tests/end_to_end.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Update end_to_end.rs
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Update tests/end_to_end.rs
    
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    ---------
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
    3 people authored Feb 15, 2026
    Configuration menu
    Copy the full SHA
    634d5ff View commit details
    Browse the repository at this point in the history
  4. fix: Bugs in extra-data length calculation in src/write.rs (#662)

    * Apply suggested fix to src/write.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to src/write.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to src/write.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to src/write.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to src/write.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Update src/write.rs
    
    Co-authored-by: amazon-q-developer[bot] <208079219+amazon-q-developer[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Update write.rs
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Fix: need to obtain length from both local and central extra-data fields before mutably borrowing either
    
    ---------
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Co-authored-by: amazon-q-developer[bot] <208079219+amazon-q-developer[bot]@users.noreply.github.com>
    3 people authored Feb 15, 2026
    Configuration menu
    Copy the full SHA
    ddd028a View commit details
    Browse the repository at this point in the history
  5. style: Document timestamp constant in tests/zip_ntfs.rs (#665)

    * Apply suggested fix to tests/zip_ntfs.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Apply suggested fix to tests/zip_ntfs.rs from Copilot Autofix
    
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Update tests/zip_ntfs.rs
    
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Fix: convert a literal from OffsetDateTime to UtcDateTime in tests/zip_ntfs.rs
    
    ---------
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
    3 people authored Feb 15, 2026
    Configuration menu
    Copy the full SHA
    2d836ad View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2026

  1. feat(writer): Allow getting underlying writer of ZipWriter (#464)

    * Allow getting underlying writer
    
    * Rename to inner_ref and inner_mut, and mark inner_mut unsafe
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    
    * Fix: make MaybeEncrypted::get_mut unsafe
    
    * Partial debug
    
    * cargo fmt --all
    
    * Fix: zopfli doesn't provide access to inner writer, so return Option from get_ref and get_mut
    
    * cargo fmt --all
    
    * Fix: return None rather than panic when closed
    
    * Fix: newer Zopfli version allows access to writer
    
    ---------
    
    Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    Co-authored-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
    roblabla and Pr0methean authored Feb 16, 2026
    Configuration menu
    Copy the full SHA
    d43594a View commit details
    Browse the repository at this point in the history
  2. [StepSecurity] ci: Harden GitHub Actions (#661)

    Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
    step-security-bot authored Feb 16, 2026
    Configuration menu
    Copy the full SHA
    96f2dd6 View commit details
    Browse the repository at this point in the history
  3. ci(deps): bump step-security/harden-runner from 2.14.1 to 2.14.2 (#669)

    Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.14.1 to 2.14.2.
    - [Release notes](https://github.com/step-security/harden-runner/releases)
    - [Commits](step-security/harden-runner@e3f713f...5ef0c07)
    
    ---
    updated-dependencies:
    - dependency-name: step-security/harden-runner
      dependency-version: 2.14.2
      dependency-type: direct:production
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 16, 2026
    Configuration menu
    Copy the full SHA
    36ee4e0 View commit details
    Browse the repository at this point in the history
  4. Expose System type (#668)

    Fixup for #660, the `System` was `pub`, but not actually importable. This meant the only way of using it was using a conversion from a magic number:
    
    ```rust
    let options = zip::write::SimpleFileOptions::default()
        .system(3.into())
        .unix_permissions(permissions)
        .compression_method(self.compression);
    ```
    konstin authored Feb 16, 2026
    Configuration menu
    Copy the full SHA
    296cfcc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40601a4 View commit details
    Browse the repository at this point in the history
Loading