Skip to content

Releases: ada-url/rust

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

v1.4.2

25 Aug 21:54
dbd9201
Compare
Choose a tag to compare

Full Changelog: v1.4.0...v1.4.2

v1.4.0

25 Aug 20:24
2909af8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.1...v1.4.0

v1.3.1

25 Aug 02:56
f15a0b4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.0...v1.3.1

v1.3.0

21 Aug 19:44
1f28d25
Compare
Choose a tag to compare

This pull request adds support for compiling to wasm32-wasi and -unknown.

What's Changed

  • chore: update ada to v2.6.1 by @anonrig in #24
  • Make ada-rust compile for wasm32-wasi and -unknown by @RReverser in #23

New Contributors

Full Changelog: v1.2.1...v1.3.0

v1.2.1

16 Aug 15:29
5f2b106
Compare
Choose a tag to compare

This release fixes CC linking errors, and adds support for serde

What's Changed

  • refactor: move ffi to separate file by @anonrig in #20
  • feat: add serde serialize/deserialize support by @anonrig in #21

Full Changelog: v1.2.0...v1.2.1

v1.2.0

09 Aug 20:19
b0f6bf1
Compare
Choose a tag to compare

What's Changed

  • chore: update ada to v2.6.0 by @anonrig in #18
  • feat: add ada::Idna struct

Full Changelog: v1.1.0...v1.2.0

v1.1.0

30 Jun 16:53
ef52103
Compare
Choose a tag to compare

What's Changed

  • Added OpenSSF Scorecard pipeline by @UlisesGascon in #14
  • implements Deref<Target=str>, Display, AsRef, FromStr ... by @chanced in #16

New Contributors

Full Changelog: v1.0.3...v1.1.0