Releases: thoth-pub/thoth
Releases · thoth-pub/thoth
v0.5.0
[0.5.0] - 2021-11-28
Added
- #297 - Implement publication location
Changed
- Requirement to Number fields preventing user from entering numbers below 0 for Counts/below 1 for Editions and Ordinals, and sets Contribution Ordinal default to 1 instead of 0
- #299 - Update Project MUSE ONIX subject output logic
- Updated if and else branches to comply with
rustc 1.56.0
Fixed
- #292 - Cannot unset pubiication date: error when trying to clear a previously set publication date
- #295 - various subforms failing to trim strings before saving (including on mandatory fields which are checked for emptiness)
- Duplicated logic for handling optional field values, simplifying the code and reducing the likelihood of further bugs such as
- Minor issue where some required fields were not marked as "required" (so empty values would be sent to the API and raise an error)
- Issue with subforms where clicking save button bypassed field requirements (so instead of displaying a warning message such as "Please enter a number", invalid values would be sent to the API and raise an error)
- #310 - Add jstor specification to formats
v0.4.7
v0.4.6
v0.4.5
[0.4.5] - 2021-08-12
Added
- #259 - Units selection dropdown to Work and NewWork pages, which updates the Width/Height display on change
- #259 - Local storage key to retain user's choice of units across all Work/NewWork pages
- #259 - Backend function to convert to/from database units (mm): uses 1inch = 25.4mm as conversion factor, rounds mm values to nearest mm, rounds cm values to 1 decimal place, rounds inch values to 2 decimal places and then to nearest sixteenth of an inch
- #259 - Constraints on Width/Height fields depending on unit selection: user may only enter whole numbers when in mm, numbers with up to 1 decimal place when in cm, numbers with up to 2 decimal places when in inches
Changed
- #259 - GraphQL and APP queries to specify units when submitting new Width/Height values, and handle conversion if required