github ada-url/ada v4.1.0

50 minutes ago

What's Changed

  • perf: use SHRN-based zero test in the NEON kernels by @lemire in #1195
  • Speed up can_parse for canonical HTTP(S) URLs by @ImLunaHey in #1197
  • perf: speed up percent_decode using bulk run-copying by @jbergstroem in #1202
  • build(deps): bump github/codeql-action/init from 4.36.0 to 4.37.3 by @dependabot[bot] in #1204
  • build(deps): bump actions/setup-python from 6.3.0 to 7.0.0 by @dependabot[bot] in #1205
  • build(deps): bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #1206
  • build(deps): bump github/codeql-action/analyze from 4.36.0 to 4.37.3 by @dependabot[bot] in #1207
  • build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by @dependabot[bot] in #1208
  • chore: remove unused has_hex_prefix(_unsafe) helpers by @jbergstroem in #1209
  • perf: skip setter rollback snapshot when length limit is unreachable by @jbergstroem in #1203
  • perf: skip rollback snapshots for set_port and ada::url::set_protocol by @jbergstroem in #1211
  • docs: fix stale benchmark build instructions and zap Docker references by @jbergstroem in #1210
  • validate ipv4 group structure in avx-512 fast path by @Arawoof06 in #1212
  • perf: SIMD scanners and host-preserving absolute fast path by @anonrig in #1214
  • keep file url pattern port 0 in default-port step by @Arawoof06 in #1215
  • perf: skip IPv4 work unless the last label can be a number by @anonrig in #1213
  • perf: nibble-table SIMD classification for the absolute fast path by @anonrig in #1216
  • perf: cut parse instruction count on the absolute fast path by @anonrig in #1221
  • perf: cut more parse instructions with 8-byte scheme match and SWAR by @anonrig in #1222
  • strip tab/newline and trailing space in the absolute url fast path by @Arawoof06 in #1225
  • fix is_already_nfc for a composite starter before a lower-class mark by @Arawoof06 in #1226
  • perf: skip redundant href size check for small absolute URLs by @dmmulroy in #1227
  • perf: reduce aggregator credential setter tail movement by @dmmulroy in #1228
  • perf: replace aggregator queries with one structural edit by @dmmulroy in #1229
  • perf: SIMD percent_encode against the character-set bitmap by @anonrig in #1230
  • perf: parse dotted-decimal IPv4 with AVX-512VL notab5 by @lemire in #1232
  • perf: parse IPv6 hosts with an AVX-512 kernel by @lemire in #1233
  • Update web platform tests (url) by @anonrig in #1238
  • test: cover the "::" grammar boundaries of the IPv6 host parser by @ikkyu3 in #1242
  • enforce max_input_length on parse_url_impl early returns by @Arawoof06 in #1235
  • Fix ada::url host_end one byte short of its documented position by @lenamonj in #1244
  • build(deps): bump github/codeql-action/upload-sarif from 4.36.0 to 4.37.9 by @dependabot[bot] in #1250
  • build(deps): bump uraimo/run-on-arch-action from 3.1.0 to 3.2.0 by @dependabot[bot] in #1249
  • build(deps): bump github/codeql-action/autobuild from 4.36.2 to 4.37.9 by @dependabot[bot] in #1248
  • build(deps): bump github/codeql-action/analyze from 4.37.3 to 4.37.9 by @dependabot[bot] in #1247
  • build(deps): bump pygithub from 2.9.1 to 2.10.0 in /tools/release by @dependabot[bot] in #1246
  • build(deps): bump lukka/get-cmake from 4.3.3 to 4.4.2 by @dependabot[bot] in #1245
  • RFC: url_pattern_list — compiled route-set matching (URLPatternList) by @FranciscoThiesen in #1234
  • feat: optional integer path for NEON all-zero tests by @lemire in #1252
  • Update web platform tests (url) by @anonrig in #1253
  • Update web platform tests (url) by @anonrig in #1274
  • build(deps): bump actions/setup-node from 6.4.0 to 7.0.0 by @dependabot[bot] in #1256
  • build(deps): bump github/codeql-action/upload-sarif from 4.37.9 to 4.38.2 by @dependabot[bot] in #1257
  • build(deps): bump uraimo/run-on-arch-action from 3.2.0 to 3.2.1 by @dependabot[bot] in #1258
  • build(deps): bump github/codeql-action/analyze from 4.37.9 to 4.38.2 by @dependabot[bot] in #1259
  • build(deps): bump github/codeql-action/autobuild from 4.37.9 to 4.38.2 by @dependabot[bot] in #1260
  • Make URLPattern add_part duplicate-name check O(1) by @mertcanaltin in #1290
  • fix(c-api): bounds-check index in ada_strings_get by @Brooooooklyn in #1293
  • Add missing includes of standard library headers by @dsanders11 in #1292
  • update ada-idna to v0.7.0 by @anonrig in #1288
  • perf: skip tab/newline removal when input is clean by @anonrig in #1261
  • perf: avoid string allocs in aggregator setters when input is clean by @anonrig in #1263
  • perf: avoid url_aggregator copy in set_host_or_hostname by @anonrig in #1262
  • fix(url_pattern): remove noexcept from fast_test to allow regex exceptions to propagate by @anonrig in #1309
  • perf: move (not copy) parsed result in set_href (-6% Ir for url) by @anonrig in #1271
  • fix: strip tabs and newlines on AArch64 when flush-to-zero is on by @anonrig in #1311
  • Fix URLPattern test/exec matching a relative string with no base by @anonrig in #1312
  • Dispatch SSSE3 parsers only when the CPU supports them by @anonrig in #1321
  • Canonicalize special-scheme URLPattern pathnames with the spec dummy URL by @anonrig in #1313
  • Fix URLPatternList match for an optional group with a leading slash by @anonrig in #1315
  • Fix null dereference on empty url_pattern_list::match by @anonrig in #1324
  • Fix uint16 truncation of long literal segments in url_pattern_list by @Arawoof06 in #1331
  • Fix URLPattern braces with longer prefix by @anonrig in #1329
  • perf: Avoid oversized string allocation in IPv6 serialization by @kdy1 in #1335
  • perf: Avoid temporary buffers when encoding path segments by @kdy1 in #1334
  • Add hrefs to extra setter tests by @Scripter17 in #1337
  • fix: use the integer NEON all-zero check by default by @anonrig in #1289
  • perf: Use string searches for absolute URL tail boundaries by @kdy1 in #1336
  • build(deps): bump ossf/scorecard-action from 2.4.4 to 2.5.0 by @dependabot[bot] in #1343
  • build(deps): bump actions/setup-node from 7.0.0 to 7.1.0 by @dependabot[bot] in #1341
  • build(deps): bump pytest from 9.1.1 to 9.2.0 in /tools/release by @dependabot[bot] in #1338
  • build(deps): bump github/codeql-action/analyze from 4.38.2 to 4.39.1 by @dependabot[bot] in #1339
  • build(deps): bump github/codeql-action/autobuild from 4.38.2 to 4.39.1 by @dependabot[bot] in #1340
  • Stabilize CodSpeed benchmark iterations by @anonrig in #1344
  • build(deps): bump github/codeql-action/upload-sarif from 4.38.2 to 4.39.1 by @dependabot[bot] in #1342
  • Update web platform tests (url) by @anonrig in #1345
  • Update web platform tests (url) by @anonrig in #1346
  • ci: fix clang-tidy install on Ubuntu 26.04 runners by @lemire in #1350
  • Fix benchmark build when servo-url or competitors are enabled by @lemire in #1348
  • perf: skip the userinfo pre-scan for IP-literal hosts by @lemire in #1349
  • Update web platform tests (url) by @anonrig in #1347
  • fix: apply IDNA CheckBidi to every label in a Bidi domain by @anonrig in #1352
  • fix: NUL-terminate ada_owned_string by @anonrig in #1353
  • Fix set_host IDNA expansion past max length by @anonrig in #1328
  • Reserve url_search_params for real pairs, not every ampersand by @anonrig in #1323
  • Keep url_search_params reserve a single character count by @anonrig in #1354
  • ci: install Clang 22 for clangcl and drop macos-14 by @anonrig in #1355
  • Remove OpenSSF Scorecard workflow and badges by @anonrig in #1356
  • ci: Clang 22 gtest workaround and format fixes by @anonrig in #1357
  • Own URLPattern result input strings by @anonrig in #1325
  • Cap url_pattern_list routes and reject truncated trie encoding by @anonrig in #1317
  • fix: initialize every url_pattern_result member in the move constructor by @anonrig in #1358
  • Copy setter inputs that alias the URL buffer by @anonrig in #1320
  • fix: file-drive path, set_host port limit, and URLPattern canonicalization by @anonrig in #1351
  • fix(c): resolve memory safety bugs in search params iterators and reset by @anonrig in #1310
  • chore: release v4.1.0 by @github-actions[bot] in #1359

New Contributors

Full Changelog: v4.0.0...v4.1.0

Don't miss a new ada release

NewReleases is sending notifications on new releases.