Releases: curlconverter/curlconverter
Releases · curlconverter/curlconverter
v4.4.0
- Support commands that mix
--data
/--data-ascii
,--data-raw
,--data-binary
,--data-urlencode
and--json
- Proper string escaping when generating Python, JavaScript, Java and PHP
- When converting JSON to Python code, checking if the result will serialize exactly like the input is more correct
- Convert
--data-urlencode name@file
to a Python dictionary/list and other improvements - Basic support for
${parameter_expansion}
- Reworked Elixir generator
- Removed Strest generator
v4.3.0
v4.2.0
v4.1.0
v4.0.0
- change the command line tool to act as a drop-in replacement for curl (just change
curl
tocurlconverter
in your command and it should output code) - adds a new
curlconverter.to<Language>Warn
API that returns a list of strings of warnings with difficulties converting the input command (such as arguments that are not supported by that converter) - use tree-sitter, for more accurate parsing of Bash code
v4.0.0-alpha.10
- PHP output now outputs libcurl code instead of Requests
- the command line tool now prints usage if you don't pass any arguments to it, like curl. pass
-
or--stdin
to read the command from stdin - renamed the "browser" option for --language in the cli to "javascript"
- support for --proxy --digest --referer --cert/--key --cacert/--capath --output in the Python generator
- bash comments in input are skipped
- tons of minor fixes for correctness, such as allowing repeat headers and only parsing url-encoded data when it can be posted like it will be by curl
v4.0.0-alpha.9
Fix the WASM file generated for the Bash grammar by tree-sitter so that curlconverter works in the browser again
v4.0.0-alpha.8
Improve the Python generator by
- when sending JSON data, convert it to a dict/list/None etc. and use Requests's json= parameter
- handle newlines in header values by generating code that will error instead of removing everything after the newline
v3.21.0
We have published our fork of yargs to npm as @curlconverter/yargs instead of depending on a Git repo of the fork. This should make it possible to install curlconverter if you don't have Git installed or configured.