Releases: stfc-aeg/odin-react
2.1.0: Odin Control 2.0 Support
What's Changed
Odin Control 2.0 Support
Odin React will now automatically support Odin Control 2.0 once it is released. Additionally, some work has gone towards tidying up and simplifying WithEndpoint components.
In addition to the above support addition, other changes include:
- Error Messages and the Nav Bar are pinned to the top of the screen if the user scrolls.
- Modified WithEndpoint to remove Uncontrolled to Controlled console error
- Renamed AdapterEndpoint interface
- Added typing for the Endpoint Metadata tree
Full Changelog: 2.0.6...2.1.0
2.0.6: Better Error Messaging and Nav Bar
What's Changed
- Better Error Messaging shows a list of error messages in a dropdown, which can be cleared
- Nav Bar Scrolling allows for horizontal scrolling of Nav Links if there are more than can fit on the page
- Fixed Javascript Install Issue caused by changed type in Error Boundary
- Demo Adapter uses pyproject.toml to match standard Odin Control practices
Full Changelog: 2.0.5...2.0.6
As usual, any problems or suggestions can be reported to @ANeaves directly or added to the Issue Tracker
2.0.5
What's Changed
- Modified OdinApp to use HashRouter, fixing an issue with navigation on statically built GUIs
- WithEndpoint now provides pre-created versions of the most commonly wrapped components (Button, input box, dropdown menu, Checkbox)
- Created a new ParamController component that Automatically generates controls for a parameter tree, designed for quick prototyping and debugging purposes. Wiki page to come soon
Full Changelog: 2.0.4...2.0.5
2.0.4
Odin React 2.0.3 - More Bugfixes
What's Changed
- Live View component initialises images at a scale that fits the bounding box, and has additional zoom controls to reset to this initial zoom level.
- AdapterEndpoint now ensures the Adapter is connected before initialising the Metadata, and will reinitialise if connection is lost and reconnected
- WithEndpoint will also reinitialise its type assertions and values in the case of a reset connection
Full Changelog: 2.0.2...2.0.3
Additional Hotfixes
What's Changed
- Fixed issue with Object typed values in WithEndpoint components
- Fixed issues in WithEndpoint caused by the default Event handler
Full Changelog: 2.0.1...2.0.2
2.0.1
Hotfix for a couple of issues that were discovered by users after the release of Odin React 2.0.
- Fixed an issue with the importing of React-Plotly from Odin React.
- Fixed an issue with the WithEndpoint HOC not supporting checkboxes/radio inputs
What's Changed
Full Changelog: 2.0...2.0.1
V2.0: Vite Update
The newest version of Odin React is now available. The package has been fully rewritten from the ground up to be used with the Vite Library Mode.
The package also now supports Typescript
What's Changed
Full Changelog: 1.0.0...2.0
V1.0.1: WithEndpoint Updates
Updates to the WithEndpoint service:
- Now allows for a property
value_textwhich, if set to"text"will stop the WithEndpoint wrapper from casting it to a numerical value before sending it to the adapter - Added an
OnEnteroption, which will send the value to the endpoint when the enter key is pressed
Metadata Release
Allows WithEndpoint and AdapterEndpoint components to interact with parameter tree metadata