Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: servo/rust-url
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.5.2
Choose a base ref
...
head repository: servo/rust-url
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: idna-v1.0.3
Choose a head ref
  • 14 commits
  • 34 files changed
  • 12 contributors

Commits on Sep 13, 2024

  1. fix: enable wasip2 feature for wasm32-wasip2 target (#960)

    Signed-off-by: Brooks Townsend <[email protected]>
    brooksmtownsend authored Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c04aca3 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Fix idna tests with no_std (#963)

    This failed since 464b1f7:
    
      (cd idna && cargo test --all-targets --no-default-features --features alloc -- --ignored)
    cjwatson authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    22b8237 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9404ff5 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Add AsciiSet::EMPTY and boolean operators (#969)

    * Add AsciiSet::EMPTY and impl ops::Add for AsciiSet
    
    In RFCs, the sets of characters to percent-encode are often defined as
    the union of multiple sets. This change adds an `EMPTY` constant to
    `AsciiSet` and implements the `Add` trait for `AsciiSet` so that sets
    can be combined with the `+` operator.
    
    AsciiSet now derives `Debug`, `PartialEq`, and `Eq` so that it can be
    used in tests.
    
    * implement ops::Not for AsciiSet
    
    * Add const functions for negation / union of AsciiSet
    joshka authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    5505565 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6050a6e View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. refactor and add tests for percent encoding (#977)

    * refactor: move AsciiSet related code to ascii_set.rs
    
    Makes it a little easier to just look at the code related to the set rather than encoding
    
    * Add tests for percent_encoding
    joshka authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    710e1e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Add a test for and fix issue #974 (#975)

    * Add a test for issue 974
    
    * Fix the issue
    
    * rename test
    hansl authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    7eccac9 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    ebd5cfb View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    b08a655 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. support hermit (#985)

    m-mueller678 authored Oct 24, 2024
    Configuration menu
    Copy the full SHA
    bf089c4 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. fix: support wasm32-wasip2 on stable channel (#983)

    Signed-off-by: Brooks Townsend <[email protected]>
    brooksmtownsend authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    30e6258 View commit details
    Browse the repository at this point in the history
  2. Improve serde error output (#982)

    In our tests using the serde impl on `Url`, we found that failing URL serialization says the inverse of what it should say.
    
    ```toml
    [project]
    name = "foo"
    version = "0.0.0"
    dependencies = [
      "tqdm ==4.66.0",
    ]
    [tool.uv.sources]
    tqdm = { url = "§invalid#+#*Ä" }
    ```
    
    ```
    error: Failed to parse: `pyproject.toml`
      Caused by: TOML parse error at line 10, column 16
       |
    10 | tqdm = { url = "§invalid#+#*Ä" }
       |                ^^^^^^^^^^^^^^^^^
    invalid value: string "§invalid#+#*Ä", expected relative URL without a base
    ```
    
    It says that expected a relative URL without a base, when this was the unexpected input that caused the error. Using `serde::de::Error::custom` oder `serde::de::Error::invalid_value` improves the error message:
    
    ```
    error: TOML parse error at line 8, column 16
      |
    8 | tqdm = { url = "§invalid#+#*Ä" }
      |                ^^^^^^^^^^^^^^^^^
    relative URL without a base: "§invalid#+#*Ä"
    ```
    konstin authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    5d363cc View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. OSS-Fuzz: Add more fuzzers (#988)

    Signed-off-by: Arthur Chan <[email protected]>
    arthurscchan authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    08a3268 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Merge idna-v1x to main (#990)

    * Adjust Punycode overflow checks
    
    * The change made in 1.0.0 incorrectly assumed that the input length
      limit removed the need to do overflow check when decoding. Now the
      internal-caller length limit is taken as a permission to skip
      overflow checks only when encoding.
    * The RFC gives overflow checking pre-flight math for languages like
      that don't have checked math. Since Rust does, the code now uses
      checked_add and checked_mul instead of pre-flight when overflow
      checks are performed.
    
    * Remove no_std category (crates.io doesn't support it, and it is now rejected), use keywords instead
    
    * Add benches that use the main idna 1.0 entry point in idna and url
    
    * Put the Unicode back end behind an adapter crate
    
    * Split fastest ASCII fast path from the rest
    
    * Bench hyphen in a domain that is otherwise lower-case ASCII
    
    * Adjust MSRV
    
    * Add README remarks about alternative Unicode back ends
    
    * Change the idna_adapter dependency to crates.io
    
    * Address clippy lints
    
    * Increment version number of idna to 1.0.3
    
    * Test MSRV with idna unicode-rs back end and test ICU4X back end with 1.67
    
    * Prepare url crate for publication with idna 1.0.3 (#987)
    
    ---------
    
    Co-authored-by: Manish Goregaokar <[email protected]>
    Co-authored-by: Valentin Gosu <[email protected]>
    3 people authored Nov 4, 2024
    Configuration menu
    Copy the full SHA
    8a683ff View commit details
    Browse the repository at this point in the history
Loading