2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-02-25 08:08:16 +00:00
Files
InvenTree/CHANGELOG.md
Matthias Mair ac9a1f2251 feat(backend): ensure restore of backups only works in correct enviroments (#11372)
* [FR] ensure restore of backups only works in correct enviroments
Fixes #11214

* update PR nbr

* fix wrong ty detection

* fix link

* ensure tracing does not enagage while running backup ops

* fix import

* remove debugging string

* add error codes

* add tests for backup and restore

* complete test for restore

* we do not need e2e on every matrix entry
there is no realy db dep here

* fix changelog format

* add flag to allow bypass
2026-02-25 10:23:00 +11:00

7.5 KiB

Changelog

All major notable changes to this project will be documented in this file (starting with 1.0.0).

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased - YYYY-MM-DD

Breaking Changes

  • #11303 removes the default_supplier field from the Part model. Instead, the SupplierPart model now has a primary field which is used to indicate which supplier is the default for a given part. Any external client applications which made use of the old default_supplier field will need to be updated.

Added

  • #11405 adds default table filters, which hide inactive items by default. The default table filters are overridden by user filter selection, and only apply to the table view initially presented to the user. This means that users can still view inactive items if they choose to, but they will not be shown by default.
  • #11222 adds support for data import using natural keys, allowing for easier association of related objects without needing to know their internal database IDs.
  • #11383 adds "exists_for_model_id", "exists_for_related_model", and "exists_for_related_model_id" filters to the ParameterTemplate API endpoint. These filters allow users to check for the existence of parameters associated with specific models or related models, improving the flexibility and usability of the API.
  • #10887 adds the ability to auto-allocate tracked items against specific build outputs. Currently, this will only allocate items where the serial number of the tracked item matches the serial number of the build output, but in future this may be extended to allow for more flexible allocation rules.
  • #11372 adds backup metadata setter and restore metadata validator functions to ensure common footguns are harder to trigger when using the backup and restore functionality.

Changed

Removed

1.2.0 - 2026-02-12

Breaking Changes

  • #10699 removes the PartParameter and PartParameterTemplate models (and associated API endpoints). These have been replaced with generic Parameter and ParameterTemplate models (and API endpoints). Any external client applications which made use of the old endpoints will need to be updated.
  • #11035 moves to a single endpoint for all metadata operations. The previous endpoints for PartMetadata, SupplierPartMetadata, etc have been removed. Any external client applications which made use of the old endpoints will need to be updated.

Added

  • Adds "Category" columns to BOM and Build Item tables and APIs in #10722
  • Adds generic "Parameter" and "ParameterTemplate" models (and associated API endpoints) in #10699
  • Adds parameter support for multiple new model types in #10699
  • Allows report generator to produce PDF input controls in #10969
  • UI overhaul of parameter management in #10699
  • Allow input controls within generated PDF reports in #10969

Changed

  • Improved stocktake functionality in #11257

Removed

  • Removed python 3.9 / 3.10 support as part of Django 5.2 upgrade in #10730
  • Removed the "PartParameter" and "PartParameterTemplate" models (and associated API endpoints) in #10699
  • Removed the "ManufacturerPartParameter" model (and associated API endpoints) #10699
  • Removed individual metadata endpoints for all models (#11035)

1.1.0 - 2025-11-02

Added

  • Added order_queryset report helper function in #10439
  • Added SupplierMixin to import data from suppliers in #9761
  • Added much more detailed status information for machines to the API endpoint (including backend and frontend changes) in #10381
  • Added ability to partially complete and partially scrap build outputs in #10499
  • Added support for Redis ACL user-based authentication in #10551
  • Expose stock adjustment forms to the UI plugin context in #10584
  • Allow stock adjustments for "in production" items in #10600
  • Adds optional shipping address against individual sales order shipments in #10650
  • Adds UI elements to "check" and "uncheck" sales order shipments in #10654
  • Allow assigning project codes to order line items in #10657
  • Added support for webauthn login for the frontend in #9729
  • Added support for Debian 12, Ubuntu 22.04 and Ubuntu 24.04 in the installer and package in #10705
  • Support for S3 and SFTP storage backends for media and static files (#10140)
  • Adds hooks for custom UI spotlight actions in #10720
  • Support uploading attachments against SupplierPart in #10724

Changed

  • Changed site URL check to allow protocol mismatches if INVENTREE_SITE_LAX_PROTOCOL is set to True (default) in #10454
  • Changed call signature of get_global_setting to use environment_key instead of enviroment_key in #10557

1.0.0 - 2025-09-15

The first "stable" release following semver but not extensively other than the previous releases. The use of 1.0 indicates the stability that users already expect from InvenTree.

An overarching theme of this release is the complete switch to a new UI framework and paradigm (PUI). The old templating based UI (CUI) is now removed. This makes major improvements in the security and portability of InvenTree possible.

Our blog holds a few articles on the topic. This journey started in March 2022 and was announced in 2023.

Specific entries to the changelog will be kept for all stable channel minor releases, for changes in 1.0 please refer to the blog posts and the milestone