Skip to content

Releases: BAMWelDX/weldx

v0.6.9

19 Nov 10:11
c8457bf
Compare
Choose a tag to compare

0.6.9 (19.11.2024)

Changes

  • added support for homogeneous transformation matrices [{pull}949]:
  • added create_cs_from_homogeneous_transformation to CoordinateSystemManager
  • added from_homogeneous_transformation to LocalCoordinateSystem
  • added as_homogeneous_matrix to LocalCoordinateSystem

Fixes

  • rename (fix typo) argument to lcs_child_in_parent in CoordinateSystemManager.add_cs [{pull}936].
  • replace usages of pkg_resources with importlib.metadata [{pull}941].
  • replace usages of copy_arrays with memmap for asdf>=3.1.0 [{pull}940].

Dependencies

  • pin weldx-widgets>=0.2.3 for viz [{pull}939].
  • pin pint>=0.21 [{pull}941].
  • pin python<3.13 [{pull}896].
  • pin asdf<4 [{pull}952].

What's Changed

New Contributors

Full Changelog: v0.6.8...v0.6.9

v0.6.8

08 Jun 11:23
f750e8a
Compare
Choose a tag to compare

0.6.8 (07.06.2024)

Changes

  • use pandas.to_timedelta function to pass units to the TimeDeltaIndex object [{pull}918].

Dependencies

  • unpin nbval testing dependency.
  • pin python<3.12 [{pull}933].

What's Changed

Full Changelog: v0.6.7...v0.6.8

v.0.6.7

24 Aug 14:54
741cfce
Compare
Choose a tag to compare

0.6.7 (2023.08.24)

Added

  • added weldx.exceptions module with WeldxException [{pull}871] .

Fixes

  • fix compatibility with pint=0.21 [{pull}876].
  • fix typing compatibility with pint=0.22 [{pull}880].
  • add read_buffer_context and write_read_buffer_context to weldx.asdf.util
    to fix tests accessing closed files. {issue}873 [{pull}875].

Changes

  • removed keyword dummy_inline_arrays from function asdf.util.write_buffer
    as it was only used internally [{pull}875].

ASDF

  • update PintQuantityConverter and PintUnitConverter class assignments for pint=0.22 [{pull}880].
  • use ValidationError from asdf instead of jsonschema [{pull}886].

Dependencies

  • require asdf>=2.15.1 [{pull}886]

What's Changed

New Contributors

Full Changelog: v0.6.6...v0.6.7

0.6.6

19 Apr 08:17
e6510f6
Compare
Choose a tag to compare

0.6.6 (19.04.2023)

Version 0.6.6 is a compatibility release for xarray>=2023.4.0 .

Fixes

  • explicitly keep reference time as xarray attribute in transformation and interpolation operations #868 .

Dependencies

  • compatibility with xarray=2023.4.0 and pandas=2 #868 .

What's Changed

Full Changelog: v0.6.5...v0.6.6

0.6.5

06 Apr 15:26
9cb7f08
Compare
Choose a tag to compare

0.6.5 (2023.04.06)

Version 0.6.5 is a compatibility release to support new asdf and xarray version and drops support for Python 3.8.
Please see the new minimal version requirements below.

Fixes

  • fix non quantified xarray parameter inputs to MathematicalExpression #864 .

Dependencies

  • drop Python 3.8 support [{pull}866]
  • require xarray >= 2022.9.0, as LocalCoordinateSystem now handles merges correctly #861 .
  • require asdf>=2.15 for new extension style validator interface #863 .
  • require scipy >=1.6.2 and networkx >=2.8.2 #866

ASDF

  • Move validators to new extension style and remove legacy extension code #863 .

What's Changed

Full Changelog: v0.6.4...v0.6.5

0.6.4

09 Feb 16:35
51fd46f
Compare
Choose a tag to compare

0.6.4 (09.02.2023)

Version 0.6.4 is a small maintenance release with no changes affecting user code.

Changes

  • WeldxFile also shows its JSON widget header representation in a JupyterHub based environment #854 .

ASDF

  • remove preliminary validators from new style ASDF extension for compatibility with upcoming asdf changes #853 .

0.6.3

02 Feb 11:03
e7fd50f
Compare
Choose a tag to compare

0.6.3 (02.02.2023)

Version 0.6.3 is a minor release to increase compatibility with Python 3.11 and asdf 2.14
with updates to the documentation structure and a new schema for video files.

Added

  • New class to handle image sequence data and videos weldx.util.media_file.MediaFile #727 .

Dependencies

  • Unpin asdf due to fix in asdf 2.14.3 release #834 .
  • Unpin maximum Python version (again). #837

Changes

  • Remove outdated calls to weldx.asdf.util.get_highest_tag_version in
    TimeSeries and SpatialData converters #832 .
  • Use Ruff in pre-commit-action #824 .
  • Use MyST-NB for documentation building #830 .
  • WeldxFile correctly determines whether to display the header via widgets or text #848 .

ASDF

  • update to asdf://weldx.bam.de/weldx/schemas/core/file-0.1.1 #727
  • add asdf://weldx.bam.de/weldx/schemas/core/media_file-0.1.0 #727

What's Changed

New Contributors

Full Changelog: v0.6.2...v0.6.3

0.6.2

07 Nov 14:16
a617b06
Compare
Choose a tag to compare

0.6.2 (07.11.2022)

