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>
This commit is contained in:
Jeremy Wright
2024-01-15 08:43:41 -05:00
committed by GitHub
parent 20432b808c
commit c44978d60c
4 changed files with 33 additions and 5 deletions

View File

@ -4,7 +4,7 @@ try:
__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

View File

@ -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.

View File

@ -68,9 +68,9 @@ copyright = "Parametric Products Intellectual Holdings LLC, All Rights Reserved"
# 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.

View File

@ -39,7 +39,7 @@ if not is_rtd and not is_appveyor and not is_azure and not is_conda:
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",