Urler Versions Save

trurl is a command line tool for URL parsing and manipulation.

trurl-0.12

4 weeks ago

What's Changed

Full Changelog: https://github.com/curl/trurl/compare/trurl-0.10...trurl-0.11

trurl-0.11

4 weeks ago

What's Changed

Full Changelog: https://github.com/curl/trurl/compare/trurl-0.10...trurl-0.11

trurl-0.10

2 months ago

trurl 0.10

Changes since previous release

o add --replace

Bugfixes since previous release

o fixed buffer overflows on %00 use o support compiling with old versions of Visual Studio o enable more C compiler warnings and fix them o ci: add Windows builds

Contributors to this release:

Daniel Stenberg, Jacob Mealey, Jay Satiro, Michael Lass, Viktor Szakats

trurl-0.9

6 months ago

Changes since previous release

  • add --as-idn and punycode to IDN conversion
  • add --curl to only count as valid URLs supported by libcurl
  • add vs2022 project files

Bugfixes since previous release

  • accept * as a trim name to trim a literal asterisk name
  • format null as \u0000 for --json
  • run --trim query before --append query

Contributors to this release:

Daniel Stenberg, Ehsan, Emanuele Torre, Jacob Mealey, Krishean Draconis, Michael Ablassmeier, 積丹尼 Dan Jacobson

trurl-0.8

10 months ago

Changes since previous release

o add --urlencode

Bugfixes since previous release

o --json/--get: .[].parts and {component} should be urldecoded not encoded o tests: use empty file instead of /dev/null o typos in manpage o Makefile: Allow CFLAGS to be appendable o Makefile: be explicit in C standard to use

Contributors to this release:

Daniel Stenberg, Emanuele Torre, Krishean Draconis, Michael Ablassmeier, Paul Wise, Sevan Janiyan

trurl-0.7

11 months ago

trurl 0.7

Changes since previous release

o --default-port to ask for the default to be used if not present o --keep-port to ask for the port number to be there even if default o --no-guess-scheme option to disable scheme guessing o --punycode to ask for the punycode version in output

Bugfixes since previous release

o --help returns 0 instead of 1 o --json: print empty arrays o --redirect: don't silently ignore failed redirections. o makefile: use -Wshadow and -Werror by default o makefile: Use DESTDIR only during install target o refuse setting same component in --set as --iterate o restructure the JSON output object o send -h output to stdout, not stderr o trurl.1: add an example using --iterate o trurl.1: document the JSON output format o use curl_url_cleanup() insted of curl_free()

Contributors to this release:

Daniel Stenberg, Ehsan, Emanuele Torre, Enno Tensing, Gustavo Costa, Jacob Mealey, Michael Ablassmeier, Renato Botelho

trurl-0.6

1 year ago

trurl 0.6

Changes since previous release

o offer {puny:host} and {puny:url} for --get o provide built-with libcurl version info for --version o support for skipping tests o test.py replaced test.pl o test.py supports --with-valgrind o tests.json: extended and updated o URL-QUIRKS: specify if they are build-time or run-time requirements

Bugfixes since previous release

o Makefile: fix build with GNU Make 3.x o Makefile: make test target depend on trurl o several new CI jobs o test.py: don't crash if stdout is not valid JSON o test: print failed tests more nicely. o trurl: fix query splitting o trurl: json: print comma only after printing the first valid component o trurl: make sure to terminate the JSON array when aborting with --verify o trurl: no url file/arguments implies --verify o trurl: reparse the URL after modifying it to make sure it is still valid

Contributors to this release:

Daniel Stenberg, Emanuele Torre, Jacob Mealey, Krishean Draconis, Ruoyu Zhong

trurl-0.5

1 year ago

trurl 0.5

Changes since previous release

o --get supports variables in [brackets] as well o --get {query-all:key} outputs all values for 'key' in the query o switched to test.py for tests o --iterate is a new option

Bugfixes since previous release

o handle %00 sequences in {query:key} output o support reading URL from a file without a newline o bmake compatible makefile o fixed a json memory-leak o CI builds with the the clang address sanitizer

Contributors to this release:

Dan Fandrich, Daniel Stenberg, Emanuele Torre, Håvard Bønes, Michael Ablassmeier, Nekobit

trurl-0.4

1 year ago

trurl 0.4

Changes since previous release

  • --get supports showing {query:key}
  • --json outputs query pairs under "params"
  • -a is an --append shortcut
  • add --query-separator
  • add --sort-query
  • install instructions for cygwin

Bugfixes since previous release

  • build: compile with msvc again
  • components names are lower case and case sensitive
  • fixed the json output of UTF-8 sequences
  • flush stdout after handling every URL
  • mixing --json with --get is an error
  • more test cases
  • show error messsage when component setting fails
  • support "--" end-of-options argument
  • support for building with older libcurl versions
  • checksrc: check code style in CI job and with 'make checksrc'

Contributors to this release:

Dan Fandrich, Daniel Stenberg, Emanuele Torre, Håvard Bønes, Krishean Draconis Sajad F. Maghrebi

trurl-0.3

1 year ago

trurl 0.3

Changes since previous release

  • the set port is the same as the scheme-default, don't show
  • many more tests
  • https://curl.se/trurl is now the project's website
  • added --accept-space
  • added --trim

Bugfixes since previous release

  • setting port to a blank now clears it
  • improved the man page
  • fix --append query when no previous query exists
  • output JSON as an array
  • provide the -h list in pure alphabetical order
  • add an INSTALL variable to the Makefile
  • enable building with msvc on Windows
  • use 0644 for the man page install
  • use Test::More inside of test.pl
  • nicer JSON tests and test output