Releases: ehennestad/scalebar-matlab
Releases · ehennestad/scalebar-matlab
Release list
v1.2.0
What's Changed
- feat: add semi-transparent scalebar backgrounds by @ehennestad in #1
- Address code-review findings by @ehennestad in #2
- Update company and email in MLToolboxInfo.json by @ehennestad in #6
New Contributors
- @ehennestad made their first contribution in #1
Full Changelog: v1.1.2...v1.2.0
v1.1.2 - Add toolbox metadata
v1.1.1
What's changed
This release note compares v1.1.1 f05a058 with v1.1.0 8ae2310.
Added
- A getting-started Live Code guide with a minimal image example and links to the complete image and plot examples.
- Automated tests for the image and plot examples.
Changed
- The README now leads with image and plot examples, uses a more compact screenshot format, and recommends MATLAB's Add-On Explorer as the primary installation route.
- CI now installs Image Processing Toolbox so the image example is exercised in automated tests.
See the full comparison.
v1.1.0
What's changed
This release note compares v1.1.0 d7b8b4e with v1.0.6 c3546d7 published via FileExchange
Potentially breaking changes
- The default
Locationis now"southeast", which places the scale bar inside the axes. Previously the default was"southeastoutside". SetLocationexplicitly when an outside placement is required. - Constructor inputs and public property values are now validated. Calls that previously accepted invalid lengths, option names, locations, or property values now report an error.
Added
- Modern constructor forms based on MATLAB argument blocks, including name-value configuration and
Axis="y"for vertical scale bars. The legacy positional axis syntax remains supported. - MATLAB function-signature metadata for code completion and argument hints.
- Public-property documentation and a getting-started live script.
- A top-level MATLAB unit-test suite, visual regression helper, and coverage reporting in CI.
- Complete runnable examples for calibrated images and plot data, together with reproducible README image export and polished example figures.
Fixed
- Vertical scale-bar labels now respect
TextSpacing, including east/west, inside/outside, and reversed-x-axis placements. - Scale-bar configuration and graphics updates are validated and synchronised more consistently when properties change.
Changed
- The README now documents installation, current constructor usage, name-value options, and runnable image and plot examples.
- CI test discovery now uses the top-level
testsdirectory and publishes coverage with the repository token.
See the full comparison.