diskcache-rs 0.4.0__tar.gz → 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/workflows/benchmark.yml +2 -2
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/workflows/build-abi3.yml +7 -7
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/workflows/build.yml +12 -12
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/workflows/ci.yml +3 -3
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/workflows/release.yml +1 -1
- diskcache_rs-0.4.2/.release-please-manifest.json +3 -0
- diskcache_rs-0.4.2/CHANGELOG.md +239 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/Cargo.lock +1 -1
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/Cargo.toml +1 -1
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/PKG-INFO +8 -23
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/README.md +7 -22
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/justfile +0 -18
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/release-please-config.json +0 -5
- diskcache_rs-0.4.0/.cz.toml +0 -18
- diskcache_rs-0.4.0/.github/workflows/bump-version.yml +0 -33
- diskcache_rs-0.4.0/.release-please-manifest.json +0 -3
- diskcache_rs-0.4.0/CHANGELOG.md +0 -132
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/actions/build-and-test/action.yml +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/actions/setup-diskcache-rs/action.yml +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.github/pull_request_template.md +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.gitignore +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/.pre-commit-config.yaml +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/Dockerfile.test +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/LICENSE +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/comprehensive_performance_test.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/detailed_profiling.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/final_performance_comparison.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/high_performance_test.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/memory_usage_test.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/micro_benchmark.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/optimization_validation_test.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/performance_comparison.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/precise_benchmark.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/benchmarks/set_performance_analysis.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/docker-compose.test.yml +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/examples/basic_usage.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/pyproject.toml +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/python/diskcache_rs/__init__.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/python/diskcache_rs/__init__.pyi +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/python/diskcache_rs/_diskcache_rs.pyi +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/python/diskcache_rs/cache.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/python/diskcache_rs/core.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/python/diskcache_rs/fast_cache.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/python/diskcache_rs/pickle_cache.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/python/diskcache_rs/rust_pickle.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/renovate.json +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/scripts/generate_stubs.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/scripts/sync_version.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/scripts/test-docker-network.sh +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/cache.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/error.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/eviction.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/lib.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/memory_cache.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/migration.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/pickle_cache.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/serialization.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/storage/optimized_backend.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/storage/tests.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/storage.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/src/utils.rs +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/__init__.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/benchmark_official.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/conftest.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_basic_operations.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_ci_benchmark.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_compatibility.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_cross_platform_network.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_docker_network.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_fast_cache.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_issue_17_configurable_threshold.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_network_filesystem.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_performance.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_pickle_cache.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_rust_pickle_performance.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/tests/test_version_and_disk_threshold.py +0 -0
- {diskcache_rs-0.4.0 → diskcache_rs-0.4.2}/uv.lock +0 -0
|
@@ -21,11 +21,11 @@ jobs:
|
|
|
21
21
|
name: Performance Comparison
|
|
22
22
|
runs-on: ubuntu-latest
|
|
23
23
|
steps:
|
|
24
|
-
- uses: actions/checkout@
|
|
24
|
+
- uses: actions/checkout@v6
|
|
25
25
|
with:
|
|
26
26
|
fetch-depth: 0
|
|
27
27
|
|
|
28
|
-
- uses: actions/setup-python@
|
|
28
|
+
- uses: actions/setup-python@v6
|
|
29
29
|
with:
|
|
30
30
|
python-version: '3.14'
|
|
31
31
|
|
|
@@ -19,8 +19,8 @@ jobs:
|
|
|
19
19
|
matrix:
|
|
20
20
|
target: [x86_64, i686]
|
|
21
21
|
steps:
|
|
22
|
-
- uses: actions/checkout@
|
|
23
|
-
- uses: actions/setup-python@
|
|
22
|
+
- uses: actions/checkout@v6
|
|
23
|
+
- uses: actions/setup-python@v6
|
|
24
24
|
with:
|
|
25
25
|
python-version: '3.14'
|
|
26
26
|
architecture: x64
|
|
@@ -49,8 +49,8 @@ jobs:
|
|
|
49
49
|
matrix:
|
|
50
50
|
target: [x64, x86]
|
|
51
51
|
steps:
|
|
52
|
-
- uses: actions/checkout@
|
|
53
|
-
- uses: actions/setup-python@
|
|
52
|
+
- uses: actions/checkout@v6
|
|
53
|
+
- uses: actions/setup-python@v6
|
|
54
54
|
with:
|
|
55
55
|
python-version: '3.14'
|
|
56
56
|
architecture: ${{ matrix.target }}
|
|
@@ -78,8 +78,8 @@ jobs:
|
|
|
78
78
|
matrix:
|
|
79
79
|
target: [x86_64, aarch64]
|
|
80
80
|
steps:
|
|
81
|
-
- uses: actions/checkout@
|
|
82
|
-
- uses: actions/setup-python@
|
|
81
|
+
- uses: actions/checkout@v6
|
|
82
|
+
- uses: actions/setup-python@v6
|
|
83
83
|
with:
|
|
84
84
|
python-version: '3.14'
|
|
85
85
|
architecture: x64
|
|
@@ -104,7 +104,7 @@ jobs:
|
|
|
104
104
|
sdist-abi3:
|
|
105
105
|
runs-on: ubuntu-latest
|
|
106
106
|
steps:
|
|
107
|
-
- uses: actions/checkout@
|
|
107
|
+
- uses: actions/checkout@v6
|
|
108
108
|
- name: Build sdist
|
|
109
109
|
uses: PyO3/maturin-action@v1
|
|
110
110
|
with:
|
|
@@ -22,8 +22,8 @@ jobs:
|
|
|
22
22
|
matrix:
|
|
23
23
|
target: [x86_64, i686]
|
|
24
24
|
steps:
|
|
25
|
-
- uses: actions/checkout@
|
|
26
|
-
- uses: actions/setup-python@
|
|
25
|
+
- uses: actions/checkout@v6
|
|
26
|
+
- uses: actions/setup-python@v6
|
|
27
27
|
with:
|
|
28
28
|
python-version: '3.14'
|
|
29
29
|
architecture: x64
|
|
@@ -52,8 +52,8 @@ jobs:
|
|
|
52
52
|
matrix:
|
|
53
53
|
target: [aarch64, armv7]
|
|
54
54
|
steps:
|
|
55
|
-
- uses: actions/checkout@
|
|
56
|
-
- uses: actions/setup-python@
|
|
55
|
+
- uses: actions/checkout@v6
|
|
56
|
+
- uses: actions/setup-python@v6
|
|
57
57
|
with:
|
|
58
58
|
python-version: '3.14'
|
|
59
59
|
- name: Build wheels
|
|
@@ -93,8 +93,8 @@ jobs:
|
|
|
93
93
|
- x86_64-unknown-linux-musl
|
|
94
94
|
- i686-unknown-linux-musl
|
|
95
95
|
steps:
|
|
96
|
-
- uses: actions/checkout@
|
|
97
|
-
- uses: actions/setup-python@
|
|
96
|
+
- uses: actions/checkout@v6
|
|
97
|
+
- uses: actions/setup-python@v6
|
|
98
98
|
with:
|
|
99
99
|
python-version: '3.14'
|
|
100
100
|
architecture: x64
|
|
@@ -141,8 +141,8 @@ jobs:
|
|
|
141
141
|
- target: armv7-unknown-linux-musleabihf
|
|
142
142
|
arch: armv7
|
|
143
143
|
steps:
|
|
144
|
-
- uses: actions/checkout@
|
|
145
|
-
- uses: actions/setup-python@
|
|
144
|
+
- uses: actions/checkout@v6
|
|
145
|
+
- uses: actions/setup-python@v6
|
|
146
146
|
with:
|
|
147
147
|
python-version: '3.14'
|
|
148
148
|
- name: Build wheels
|
|
@@ -185,8 +185,8 @@ jobs:
|
|
|
185
185
|
matrix:
|
|
186
186
|
target: [x64, x86]
|
|
187
187
|
steps:
|
|
188
|
-
- uses: actions/checkout@
|
|
189
|
-
- uses: actions/setup-python@
|
|
188
|
+
- uses: actions/checkout@v6
|
|
189
|
+
- uses: actions/setup-python@v6
|
|
190
190
|
with:
|
|
191
191
|
python-version: '3.14'
|
|
192
192
|
architecture: ${{ matrix.target }}
|
|
@@ -211,8 +211,8 @@ jobs:
|
|
|
211
211
|
macos:
|
|
212
212
|
runs-on: macos-latest
|
|
213
213
|
steps:
|
|
214
|
-
- uses: actions/checkout@
|
|
215
|
-
- uses: actions/setup-python@
|
|
214
|
+
- uses: actions/checkout@v6
|
|
215
|
+
- uses: actions/setup-python@v6
|
|
216
216
|
with:
|
|
217
217
|
python-version: '3.14'
|
|
218
218
|
architecture: x64
|
|
@@ -22,7 +22,7 @@ jobs:
|
|
|
22
22
|
python-version: ["3.8", "3.10", "3.12"] # Test min, stable, and recent
|
|
23
23
|
|
|
24
24
|
steps:
|
|
25
|
-
- uses: actions/checkout@
|
|
25
|
+
- uses: actions/checkout@v6
|
|
26
26
|
|
|
27
27
|
- name: Setup DiskCache RS Environment
|
|
28
28
|
uses: ./.github/actions/setup-diskcache-rs
|
|
@@ -48,7 +48,7 @@ jobs:
|
|
|
48
48
|
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
49
49
|
|
|
50
50
|
steps:
|
|
51
|
-
- uses: actions/checkout@
|
|
51
|
+
- uses: actions/checkout@v6
|
|
52
52
|
|
|
53
53
|
- name: Setup DiskCache RS Environment
|
|
54
54
|
uses: ./.github/actions/setup-diskcache-rs
|
|
@@ -68,7 +68,7 @@ jobs:
|
|
|
68
68
|
name: Code Quality
|
|
69
69
|
runs-on: ubuntu-latest
|
|
70
70
|
steps:
|
|
71
|
-
- uses: actions/checkout@
|
|
71
|
+
- uses: actions/checkout@v6
|
|
72
72
|
|
|
73
73
|
- name: Setup DiskCache RS Environment
|
|
74
74
|
uses: ./.github/actions/setup-diskcache-rs
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
## v0.4.1 (2025-11-22)
|
|
2
|
+
|
|
3
|
+
### Fix
|
|
4
|
+
|
|
5
|
+
- sync Cargo.toml version with .cz.toml and update CHANGELOG for v0.4.0
|
|
6
|
+
|
|
7
|
+
## [0.4.2](https://github.com/loonghao/diskcache_rs/compare/diskcache_rs-v0.4.1...diskcache_rs-v0.4.2) (2025-11-22)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* add CI-friendly benchmark tests and fix gitignore ([41e5b0d](https://github.com/loonghao/diskcache_rs/commit/41e5b0d95f8bbb6ef28b6e80c59a849a4285571d))
|
|
13
|
+
* add configurable disk write threshold and NFS file locking support ([926b7ae](https://github.com/loonghao/diskcache_rs/commit/926b7aebf2f47644a5588b2787d4fa6cca3c0de1))
|
|
14
|
+
* add Docker network environment testing and fix unit tests ([e093503](https://github.com/loonghao/diskcache_rs/commit/e09350356f78f8dacda7c86448990198a3418987))
|
|
15
|
+
* add missing Cache methods for API compatibility ([a680e6c](https://github.com/loonghao/diskcache_rs/commit/a680e6ca14a7de891b3e3319d559f16fe50c1d2e))
|
|
16
|
+
* add missing exists() and keys() methods to Python Cache wrapper ([5d2ac2e](https://github.com/loonghao/diskcache_rs/commit/5d2ac2ed89a9a9318468d4e429bd787d5b7be6fb))
|
|
17
|
+
* add pre-commit hooks and fix dead code warnings ([7888637](https://github.com/loonghao/diskcache_rs/commit/78886373b08f7421da1ab381f33f4ece71db99c2))
|
|
18
|
+
* add release-please for automated version management ([3094a9b](https://github.com/loonghao/diskcache_rs/commit/3094a9bbb55c749d18b591909a1d829ce85e63d8))
|
|
19
|
+
* enhance CI/CD pipeline with comprehensive testing and PyPI publishing ([ae1f9fc](https://github.com/loonghao/diskcache_rs/commit/ae1f9fc2340c3a0491c73eaf44b1a5d2f25bf9db))
|
|
20
|
+
* implement complete diskcache API compatibility and official benchmarks ([8b17be2](https://github.com/loonghao/diskcache_rs/commit/8b17be228269b20c6a9a8abc6fcceaf836fb7f84))
|
|
21
|
+
* implement comprehensive Python type stub generation and packaging ([5638ce1](https://github.com/loonghao/diskcache_rs/commit/5638ce1b710f9008ed976ca5a06ec2e5fa64b0ee))
|
|
22
|
+
* implement drop-in replacement API for diskcache compatibility ([1fd9b87](https://github.com/loonghao/diskcache_rs/commit/1fd9b87fec8037c6741c9d5713db420458fe1ac2))
|
|
23
|
+
* implement high-performance pickle cache with expiration support ([a2e0195](https://github.com/loonghao/diskcache_rs/commit/a2e01952946d99ab255c0238cc2f0fafe07ae18b))
|
|
24
|
+
* implement release-plz for automated version management ([686b766](https://github.com/loonghao/diskcache_rs/commit/686b76627d0f0462c528418968965564b167923a))
|
|
25
|
+
* implement ultra-fast storage backends with superior performance ([0e98a88](https://github.com/loonghao/diskcache_rs/commit/0e98a88b2f890d6c64aec5fbdd4ed8cb13ad39c3))
|
|
26
|
+
* initial commit with diskcache_rs implementation ([3e925f6](https://github.com/loonghao/diskcache_rs/commit/3e925f69e5bae861ceaa80d203564290802de838))
|
|
27
|
+
* integrate pyo3-stub-gen for automatic Python type stub generation ([c4979b8](https://github.com/loonghao/diskcache_rs/commit/c4979b8afc33f87d78ee1cbe523626ee4688f69d))
|
|
28
|
+
* major performance optimization and code simplification ([b4bc816](https://github.com/loonghao/diskcache_rs/commit/b4bc816db3bfbeb4d8df05e0f5f1a5941ab163f8))
|
|
29
|
+
* make ABI3 support optional and enhance README with PyPI badges ([1647e29](https://github.com/loonghao/diskcache_rs/commit/1647e2917d02d4739279af0dff40ab1716e6a8d7))
|
|
30
|
+
* migrate from JSON to redb for persistent index storage ([704da2e](https://github.com/loonghao/diskcache_rs/commit/704da2e40fd434d4d54db100926ab1967194e711))
|
|
31
|
+
* modernize development setup and add ABI3 support ([14e5fae](https://github.com/loonghao/diskcache_rs/commit/14e5faebfa13191cecb4af0d1a2d1e58f26ba9fc))
|
|
32
|
+
* reduce disk write threshold from 4KB to 256 bytes ([1401387](https://github.com/loonghao/diskcache_rs/commit/14013876e7bd6cdfa142bfbc3fddebd2a5de597d))
|
|
33
|
+
* replace Python pickle with high-performance Rust implementation ([55bb204](https://github.com/loonghao/diskcache_rs/commit/55bb20491a9c2ad6efd6d5b20fc706443d407b6a))
|
|
34
|
+
* replace release-plz with commitizen for better multi-language support ([bbf036f](https://github.com/loonghao/diskcache_rs/commit/bbf036f0314375a18b5cce1c2af6144b12d1daac))
|
|
35
|
+
* simplify version bump workflow with commitizen-action ([e5fd037](https://github.com/loonghao/diskcache_rs/commit/e5fd0370e146926a013b3b75af46538b3c03ac22))
|
|
36
|
+
* upgrade CI/CD to use PyPI Trusted Publishing and comprehensive platform support ([3bf0d24](https://github.com/loonghao/diskcache_rs/commit/3bf0d241bb22e952437c725152a539f58bd91e6c))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* add comprehensive GitHub Actions permissions for version management ([9877602](https://github.com/loonghao/diskcache_rs/commit/9877602b6de4bf3eb97bac892db1017f7c4c4074))
|
|
42
|
+
* add disk_write_threshold and use_file_locking support to PyCache ([5627965](https://github.com/loonghao/diskcache_rs/commit/56279656681603b4112e4e7a873ec3a8ed439f45))
|
|
43
|
+
* completely remove tokio dependency and async runtime ([9b16926](https://github.com/loonghao/diskcache_rs/commit/9b169268acc27218d184065ecfd614a78467ff1c))
|
|
44
|
+
* configure proper permissions for release workflows ([ab26244](https://github.com/loonghao/diskcache_rs/commit/ab26244421df399268cc17fca60abfd432a13ab6))
|
|
45
|
+
* correct fs4 FileExt import path ([a2dfcc3](https://github.com/loonghao/diskcache_rs/commit/a2dfcc3d7b74be4baeb8f0840cbc5de8acbdc274))
|
|
46
|
+
* correct pyo3-stubgen command syntax ([5526085](https://github.com/loonghao/diskcache_rs/commit/552608595707689b5e15db865617e778e012c35b))
|
|
47
|
+
* correct ruff target-version configuration ([17c826e](https://github.com/loonghao/diskcache_rs/commit/17c826ecfc1906896f23ae25204bfb422cde3234))
|
|
48
|
+
* correct uv syntax and dependency versions for Python 3.8+ compatibility ([2d7d89a](https://github.com/loonghao/diskcache_rs/commit/2d7d89a07bbbc69046a647a4dde31b826bab5952))
|
|
49
|
+
* **deps:** update rust crate lz4_flex to 0.12 ([7711aa3](https://github.com/loonghao/diskcache_rs/commit/7711aa3cfbf510030875e104040725f41d232269))
|
|
50
|
+
* **deps:** update rust crate memmap2 to v0.9.7 ([41d2bad](https://github.com/loonghao/diskcache_rs/commit/41d2bad392e89d4e175ef780dd05a2faed491fa0))
|
|
51
|
+
* **deps:** update rust crate serde_json to v1.0.141 ([b53f162](https://github.com/loonghao/diskcache_rs/commit/b53f162eb724bf16b874985867c330cfa6ef21e5))
|
|
52
|
+
* ensure cache is closed before checking redb file in tests ([6e0bbf7](https://github.com/loonghao/diskcache_rs/commit/6e0bbf740c7b1b3c7b34589f0492164442309aca))
|
|
53
|
+
* improve __contains__ method implementation for better compatibility ([f1d38c1](https://github.com/loonghao/diskcache_rs/commit/f1d38c15f7c80dcf36507570762eca7761bae5c3))
|
|
54
|
+
* improve CI benchmark testing and add comprehensive test suite ([b403134](https://github.com/loonghao/diskcache_rs/commit/b403134ff4a437a2e6dc6fdc7d2c64221a3be75b))
|
|
55
|
+
* improve commitizen configuration and bump-version workflow ([c3958ac](https://github.com/loonghao/diskcache_rs/commit/c3958acc843acd969f23fe8288e31cb4fd4d4e5b))
|
|
56
|
+
* improve commitizen workflow with debug and proper permissions ([ea54177](https://github.com/loonghao/diskcache_rs/commit/ea541771ad58ee2586b66a0bf5f5c7f6db190787))
|
|
57
|
+
* make CI and build workflows reusable for release workflow ([d5912b1](https://github.com/loonghao/diskcache_rs/commit/d5912b146467a6aca537d7ad50e83dae6962b2aa))
|
|
58
|
+
* make vacuum() synchronous to ensure disk writes complete ([7fa9cb3](https://github.com/loonghao/diskcache_rs/commit/7fa9cb379e36acd088f2e7260d88a88e3da7f729))
|
|
59
|
+
* persist cache index to disk to prevent data loss on restart ([00ddb35](https://github.com/loonghao/diskcache_rs/commit/00ddb351a90d5d790c9501bee81c264a9cbe3ea3))
|
|
60
|
+
* remove commitizen to avoid conflict with release-please ([90e1178](https://github.com/loonghao/diskcache_rs/commit/90e1178f552def1d5be31642f9e59da9c7abf302))
|
|
61
|
+
* remove unsupported --compatibility abi3 flag from GitHub Actions ([d401675](https://github.com/loonghao/diskcache_rs/commit/d4016753676fe920b19e0270dd9db51480815d87))
|
|
62
|
+
* replace std::io::Error::new with std::io::Error::other for clippy ([63017cc](https://github.com/loonghao/diskcache_rs/commit/63017cc668bc466125b48d5951ee24c0d4be2d66))
|
|
63
|
+
* replace tokio async runtime with standard threads ([92883bd](https://github.com/loonghao/diskcache_rs/commit/92883bd1f1d1e3ce2c8a4fee258612fbed33118e))
|
|
64
|
+
* resolve all clippy warnings and test import issues ([d59909a](https://github.com/loonghao/diskcache_rs/commit/d59909af729da02736fccd36b57dbe0bac6a7314))
|
|
65
|
+
* resolve all code quality issues and formatting problems ([cdbafc9](https://github.com/loonghao/diskcache_rs/commit/cdbafc9ab88c72dfca28710d06f3df2164ec20c0))
|
|
66
|
+
* resolve Alpine Linux ARMv7 py3-venv package availability issue ([e065518](https://github.com/loonghao/diskcache_rs/commit/e065518e98ca5c8c3934ae32c4fb10e81743d2a0))
|
|
67
|
+
* resolve Alpine Linux externally-managed-environment errors in CI ([2963aea](https://github.com/loonghao/diskcache_rs/commit/2963aea6913cb98b03199e17becf5f79b93b1dfd))
|
|
68
|
+
* resolve bincode import issues in Rust compilation ([2aa2fe1](https://github.com/loonghao/diskcache_rs/commit/2aa2fe1d0e4fee58820e92a865ca53330cd3a76d))
|
|
69
|
+
* resolve CI build failures by adding maturin installation step ([fcec531](https://github.com/loonghao/diskcache_rs/commit/fcec531ebc916adcc2c95b716630f7cbe1c752f1))
|
|
70
|
+
* resolve CI build issues and remove analysis doc ([054830b](https://github.com/loonghao/diskcache_rs/commit/054830b26355378a29871f051fececf050cadcfa))
|
|
71
|
+
* resolve CI syntax error and code quality issues ([23ff470](https://github.com/loonghao/diskcache_rs/commit/23ff4703662346cd8fe08a3329262f019858e34f))
|
|
72
|
+
* resolve CI test failures and clippy format issues ([2b07ac8](https://github.com/loonghao/diskcache_rs/commit/2b07ac882eb38d8fbfac4bb3aab9868687652709))
|
|
73
|
+
* resolve circular import issue in Python wrapper ([7cfa6bc](https://github.com/loonghao/diskcache_rs/commit/7cfa6bc6a79d9af780efe933c6f4a00d14d13eaf))
|
|
74
|
+
* resolve cross-platform build issues and modernize CI/CD ([db055a1](https://github.com/loonghao/diskcache_rs/commit/db055a1ed4c3befcc8f0c3170ea670bbd2894cae))
|
|
75
|
+
* resolve final ruff CI linting issues ([8c5ea9a](https://github.com/loonghao/diskcache_rs/commit/8c5ea9a8635dec39a0f13b2d466ed8fcfe15e028))
|
|
76
|
+
* resolve macOS build issues and add comprehensive benchmark tests ([419bc67](https://github.com/loonghao/diskcache_rs/commit/419bc678a9c05de25d1c613954b70e24b4c0718f))
|
|
77
|
+
* resolve merge conflicts and correct version field configurations ([edd0b34](https://github.com/loonghao/diskcache_rs/commit/edd0b34261960dcef71f8b59d486f1b92436c9fa))
|
|
78
|
+
* resolve module naming conflicts and API compatibility issues ([a09941d](https://github.com/loonghao/diskcache_rs/commit/a09941deada506911515bb7e2a2afb5df3f4a7eb))
|
|
79
|
+
* resolve Python 3.8 compatibility and ruff configuration issues ([585792b](https://github.com/loonghao/diskcache_rs/commit/585792bc1307730e907734c3d56807f9c3ba7b09))
|
|
80
|
+
* resolve release changelog generation issues ([7cb0690](https://github.com/loonghao/diskcache_rs/commit/7cb069043e916d72b78547e1bc06bf07ae947e6a))
|
|
81
|
+
* resolve ruff linting issues ([0ee2894](https://github.com/loonghao/diskcache_rs/commit/0ee28948f0d2cb1e64a05d4d956d9ed694133ad0))
|
|
82
|
+
* resolve version mismatch and optimize CI configuration ([d36af7b](https://github.com/loonghao/diskcache_rs/commit/d36af7b0515c0d34fe88f5d691a16cbbccc4b693))
|
|
83
|
+
* resolve Windows pytest and CI issues ([8946860](https://github.com/loonghao/diskcache_rs/commit/8946860a489a466042e428f72b438313d6a45a48))
|
|
84
|
+
* resolve Windows timing precision issue in pickle performance tests ([d6fecd4](https://github.com/loonghao/diskcache_rs/commit/d6fecd468ca9cb126f37626d9d41a0f0fb7f2ddd))
|
|
85
|
+
* resolve Windows timing precision issues across all performance tests ([964d0b1](https://github.com/loonghao/diskcache_rs/commit/964d0b18a069b7018259a0427bf757eb1cecc07e))
|
|
86
|
+
* support both old and new parameter names in RustCache ([314f3e2](https://github.com/loonghao/diskcache_rs/commit/314f3e2c8ef21c0677abcdd8d9faa5322a7f18a4))
|
|
87
|
+
* sync Cargo.toml version with .cz.toml and update CHANGELOG for v0.4.0 ([58ac4c7](https://github.com/loonghao/diskcache_rs/commit/58ac4c74c4dbf39c7ef9bdb1924a3b76af89d741))
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### Performance Improvements
|
|
91
|
+
|
|
92
|
+
* auto-persist index every 100 writes and on drop ([e307d37](https://github.com/loonghao/diskcache_rs/commit/e307d3768ce0914f178fd449085994f5f8c5ebff))
|
|
93
|
+
* increase disk write threshold from 256B to 1KB for better performance ([6739da7](https://github.com/loonghao/diskcache_rs/commit/6739da7e48be75862e891b28dcf673bec1ac9772))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
### Code Refactoring
|
|
97
|
+
|
|
98
|
+
* adopt pydantic-core style dependency management and fix Linux CI issues ([493c60c](https://github.com/loonghao/diskcache_rs/commit/493c60c178e9d6566de97090687b55a4a7e2770c))
|
|
99
|
+
* remove diskcache as runtime dependency, make it optional for benchmarks ([d91671a](https://github.com/loonghao/diskcache_rs/commit/d91671a559db7c17a198f7eff68c95fdb5022330))
|
|
100
|
+
* remove pyo3-stub-gen dependency and auto-generation complexity ([92ecd9a](https://github.com/loonghao/diskcache_rs/commit/92ecd9aea0387dd3af9229f29bdb762b40eb48a0))
|
|
101
|
+
* restructure tests to use pytest and split CI workflows ([4635035](https://github.com/loonghao/diskcache_rs/commit/4635035fa16ab7f7239c763d462d0915ff113415))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
### Documentation
|
|
105
|
+
|
|
106
|
+
* add commitizen release process documentation to README ([80ab3fe](https://github.com/loonghao/diskcache_rs/commit/80ab3fe19f7d8738092d609f1720fdf46f96bb10))
|
|
107
|
+
* add documentation for CacheConfig fields ([c6e1f3f](https://github.com/loonghao/diskcache_rs/commit/c6e1f3fe4fef643ab6df667eb79c1d5c2b87fe54))
|
|
108
|
+
|
|
109
|
+
## v0.4.0 (2025-11-22)
|
|
110
|
+
|
|
111
|
+
### Feat
|
|
112
|
+
|
|
113
|
+
- migrate from JSON to redb for persistent index storage
|
|
114
|
+
|
|
115
|
+
### Fix
|
|
116
|
+
|
|
117
|
+
- replace std::io::Error::new with std::io::Error::other for clippy
|
|
118
|
+
- ensure cache is closed before checking redb file in tests
|
|
119
|
+
- persist cache index to disk to prevent data loss on restart
|
|
120
|
+
- add disk_write_threshold and use_file_locking support to PyCache
|
|
121
|
+
- support both old and new parameter names in RustCache
|
|
122
|
+
- correct fs4 FileExt import path
|
|
123
|
+
|
|
124
|
+
### Perf
|
|
125
|
+
|
|
126
|
+
- auto-persist index every 100 writes and on drop
|
|
127
|
+
|
|
128
|
+
## v0.3.1 (2025-11-21)
|
|
129
|
+
|
|
130
|
+
### Fix
|
|
131
|
+
|
|
132
|
+
- **deps**: update rust crate lz4_flex to 0.12
|
|
133
|
+
|
|
134
|
+
## v0.3.0 (2025-11-21)
|
|
135
|
+
|
|
136
|
+
### Feat
|
|
137
|
+
|
|
138
|
+
- add pre-commit hooks and fix dead code warnings
|
|
139
|
+
- reduce disk write threshold from 4KB to 256 bytes
|
|
140
|
+
|
|
141
|
+
### Fix
|
|
142
|
+
|
|
143
|
+
- correct pyo3-stubgen command syntax
|
|
144
|
+
- make vacuum() synchronous to ensure disk writes complete
|
|
145
|
+
- resolve CI build issues and remove analysis doc
|
|
146
|
+
- resolve version mismatch and optimize CI configuration
|
|
147
|
+
|
|
148
|
+
### Perf
|
|
149
|
+
|
|
150
|
+
- increase disk write threshold from 256B to 1KB for better performance
|
|
151
|
+
|
|
152
|
+
## v0.2.4 (2025-07-21)
|
|
153
|
+
|
|
154
|
+
### Fix
|
|
155
|
+
|
|
156
|
+
- **deps**: update rust crate serde_json to v1.0.141
|
|
157
|
+
|
|
158
|
+
## v0.2.3 (2025-07-13)
|
|
159
|
+
|
|
160
|
+
### Fix
|
|
161
|
+
|
|
162
|
+
- configure proper permissions for release workflows
|
|
163
|
+
- resolve release changelog generation issues
|
|
164
|
+
|
|
165
|
+
## v0.2.2 (2025-07-13)
|
|
166
|
+
|
|
167
|
+
### Fix
|
|
168
|
+
|
|
169
|
+
- add comprehensive GitHub Actions permissions for version management
|
|
170
|
+
- improve commitizen workflow with debug and proper permissions
|
|
171
|
+
|
|
172
|
+
## v0.2.1 (2025-07-13)
|
|
173
|
+
|
|
174
|
+
### Fix
|
|
175
|
+
|
|
176
|
+
- resolve merge conflicts and correct version field configurations
|
|
177
|
+
- correct ruff target-version configuration
|
|
178
|
+
|
|
179
|
+
## v0.2.0 (2025-07-13)
|
|
180
|
+
|
|
181
|
+
### Feat
|
|
182
|
+
|
|
183
|
+
- replace release-plz with commitizen for better multi-language support
|
|
184
|
+
- implement release-plz for automated version management
|
|
185
|
+
- add release-please for automated version management
|
|
186
|
+
- make ABI3 support optional and enhance README with PyPI badges
|
|
187
|
+
- modernize development setup and add ABI3 support
|
|
188
|
+
|
|
189
|
+
### Fix
|
|
190
|
+
|
|
191
|
+
- resolve ruff linting issues
|
|
192
|
+
- remove unsupported --compatibility abi3 flag from GitHub Actions
|
|
193
|
+
|
|
194
|
+
## v0.1.0 (2025-07-13)
|
|
195
|
+
|
|
196
|
+
### Feat
|
|
197
|
+
|
|
198
|
+
- implement ultra-fast storage backends with superior performance
|
|
199
|
+
- replace Python pickle with high-performance Rust implementation
|
|
200
|
+
- implement high-performance pickle cache with expiration support
|
|
201
|
+
- add missing Cache methods for API compatibility
|
|
202
|
+
- add Docker network environment testing and fix unit tests
|
|
203
|
+
- add missing exists() and keys() methods to Python Cache wrapper
|
|
204
|
+
- add CI-friendly benchmark tests and fix gitignore
|
|
205
|
+
- implement complete diskcache API compatibility and official benchmarks
|
|
206
|
+
- implement drop-in replacement API for diskcache compatibility
|
|
207
|
+
- upgrade CI/CD to use PyPI Trusted Publishing and comprehensive platform support
|
|
208
|
+
- enhance CI/CD pipeline with comprehensive testing and PyPI publishing
|
|
209
|
+
- initial commit with diskcache_rs implementation
|
|
210
|
+
|
|
211
|
+
### Fix
|
|
212
|
+
|
|
213
|
+
- make CI and build workflows reusable for release workflow
|
|
214
|
+
- resolve final ruff CI linting issues
|
|
215
|
+
- resolve Windows timing precision issues across all performance tests
|
|
216
|
+
- resolve Windows timing precision issue in pickle performance tests
|
|
217
|
+
- resolve CI syntax error and code quality issues
|
|
218
|
+
- resolve Windows pytest and CI issues
|
|
219
|
+
- resolve Python 3.8 compatibility and ruff configuration issues
|
|
220
|
+
- resolve all code quality issues and formatting problems
|
|
221
|
+
- resolve CI build failures by adding maturin installation step
|
|
222
|
+
- improve __contains__ method implementation for better compatibility
|
|
223
|
+
- resolve CI test failures and clippy format issues
|
|
224
|
+
- resolve all clippy warnings and test import issues
|
|
225
|
+
- resolve Alpine Linux ARMv7 py3-venv package availability issue
|
|
226
|
+
- resolve bincode import issues in Rust compilation
|
|
227
|
+
- resolve Alpine Linux externally-managed-environment errors in CI
|
|
228
|
+
- improve CI benchmark testing and add comprehensive test suite
|
|
229
|
+
- resolve module naming conflicts and API compatibility issues
|
|
230
|
+
- resolve macOS build issues and add comprehensive benchmark tests
|
|
231
|
+
- resolve circular import issue in Python wrapper
|
|
232
|
+
- resolve cross-platform build issues and modernize CI/CD
|
|
233
|
+
- correct uv syntax and dependency versions for Python 3.8+ compatibility
|
|
234
|
+
|
|
235
|
+
### Refactor
|
|
236
|
+
|
|
237
|
+
- adopt pydantic-core style dependency management and fix Linux CI issues
|
|
238
|
+
- remove diskcache as runtime dependency, make it optional for benchmarks
|
|
239
|
+
- restructure tests to use pytest and split CI workflows
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: diskcache_rs
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.2
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
@@ -177,16 +177,13 @@ just --list
|
|
|
177
177
|
|
|
178
178
|
### Release Process
|
|
179
179
|
|
|
180
|
-
This project uses [
|
|
180
|
+
This project uses [Release Please](https://github.com/googleapis/release-please) for automated version management and releases.
|
|
181
181
|
|
|
182
182
|
#### Making Changes
|
|
183
183
|
|
|
184
184
|
1. **Use Conventional Commits**: All commits should follow the [Conventional Commits](https://www.conventionalcommits.org/) specification:
|
|
185
185
|
```bash
|
|
186
|
-
#
|
|
187
|
-
just commit
|
|
188
|
-
|
|
189
|
-
# Or manually follow the format:
|
|
186
|
+
# Commit format:
|
|
190
187
|
# feat: add new feature
|
|
191
188
|
# fix: resolve bug
|
|
192
189
|
# docs: update documentation
|
|
@@ -195,23 +192,11 @@ This project uses [Commitizen](https://commitizen-tools.github.io/commitizen/) f
|
|
|
195
192
|
|
|
196
193
|
2. **Automatic Releases**: When you push to `main`, the CI will:
|
|
197
194
|
- Analyze commit messages since the last release
|
|
198
|
-
-
|
|
199
|
-
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
#### Manual Release Commands
|
|
204
|
-
|
|
205
|
-
```bash
|
|
206
|
-
# Check what version would be bumped (dry run)
|
|
207
|
-
just bump --dry-run
|
|
208
|
-
|
|
209
|
-
# Manually bump version and create changelog
|
|
210
|
-
just bump
|
|
211
|
-
|
|
212
|
-
# Generate changelog only
|
|
213
|
-
just changelog
|
|
214
|
-
```
|
|
195
|
+
- Create a release PR with updated version and changelog
|
|
196
|
+
- When the release PR is merged:
|
|
197
|
+
- Automatically create a GitHub release with tag
|
|
198
|
+
- Build and publish wheels to PyPI
|
|
199
|
+
- Update `Cargo.toml`, `pyproject.toml`, and `CHANGELOG.md`
|
|
215
200
|
|
|
216
201
|
## 🔧 Usage Examples
|
|
217
202
|
|
|
@@ -145,16 +145,13 @@ just --list
|
|
|
145
145
|
|
|
146
146
|
### Release Process
|
|
147
147
|
|
|
148
|
-
This project uses [
|
|
148
|
+
This project uses [Release Please](https://github.com/googleapis/release-please) for automated version management and releases.
|
|
149
149
|
|
|
150
150
|
#### Making Changes
|
|
151
151
|
|
|
152
152
|
1. **Use Conventional Commits**: All commits should follow the [Conventional Commits](https://www.conventionalcommits.org/) specification:
|
|
153
153
|
```bash
|
|
154
|
-
#
|
|
155
|
-
just commit
|
|
156
|
-
|
|
157
|
-
# Or manually follow the format:
|
|
154
|
+
# Commit format:
|
|
158
155
|
# feat: add new feature
|
|
159
156
|
# fix: resolve bug
|
|
160
157
|
# docs: update documentation
|
|
@@ -163,23 +160,11 @@ This project uses [Commitizen](https://commitizen-tools.github.io/commitizen/) f
|
|
|
163
160
|
|
|
164
161
|
2. **Automatic Releases**: When you push to `main`, the CI will:
|
|
165
162
|
- Analyze commit messages since the last release
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
#### Manual Release Commands
|
|
172
|
-
|
|
173
|
-
```bash
|
|
174
|
-
# Check what version would be bumped (dry run)
|
|
175
|
-
just bump --dry-run
|
|
176
|
-
|
|
177
|
-
# Manually bump version and create changelog
|
|
178
|
-
just bump
|
|
179
|
-
|
|
180
|
-
# Generate changelog only
|
|
181
|
-
just changelog
|
|
182
|
-
```
|
|
163
|
+
- Create a release PR with updated version and changelog
|
|
164
|
+
- When the release PR is merged:
|
|
165
|
+
- Automatically create a GitHub release with tag
|
|
166
|
+
- Build and publish wheels to PyPI
|
|
167
|
+
- Update `Cargo.toml`, `pyproject.toml`, and `CHANGELOG.md`
|
|
183
168
|
|
|
184
169
|
## 🔧 Usage Examples
|
|
185
170
|
|
|
@@ -125,24 +125,6 @@ sync-version:
|
|
|
125
125
|
@echo "🔄 Syncing version between Cargo.toml and pyproject.toml..."
|
|
126
126
|
python scripts/sync_version.py
|
|
127
127
|
|
|
128
|
-
# Commitizen commands
|
|
129
|
-
commit:
|
|
130
|
-
@echo "📝 Creating conventional commit..."
|
|
131
|
-
uvx --from commitizen cz commit
|
|
132
|
-
|
|
133
|
-
bump:
|
|
134
|
-
@echo "🚀 Bumping version with commitizen..."
|
|
135
|
-
uvx --from commitizen cz bump
|
|
136
|
-
|
|
137
|
-
changelog:
|
|
138
|
-
@echo "📋 Generating changelog..."
|
|
139
|
-
uvx --from commitizen cz changelog
|
|
140
|
-
|
|
141
|
-
# Check version consistency
|
|
142
|
-
check-version:
|
|
143
|
-
@echo "🔍 Checking version consistency..."
|
|
144
|
-
uvx --from commitizen cz check --rev-range HEAD~1..HEAD
|
|
145
|
-
|
|
146
128
|
# Verify stub files are included in wheel
|
|
147
129
|
verify-stubs:
|
|
148
130
|
@echo "🔍 Verifying stub files in wheel..."
|
diskcache_rs-0.4.0/.cz.toml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
[tool.commitizen]
|
|
2
|
-
name = "cz_conventional_commits"
|
|
3
|
-
version = "0.4.0"
|
|
4
|
-
tag_format = "v$version"
|
|
5
|
-
update_changelog_on_bump = true
|
|
6
|
-
major_version_zero = true
|
|
7
|
-
|
|
8
|
-
# Files to update with new version
|
|
9
|
-
version_files = [
|
|
10
|
-
"Cargo.toml:version"
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
# Bump rules
|
|
14
|
-
bump_pattern = "^(BREAKING CHANGE|feat|fix|refactor|perf)"
|
|
15
|
-
bump_map = {"BREAKING CHANGE" = "MAJOR", "feat" = "MINOR", "fix" = "PATCH", "refactor" = "MINOR", "perf" = "PATCH"}
|
|
16
|
-
|
|
17
|
-
# Change type order for changelog
|
|
18
|
-
change_type_order = ["BREAKING CHANGE", "feat", "fix", "refactor", "perf", "style", "test", "build", "ci", "docs", "chore"]
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: Bump version
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
|
|
8
|
-
permissions:
|
|
9
|
-
contents: write # Required for: modify files, create tags, create releases
|
|
10
|
-
pull-requests: write # Optional: for automated PR operations
|
|
11
|
-
actions: write # Optional: for triggering other workflows
|
|
12
|
-
|
|
13
|
-
jobs:
|
|
14
|
-
bump-version:
|
|
15
|
-
if: "!startsWith(github.event.head_commit.message, 'bump:')"
|
|
16
|
-
runs-on: ubuntu-latest
|
|
17
|
-
name: "Bump version and create changelog with commitizen"
|
|
18
|
-
steps:
|
|
19
|
-
- name: Check out
|
|
20
|
-
uses: actions/checkout@v4
|
|
21
|
-
with:
|
|
22
|
-
fetch-depth: 0
|
|
23
|
-
token: '${{ secrets.GITHUB_TOKEN }}'
|
|
24
|
-
|
|
25
|
-
- name: Create bump and changelog
|
|
26
|
-
uses: commitizen-tools/commitizen-action@master
|
|
27
|
-
with:
|
|
28
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
29
|
-
branch: main
|
|
30
|
-
debug: true
|
|
31
|
-
|
|
32
|
-
- name: Print Version
|
|
33
|
-
run: echo "Bumped to version ${{ env.REVISION }}"
|
diskcache_rs-0.4.0/CHANGELOG.md
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
## v0.4.0 (2025-11-22)
|
|
2
|
-
|
|
3
|
-
### Feat
|
|
4
|
-
|
|
5
|
-
- migrate from JSON to redb for persistent index storage
|
|
6
|
-
- add configurable disk write threshold and NFS file locking support
|
|
7
|
-
|
|
8
|
-
### Fix
|
|
9
|
-
|
|
10
|
-
- replace std::io::Error::new with std::io::Error::other for clippy
|
|
11
|
-
- ensure cache is closed before checking redb file in tests
|
|
12
|
-
- persist cache index to disk to prevent data loss on restart
|
|
13
|
-
- add disk_write_threshold and use_file_locking support to PyCache
|
|
14
|
-
- support both old and new parameter names in RustCache
|
|
15
|
-
- correct fs4 FileExt import path
|
|
16
|
-
|
|
17
|
-
### Perf
|
|
18
|
-
|
|
19
|
-
- auto-persist index every 100 writes and on drop
|
|
20
|
-
|
|
21
|
-
## v0.3.1 (2025-11-21)
|
|
22
|
-
|
|
23
|
-
### Fix
|
|
24
|
-
|
|
25
|
-
- **deps**: update rust crate lz4_flex to 0.12
|
|
26
|
-
|
|
27
|
-
## v0.3.0 (2025-11-21)
|
|
28
|
-
|
|
29
|
-
### Feat
|
|
30
|
-
|
|
31
|
-
- add pre-commit hooks and fix dead code warnings
|
|
32
|
-
- reduce disk write threshold from 4KB to 256 bytes
|
|
33
|
-
|
|
34
|
-
### Fix
|
|
35
|
-
|
|
36
|
-
- correct pyo3-stubgen command syntax
|
|
37
|
-
- make vacuum() synchronous to ensure disk writes complete
|
|
38
|
-
- resolve CI build issues and remove analysis doc
|
|
39
|
-
- resolve version mismatch and optimize CI configuration
|
|
40
|
-
|
|
41
|
-
### Perf
|
|
42
|
-
|
|
43
|
-
- increase disk write threshold from 256B to 1KB for better performance
|
|
44
|
-
|
|
45
|
-
## v0.2.4 (2025-07-21)
|
|
46
|
-
|
|
47
|
-
### Fix
|
|
48
|
-
|
|
49
|
-
- **deps**: update rust crate serde_json to v1.0.141
|
|
50
|
-
|
|
51
|
-
## v0.2.3 (2025-07-13)
|
|
52
|
-
|
|
53
|
-
### Fix
|
|
54
|
-
|
|
55
|
-
- configure proper permissions for release workflows
|
|
56
|
-
- resolve release changelog generation issues
|
|
57
|
-
|
|
58
|
-
## v0.2.2 (2025-07-13)
|
|
59
|
-
|
|
60
|
-
### Fix
|
|
61
|
-
|
|
62
|
-
- add comprehensive GitHub Actions permissions for version management
|
|
63
|
-
- improve commitizen workflow with debug and proper permissions
|
|
64
|
-
|
|
65
|
-
## v0.2.1 (2025-07-13)
|
|
66
|
-
|
|
67
|
-
### Fix
|
|
68
|
-
|
|
69
|
-
- resolve merge conflicts and correct version field configurations
|
|
70
|
-
- correct ruff target-version configuration
|
|
71
|
-
|
|
72
|
-
## v0.2.0 (2025-07-13)
|
|
73
|
-
|
|
74
|
-
### Feat
|
|
75
|
-
|
|
76
|
-
- replace release-plz with commitizen for better multi-language support
|
|
77
|
-
- implement release-plz for automated version management
|
|
78
|
-
- add release-please for automated version management
|
|
79
|
-
- make ABI3 support optional and enhance README with PyPI badges
|
|
80
|
-
- modernize development setup and add ABI3 support
|
|
81
|
-
|
|
82
|
-
### Fix
|
|
83
|
-
|
|
84
|
-
- resolve ruff linting issues
|
|
85
|
-
- remove unsupported --compatibility abi3 flag from GitHub Actions
|
|
86
|
-
|
|
87
|
-
## v0.1.0 (2025-07-13)
|
|
88
|
-
|
|
89
|
-
### Feat
|
|
90
|
-
|
|
91
|
-
- implement ultra-fast storage backends with superior performance
|
|
92
|
-
- replace Python pickle with high-performance Rust implementation
|
|
93
|
-
- implement high-performance pickle cache with expiration support
|
|
94
|
-
- add missing Cache methods for API compatibility
|
|
95
|
-
- add Docker network environment testing and fix unit tests
|
|
96
|
-
- add missing exists() and keys() methods to Python Cache wrapper
|
|
97
|
-
- add CI-friendly benchmark tests and fix gitignore
|
|
98
|
-
- implement complete diskcache API compatibility and official benchmarks
|
|
99
|
-
- implement drop-in replacement API for diskcache compatibility
|
|
100
|
-
- upgrade CI/CD to use PyPI Trusted Publishing and comprehensive platform support
|
|
101
|
-
- enhance CI/CD pipeline with comprehensive testing and PyPI publishing
|
|
102
|
-
- initial commit with diskcache_rs implementation
|
|
103
|
-
|
|
104
|
-
### Fix
|
|
105
|
-
|
|
106
|
-
- make CI and build workflows reusable for release workflow
|
|
107
|
-
- resolve final ruff CI linting issues
|
|
108
|
-
- resolve Windows timing precision issues across all performance tests
|
|
109
|
-
- resolve Windows timing precision issue in pickle performance tests
|
|
110
|
-
- resolve CI syntax error and code quality issues
|
|
111
|
-
- resolve Windows pytest and CI issues
|
|
112
|
-
- resolve Python 3.8 compatibility and ruff configuration issues
|
|
113
|
-
- resolve all code quality issues and formatting problems
|
|
114
|
-
- resolve CI build failures by adding maturin installation step
|
|
115
|
-
- improve __contains__ method implementation for better compatibility
|
|
116
|
-
- resolve CI test failures and clippy format issues
|
|
117
|
-
- resolve all clippy warnings and test import issues
|
|
118
|
-
- resolve Alpine Linux ARMv7 py3-venv package availability issue
|
|
119
|
-
- resolve bincode import issues in Rust compilation
|
|
120
|
-
- resolve Alpine Linux externally-managed-environment errors in CI
|
|
121
|
-
- improve CI benchmark testing and add comprehensive test suite
|
|
122
|
-
- resolve module naming conflicts and API compatibility issues
|
|
123
|
-
- resolve macOS build issues and add comprehensive benchmark tests
|
|
124
|
-
- resolve circular import issue in Python wrapper
|
|
125
|
-
- resolve cross-platform build issues and modernize CI/CD
|
|
126
|
-
- correct uv syntax and dependency versions for Python 3.8+ compatibility
|
|
127
|
-
|
|
128
|
-
### Refactor
|
|
129
|
-
|
|
130
|
-
- adopt pydantic-core style dependency management and fix Linux CI issues
|
|
131
|
-
- remove diskcache as runtime dependency, make it optional for benchmarks
|
|
132
|
-
- restructure tests to use pytest and split CI workflows
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|