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

Fix JSON serialization #223

Merged
merged 3 commits into from
Aug 11, 2024
Merged

Fix JSON serialization #223

merged 3 commits into from
Aug 11, 2024

Conversation

coordt
Copy link
Member

@coordt coordt commented Aug 8, 2024

Extended the default_encoder function to handle Path objects by converting them to their string representation. This ensures that Path objects can be properly serialized to JSON format.

Extended the default_encoder function to handle Path objects by converting them to their string representation. This ensures that Path objects can be properly serialized to JSON format.
@coordt coordt linked an issue Aug 8, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Aug 8, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-223/
on branch gh-pages at 2024-08-08 19:28 UTC

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.64%. Comparing base (f7d0909) to head (781c447).
Report is 2 commits behind head on master.

Files Patch % Lines
bumpversion/show.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #223      +/-   ##
==========================================
- Coverage   93.76%   93.64%   -0.12%     
==========================================
  Files          25       25              
  Lines        1619     1622       +3     
  Branches      319      320       +1     
==========================================
+ Hits         1518     1519       +1     
- Misses         73       75       +2     
  Partials       28       28              
Flag Coverage Δ
python-3.10 93.64% <50.00%> (-0.12%) ⬇️
python-3.11 93.64% <50.00%> (-0.12%) ⬇️
python-3.8 93.56% <50.00%> (-0.12%) ⬇️
python-3.9 93.56% <50.00%> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Aug 8, 2024

Version hint: patch
Current version: 0.25.1
New version (when merged): 0.25.2

Comment ID: Display the version hint-auto-generated

@coordt coordt merged commit 4bad1b6 into master Aug 11, 2024
13 of 15 checks passed
@coordt coordt deleted the 222-fix-json-serialization branch August 11, 2024 13:11
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.

Can't show version as json anymore
1 participant