Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump to 7.14.0 #450

Merged
merged 34 commits into from
Sep 20, 2024
Merged

bump to 7.14.0 #450

merged 34 commits into from
Sep 20, 2024

Conversation

lihsai0
Copy link
Collaborator

@lihsai0 lihsai0 commented Aug 8, 2024

  • KODO-18282
  • KODO-18345
  • KODO-19069
  • KODO-20091
  • KODO-20137
  • KODO-20176
  • KODO-20391
  • KODO-20919
  • KODO-20927
  • KODO-20983

Make `qiniu.config` more independent and move test cases to `tests/cases/test_zone` from `test_qiniu.py`

BREAK CHANGE: default value of protected filed `qiniu.config._config['default_zone']` changes to `None` from `qiniu.region.Region()`, which should be never used directly in user code.
…ror text

- change preferred scheme to http from https
- change UploaderBase._get_regions return type to list[LegacyRegion] from list[LegacyRegion or Region]
- change all inner legacy region type name from Region to LegacyRegion
- LegacyRegion.get_bucket_hosts homecache argument not work
@qiniu-prow qiniu-prow bot added the size/XXL label Aug 8, 2024
@lihsai0 lihsai0 force-pushed the feat/7.14.0 branch 2 times, most recently from 4e2837a to 7519a89 Compare September 12, 2024 10:04
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 92.54499% with 145 lines in your changes missing coverage. Please review.

Project coverage is 78.56%. Comparing base (3ac1cf8) to head (ba62a7d).

Files with missing lines Patch % Lines
...iu/services/storage/uploaders/abc/uploader_base.py 43.75% 36 Missing ⚠️
qiniu/http/regions_provider.py 89.38% 24 Missing ⚠️
qiniu/services/storage/bucket.py 89.09% 12 Missing ⚠️
qiniu/http/regions_retry_policy.py 84.28% 11 Missing ⚠️
...u/services/storage/uploaders/resume_uploader_v1.py 85.48% 9 Missing ⚠️
.../cases/test_services/test_storage/test_uploader.py 92.37% 9 Missing ⚠️
qiniu/region.py 85.18% 8 Missing ⚠️
...u/services/storage/uploaders/resume_uploader_v2.py 86.66% 8 Missing ⚠️
tests/cases/test_services/test_storage/conftest.py 91.07% 5 Missing ⚠️
qiniu/retry/retrier.py 94.52% 4 Missing ⚠️
... and 10 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #450      +/-   ##
==========================================
+ Coverage   71.92%   78.56%   +6.63%     
==========================================
  Files          42       68      +26     
  Lines        3256     4806    +1550     
==========================================
+ Hits         2342     3776    +1434     
- Misses        914     1030     +116     
Files with missing lines Coverage Δ
qiniu/__init__.py 100.00% <100.00%> (ø)
qiniu/config.py 91.04% <100.00%> (+5.33%) ⬆️
qiniu/http/__init__.py 60.80% <100.00%> (+0.94%) ⬆️
qiniu/http/default_client.py 100.00% <100.00%> (ø)
qiniu/http/response.py 91.22% <100.00%> (+0.31%) ⬆️
qiniu/retry/__init__.py 100.00% <100.00%> (ø)
qiniu/retry/abc/__init__.py 100.00% <100.00%> (ø)
qiniu/retry/abc/policy.py 100.00% <100.00%> (ø)
qiniu/retry/attempt.py 100.00% <100.00%> (ø)
qiniu/services/processing/pfop.py 96.00% <100.00%> (+1.26%) ⬆️
... and 38 more

... and 1 file with indirect coverage changes

@bachue bachue merged commit d8ed878 into master Sep 20, 2024
7 checks passed
@bachue bachue deleted the feat/7.14.0 branch September 24, 2024 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants