Skip to content

deps(deps): bump quick-xml from 0.36.2 to 0.39.2 - #72

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/quick-xml-0.39.2
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/quick-xml-0.39.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 25, 2026

Copy link
Copy Markdown
Contributor

Bumps quick-xml from 0.36.2 to 0.39.2.

Release notes

Sourced from quick-xml's releases.

v0.39.2 - Fix regression and read_text_into

What's Changed

New Features

  • #483: Implement read_text_into() and read_text_into_async().

Bug Fixes

  • #939: Fix parsing error of the tag from buffered reader, when the first byte < is the last in the BufRead internal buffer. This is the regression from #936.

#483: tafia/quick-xml#483 #936: tafia/quick-xml#936 #939: tafia/quick-xml#939

Full Changelog: tafia/quick-xml@v0.39.1...v0.39.2

v0.39.1 - Fixes in read_to_end / read_text

What's Changed

New Features

  • #598: Add method NamespaceResolver::set_level which may be helpful in some circumstances.

Bug Fixes

  • #597: Fix incorrect processing of namespace scopes in NsReader::read_to_end, NsReader::read_to_end_into, NsReader::read_to_end_into_async and NsReader::read_text. The scope started by a start element was not ended after that call.
  • #936: Fix incorrect result of .read_text() when it is called after reading Text or GeneralRef event.

#597: tafia/quick-xml#597 #598: tafia/quick-xml#598 #936: tafia/quick-xml#936

v0.39.0 - Config for Writer

What's Changed

Added a way to configure Writer. Now all configuration is contained in the writer::Config struct and can be applied at once. When serde-types feature is enabled, configuration is serializable.

New Features

  • #846: Add methods config() and config_mut() to inspect and change the writer configuration.
  • #846: Add ability to write space before /> in self-closed tags for maximum compatibility with XHTML.
  • #846: Add method empty_element_handling() as a more powerful alternative to expand_empty_elements() in Serializer.
  • #929: Allow to pass list of field names to impl_deserialize_for_internally_tagged_enum! macro which is required if you enum variants contains $value fields.

Bug Fixes

  • #923: Implement correct skipping of well-formed DTD.

... (truncated)

Changelog

Sourced from quick-xml's changelog.

0.39.2 -- 2026-02-20

New Features

  • #483: Implement read_text_into() and read_text_into_async().

Bug Fixes

  • #939: Fix parsing error of the tag from buffered reader, when the first byte < is the last in the BufRead internal buffer. This is the regression from #936.

#483: tafia/quick-xml#483 #936: tafia/quick-xml#936 #939: tafia/quick-xml#939

0.39.1 -- 2026-02-15

New Features

  • #598: Add method NamespaceResolver::set_level which may be helpful in some circumstances.

Bug Fixes

  • #597: Fix incorrect processing of namespace scopes in NsReader::read_to_end NsReader::read_to_end_into, NsReader::read_to_end_into_async and NsReader::read_text. The scope started by a start element was not ended after that call.
  • #936: Fix incorrect result of .read_text() when it is called after reading Text or GeneralRef event.

#597: tafia/quick-xml#597 #598: tafia/quick-xml#598 #936: tafia/quick-xml#936

0.39.0 -- 2026-01-11

Added a way to configure Writer. Now all configuration is contained in the writer::Config struct and can be applied at once. When serde-types feature is enabled, configuration is serializable.

New Features

  • #846: Add methods config() and config_mut() to inspect and change the writer configuration.
  • #846: Add ability to write space before /> in self-closed tags for maximum compatibility with XHTML.
  • #846: Add method empty_element_handling() as a more powerful alternative to expand_empty_elements() in Serializer.
  • #929: Allow to pass list of field names to impl_deserialize_for_internally_tagged_enum! macro which is required if you enum variants contains $value fields.

Bug Fixes

... (truncated)

