Releases: Part-DB/Part-DB-server
Part-DB 2.0.2
Warning
Part-DB now requires PHP 8.2 or higher. It is recommended that you read the upgrade guide from v1 to v2 before upgrading.
Part-DB 2.0.2
This upgrade introduces a new web based configuration system. Existing configuration using environment variables will continue to work. If you want to configure these parameters via the WebUI in the future, an additional migration step is required. See the upgrade guide for more information.
Bug fixes
- Properly pass environment variables to Part-DB in jbtronics/partdb1 docker image to prevent startup issues (issue #1006)
Improvements
- Updated translations
- Do not pollute docker error logs with deprecation notices
Full Changelog: v2.0.0...v2.0.1
Part-DB 2.0.1
Warning
Part-DB now requires PHP 8.2 or higher. It is recommended that you read the upgrade guide from v1 to v2 before upgrading.
Part-DB 2.0.1
This upgrade introduces a new web based configuration system. Existing configuration using environment variables will continue to work. If you want to configure these parameters via the WebUI in the future, an additional migration step is required. See the upgrade guide for more information.
Bug fixes (compared to 2.0.0)
- Fixed broken english translations
- Fixed problem that wrong column was sorted after columns were reordered in a table
Full Changelog: v2.0.0...v2.0.1
Part-DB 2.0.0
Warning
Part-DB now requires PHP 8.2 or higher. It is recommended that you read the upgrade guide from v1 to v2 before upgrading.
Part-DB 2.0.0
This upgrade introduces a new web based configuration system. Existing configuration using environment variables will continue to work. If you want to configure these parameters via the WebUI in the future, an additional migration step is required. See the upgrade guide for more information.
Breaking changes
- Part-DB now requires at least PHP 8.2 or higher. If you are still using PHP 8.1 you need to upgrade PHP first
- Nodejs 20 or higher is now required
- The
config/banner.md
file does not exist anymore. If you wanna customize the banner, either do it via the WebUI or theBANNER
env. - The parameters
partdb.sidebar.items
,partdb.sidebar.root_node_enable
andpartdb.sidebar.root_expanded
inconfig/parameters.yaml
,
were removed. You can configure them now directly in the admin interface.
New features
- Introduced capability to configure system settings and info providers via the WebUI. No need to work with environment variables anymore
- Improved emoji dialog for rich text editor
Miscellaneous
- Updated dependencies
Full Changelog: v1.17.4...v2.0.0
Part-DB 1.17.4
Part-DB 1.17.3
Important
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
Tip
There is a new experimental docker image, which is much faster. See this post for more info.
Tip
You can help to translate Part-DB to other languages. See this post for more info.
Bug fixes
- Pass the proxy related settings to the docker application (issue #1001)
Full Changelog: v1.17.3...v1.17.4
Part-DB 1.17.3
Part-DB 1.17.3
Important
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
Tip
There is a new experimental docker image, which is much faster. See this post for more info.
Tip
You can help to translate Part-DB to other languages. See this post for more info.
Bug fixes
- Fixed a potential denial of service issue related to user avatars (thanks to @NaklehZeidan21)
- Fixed problem with mass creation dialog (#993)
Miscellaneous
- Updated dependencies
Part-DB 1.17.2
Part-DB 1.17.2
Important
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
Tip
There is a new experimental docker image, which is much faster. See this post for more info.
Tip
You can help to translate Part-DB to other languages. See this post for more info.
New features
- Added option to disable image overlay on part detail pages (#960, thanks @d-buchmann)
- Allow to use the percentage sign directly as unit in parameters, without needing to latex escape it
- Pass supplier part number info to KiCad as custom field (#955, thanks @barisgit)
- Add fields for KiCost KiCad plugin, so that you can easily create a BOM from the information (#910)
Bug fixes
- Fixed typos in info provider description (#942, thanks @d-buchmann)
- Link project root node to edit project page instead of listing all parts (#957, thanks @d-buchmann)
- Fixed problems if parameter value was 0 (#959, thanks @d-buchmann)
What's Changed
- Fix typo and copy-paste error by @d-buchmann in #942
- fix sidebar root node links by @d-buchmann in #957
- Add env option to disable part image overlay by @d-buchmann in #960
- Update AbstractParameter.php by @d-buchmann in #959
- Add supplier information to KiCad part exports by @barisgit in #955
Miscellaneous
- Updated dependencies
New Contributors
Full Changelog: v1.17.1...v1.17.2
Part-DB 1.17.1
Part-DB 1.17.1
Important
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
Tip
There is a new experimental docker image, which is much faster. See this post for more info.
Tip
You can help to translate Part-DB to other languages. See this post for more info.
Security fixes
Until this version, users could upload SVG files containing JS code, that would be executed if a user opened the SVG in a new tab, allowing for a XSS vulnerability. This was only possible if the SVG files were explicitly opened in a new tab, if the file was embedded inside a Part-DB tab, then there was no risk.
Since this version, SVG files gets sanitized during upload, to prevent any JS code execution. If you have existing SVG files, you can sanitize them, by running the console command php bin/console partdb:attachments:sanitize-svg
.
If you are using Part-DB with nginx, you should add the following block to your server configuration, to further harden it by setting a content security policy for SVG files.
# Set Content-Security-Policy for svg files, to block embedded javascript in there
location ~* \.svg$ {
add_header Content-Security-Policy "default-src 'self'; script-src 'none'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'none';";
}
For apache, this is done automatically in the .htaccess
file of Part-DB.
New features
- Added barcode placeholders for C93 and datamatrix barcodes (#931, thanks to @monoxide13)
Miscellaneous
- Updated translations
- Updated dependencies
New Contributors
- @monoxide13 made their first contribution in #931
Full Changelog: v1.17.0...v1.17.1
Part-DB 1.17.0
Part-DB 1.17.0
Warning
From this version Part-DB uses the digikey v4 API. If you have an existing API key, make sure to select the Product Information V4
capability on digikey's api console. Otherwise the digikey info provider will not function!
Important
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
Tip
There is a new experimental docker image, which is much faster. See this post for more info.
Tip
You can help to translate Part-DB to other languages. See this post for more info.
Changes
New features
- Added a way to change the location of parts as batch action, as long as they contain only one lot.
- Improved attachment download compatibility (thanks @Treeed)
- Show digikey packing type (tape&Reel, Box, etc.) in info provider search list
- Render units of parameters with Latex (#856)
- Added a command to download all external-only attachments to the local file system (
php bin/console partdb:attachments:download
) - Added an experimental automigration feature to docker image. Set
DB_AUTOMIGRATE
to true in your docker-compose file to automatically apply database migrations on container startup.
Bug fixes
- Fixed bugs for pollin info provider
- Workaround a bug in KiCAD which could cause a crash (#878)
- Use own CA bundle for element14 provider, to workaround missing CA in debian (#891, #866)
- Fixed problems with mouser info provider, where part numbers could not be resolved to a unique part (#888, #616)
- Fixed 500 if internal attachment path was not resolvable to an URL (#898)
- Fixed problem that global_theme config param was ignored (#880)
- Fixed problem, that categories did not appear in KiCAD, even though they contained visible parts (#885)
- Make database migrationn more compliant with SQL standard (#900)
Miscellaneous
- Updated translations
- Updated dependencies
New Contributors
Full Changelog: v1.16.1...v1.17.0
Part-DB 1.16.1
Part-DB 1.16.1
Warning
If you are upgrading from 1.15 or earlier, you need to run php bin/console doctrine:migrations:migrate
(or equivalent) as webserver user after upgrade. This is not required when coming from 1.16.0. 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.
Important
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
Tip
There is a new experimental docker image, which is much faster. See this post for more info.
Tip
You can help to translate Part-DB to other languages. See this post for more info.
Bug fixes
Miscellaneous
- Updated translations
- Optimized database migration (this might fix issue #873)
Full Changelog: v1.16.0...v1.16.1
Part-DB 1.16.0
Part-DB 1.16.0
Warning
Database schema changed: You need to run php bin/console doctrine:migrations:migrate
(or equivalent) after upgrade! If you are running a docker container, use 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.
Important
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
Tip
There is a new experimental docker image, which is much faster. See this post for more info.
Tip
You can help to translate Part-DB to other languages. See this post for more info.
New features
- Added info providers for the german vendors reichelt.com and pollin.de. They use webscraping of the shop pages, as no official API is provider. Use at your own risk!
- Improved inputting/editing of attachment parts (made it easily editable and highlightable) (PR #849 @Treeed)
- Updated KiCAD EDA library list for EDA info autocomplete to latest KiCad version
- Improved attachment system. Attachments now keep the external URL info if a file was downloaded, so that you can track that later (PR #848, @Treeed)
- Added additional sorting and filter possibilities in attachments table
- Use newer farnell/element14 API version. This allows to retrieve the correct URL to products in farnell shop and gives us additional part description that will be put into the notes field in Part-DB
Bug fixes
- Fixed attachment statistics for sqlite (PR #847 @Treeed)
- Fixed problem with duplicate fields in jsonapi API schema description (issue #862)
- Fixed problem with wrong/missing API docs in some cases (issue #851)
Miscellaneous
- Updated dependencies
- Fixed some deprecation warnings
- Improved documentation
New Contributors
- @felbinger made their first contribution in #852
Full Changelog: v1.15.2...v1.16.0