Skip to content

Commit 5bfc604

Browse files
committed
chore: release 0.5.0
- Updated version to 0.5.0 across project files. - Enhanced AutoCAD-family and Revit discovery mechanisms. - Removed deprecated functions and keys for cleaner code. - Fixed local plugin test run behavior to avoid pytest loop issues.
1 parent 2c0cae9 commit 5bfc604

4 files changed

Lines changed: 33 additions & 3 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.5.0] - 2026-10-12
6+
7+
### Changed
8+
9+
- AutoCAD-family discovery reads `HKLM\SOFTWARE\Autodesk\AutoCAD\*\InstalledProducts`.
10+
The default value is the install directory. The subkey is the product code
11+
(`ACAD`, `C3D`, `PLNT3D`, `ACA`, `ACADM`, `MEP`, `ACADE`, `MAP`). The year is
12+
the last token of the folder name (`AutoCAD 2026`, `Civil 3D 2026`), at or
13+
above 2022. The filesystem fallback applies only to `autocad`.
14+
- Revit discovery lives in its own resolver: `Autodesk Revit {version}` in the
15+
registry, then `Revit {version}` on disk.
16+
- `host_name` is the only key. The names are the lowercase `HostApp` values
17+
(`Civil3D` → `civil3d`) and are declared once in `constants.py`.
18+
`HOST_REGISTRY` and the AutoCAD product-code map both use those constants.
19+
- `HostConfig` keeps `pipe_prefix`, `exe_name`, and `launch_args`. Install
20+
paths stay in the resolver for that host.
21+
- Requires `pytest>=9.1.1,<10` and `pywin32>=312`, matching the host pixi runtime.
22+
23+
### Removed
24+
25+
- `find_host_executable()`. Callers use `find_executable(host_name, version)`.
26+
- `HostConfig.acad_product_code` and `is_acad_family()`.
27+
- Registry product-id lookup (`ACAD-XXNN`, `UPIRELEASE`, `GlobUPILocation`,
28+
`AcadLocation`).
29+
30+
### Fixed
31+
32+
- A local plugin test run no longer swallows pytest's own test loop when the
33+
session has no remote results.
34+
535
## [0.4.0] - 2026-08-31
636

737
### Added

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "revitdevtool_pytest"
7-
version = "0.4.0"
7+
version = "0.5.0"
88
description = "pytest plugin for testing CAD/BIM API code inside host applications via RevitDevTool Named Pipe bridge"
99
readme = "README.md"
1010
license = "MIT"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""RevitDevTool.PyTest: Run pytest tests inside a live Autodesk host (Revit, AutoCAD, Civil3D, etc.) via Named Pipe bridge."""
22

3-
__version__ = "0.4.0"
3+
__version__ = "0.5.0"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)