Releases: ada-url/ada
v2.2.0
What's changed
- upgrade release script by @anonrig in #332
- refactor: normalize has_credentials method name by @anonrig in #333
- fix: bad usage of std::string_view::npos by @lemire and @codebytere in #334
- refactor base prefix and rename fragment to hash by @anonrig in #335
- adds friend declarations to ada::url and ada::url_aggregator by @lemire in #337
- refactor: move update base methods to private by @anonrig in #338
- build: add missing import.cmake by @anonrig in #341
- feat: adding a new high-precision benchmarking tool (for Linux only). by @lemire in #343
- fix: look for ICU. by @lemire in #344
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- Add workflow for releases by @miguelteixeiraa in #312
- We use Google Benchmark, but it does not build under several 32-bit systems. by @lemire in #318
- Improving adaparse by @lemire in #320
- make contains_forbidden_domain_code_point const values by @lemire in #321
- fix:amaZon -> amazon by @lemire in #324
- Update web platform tests by @anonrig in #325
- Clarifying license. by @lemire in #328
- Fixing issue 327 by @lemire in #329
- Optimize domain processing. by @lemire in #330
Full Changelog: v2.0.0...v2.1.0
v2.0.0
We are happy to announce the second release of ada (v2.0.0), a fast WHATWG-compliant URL parser written in modern C++. The Ada parser has been part of Node.js since version v19.7.0
What is new in version 2.0.0
- The first version of Ada required the ICU library as a dependency. Unfortunately, ICU is not always available: it is rarely present under Windows or Android. Ada 2.0.0 has no dependency: we implement our fast Unicode functions (
to_ascii
andto_unicode
). - Ada 2.0.0 can parse a URL into two different data structures, depending on your needs. The
ada::url
structure stores the components of the parsed URL in different string instances, making updates fast. The newada::url_aggregator
structure uses a single string buffer, thus minimizing memory usage at the expense of more work during updates. We expect that many users will adopt theada::url_aggregator
structure.
For some tasks, the new ada::url_aggregator
can be nearly twice as fast while using less memory.
We present more details and benchmarks in the blog post: https://yagiz.co/announcing-ada-url-parser-v2-0
This release was produced by Yagiz Nizipli, Daniel Lemire, and Miguel Teixeira. We are thankful to the whole community for their comments and support.
New Contributors
- @vanemoraess made their first contribution in #245
- @OkanPinar made their first contribution in #254
Full Changelog: v1.0.4...v2.0.0
v1.0.4
What's Changed
- chore: added reporting to OSFF Scorecard by @UlisesGascon in #235
- Improving the organization of the code in apple events. by @lemire in #236
- faster replace find first of with find by @lemire in #232
- Update web platform tests by @anonrig in #237
- perf: improve authority state performance by @anonrig in #234
- chore: added OpenSSF Scorecard badge by @UlisesGascon in #239
- build: improve build security by @anonrig in #240
- Checking that bench can run in CI. by @lemire in #238
- docs: add security.md by @anonrig in #241
- fix: quotes need to be percent encoded in paths. by @lemire in #242
New Contributors
- @UlisesGascon made their first contribution in #235
Full Changelog: v1.0.3...v1.0.4
v1.0.3
v1.0.2
What's Changed
- Optimize the ipv6 serializer by @lemire in #220
- feat: simplify impl of set_host and set_hostname by @debadree25 in #215
- Update web platform tests by @anonrig in #221
- add servo-url benchmarks by @anonrig in #223
- Update web platform tests by @anonrig in #226
- fix href setter and no_scheme edge case by @anonrig in #225
- build: add code scanning workflow by @anonrig in #227
- chore: release 1.0.2 by @anonrig in #228
New Contributors
- @debadree25 made their first contribution in #215
Full Changelog: v1.0.1...v1.0.2
v1.0.1
This release fixes a bug of not stripping trailing whitespace from pathname when input is empty on URL search and hash setter.
What's Changed
- test: add code coverage for nodejs by @anonrig in #212
- fix: potentially strip trailing spaces from the opaque path by @anonrig in #213
Full Changelog: v1.0.0...v1.0.1
v1.0.0
We are happy to announce the first release of ada (v1.0.0) a fast WHATWG-compliant URL parser written in modern C++.
- It has been adopted by Node.js and will be part of future releases.
- The parser is fast. In some cases, it is almost twice as fast as the C++ URL parser present in recent versions of Node.js.
- The parser is correct: it passes the full WHATWG and Node.js test suites.
- Its modern and safe interface avoids bad surprises.
- It supports both exception and exception-free usage.
- We provide complete and accurate documentation.
- We run complete continuous-integration tests on varied systems supporting C++17: big- and little-endian, windows, macOS, Linux, etc.
- It is available both as a CMake library and as a single-header package (simply drop ada.h and ada.cpp in your project).
This release would not have been possible without the contributions of Robert Nagy, Miguel Teixeira, and Anna Henningsen.