Releases: aewallin/opencamlib
2023.01.11
- Changes FindPython to FindPython3
- Disables BUILD_DOC when building the Python library
- Fixes issue with VERSION_STRING, it could not be passed as a CMake option, because the default was set to a boolean value, which could not be changed to a string.
- Adds LANGUAGES to CMake's project() definition
- Use sscanf on unix platforms in STLReader
- Use RelWithDebInfo for release builds, and add .dSYM file on macOS for source mapping and better debugging support.
- Enable link time optimization
- Zip CXX libraries before release
- Add custom delocate script on macOS, and prefer system OpenMP before loading the bundled one.
- Use current date as version in development builds
2022.12.18
This release fixes an issue with the pre-compiled C++ libraries not being uploaded to Github releases.
It also fixes an issue with the OpenCAMLib Python module for Python v3.11, which was fixed in the upstream boost-python-precompiled repository (vespakoen/boost-python-precompiled@0c9b9e6)
2022.12.17
December 2022 release of OpenCAMLib.
!! BREAKING CHANGE !!
The way to import the Python module changed!
Change your imports from:
# old
import ocl
to
# new
from opencamlib import ocl
Alternatively, to support old and new versions of OpenCAMLib:
try:
from opencamlib import ocl
except ImportError:
try:
import ocl
except ImportError:
pass
pass
We had to change this because we publish pre-compiled Python wheels now, and the ocl
name was already taken.
The most notable changes are:
- We now provide pre-compiled Python wheels and native Node.js modules for the most common platforms.
- We added a OpenCAMLibConfig.cmake file, making it easier to find and link to OpenCAMLib when your project uses CMake.
- Dropped Python 2 support.
- Added pyproject.toml / setup.py scripts, and
scikit-build-core
, to allow a more simplepip install .
when compiling from source. - The CMake configuration got a lot of attention and got simplified, which hopefully will make it easier for packagers to configure.
- A lot of the examples got fixed and some very old ones got removed.
- An
install.sh
script got added to aid in compiling OpenCAMLib from source. - Removed / updated use of deprecated functions, fixed most compiler warnings
- Fixed a bug in the Waterline operation's destructor, which caused it to segfault in some situations.
For a diff of all the changes, see (warning, large!):
https://github.com/aewallin/opencamlib/compare/2019.07..2022.12.17
2019.07
2018.08 LGPL
The first release under LGPL license.
2018.07 GPL
This tag marks the last version of opencamlib under GPL license.
A change to LGPL will follow.