| 1 | # Changelog |
| 2 | |
| 3 | ## [0.2.11] - 2025-01-19 |
| 4 | |
| 5 | ### Changed |
| 6 | |
| 7 | - Resolve: do not remove dot segment if a scheme or an authority is present for consistency with parse. |
| 8 | |
| 9 | ## [0.2.10] - 2025-01-17 |
| 10 | |
| 11 | ### Changed |
| 12 | |
| 13 | - Resolve: properly normalize relative paths starting with `.` or `..`. |
| 14 | - Relativize: make use of `.` and do not always use absolute path if there is a candidate relative path containing `/`. |
| 15 | |
| 16 | ## [0.2.9] - 2024-12-21 |
| 17 | |
| 18 | ### Changed |
| 19 | |
| 20 | - Relativize: avoid panic in case of shared UTF-8 prefix. |
| 21 | |
| 22 | ## [0.2.8] - 2024-10-19 |
| 23 | |
| 24 | ### Changed |
| 25 | |
| 26 | - Fixes relativize on IRIs with a scheme and nothing else. |
| 27 | |
| 28 | ## [0.2.7] - 2024-10-19 |
| 29 | |
| 30 | ### Changed |
| 31 | |
| 32 | - Fixes relative IRI resolution when there is no authority but a path starting with "/". |
| 33 | |
| 34 | ## [0.2.6] - 2024-10-18 |
| 35 | |
| 36 | ### Changed |
| 37 | |
| 38 | - Fixes relativize on hierarchical paths without authority and starting slash. |
| 39 | |
| 40 | ## [0.2.5] - 2024-10-03 |
| 41 | |
| 42 | ### Added |
| 43 | |
| 44 | - `Iri::relativize` to build a relative IRI from a base IRI and an absolute IRI. |
| 45 | |
| 46 | ## [0.2.4] - 2024-08-20 |
| 47 | |
| 48 | ### Changed |
| 49 | |
| 50 | - Makes IRI parsing a bit more strict to follow RFC 3987 more closely. |
| 51 | - Allow IP vFuture in authority. |
| 52 | |
| 53 | ## [0.2.3] - 2024-03-23 |
| 54 | |
| 55 | ### Added |
| 56 | |
| 57 | - `_unchecked` methods for faster parsing/resolving if the IRI is known to be valid. |
| 58 | |
| 59 | ## [0.2.2] - 2022-03-27 |
| 60 | |
| 61 | ### Added |
| 62 | |
| 63 | - `Iri` and `IriRef` now implement Serde `Serialize` and `Deserialize` traits if the `serde` crate is present. |
| 64 | The serialization is a plain string. |
| 65 | |
| 66 | ## [0.2.1] - 2021-01-10 |
| 67 | |
| 68 | ### Changed |
| 69 | |
| 70 | - Fixes a regression in relative IRI parsing when there is only a host without a training slash. For example `foo` is |
| 71 | now resolved against `http://example.org` as `http://example.org/foo` and not anymore as `http://example.orgfoo`. |
| 72 | - The validation of unicode character is now carefully following RFC 3987: |
| 73 | - Some private use characters are not anymore allowed in path and fragment. |
| 74 | - Some surrogates are not allowed anymore in query. |
| 75 | - The range F900-FDEF is now allowed in path and fragment following the RFC. |
| 76 | |
| 77 | ## [0.2.0] - 2021-01-06 |
| 78 | |
| 79 | ### Added |
| 80 | |
| 81 | - `IriRef` type that provides the same API as `Iri` but for relative IRIs. |
| 82 | - `PartialOrder` implementations between `Iri`s with different container types. |
| 83 | |
| 84 | ### Changed |
| 85 | |
| 86 | - Fixes path resolution: the resolver should return `tag:c-d` and not `tag:/c-d` when resolving `c-d` against `tag:a-b`. |
| 87 | - Relative IRIs are not anymore allowed to start with a column `:`. |
| 88 | - `iprivate` characters (`%xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD`) are not allowed anymore as part of the IRI |
| 89 | query component following RFC 3987. |
| 90 | |
| 91 | ## [0.1.1] - 2020-07-10 |
| 92 | |
| 93 | ### Added |
| 94 | |
| 95 | - Accessors for IRI scheme, authority, path, query and fragment. |
| 96 | - `PartialEq` and `From` implementations between `Iri` and some string types. |
| 97 | - `Iri` order and hash is now the same as `str`. |
| 98 | - `Borrow<Target=&str>` and `AsRef<Target=&str>` implementations for `Iri`. |
| 99 | |
| 100 | ### Changed |
| 101 | |
| 102 | - Bug fix in the relative IRI resolution: some character were duplicated. |
| 103 | |
| 104 | ## [0.1.0] - 2020-05-01 |
| 105 | |
| 106 | ### Added |
| 107 | |
| 108 | - `Iri` struct with a parser and relative IRI resolution. |