Warning
After upgrade, you need to run php bin/console doctrine:migrations:migrate (or equivalent) as webserver user after upgrade.. If you are running a docker container, use sudo docker exec --user=www-data partdb php bin/console doctrine:migrations:migrate, or sudo -E inside the docker container, to ensure that the migrations are applied to the correct database.
Note
If you are using Part-DB it would be helpful if you fill out this short survey on your usage of Part-DB (Google Forms): https://forms.gle/Q15twx3YYq3qCNfe8
Part-DB 2.18.0
New features
- Added generic AI client, that can be used for any OpenAI compatible LLM API (#1551)
- Allow to specify a color for custom part states by @killecaptron in #1537
- Retrieve and store stock levels from info providers for parts by @killecaptron in #1538
- Allow to configure which field groups are exported to KiCad by @lukas-runge in #1533
- Show DEFAULT_URI value in server info page
- Report an AI provider error instead of ending the request with a 500 by @killecaptron in #1539
- Added an
debug_vars()twig functions in the twig label sandbox to list all available variables - Do not download non-downloadable attachments and improve handling changing URLs on attachment merge by @killecaptron in #1531
- Rate limit requests to info providers by @killecaptron in #1536
- Allow direct refreshing parts from the info provider they were created with & batch refreshing by @killecaptron in #1532
Bug fixes
- fix(mcp): gate the read-only get_part_details tool with read permission by @wangzhengzhuo05 in #1546
- Fixed compatibility of AI extractor with OpenAI LLMs @killecaptron in #1540
- Version the cache keys of the info provider DTOs to avoid exceptions after upgrade by @killecaptron in #1530
- Fix stale KiCad category listing after EDA settings change by @lukas-runge in #1534
- fix(eda): inherit KiCad reference prefix from ancestor categories by @wangzhengzhuo05 in #1547
- Correctly reset collection forms on form reset (thanks @LMatt08)
- Fixed error that unique entitity validation failed, even when one of two duplicate entries should be deleted
Other changes
- Updated dependencies
- Updated translations
- Removed jquery dependency
- Updated KiCAD symbols and footprints
- Fixed deprecations & code structure
New Contributors
- @wangzhengzhuo05 made their first contribution in #1546
Full Changelog: v2.17.0...v2.18.0