diff --git a/CHANGELOG.md b/CHANGELOG.md index c58c88eb2..78a5016c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,12 @@ We appreciate your patience while we speedily work towards a stable release of t +### 0.71.13 (2025-01-09) + +* `FilePatternMatcher` has a new constructor `from_file` which allows you to read file matching patterns from a file instead of having to pass them in directly, this can be used for `Image` methods accepting an `ignore` parameter in order to read ignore patterns from files. + + + ### 0.71.11 (2025-01-08) - Modal Volumes can now be renamed via the CLI (`modal volume rename`) or SDK (`modal.Volume.rename`). diff --git a/modal_version/_version_generated.py b/modal_version/_version_generated.py index c21dd3bf5..870b0b006 100644 --- a/modal_version/_version_generated.py +++ b/modal_version/_version_generated.py @@ -1,4 +1,4 @@ # Copyright Modal Labs 2025 # Note: Reset this value to -1 whenever you make a minor `0.X` release of the client. -build_number = -1 # git: 54a0b70 +build_number = -1 # git: 1c4cfc0 diff --git a/test/image_test.py b/test/image_test.py index 4f85ce221..3c84702d8 100644 --- a/test/image_test.py +++ b/test/image_test.py @@ -862,7 +862,7 @@ def test_image_dockerfile_copy_auto_dockerignore(builder_version, servicer, clie @pytest.mark.parametrize("use_dockerfile", (True, False)) @pytest.mark.usefixtures("tmp_cwd") -def test_image_dockerfile_copy_explicit_dockerignore(builder_version, servicer, client, use_dockerfile): +def test_image_dockerfile_copy_ignore_from_file(builder_version, servicer, client, use_dockerfile): rel_top_dir = Path("top") rel_top_dir.mkdir() (rel_top_dir / "data.txt").write_text("world")