Release 0.6.2 comes with new and updated tutorials and some minor fixes and code improvements.

added

  • New tutorial that demonstrates the usage of the CSM in conjunction with an existing WelDX file #793
  • New tutorial about the MeasurementChain class using an existing WelDX file #796

changes

  • weldx now requires pip to install (previously it could be installed by directly invoking setup.py) #774.
    From a users perspective nothing changes here, as the package was always recommended to be installed via pip.
  • Updated the outdated tutorial about the LocalCoordinateSystem #775
  • weld_seam is now a required field in the multi_pass_weld schema #790
  • Add section about time-dependent spatial data to the CoordinateSystemManager tutorial #792

fixes

  • MathematicalExpression now uses SciPy and NumPy in numerical function evaluation. This enables it to use
    advanced integration methods and fixes lengths computation of DynamicShapeSegment #770.
  • Fix errors in tutorial about quality standards #777
  • Correct wrong handling of absolute times of the TimeSeries class #791
  • Added support for Pint 0.20 #818.

What's Changed

Full Changelog: v0.6.1...v0.6.2

0.6.1

19 May 10:24
3e307fc
Compare
Choose a tag to compare

0.6.1 (19.05.2022)

Release 0.6.1 moves advanced plotting functions over to the weldx-widgets package and includes minor bugfixes.

changes

  • WeldxFile now raises a KeyError, if the user tries to directly read or manipulate a protected ASDF keyword
    within the file. [#759]

fixes

  • Fix interactive view_tree display [#756].
  • Increase mypy coverage and update type hints and GH action [#753].

dependencies

  • weldx now (optionally) requires weldx_widgets to visualize coordinate systems/manager [#749].
  • NumPy is not required as a build time dependency anymore, as Bottleneck now provides binaries on PyPI [#749].
  • Set networkx<=2.8.0 to allow Python deepcopy of CoordinateSystemManager [#761].

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0

29 Apr 10:46
b7f599a
Compare
Choose a tag to compare

0.6.0 (29.04.2022)

This release includes major changes to the handling and support of units in the API and ASDF schemas.
All classes now support and require quantities where appropriate. Plain numbers without units are no longer supported
and will raise an exception. If the number is truly dimensionless, you still have to wrap it with
the quantity class weldx.Q_ like this:

my_number = 42.0
my_number_wrapped = weldx.Q_(my_number, "meter")

Furthermore, a new class called GenericSeries was added. It provides a common interface to describe coordinate-based
data either by discrete values or mathematical expressions. A built-in mechanism lets you derive specialized series with
specific requirements. For more information, have a look
at the new tutorial .

added

  • DynamicShapeSegment [#713]
  • SpatialSeries and DynamicTraceSegment [#699]
  • first draft of the multi_pass_weld schema for WelDX files [#667]
  • add GenericSeries as base class supporting arrays and equations [#618]
  • add experimental unit support for .weldx.interp_like accessor [#518]
  • new tutorial series that introduces the most important WelDX features
    step by step based on a full example file [#555]
  • add path option to WeldxFile.info and WeldxFile.show_asdf_header [#555]

removed

  • removed access to WeldxFile.data [#744]

changes

  • The wx_property_tag validator now also accepts lists of different tags. [#670]
    When multiple tags are passed, validation will fail if none of the supplied patterns match.
  • Due to a pandas update, using the + operator with Time and either a pandas.TimedeltaIndex or pandas.DatetimeIndex
    now only works if the Time instance is on the left-hand side. [#684]
  • LocalCoordinateSystem and CoordinateSystemManager now support pint.Quantity as coordinates.
    Types without units are still supported but are deprecated. [#683]
  • Renamed show_asdf_header of WeldxFile to WeldxFile.header. [#694]
  • WeldxFile.custom_schema now accepts an optional tuple with the first element being a schema to validate upon read,
    the second upon writing the data. [#697]
  • Reshape SpatialData coordinates to (-1, 3) before exporting with meshio for compatibility. [#723]
  • SpatialData, LocalCoordinateSystem and CoordinateSystemManager now require units [#731]

fixes

  • TimeSeries can now be serialized correctly when using absolute times [#677]

documentation

  • update PR link format in the changelog [#658]
  • new tutorial that describes how to work with workpiece data from a WelDX file [#681]

ASDF

  • update weldx extension and manifest version to 0.1.1 [#655]
  • removed legacy weldx tag and schema support [#600]
  • update core/geometry/spatial_data to version 0.1.1 with support for multidimensional data [#655]
  • add wx_shape validation support for core/data_array [#655]
  • update core/time_series schema to use time/time [#677]
  • update core/variable schema to allow single string as data [#707]
  • update the default sorting order of select_tag for WeldxConverter [#733]
  • add custom validation behavior to wx_unit [#739]

deprecations

  • Coordinates without units for LocalCoordinateSystem and CoordinateSystemManager

dependencies

  • weldx now works with Python-3.10. [#696]
  • bump to asdf >=2.8.2 [#668]
  • add pint-xarray dependency [#518]
  • bump to numpy>=1.20 (for numpy.typing) [#656]
  • bump to pint >=0.18 for typing [#664]
  • bump to xarray >=0.19 for array creation compatibility [#618]
  • add bidict dependency [#618]
  • set networkx !=2.7 for plotting compatibility (for now) [#714, #722]

What's Changed

Read more