Commits
  • 5611c89 Release 0.39.2
  • b8eba9a Merge pull request #941 from Mingun/full-cover
  • f8e8857 Implement read_text_into and read_text_into_async
  • 489dc17 Place ; to the buffer when read general entity references
  • 9a7e8f5 Place > to the buffer when read elements, processing instructions and XML d...
  • c34af48 Place > to the buffer when read comment, CDATA or DOCTYPE
  • 241f01e Return only index from BangType::parse (renamed to feed) like in other parsers
  • e3230c2 Append +1 outside of BangType, in read_bang_element, like read_with do
  • 623c92c Rewrite read_bang_element with the same style as read_with, read_ref an...
  • e06f70a Merge pull request #940 from Mingun/fix-939
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [quick-xml](https://github.com/tafia/quick-xml) from 0.36.2 to 0.39.2.
- [Release notes](https://github.com/tafia/quick-xml/releases)
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md)
- [Commits](tafia/quick-xml@v0.36.2...v0.39.2)

---
updated-dependencies:
- dependency-name: quick-xml
  dependency-version: 0.39.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github

dependabot Bot commented on behalf of github Apr 25, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: rust. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 25, 2026
@dependabot
dependabot Bot requested a review from DrunkOnJava as a code owner April 25, 2026 08:46
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 25, 2026
@DrunkOnJava

Copy link
Copy Markdown
Owner

Lane Eleven triage: Closing as obsolete / regressive.

main already uses quick-xml 0.41. Merging this PR (target 0.39.2) would downgrade the dependency. CI on this branch is broadly red and the branch conflicts with main.

@dependabot @github

dependabot Bot commented on behalf of github Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/quick-xml-0.39.2 branch August 29, 2026 08:43
DrunkOnJava added a commit that referenced this pull request Aug 29, 2026
## Summary

Lane Eleven Dependabot triage:

- Document merge/close/leave-open decisions for all 15 open Dependabot
PRs in `docs/dependabot-triage-2026-08-29.md`.
- Raise viewer `vite` package.json range to `^8.2.2` to match the secure
lockfile already on `main` (8.2.2). Dependabot #111 (8.1.5) conflicted
and is closed as superseded — 8.2.2 is newer than that target.

### Already merged via Dependabot (this session)

- #104 playwright, #69 setup-node, #6 upload-artifact, #4 setup-python,
#3 rust-cache, #2 download-artifact

### Closed as obsolete/superseded

- #102 / #76 pyo3 (main already on 0.29), #72 quick-xml (main on 0.41),
#111 vite (superseded; main lock already 8.2.2)

### Left open for dedicated migrations

- #109 TypeScript 7, #108 three.js 0.185, #74 thiserror 2, #71 criterion
0.7, #70 cfb 0.14

## Test plan

- [x] `cd viewer && npm run typecheck`
- [x] `cd viewer && npm audit --audit-level=high` → 0 vulnerabilities
- [ ] CI on this PR

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
…corpus

`FieldType::decode` now classifies every schema field in every Revit
release from 2016 through 2026 — 13,570 fields, zero `Unknown`.
Previously ~16% of fields fell through to `Unknown`, which blocked
downstream extraction: you can't emit IFC, compute quantities, or
validate structure for a field whose type you can't identify.

The fix generalises the decoder:

- `{kind} 0x10 0x00 0x00 …` → `Vector<base>` for every scalar base
  (previously only `0x07 0x10` was handled). Adds 0x01 bool, 0x02 u16,
  0x04/0x05 u32, 0x06 f32, 0x0b u64, 0x0d point.
- `{kind} 0x50 0x00 0x00 …` → `Container<base>` for every scalar base
  (previously only `0x0e 0x50` was handled). `Container` now carries
  a `kind: u8` field marking the element base type.
- `0x08 0x60 0x00 0x00` → alternate string discriminator. Revit emits
  both `08 00 60 00` (sub=0x6000) and `08 60 00 00` (sub=0x0060);
  both decode to `FieldType::String`. 43–61 fields/release.
- `0x0e 0x00 0x00 0x00 <tag:u16> <sub:u16>` → new `ElementIdRef { tag,
  sub }` variant for references carrying a specific referenced-class
  tag. 80–114 fields/release. Canonical `tag=0x0014, sub=0x0000`
  still decodes to the unit `ElementId` variant for API stability.
- `0x03` → legacy i32-alias (size=4). Seen only in 2016–2018, fields
  `UserID.m_id` and `ElementRegenerationInfo.m_nAtomType`. Superseded
  by 0x05 from 2019 onward.
- Truncated 2-byte `{kind}{modifier}` headers (schema-parse boundary
  artifacts) now decode cleanly via `bytes[1]` as sub low byte.
- `bytes.get(4..).unwrap_or(&[])` throughout — `decode` is now panic-
  safe on 0/1/2/3-byte inputs.

Tests: 13 new pattern-pin tests under `formats::tests::*` — one per
new arm — plus `decode_is_safe_on_short_inputs`. All 70 lib tests pass.

Evidence: `examples/unknown_bytes_deep.rs` dumps first-8-byte
signatures + field samples + coverage percentage per input. Against
the 11-version phi-ag sample corpus (2016–2026), every file now
reports `Classification coverage: 100.00%`.

Docs: §Q5.2 addendum in docs/rvt-moat-break-reconnaissance.md with
the full pattern inventory + deprecated-byte table + truncation
evidence. README layer table updated to reflect 100% coverage.
CHANGELOG updated with new variants + API changes.

Consequence: Layer 5 (IFC export) is no longer blocked on decoder
completeness. The `NullExporter` scaffold can be replaced with a real
walker whose input is type-sound for every field in the object graph.

Refs #72.
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
… 0.1.1

Turns the Q5.2 100%-classification result into a non-bypassable CI
check. No release of rvt-rs can ship with a decoder that silently
drops coverage below 100% on any of the 11 `rac_basic_sample_family`
releases.

Mechanism

`tests/field_type_coverage.rs` opens every file in the corpus, parses
its `Formats/Latest` schema, and asserts that zero fields decode to
`FieldType::Unknown`. If any file is missing the test fails loudly
(no silent-skip) — guarantees non-vacuous coverage. Also sanity-checks
that the corpus total is >= 10,000 fields as a floor against a
passing-on-empty failure mode.

The corpus lives in phi-ag/rvt (Autodesk-owned samples; rvt-rs does
not redistribute them per SECURITY.md §Scope). CI now fetches it at
build time via `actions/checkout@v4` into `_corpus/` and points
`RVT_SAMPLES_DIR` at `_corpus/examples/Autodesk/`. Both the coverage
gate and the pre-existing `tests/samples.rs` integration suite now
run in CI for the first time.

Refactor: `tests/common/mod.rs` holds the shared `samples_dir()` /
`sample_for_year()` / `ALL_YEARS` helpers (both integration tests
respect `RVT_SAMPLES_DIR`).

README reframe (per the Option A direction)

- Tagline updated from "Open reader for Revit files" to "The first
  complete, open documentation and tooling for the Revit on-disk
  format — 395 classes, 13,570 fields, 100% type classification
  across Revit 2016–2026." This states what rvt-rs actually is, not
  what it aspires to be.
- New paragraph above TL;DR labels Layer 5 (schema-directed instance
  extraction) as an "active research frontier" and points at the
  Q6.3 correction. Collaborative contributions welcome, no
  overclaim.
- Test-count bumped (71 = 57 unit + 9 integration + 5 doctest).
- "Gated on Layer 4c completion" language removed — 4c is done.
- `ifc` section now says emission is the "natural next milestone
  now that the schema is fully typed" (unblocked, not blocked).

CHANGELOG

- New `[0.1.1] — 2026-04-19` section covers the Q5.2 + CI-gate work.
- `[0.1.0]` section filled in as the documented initial release.
- Research-findings section adds Q6.3 as a first-class entry
  describing the Q6.2 refutation, with probes + evidence pointers.

Test matrix after this change: 57 lib + 1 coverage-gate + 8 samples
integration + 5 doctest = 71 tests. All pass locally. clippy clean
with `-D warnings`. cargo fmt clean.

Refs #72 (coverage result), #73 (Q6.3 correction), #79 (gate),
#80 (framing).
DrunkOnJava added a commit that referenced this pull request Aug 31, 2026
## Summary

Lane Eleven Dependabot triage:

- Document merge/close/leave-open decisions for all 15 open Dependabot
PRs in `docs/dependabot-triage-2026-08-29.md`.
- Raise viewer `vite` package.json range to `^8.2.2` to match the secure
lockfile already on `main` (8.2.2). Dependabot #111 (8.1.5) conflicted
and is closed as superseded — 8.2.2 is newer than that target.

### Already merged via Dependabot (this session)

- #104 playwright, #69 setup-node, #6 upload-artifact, #4 setup-python,
#3 rust-cache, #2 download-artifact

### Closed as obsolete/superseded

- #102 / #76 pyo3 (main already on 0.29), #72 quick-xml (main on 0.41),
#111 vite (superseded; main lock already 8.2.2)

### Left open for dedicated migrations

- #109 TypeScript 7, #108 three.js 0.185, #74 thiserror 2, #71 criterion
0.7, #70 cfb 0.14

## Test plan

- [x] `cd viewer && npm run typecheck`
- [x] `cd viewer && npm audit --audit-level=high` → 0 vulnerabilities
- [ ] CI on this PR

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: DrunkOnJava <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant