Skip to content

Export EscapeError from the crate#584

Merged
Mingun merged 1 commit into
tafia:masterfrom
Aaron1011:export-escape-error
Apr 8, 2023
Merged

Export EscapeError from the crate#584
Mingun merged 1 commit into
tafia:masterfrom
Aaron1011:export-escape-error

Conversation

@Aaron1011

Copy link
Copy Markdown
Contributor

This is useful when manually calling unscape

@Mingun Mingun left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a changelog entry

@Aaron1011 Aaron1011 force-pushed the export-escape-error branch 2 times, most recently from eadbc41 to aa33bb0 Compare March 31, 2023 23:16
@Aaron1011

Copy link
Copy Markdown
Contributor Author

@Mingun: I've updated the changelog

Comment thread Changelog.md Outdated
### Misc Changes

- [#579]: `ElementWriter.write_inner_content` now uses a `FnOnce` instead of a more restrictive `Fn` closure
- [#584]: Export EscapeError from the crate

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should put changelog under Unreleased section instead of modifying existing release. Also add a backticks around the type:

Suggested change
- [#584]: Export EscapeError from the crate
- [#584]: Export `EscapeError` from the crate

This is useful when manually calling `unscape`
@Mingun Mingun force-pushed the export-escape-error branch from aa33bb0 to 67e8f1a Compare April 8, 2023 16:33
@Mingun Mingun merged commit 9c60819 into tafia:master Apr 8, 2023
crapStone added a commit to Calciumdibromid/CaBr2 that referenced this pull request Apr 18, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [quick-xml](https://github.com/tafia/quick-xml) | dependencies | patch | `0.28.1` -> `0.28.2` |

---

### Release Notes

<details>
<summary>tafia/quick-xml</summary>

### [`v0.28.2`](https://github.com/tafia/quick-xml/blob/HEAD/Changelog.md#&#8203;0282----2023-04-12)

[Compare Source](tafia/quick-xml@v0.28.1...v0.28.2)

##### New Features

-   [#&#8203;581]: Allow `Deserializer` to set `quick_xml::de::EntityResolver` for
    resolving unknown entities that would otherwise cause the parser to return
    an \[`EscapeError::UnrecognizedSymbol`] error.

##### Misc Changes

-   [#&#8203;584]: Export `EscapeError` from the crate
-   [#&#8203;581]: Relax requirements for `unsescape_*` set of functions -- their now use
    `FnMut` instead of `Fn` for `resolve_entity` parameters, like `Iterator::map`
    from `std`.

[#&#8203;581]: tafia/quick-xml#581

[#&#8203;584]: tafia/quick-xml#584

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MS4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDEuMCJ9-->

Co-authored-by: cabr2-bot <[email protected]>
Co-authored-by: crapStone <[email protected]>
Co-authored-by: crapStone <[email protected]>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1862
Reviewed-by: crapStone <[email protected]>
Co-authored-by: Calciumdibromid Bot <[email protected]>
Co-committed-by: Calciumdibromid Bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants