Skip to content

Releases: curlconverter/curlconverter

v4.4.0

29 Nov 18:34
Compare
Choose a tag to compare
  • 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

04 Sep 18:49
bc7c295
Compare
Choose a tag to compare
  • new C# generator using HttpClient
  • support for --form/-F for Dart

v4.2.0

15 Aug 10:54
936d6ce
Compare
Choose a tag to compare
  • Ruby net/http code generator

v4.1.0

05 Aug 21:00
adc8072
Compare
Choose a tag to compare
  • load tree-sitter-bash.wasm from top level path when running in the browser
  • warn when part of the input is discarded
  • remove nunjucks dependency for a smaller bundle

v4.0.0

01 Jul 04:17
ca2a2c9
Compare
Choose a tag to compare
  • change the command line tool to act as a drop-in replacement for curl (just change curl to curlconverter 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

19 Mar 10:02
4129d6b
Compare
Choose a tag to compare
v4.0.0-alpha.10 Pre-release
Pre-release
  • 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

29 Dec 10:06
289aa2a
Compare
Choose a tag to compare
v4.0.0-alpha.9 Pre-release
Pre-release

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

28 Dec 20:12
c77bb0d
Compare
Choose a tag to compare
v4.0.0-alpha.8 Pre-release
Pre-release

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

21 Oct 03:48
5712222
Compare
Choose a tag to compare

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.

v3.20.0

13 Oct 00:32
c30b298
Compare
Choose a tag to compare

This release makes curlconverter 3 installable by updating its dependencies.