From 02b382b779a043e2e4a98f2aed3cabe113f6fd5e Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 14 Jul 2026 05:14:33 +0000 Subject: [PATCH] Bump API version and CHANGELOG --- CHANGELOG.md | 1 + src/backend/InvenTree/InvenTree/api_version.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 087ec2f188..deeafd890c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- [#12393](https://github.com/inventree/InvenTree/pull/12393) adds "discount" attribute to order line items, allowing users to specify a discount for each line item on an order. The discount can be specified as either a percentage or a fixed amount, and is applied to the line item total when calculating the order total. - [#12310](https://github.com/inventree/InvenTree/pull/12310) adds the ability to disassemble (or break apart) assembled stock items into their component parts, based on the Bill of Materials (BOM) associated with the stock item. This allows users to easily break down assembled items into their constituent parts, which can be useful for inventory management and tracking purposes. - [#12117](https://github.com/inventree/InvenTree/pull/12117) adds a "preview" drawer to the InvenTree table component, allowing users to preview the details of a selected row without navigating away from the table view. This feature is optional and can be enabled or disabled via the `PREVIEW_DRAWER_ENABLED` system setting. - [#12341](https://github.com/inventree/InvenTree/pull/12341) adds support for importing internal part prices. diff --git a/src/backend/InvenTree/InvenTree/api_version.py b/src/backend/InvenTree/InvenTree/api_version.py index 19d4c3b9a1..012bdadb64 100644 --- a/src/backend/InvenTree/InvenTree/api_version.py +++ b/src/backend/InvenTree/InvenTree/api_version.py @@ -1,11 +1,14 @@ """InvenTree API version information.""" # InvenTree API version -INVENTREE_API_VERSION = 521 +INVENTREE_API_VERSION = 522 """Increment this API version number whenever there is a significant change to the API that any clients need to know about.""" INVENTREE_API_TEXT = """ +v522 -> 2026-07-14 : https://github.com/inventree/InvenTree/pull/12393 + - Adds "discount" field to order line items (and extra line items) + v521 -> 2026-07-12 : https://github.com/inventree/InvenTree/pull/12360 - Removes the MPTT mixin from the StockItem model, and removes the self-referential tree structure from the database.