Skip to content

Version 0.6.0 #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 311 commits into from
Feb 18, 2025
Merged

Version 0.6.0 #162

merged 311 commits into from
Feb 18, 2025

Conversation

simmsa
Copy link
Contributor

@simmsa simmsa commented Feb 17, 2025

MHKiT-MATLAB v0.6.0

Release Highlights

  • Added module and example for upcrossing analysis
  • Expanded WDRT and extreme wave analysis capability
  • Expanded DOLFYN functionality with performance optimizations and enhanced visualization
  • Enhanced MATLAB-Python interoperability with robust type conversion
  • Added support for MATLAB 2024b, Python 3.10-3.12, and MHKiT-Python v0.9.0
  • Improved version control capabilities with diffable example formats

Breaking Changes

  • Removed support for:
    • MHKiT-Python versions below v0.9.0
    • MATLAB versions 2021b and 2022b
    • Python versions 3.8 and 3.9

Impact:

  • Users must upgrade to MATLAB 2023a or newer
  • Python environment must use version 3.10-3.12
  • Users must upgrade to MHKiT-Python v0.9.0 or newer

New Features

Wave Module

DOLFYN Module

Technical Improvements

Compatibility

MATLAB-Python Interoperability

  • Added robust type conversion system:
    • New typecast_spectra_to_mhkit_python: Standardizes spectra data sent to Python
    • New typecast_from_mhkit_python: Standardizes Python output for MATLAB
      • Returns consistent struct format:
        • data: Native MATLAB type (scalar, array, or struct)
        • type: Data classification
        • index: Index information
      • Supports:
        • Scalar values
        • Python/NumPy arrays
        • pandas DataFrame/Series

Version Control Improvements

New Examples

Bug Fixes

Dependencies

  • MATLAB ≥ 2023a
  • MHKiT-Python ≥ v0.9.0
  • Python 3.10-3.12

Contributors

Special thanks to all contributors who made this release possible:

hivanov-nrel and others added 30 commits December 31, 2024 16:06
* fixes bugs with the short_term_extremes_example

* Updates the HTML file
Uses MATLAB's Markup syntax (similar to Markdown) to create a Livescript example
in .m format. This format allows version control diffability while maintaining
Livescript functionality when opened in MATLAB.

The Markup specification is documented here:
https://www.mathworks.com/help/matlab/matlab_prog/marking-up-matlab-comments-for-publishing.html.

This approach is forward-compatible with MATLAB R2024b's new plain text
format for Live Scripts:
https://www.mathworks.com/help/matlab/matlab_env/beta-new-desktop-for-matlab.html

To hedge against MATLAB removing support for Markup it is also
recommended to generate the `.mlx` and `html` files.
Removed in MHKiT Python v0.8.0 and above
simmsa and others added 24 commits February 17, 2025 06:29
Hotfix v0.6.0 Build and Release Action
Hotfix: Restrict Development Builds to Contributor Only
Fix: MHKiT-MATLAB Toolbox Details
@simmsa simmsa marked this pull request as ready for review February 17, 2025 21:06
@simmsa simmsa requested a review from rpauly18 February 17, 2025 21:06
Copy link
Contributor

@rpauly18 rpauly18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go once tests finish

@simmsa simmsa merged commit 55921ca into master Feb 18, 2025
93 of 95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants