v0.18.0
·
121 commits
to master
since this release
Note: You can update Spoolman using Moonraker's update manager. However, note that the update manager will not re-run the install.sh script, which is necessary to get the latest dependencies in this update. So you will have to do that yourself.
Major changes
- Added support for fetching filament definitions from an external database. By default it collects information from SpoolmanDB which everyone is free to contribute to. This shows up in the UI in the form of a new section in the filament dropdown in Spool creation/edit form which now both shows your internal filaments like before, but also shows the filaments from the external database. You can additionally import external filaments in the filament creation screen by a new button at the top.
- Renamed "Vendor" to "Manufacturer" in the UI. The API and URLs still refer to it as vendor though. This entity has always been the manufacturer but due to bad english on my part it's been mis-represented since the beginning.
- Now supports running Spoolman on a sub path, e.g. you can have your Spoolmans root path be
http://mydomain.me/spoolman
. Configure this using theSPOOLMAN_BASE_PATH
environment variable.
Backend
- Added support for fetching and storing filaments and materials from an external DB. The DB is automatically synced every hour, but that can be disabled if not wanted. The URL where it fetches external data can be adjusted. The fetch is heavily cached so nothing will get downloaded unless the external db has actually changed.
- Added a new API to locally expose the external filament data.
- Added a new field to filaments and vendors that store the ID from the external database it was imported from. This is not used today, but may be used in the future to for example update the local filament definition if there are updates in the external database.
- Now supplies a dynamic config.js file on the base path to inform client side what the base path is.
- Fixed various spool list sorting issues for price, length and weight columns.
- Update OctoPrint plugin in README.md by @zarthross in #377
Note: The backend imports materials from the external DB but the client does not yet make use of this information.
Client
- Added ability to select from the list of external filaments when creating/editing spools. Selecting an external filament will cause the filament to automatically be created (along with automatically creating the manufacturer if necessary) when the spool is created.
- Added ability to import filament data from the external database in the create filament screen.
- Updated all strings referring to "Vendor" to "Manufacturer".
- Updated the client to support a non-root base path.
- feat: lossless image optimization. by @StuSerious in #381
Full Changelog: v0.17.0...v0.18.0