Releases: marcuxyz/curlify2
v2.0.1
What's Changed
- Update README.md by @blablatdinov in #15
- build(deps-dev): bump urllib3 from 2.0.3 to 2.0.6 by @dependabot in #16
- build(deps-dev): bump certifi from 2023.5.7 to 2023.7.22 by @dependabot in #17
- build(deps-dev): bump urllib3 from 2.0.6 to 2.0.7 by @dependabot in #18
New Contributors
- @blablatdinov made their first contribution in #15
- @dependabot made their first contribution in #16
Full Changelog: 2.0.0...2.0.1
🔥 2.0.0 - Realased🔥
🔥 chore(pyproject.toml): remove responses from dev dependencies
The responses package is no longer needed in the project, so it has been removed from the dev dependencies.
🔧 chore(test_to_curl.py): refactor test_returns_curl_string_using_requests_module and test_returns_curl_string_using_httpx_module
The tests have been refactored to use the response object returned by the to_curl function instead of assigning it to a variable and then comparing it to a string. This improves the readability of the tests and makes it easier to identify the source of any failures.
🚀 chore(.gitignore): add .venv and dist directories to .gitignore
🚀 chore(curlify2): refactor to_curl function to a class method
🚀 chore(pyproject.toml): bump version to 2.0.0
The .venv and dist directories are now ignored by git. The to_curl function in curlify2 is now a class method, which improves readability and maintainability. The version in pyproject.toml is now 2.0.0 to reflect the changes made.
📦 chore(pyproject.toml): add responses package
The responses package is added to the project dependencies in the pyproject.toml file. This package is used for mocking HTTP requests in tests.
🐛 fix(curlify.py): fix body decoding
✨ feat(app.py): add endpoint to convert http request to curl command
The body decoding was fixed in curlify.py. The method now returns the decoded body if it is a bytes object. In app.py, a new endpoint was added to convert an HTTP request to a curl command. The endpoint receives a URL via a POST request, sends a GET request to the URL, and converts the request to a curl command using curlify. The command is then returned to the user.
🎨 style(README.md): refactor code to use Curlify class instead of to_curl function The code has been refactored to use the Curlify class instead of the to_curl function from the curlify2 module. This improves readability and makes the code more concise.
1 file changed, 5 insertions(+), 7 deletions(-)
screenshots
1.0.4 - 🚨 fix(updates): fix GitHub ci tests for python 3.11
This version will not be published at pypi, because a only update the libraries in requirements.txt files
🚨 fix(updates): fix GitHub ci tests for python 3.11
🔧 chore(requirements.txt): update libraries in files
1.0.3 - 🚨update user-agent header value
🚨 test(test_to_curl.py): update user-agent header value
The version number was updated to 1.0.3 in the pyproject.toml file. The user-agent header value was updated in the test_to_curl.py file to match the new version of the python-httpx library.
1.0.2 - 🔒update python and pytest-httpx dependencies
🚀 chore(pyproject.toml): bump version to 1.0.2
This commit updates the version of the project to 1.0.2 in the pyproject.toml file. This is a chore commit as it does not add any new features or fix any bugs, but it is important to keep the version up to date to reflect the changes made to the project.
🔒 chore(pyproject.toml): update python and pytest-httpx dependencies
This commit updates the python dependency to version 3.7, which is the minimum version required by other dependencies. The pytest-httpx dependency is also updated to version 0.22.0, which is the latest version available at the time of this commit.
🔧 chore(tests.yml): update python-version matrix to include 3.7 ... 3.11
The python-version matrix has been updated to include the latest versions of Python, 3.10 and 3.11. This ensures that the application is tested against the latest versions of Python and helps to identify any compatibility issues early on.