From c44978d60cee2d61bdadf4cb4498286b7034b4c6 Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Mon, 15 Jan 2024 08:43:41 -0500 Subject: [PATCH] Update for the 2.4.0 release (#1490) * Updated for the 2.4.0 release * Fix misspelling in changes.md Co-authored-by: nobkd <44443899+nobkd@users.noreply.github.com> --- cadquery/__init__.py | 2 +- changes.md | 30 +++++++++++++++++++++++++++++- doc/conf.py | 4 ++-- setup.py | 2 +- 4 files changed, 33 insertions(+), 5 deletions(-) diff --git a/cadquery/__init__.py b/cadquery/__init__.py index 713499ca6..d9bef5dd1 100644 --- a/cadquery/__init__.py +++ b/cadquery/__init__.py @@ -4,7 +4,7 @@ __version__ = version("cadquery") except PackageNotFoundError: # package is not installed - __version__ = "2.4-dev" + __version__ = "2.4.0" # these items point to the OCC implementation from .occ_impl.geom import Plane, BoundBox, Vector, Matrix, Location diff --git a/changes.md b/changes.md index 64eeda7d2..365d4b505 100644 --- a/changes.md +++ b/changes.md @@ -1,7 +1,35 @@ Changes ======= -2.3.1 (latest release) +2.4.0 (latest release) +------ + +### Highlights +* Updated to OCP and OpenCASCADE 7.7.2 [#1440](https://github.com/CadQuery/cadquery/pull/1440) +* Python 3.12 support [#1468](https://github.com/CadQuery/cadquery/pull/1468) +* VTK-based `show` function for showing models from the command line [#1366](https://github.com/CadQuery/cadquery/pull/1366) [#1394](https://github.com/CadQuery/cadquery/pull/1394) + +### Other changes +* Documentation fixes and improvements [#1360](https://github.com/CadQuery/cadquery/pull/1360) [#1362](https://github.com/CadQuery/cadquery/pull/1362) [#1367](https://github.com/CadQuery/cadquery/pull/1367) [#1368](https://github.com/CadQuery/cadquery/pull/1368) [#1380](https://github.com/CadQuery/cadquery/pull/1380) [#1400](https://github.com/CadQuery/cadquery/pull/1400) [#1423](https://github.com/CadQuery/cadquery/pull/1423) [#1424](https://github.com/CadQuery/cadquery/pull/1424) [#1458](https://github.com/CadQuery/cadquery/pull/1458) [#1474](https://github.com/CadQuery/cadquery/pull/1474) +* Added an `enlarge` method to BoundBox object [#1356](https://github.com/CadQuery/cadquery/pull/1356) +* Added parallel operation support to `_bool_op()` [#1357](https://github.com/CadQuery/cadquery/pull/1357) +* Added typing for `importStep()` and `importShape()` [#1372](https://github.com/CadQuery/cadquery/pull/1372) +* Added tuple parameter support to CQGI [#1373](https://github.com/CadQuery/cadquery/pull/1373) +* Improved the shape iterator [#1376](https://github.com/CadQuery/cadquery/pull/1376) +* Added all other formats to ReadTheDocs downloads [#1377](https://github.com/CadQuery/cadquery/pull/1377) +* Improved segment naming in constraint solver test [#1379](https://github.com/CadQuery/cadquery/pull/1379) +* Fixed ellipse arc normal with DXF import and export [#1384](https://github.com/CadQuery/cadquery/pull/1384) +* Fixed bug in tapered extrude height [#1388](https://github.com/CadQuery/cadquery/pull/1388) +* Implementation of cq.Shape selectors [#1406](https://github.com/CadQuery/cadquery/pull/1406) +* Fix bug in multisection sweep for sketches [#1408](https://github.com/CadQuery/cadquery/pull/1408) +* Added ASCII option for GLTF and STL exports of assemblies [#1418](https://github.com/CadQuery/cadquery/pull/1418) +* Added non-relative tolerancing to STL export [#1432](https://github.com/CadQuery/cadquery/pull/1432) +* Fixed redundant call to `TopTools_IndexedDataMapOfShapeListOfShape()` [#1439](https://github.com/CadQuery/cadquery/pull/1439) +* Fixed parenthesis bug in `_isCoPlanar()` [#1451](https://github.com/CadQuery/cadquery/pull/1451) +* Improved 3D text alignment [#1455](https://github.com/CadQuery/cadquery/pull/1455) +* Added matrix of intertia functionality [#1460](https://github.com/CadQuery/cadquery/pull/1460) + +2.3.1 ------ This was an incremental release to fix a broken PyPI package. diff --git a/doc/conf.py b/doc/conf.py index f66cef78d..ee7b4e7d9 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -68,9 +68,9 @@ # built documents. # # The short X.Y version. -version = "2.3" +version = "2.4" # The full version, including alpha/beta/rc tags. -release = "2.3.1" +release = "2.4.0" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index e1ee0ed2d..0bf9fe1c0 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ setup( name="cadquery", - version="2.4.0dev", # Update this for the next release + version="2.4.0", # Update this for the next release url="https://github.com/CadQuery/cadquery", license="Apache Public License 2.0", author="David Cowden",