Skip to content

Latest commit

 

History

History
144 lines (107 loc) · 5.57 KB

CHANGELOG.md

File metadata and controls

144 lines (107 loc) · 5.57 KB

PyPRT ChangeLog

v1.8.0 (2024-03-05)

Added

  • Added support for Rule Packages (RPK) created with CityEngine 2023.1
  • Added pre-built wheels and conda packages for Python 3.11
  • Introduced pyproject.toml (calling setup.py directly has been deprecated by setuptools)

Changed

  • Updated to PRT 3.1.9666
  • Switched to the build package for wheel builds
  • Reorganized the src directory to better support isolated builds
  • Switched conda builds from bdist_conda to explicit conda recipe (conda-recipe/meta.yaml) and conda build
  • Updated to PyBind11 2.11.1
  • Raised minimum CMake version to 3.19
  • Fixed source links in the API docs and improved the sidebar layout

Removed

  • Removed support for Python 3.7

v1.7.0 (2023-06-12)

Added

  • Added support for Rule Packages (RPK) created with CityEngine 2023.0
  • Added support for textured initial shapes (also added the maxDirRecursionDepth argument to the InitialShape class constructor to control searching for texture files)
  • Added new API function get_api_version to get a list of the PRT (major, minor, build) components

Changed

  • Updated to PRT 3.0.8905
  • Updated to PyBind11 2.10.4
  • Turned the prt_DIR and pybind11_DIR into proper CMake cache variables

v1.6.0 (2022-12-21)

Added

  • Added support for Rule Packages (RPK) created with CityEngine 2022.1
  • Added pre-built wheels and conda packages for Python 3.10
  • New CMake flag pybind11_DIR and env var PYBIND11_DIR for setup.py to let users specify a custom copy of PyBind11
  • New example (number 10) about updating Scene Layers used in Web Scenes

Changed

  • Update to PRT 2.7.8538
  • Rebuilt test RPKs with CityEngine 2022.1
  • pyprt_arcgis module: added handling of polygons holes (inner rings) based on Shapely
  • Cleaned and updated environment files
  • Build Python with SSL support in Linux Docker images
  • Improved conda environments pipeline

Removed

  • Removed Python 3.6 support
  • Stop shipping unnecessary MSVC import libraries for PRT in the packages

v1.5.0 (2022-01-10)

Added

  • New PyEncoder option 'triangulate' to triangulate the geometry

Changed

  • Internal update to PRT 2.6
  • Removed debug symbols from the native module in the released packages
  • Development: expose the setup.py --debug option to switch between "Release" and "Release with Debug Info" for the native module
  • Updated notebook, jupyterlab, pillow and babel versions in the environment files based on dependabot security analysis

v1.4.0 (2021-08-24)

  • Compatible CityEngine versions to create RPKs with: 2021.0 or earlier

Added

  • Added pre-built wheels and conda packages for Python 3.9

Changed

  • Internal update to PRT 2.4 (CityEngine 2021.0)
  • Updated compiler requirements on Windows (MSVC 14.27) and Linux (GCC 9.3)
  • Updated urllib3, pywin32 and pillow versions in the environment requirements-py3.*.txt files based on dependabot security analysis

Removed

  • Removed MacOS support as PRT 2.4 and later is not available anymore on that platform

v1.3.0 (2021-05-12)

Added

  • New function get_attributes on GeneratedModel. Returns the CGA rule attributes used to generate the model
  • Added support for CGA array attributes
  • Added pre-built wheels and conda packages for Python 3.7 and 3.8

Changed

  • Updated the arcgis_to_pyprt function to work with the latest arcgis package (1.8)
  • Switched from pipenv to venv to better support multiple Python versions

Removed

  • Removed previously deprecated API functions inspect_rpk and overload of generate_model
  • Removed tox to simplify running tests in multiple Python versions

v1.2.0 (2020-11-19)

Added

  • New get_rpk_attributes_info(rule_package_path) function to query CGA rule attributes and their annotations
  • Holes and multi faces polygons support in the arcgis_to_pyprt(...) function
  • PyPRT icon

Changed

  • Removal of the overload generate_model(rule_attributes) (use generate_model(rule_attributes, rule_package_path, geometry_encoder, encoder_options) instead)
  • Deprecation of the inspect_rpk(rule_package_path) function (use get_rpk_attributes_info(rule_package_path) instead)
  • Internal update to PRT 2.3
  • Updated compiler requirements on Windows (MSVC 14.23)

Fixed

  • Removed streetWidth(a) attribute from the rule package attributes dictionary (in inspect_rpk(...) and get_rpk_attributes_info(...))

v1.1.0 (2020-07-16)

Added

  • Added new API function pyprt.inspect_rpk(...) to query available CGA rule attributes
  • Added support for macOS 10.15 (Catalina)
  • Added support for initial shapes with polygon holes
  • Added automatic detection of RuleFile and StartRule attributes in RPKs
  • The GeneratedModel class now provides access to CGA print and error output when used with the PyEncoder (new get_cga_prints() and get_cga_errors() functions)

Changed

  • Internal update to PRT 2.2 (adds support for CGA language features of CityEngine 2020.0)
  • Reorganization and cleanup of C++ sources
  • Moved PyPRT conda package to Esri organization

v1.0.0 (2020-05-07)

Added

  • PyPRT conda package available on Anaconda Cloud
  • API Documentation
  • License file and copyright statements

Changed

  • README improvements
  • setup.py metadata and PyPI project page improvements

v1.0.0b1 (2020-02-20)

  • First public release
  • PyPRT wheels available on PyPI
  • Published source code on GitHub
  • Published PyPRT examples on GitHub