Skip to content

Commit 1bf70e9

Browse files
authored
chore: version packages
1 parent 224386a commit 1bf70e9

16 files changed

Lines changed: 83 additions & 53 deletions

.changeset/geometry-class-six-not-five.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/legacy-entity-products-not-dropped.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ members = ["rust/core", "rust/geometry", "rust/processing", "rust/clash", "rust/
44
resolver = "2"
55

66
[workspace.package]
7-
version = "6.0.0"
7+
version = "6.0.1"
88
edition = "2021"
99
authors = ["IFC-Lite Contributors"]
1010
license = "MPL-2.0"
1111
repository = "https://github.com/LTplus-AG/ifc-lite"
1212

1313
[workspace.dependencies]
14-
ifc-lite-core = { version = "6.0.0", path = "rust/core" }
15-
ifc-lite-geometry = { version = "6.0.0", path = "rust/geometry" }
16-
ifc-lite-processing = { version = "6.0.0", path = "rust/processing" }
17-
ifc-lite-clash = { version = "6.0.0", path = "rust/clash" }
18-
ifc-lite-export = { version = "6.0.0", path = "rust/export" }
19-
ifc-lite-wasm = { version = "6.0.0", path = "rust/wasm-bindings" }
14+
ifc-lite-core = { version = "6.0.1", path = "rust/core" }
15+
ifc-lite-geometry = { version = "6.0.1", path = "rust/geometry" }
16+
ifc-lite-processing = { version = "6.0.1", path = "rust/processing" }
17+
ifc-lite-clash = { version = "6.0.1", path = "rust/clash" }
18+
ifc-lite-export = { version = "6.0.1", path = "rust/export" }
19+
ifc-lite-wasm = { version = "6.0.1", path = "rust/wasm-bindings" }
2020

2121
# Numeric-safety policy, inherited by every member via `[lints] workspace = true`.
2222
# clippy must not auto-rewrite numeric literals or float comparisons: `.clamp()`,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ifc-lite",
3-
"version": "6.0.0",
3+
"version": "6.0.1",
44
"description": "High-performance browser IFC parser & renderer",
55
"private": true,
66
"type": "module",

packages/geometry/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @ifc-lite/geometry
22

3+
## 4.0.1
4+
5+
### Patch Changes
6+
7+
- [#3176](https://github.com/LTplus-AG/ifc-lite/pull/3176) [`66923ee`](https://github.com/LTplus-AG/ifc-lite/commit/66923eefb514e66bff637f43b44d2151723ffb4b) Thanks [@louistrue](https://github.com/louistrue)! - Correct the call-site count in `geometry-class.ts`'s docblock and its test's: six files across three packages compared `geometryClass` against bare integers before the module existed, not five.
8+
9+
The sixth is `apps/viewer/src/components/viewer/ViewportContainer.tsx:819`, which read `(meshes[i].geometryClass ?? 0) !== 0` and now goes through `meshIsNonOccurrence`. It was converted on [#3161](https://github.com/LTplus-AG/ifc-lite/issues/3161) and named in that PR's changeset and merge subject, but the two doc comments kept the pre-audit number — and they are what a reader lands on when opening the module. Comment-only; the enumeration now lists all six.
10+
- Updated dependencies [[`224386a`](https://github.com/LTplus-AG/ifc-lite/commit/224386ac9cb1c2d94eca50808cdfdb7e8a3121e5)]:
11+
- @ifc-lite/wasm@6.0.1
12+
313
## 4.0.0
414

515
### Major Changes

packages/geometry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ifc-lite/geometry",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "Geometry processing bridge for IFC-Lite - exact-arithmetic CSG, streamed across workers",
55
"type": "module",
66
"main": "./dist/index.js",

packages/ids/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @ifc-lite/ids
22

3+
## 1.15.50
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`224386a`](https://github.com/LTplus-AG/ifc-lite/commit/224386ac9cb1c2d94eca50808cdfdb7e8a3121e5)]:
8+
- @ifc-lite/parser@4.3.1
9+
310
## 1.15.49
411

512
### Patch Changes

packages/ids/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ifc-lite/ids",
3-
"version": "1.15.49",
3+
"version": "1.15.50",
44
"description": "IDS (Information Delivery Specification) support for IFC-Lite",
55
"type": "module",
66
"main": "./dist/index.js",

packages/parser/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @ifc-lite/parser
22

3+
## 4.3.1
4+
5+
### Patch Changes
6+
7+
- [#3178](https://github.com/LTplus-AG/ifc-lite/pull/3178) [`224386a`](https://github.com/LTplus-AG/ifc-lite/commit/224386ac9cb1c2d94eca50808cdfdb7e8a3121e5) Thanks [@louistrue](https://github.com/louistrue)! - Stop dropping six concrete IFC2X3 products from mesh and attribute export, and remove an alias row that named no entity.
8+
9+
`rust/core/src/legacy_entities.rs` is the table every classification pass is told to consult instead of a bare `IfcType::from_str`. It held 21 arms. Diffing `@ifc-lite/data`'s IFC2X3/IFC4 tables against the generated IFC4X3 enum — the method `merged.rs` already documents — turns up six concrete `IfcProduct` subtypes that carry both a placement and a representation and were in neither: `IfcElectricalElement`, `IfcElectricDistributionPoint`, `IfcChamferEdgeFeature`, `IfcRoundedEdgeFeature`, `IfcStructuralLinearActionVarying`, `IfcStructuralPlanarActionVarying`.
10+
11+
A name the table misses resolves to `IfcType::Unknown`, and `Unknown` is a subtype of nothing. The attribute exporter keeps a row only if the type reaches `IfcProduct`, and `has_geometry_by_name` refuses `Unknown` outright, so an IFC2X3 file containing one of these lost it from the attribute export and from meshing at once. The two passes agreed, on dropping it — which is why nothing looked wrong. Each new arm maps to its own supertype from the older schema rather than to a generic proxy.
12+
13+
The `IfcElectricDistributionPoint` arm was spelled `IFCELECTRICALDISTRIBUTIONPOINT`, with an "AL" no IFC2X3 entity has. It could never match a real file, and a Rust test asserted `has_geometry_by_name` on the same misspelling, so the table and its test certified each other while describing nothing.
14+
15+
That misspelling had spread. [#2883](https://github.com/LTplus-AG/ifc-lite/issues/2883) mirrored it into `@ifc-lite/parser`'s `ENTITY_NAME_ALIASES` on the stated premise that it was "real, deprecated IFC2X3 syntax", and two tests plus a comment in `@ifc-lite/query` were then written against the mirror — five artifacts agreeing with each other about an entity that does not exist. The alias row is removed rather than respelled, because the correctly spelled name is in `ENTITIES_IFC2X3` and already resolves through `IfcFlowController` to `IfcDistributionElement` with no alias at all; that is also exactly what the new Rust arm answers. The dependents now assert the real name, plus a negative on the misspelling so restoring the alias turns them red.
16+
17+
Fixing the table exposed a second live defect. The construction-projection filter from [#979](https://github.com/LTplus-AG/ifc-lite/issues/979) read `entity.ifc_type`, which the decoder fills with a bare `from_str` — so every legacy spelling of a feature element arrived as `Unknown` and passed straight through. Measured on AC20-FZK-Haus with its 17 openings respelled to `IFCOPENINGSTANDARDCASE`: 33 spurious void cross-sections in the floor plan before, none after.
18+
19+
`scripts/check-legacy-entity-coverage.mjs` now runs that diff on every PR, in both directions: a concrete legacy product with no arm fails, and so does an arm whose key names no entity in any bundled schema.
20+
- Updated dependencies [[`224386a`](https://github.com/LTplus-AG/ifc-lite/commit/224386ac9cb1c2d94eca50808cdfdb7e8a3121e5)]:
21+
- @ifc-lite/wasm@6.0.1
22+
323
## 4.3.0
424

525
### Minor Changes

0 commit comments

Comments
 (0)