Releases: OpenAssetIO/OpenAssetIO-TraitGen
v1.0.0-alpha.10
Breaking changes
-
Removed support for VFX Reference Platform CY22 or lower and added support for CY24. This means Python 3.7 and 3.9 builds are no longer tested or published, whereas Python 3.11 is now published. OpenAssetIO#1351
-
Changed the
kTraitSet
member of Specification classes in Python to use thefrozenset
type, rather than standardset
. This allows thekTraitSet
to be used as a dictionary key. #55
v1.0.0-alpha.9
C++ getProperty methods now return std::optional rather than throwing when invoked without a default parameter. This mirrors the python behaviour of returning None in this case. #57
v1.0.0-alpha.8
Breaking Changes
- Updated to use non-deprecated version of
TraitsData
. Due to this, the required runtime openassetio version is now beta
1.0.0. #1127
Improvements
- Pinned
setuptools
version used to build from source to68.x
, which is the latest version to maintain compatability with Python 3.7. #59
Bug fixes
- Added support for
setuptools
69.0.0
and above. Thissetuptools
update removed transitionary support for mismatchedsetup.py
and
pyproject.toml
configurations.setup.py
has been removed. #59
v1.0.0-alpha.7
Bug fixes
- Bumped
pyyaml
version to6.0.0
to avoid issues withcython
3+, andconan
1.60.1
to be compatible withpyyaml
6.0.0
. pyyaml/#601
v1.0.0-alpha.6
Improvements
- Removed dependence on
TraitsBase
andSpecificationBase
types in generated python code, rather generating the functionality previously provided by the base directly into the traits and specifications. This mirrors the approach taken by the C++ generator, and breaks a dependency on OpenAssetIO. #19
v1.0.0-alpha.5
v1.0.0-alpha.5
New Features
- Added C++ trait and specification class generation, where the generated source tree consists of a header-only package, with a header file per class along with hoisting headers for convenience, broadly mirroring the source tree of the Python generator. #11
Bug fixes
- Fixed line breaks to no longer be platform-specific, and instead conform to Unix-style
\n
.
v1.0.0-alpha.4
Breaking Changes
-
Changed
generate
interface fromlanguages
togenerator
when specifying generation targets. Removed ability for more than one generator` to be run simultaneously. -
Removed
--python
option from command line interface, replaced with--generator={generator}
option. -
Python generator no longer places module underneath
python
subdirectory, opting now to place module folder directly inoutput_directory
v1.0.0-alpha.3
Initial release of OpenAssetIO-TraitGen.