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

feat: Add version file and include in HTTP request user-agent #21

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

chyroc
Copy link
Collaborator

@chyroc chyroc commented Sep 27, 2024

  • Created a version file to store the current SDK version
  • Enhanced HTTP requests to include SDK version, language, and system version in the user-agent header
  • Improved traceability and debugging with detailed user-agent information in requests

@chyroc chyroc force-pushed the version branch 2 times, most recently from 903e067 to 7b4464c Compare September 27, 2024 09:31
Copy link

codecov bot commented Sep 27, 2024

Codecov Report

Attention: Patch coverage is 90.62500% with 3 lines in your changes missing coverage. Please review.

Project coverage is 74.91%. Comparing base (8dcc15f) to head (47d1a13).
Report is 27 commits behind head on main.

Files with missing lines Patch % Lines
cozepy/version.py 86.95% 3 Missing ⚠️
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   74.29%   74.91%   +0.61%     
==========================================
  Files          22       24       +2     
  Lines         813      845      +32     
==========================================
+ Hits          604      633      +29     
- Misses        209      212       +3     
Flag Coverage Δ
74.91% <90.62%> (+0.61%) ⬆️

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

Files with missing lines Coverage Δ
cozepy/__init__.py 100.00% <100.00%> (ø)
cozepy/request.py 72.72% <100.00%> (+1.02%) ⬆️
tests/test_version.py 100.00% <100.00%> (ø)
cozepy/version.py 86.95% <86.95%> (ø)

@chyroc chyroc merged commit d8ef6ee into main Sep 27, 2024
11 of 12 checks passed
@chyroc chyroc deleted the version branch September 27, 2024 09:37
@chyroc chyroc added the feature label Oct 8, 2024
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.

1 participant