Skip to content

Releases: ada-url/rust

v3.1.0

03 Dec 20:34
Compare
Choose a tag to compare

This release contains UrlSearchParams implementation fully compliant with the WHATWG specification.

What's Changed

Full Changelog: v3.0.0...v3.1.0

v3.0.0

11 Jul 19:13
e46e848
Compare
Choose a tag to compare

This is the 3rd major version of Ada URL Parser. We had a to cut a major release due to a memory leak that requires a fix with only a breaking change, and we wanted to do the right thing and follow semantic versioning.

This release also updates Ada to v2.9.0 which includes incredible performance improvements to both URL parsing and URL.canParse method.

What's Changed

  • fix(ffi/ada_free_owned_string): c parameter is passed by value by @pratikpc in #65
  • build(justfile): add format support by @pratikpc in #66
  • In functions using ada_owned_string, return ada_owned_string instead of &str by @pratikpc in #67
  • chore: update ada to v2.9.0 by @anonrig in #68
  • chore: release v3.0.0 by @anonrig in #69

New Contributors

Full Changelog: v2.3.0...v3.0.0

v2.3.0

21 Mar 17:14
7cd8574
Compare
Choose a tag to compare

What's Changed

  • build: don't force a specific compiler/version by @ju1ius in #60
  • Improve error handling ergonomics (and docs around it) by @alexpovel in #62

New Contributors

Full Changelog: v2.2.1...v2.3.0

v2.2.1

23 Jan 19:07
720fa45
Compare
Choose a tag to compare
  • Updates Ada to v2.7.5

Full Changelog: v2.2.0...v2.2.1

v2.2.0

19 Jan 02:06
1c239db
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.1...v2.2.0

v2.1.1

25 Nov 14:59
57b5a20
Compare
Choose a tag to compare

Updates Ada to v2.7.4 that comes with lots of performance optimizations and bug fixes.

Full Changelog: v2.1.0...v2.1.1

v2.1.0

05 Sep 21:24
5cf2291
Compare
Choose a tag to compare

What's Changed

  • chore: update ada to v2.6.6 by @d3lm in #53
  • chore: update ada to v2.6.7 by @d3lm in #54
  • feat: add getter for scheme type by @d3lm in #52
  • doc: update readme by @anonrig in #50

Full Changelog: v2.0.1...v2.1.0

v2.0.1

05 Sep 14:00
16ec8aa
Compare
Choose a tag to compare

What's Changed

  • feat(build): add support for using wasm threads by @d3lm in #49

New Contributors

  • @d3lm made their first contribution in #49

Full Changelog: v2.0.0...v2.0.1

v2.0.0

04 Sep 17:11
e24c387
Compare
Choose a tag to compare

We are very excited to release v2.0.0. This is the second major release of Ada for Rust.

Breaking Changes

  • We updated the function signatures to use Option<&str> instead of &str for removing certain attributes from the URL.
let mut url = Url::parse("https://ada-url.com").expect("URL should be valid");
url.set_pathname(Some("/playground"));
  • We changed the error signature to avoid unnecessary allocation.

New Features

URLComponents struct

We exposed the URL components under components() function. If you want to avoid allocating strings, you should definitely use this to construct the rest using the href attribute.

let url = Url::parse("https://ada-url.com").expect("URL should be valid");
let components = url.components()
// You can now call components.host_start

New no-std feature

If you want to avoid using the standard library of Rust, you can now use Ada without std.

ada_url = { version = "2", default-features = false }

Changelog

New Contributors

Full Changelog: v1.4.3...v2.0.0

v1.4.3

27 Aug 12:56
9faa94c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.2...v1.4.3