Skip to content

feat: add SingleFileAmberSnapshotExtension as a single-file variant of the default amber extension#959

Merged
noahnu merged 1 commit intonextfrom
bugfix/837
Feb 21, 2025
Merged

feat: add SingleFileAmberSnapshotExtension as a single-file variant of the default amber extension#959
noahnu merged 1 commit intonextfrom
bugfix/837

Conversation

@noahnu
Copy link
Copy Markdown
Collaborator

@noahnu noahnu commented Feb 21, 2025

Closes #837

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 80.95238% with 4 lines in your changes missing coverage. Please review.

Impacted file tree graph

@@            Coverage Diff             @@
##             next     #959      +/-   ##
==========================================
- Coverage   97.61%   97.40%   -0.22%     
==========================================
  Files          21       21              
  Lines        1637     1658      +21     
==========================================
+ Hits         1598     1615      +17     
- Misses         39       43       +4     

@noahnu noahnu merged commit e445cdf into next Feb 21, 2025
@noahnu noahnu deleted the bugfix/837 branch February 21, 2025 23:19
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Details
Benchmark suite Current: f155cbc Previous: 7fdffd9 Ratio
benchmarks/test_1000x.py::test_1000x_reads 0.8074905235685866 iter/sec (stddev: 0.04799196335055799) 0.791293207258563 iter/sec (stddev: 0.07167662396936088) 0.98
benchmarks/test_1000x.py::test_1000x_writes 0.7228814202149865 iter/sec (stddev: 0.21615704274867284) 0.7056598497565947 iter/sec (stddev: 0.23696319708989552) 0.98
benchmarks/test_standard.py::test_standard 0.7338608760245143 iter/sec (stddev: 0.05783119116626678) 0.7288381306864072 iter/sec (stddev: 0.09187540514725986) 0.99

This comment was automatically generated by workflow using github-action-benchmark.

noahnu added a commit that referenced this pull request Mar 8, 2025
noahnu added a commit that referenced this pull request Mar 8, 2025
…f the default amber extension (#959)

(cherry picked from commit eb44f6c)
samylaumonier pushed a commit to samylaumonier/syrupy that referenced this pull request Mar 9, 2025
# [4.9.0](syrupy-project/syrupy@v4.8.3...v4.9.0) (2025-03-08)

### Bug Fixes

* **serializer:** raise TypeError when serializing non-byte like object in binary mode ([syrupy-project#951](syrupy-project#951)) ([2bd0f54](syrupy-project@2bd0f54))

### Features

* add --snapshot-ignore-file-extensions argument to support DVC ([syrupy-project#943](syrupy-project#943)) ([056cc6e](syrupy-project@056cc6e))
* add compose_matchers utility for composing 1 or more matchers ([syrupy-project#952](syrupy-project#952)) ([157dbec](syrupy-project@157dbec))
* add SingleFileAmberSnapshotExtension as a single-file variant of the default amber extension ([syrupy-project#959](syrupy-project#959)) ([a753b7a](syrupy-project@a753b7a))
* include details about created/updated snapshots in detailed report ([syrupy-project#942](syrupy-project#942)) ([25d37ef](syrupy-project@25d37ef))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant