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: tafia/quick-xml
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.37.2
Choose a base ref
...
head repository: tafia/quick-xml
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.37.3
Choose a head ref
  • 12 commits
  • 10 files changed
  • 2 contributors

Commits on Dec 29, 2024

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

Commits on Mar 8, 2025

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

Commits on Mar 16, 2025

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

Commits on Mar 21, 2025

  1. Configuration menu
    Copy the full SHA
    41b6dc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    341db46 View commit details
    Browse the repository at this point in the history
  3. Use namespace-aware reader in serde deserializer

    This affects performance of the serde deserializer by ~20%, unfortunately
    weiznich authored and Mingun committed Mar 21, 2025
    Configuration menu
    Copy the full SHA
    b8ce862 View commit details
    Browse the repository at this point in the history
  4. Add regression tests for #497

    Mingun committed Mar 21, 2025
    Configuration menu
    Copy the full SHA
    521707c View commit details
    Browse the repository at this point in the history
  5. Add tests for xsi:nil handling

    failures (11):
        as_field::empty::nested::true_
        as_field::with_attr::nested::true_
        as_field::with_element::nested::true_
        as_field::with_element::ns0::true_
        as_field::with_element::xsi::true_
        top_level_option::empty::ns0::true_
        top_level_option::empty::xsi::true_
        top_level_option::with_attr::ns0::true_
        top_level_option::with_attr::xsi::true_
        top_level_option::with_element::ns0::true_
        top_level_option::with_element::xsi::true_
    Mingun committed Mar 21, 2025
    Configuration menu
    Copy the full SHA
    10b37f7 View commit details
    Browse the repository at this point in the history
  6. Properly use xsi:nil to deserialize null values via serde

    This commit fixes an issue that causes `quick-xml` trying to deserialize
    empty tags via the serde interface even if these tags were explicitly
    marked as `xsi:nil="true"`
    
    For example the following XML failed to deserialize before this commit:
    
    ```xml
    <bar>
    	<foo xsi:nil="true"/>
    </bar>
    ```
    
    into the following rust type:
    
    ```rust
    #[derive(Deserialize)]
    struct Bar {
        foo: Option<Foo>,
    }
    
    #[derive(Deserialize)]
    struct Foo {
        baz: String,
    }
    ```
    
    Before this commit this failed to deserialize with an error message that
    complained that the `baz` field was missing. After this commit this uses
    the `xsi:nil` attribute to deserialize this into `foo: None` instead.
    The standard (https://www.w3.org/TR/xmlschema-1/#xsi_nil) seems to
    support this behaviour.
    
    Fix #497
    weiznich authored and Mingun committed Mar 21, 2025
    Configuration menu
    Copy the full SHA
    6176c33 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3c4de88 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2025

  1. Merge pull request #850 from Mingun/fix/honor_xsi_nil

    Properly use xsi:nil to deserialize null values via serde
    Mingun authored Mar 25, 2025
    Configuration menu
    Copy the full SHA
    44644b3 View commit details
    Browse the repository at this point in the history
  2. Release 0.37.3

    Mingun committed Mar 25, 2025
    Configuration menu
    Copy the full SHA
    2cedfe1 View commit details
    Browse the repository at this point in the history
Loading