Skip to content

Commit c44978d

Browse files
jmwrightnobkd
andauthored
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>
1 parent 20432b8 commit c44978d

File tree

4 files changed

+33
-5
lines changed

4 files changed

+33
-5
lines changed

cadquery/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
__version__ = version("cadquery")
55
except PackageNotFoundError:
66
# package is not installed
7-
__version__ = "2.4-dev"
7+
__version__ = "2.4.0"
88

99
# these items point to the OCC implementation
1010
from .occ_impl.geom import Plane, BoundBox, Vector, Matrix, Location

changes.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,35 @@
11
Changes
22
=======
33

4-
2.3.1 (latest release)
4+
2.4.0 (latest release)
5+
------
6+
7+
### Highlights
8+
* Updated to OCP and OpenCASCADE 7.7.2 [#1440](https://github.com/CadQuery/cadquery/pull/1440)
9+
* Python 3.12 support [#1468](https://github.com/CadQuery/cadquery/pull/1468)
10+
* 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)
11+
12+
### Other changes
13+
* 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)
14+
* Added an `enlarge` method to BoundBox object [#1356](https://github.com/CadQuery/cadquery/pull/1356)
15+
* Added parallel operation support to `_bool_op()` [#1357](https://github.com/CadQuery/cadquery/pull/1357)
16+
* Added typing for `importStep()` and `importShape()` [#1372](https://github.com/CadQuery/cadquery/pull/1372)
17+
* Added tuple parameter support to CQGI [#1373](https://github.com/CadQuery/cadquery/pull/1373)
18+
* Improved the shape iterator [#1376](https://github.com/CadQuery/cadquery/pull/1376)
19+
* Added all other formats to ReadTheDocs downloads [#1377](https://github.com/CadQuery/cadquery/pull/1377)
20+
* Improved segment naming in constraint solver test [#1379](https://github.com/CadQuery/cadquery/pull/1379)
21+
* Fixed ellipse arc normal with DXF import and export [#1384](https://github.com/CadQuery/cadquery/pull/1384)
22+
* Fixed bug in tapered extrude height [#1388](https://github.com/CadQuery/cadquery/pull/1388)
23+
* Implementation of cq.Shape selectors [#1406](https://github.com/CadQuery/cadquery/pull/1406)
24+
* Fix bug in multisection sweep for sketches [#1408](https://github.com/CadQuery/cadquery/pull/1408)
25+
* Added ASCII option for GLTF and STL exports of assemblies [#1418](https://github.com/CadQuery/cadquery/pull/1418)
26+
* Added non-relative tolerancing to STL export [#1432](https://github.com/CadQuery/cadquery/pull/1432)
27+
* Fixed redundant call to `TopTools_IndexedDataMapOfShapeListOfShape()` [#1439](https://github.com/CadQuery/cadquery/pull/1439)
28+
* Fixed parenthesis bug in `_isCoPlanar()` [#1451](https://github.com/CadQuery/cadquery/pull/1451)
29+
* Improved 3D text alignment [#1455](https://github.com/CadQuery/cadquery/pull/1455)
30+
* Added matrix of intertia functionality [#1460](https://github.com/CadQuery/cadquery/pull/1460)
31+
32+
2.3.1
533
------
634

735
This was an incremental release to fix a broken PyPI package.

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@
6868
# built documents.
6969
#
7070
# The short X.Y version.
71-
version = "2.3"
71+
version = "2.4"
7272
# The full version, including alpha/beta/rc tags.
73-
release = "2.3.1"
73+
release = "2.4.0"
7474

7575
# The language for content autogenerated by Sphinx. Refer to documentation
7676
# for a list of supported languages.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
setup(
4141
name="cadquery",
42-
version="2.4.0dev", # Update this for the next release
42+
version="2.4.0", # Update this for the next release
4343
url="https://github.com/CadQuery/cadquery",
4444
license="Apache Public License 2.0",
4545
author="David Cowden",

0 commit comments

Comments
 (0)