• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inventree / InvenTree / 6777376887

06 Nov 2023 10:36PM UTC coverage: 88.86% (-0.009%) from 88.869%
6777376887

push

github

web-flow
Expose API version descriptors for admins via API (#5865)

* Added endpoint to expose API version descriptors for admins

* Refactored tests and moved them to seperate file

* Switched to raw string

* add coverage exclusion

* ignore imports (possible fix to multiline imports)

* Add OpenApi Schema

* removed changes regarding coverage

* moved new functions to `version`
to keep api_version a pure static file

* clean up diff

44 of 47 new or added lines in 5 files covered. (93.62%)

12 existing lines in 1 file now uncovered.

28659 of 32252 relevant lines covered (88.86%)

0.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.27
/InvenTree/InvenTree/api_version.py
1
"""InvenTree API version information."""
2

3

4
# InvenTree API version
5
INVENTREE_API_VERSION = 148
6
"""Increment this API version number whenever there is a significant change to the API that any clients need to know about."""
7

8
INVENTREE_API_TEXT = """
1✔
9
v148 -> 2023-11-06 : https://github.com/inventree/InvenTree/pull/5872
×
10
    - Allow "quantity" to be specified when installing an item into another item
×
11

12
v147 -> 2023-11-04: https://github.com/inventree/InvenTree/pull/5860
×
13
    - Adds "completed_lines" field to SalesOrder API endpoint
×
14
    - Adds "completed_lines" field to PurchaseOrder API endpoint
×
15

16
v146 -> 2023-11-02: https://github.com/inventree/InvenTree/pull/5822
×
17
    - Extended SSO Provider endpoint to contain if a provider is configured
×
18
    - Adds API endpoints for Email Address model
×
19

20
v145 -> 2023-10-30: https://github.com/inventree/InvenTree/pull/5786
×
21
    - Allow printing labels via POST including printing options in the body
×
22

23
v144 -> 2023-10-23: https://github.com/inventree/InvenTree/pull/5811
×
24
    - Adds version information API endpoint
×
25

26
v143 -> 2023-10-29: https://github.com/inventree/InvenTree/pull/5810
×
27
    - Extends the status endpoint to include information about system status and health
×
28

29
v142 -> 2023-10-20: https://github.com/inventree/InvenTree/pull/5759
×
30
    - Adds generic API endpoints for looking up status models
×
31

32
v141 -> 2023-10-23 : https://github.com/inventree/InvenTree/pull/5774
×
33
    - Changed 'part.responsible' from User to Owner
×
34

35
v140 -> 2023-10-20 : https://github.com/inventree/InvenTree/pull/5664
×
36
    - Expand API token functionality
×
37
    - Multiple API tokens can be generated per user
×
38

39
v139 -> 2023-10-11 : https://github.com/inventree/InvenTree/pull/5509
×
40
    - Add new BarcodePOReceive endpoint to receive line items by scanning supplier barcodes
×
41

42
v138 -> 2023-10-11 : https://github.com/inventree/InvenTree/pull/5679
×
43
    - Settings keys are no longer case sensitive
×
44
    - Include settings units in API serializer
×
45

46
v137 -> 2023-10-04 : https://github.com/inventree/InvenTree/pull/5588
×
47
    - Adds StockLocationType API endpoints
×
48
    - Adds custom_icon, location_type to StockLocation endpoint
×
49

50
v136 -> 2023-09-23 : https://github.com/inventree/InvenTree/pull/5595
×
51
    - Adds structural to StockLocation and PartCategory tree endpoints
×
52

53
v135 -> 2023-09-19 : https://github.com/inventree/InvenTree/pull/5569
×
54
    - Adds location path detail to StockLocation and StockItem API endpoints
×
55
    - Adds category path detail to PartCategory and Part API endpoints
×
56

57
v134 -> 2023-09-11 : https://github.com/inventree/InvenTree/pull/5525
×
58
    - Allow "Attachment" list endpoints to be searched by attachment, link and comment fields
×
59

60
v133 -> 2023-09-08 : https://github.com/inventree/InvenTree/pull/5518
×
61
    - Add extra optional fields which can be used for StockAdjustment endpoints
×
62

63
v132 -> 2023-09-07 : https://github.com/inventree/InvenTree/pull/5515
×
64
    - Add 'issued_by' filter to BuildOrder API list endpoint
×
65

66
v131 -> 2023-08-09 : https://github.com/inventree/InvenTree/pull/5415
×
67
    - Annotate 'available_variant_stock' to the SalesOrderLine serializer
×
68

69
v130 -> 2023-07-14 : https://github.com/inventree/InvenTree/pull/5251
×
70
    - Refactor label printing interface
×
71

72
v129 -> 2023-07-06 : https://github.com/inventree/InvenTree/pull/5189
×
73
    - Changes 'serial_lte' and 'serial_gte' stock filters to point to 'serial_int' field
×
74

75
v128 -> 2023-07-06 : https://github.com/inventree/InvenTree/pull/5186
×
76
    - Adds 'available' filter for BuildLine API endpoint
×
77

78
v127 -> 2023-06-24 : https://github.com/inventree/InvenTree/pull/5094
×
79
    - Enhancements for the PartParameter API endpoints
×
80

81
v126 -> 2023-06-19 : https://github.com/inventree/InvenTree/pull/5075
×
82
    - Adds API endpoint for setting the "category" for multiple parts simultaneously
×
83

84
v125 -> 2023-06-17 : https://github.com/inventree/InvenTree/pull/5064
×
85
    - Adds API endpoint for setting the "status" field for multiple stock items simultaneously
×
86

87
v124 -> 2023-06-17 : https://github.com/inventree/InvenTree/pull/5057
×
88
    - Add "created_before" and "created_after" filters to the Part API
×
89

90
v123 -> 2023-06-15 : https://github.com/inventree/InvenTree/pull/5019
×
91
    - Add Metadata to: Plugin Config
×
92

93
v122 -> 2023-06-14 : https://github.com/inventree/InvenTree/pull/5034
×
94
    - Adds new BuildLineLabel label type
×
95

96
v121 -> 2023-06-14 : https://github.com/inventree/InvenTree/pull/4808
×
97
    - Adds "ProjectCode" link to Build model
×
98

99
v120 -> 2023-06-07 : https://github.com/inventree/InvenTree/pull/4855
×
100
    - Major overhaul of the build order API
×
101
    - Adds new BuildLine model
×
102

103
v119 -> 2023-06-01 : https://github.com/inventree/InvenTree/pull/4898
×
104
    - Add Metadata to:  Part test templates, Part parameters, Part category parameter templates, BOM item substitute, Related Parts, Stock item test result
×
105

106
v118 -> 2023-06-01 : https://github.com/inventree/InvenTree/pull/4935
×
107
    - Adds extra fields for the PartParameterTemplate model
×
108

109
v117 -> 2023-05-22 : https://github.com/inventree/InvenTree/pull/4854
×
110
    - Part.units model now supports physical units (e.g. "kg", "m", "mm", etc)
×
111
    - Replaces SupplierPart "pack_size" field with "pack_quantity"
×
112
    - New field supports physical units, and allows for conversion between compatible units
×
113

114
v116 -> 2023-05-18 : https://github.com/inventree/InvenTree/pull/4823
×
115
    - Updates to part parameter implementation, to use physical units
×
116

NEW
117
v115 -> 2023-05-18 : https://github.com/inventree/InvenTree/pull/4846
×
118
    - Adds ability to partially scrap a build output
×
119

120
v114 -> 2023-05-16 : https://github.com/inventree/InvenTree/pull/4825
×
121
    - Adds "delivery_date" to shipments
×
122

123
v113 -> 2023-05-13 : https://github.com/inventree/InvenTree/pull/4800
×
124
    - Adds API endpoints for scrapping a build output
×
125

126
v112 -> 2023-05-13: https://github.com/inventree/InvenTree/pull/4741
×
127
    - Adds flag use_pack_size to the stock addition API, which allows adding packs
×
128

129
v111 -> 2023-05-02 : https://github.com/inventree/InvenTree/pull/4367
×
130
    - Adds tags to the Part serializer
×
131
    - Adds tags to the SupplierPart serializer
×
132
    - Adds tags to the ManufacturerPart serializer
×
133
    - Adds tags to the StockItem serializer
×
134
    - Adds tags to the StockLocation serializer
×
135

136
v110 -> 2023-04-26 : https://github.com/inventree/InvenTree/pull/4698
×
137
    - Adds 'order_currency' field for PurchaseOrder / SalesOrder endpoints
×
138

139
v109 -> 2023-04-19 : https://github.com/inventree/InvenTree/pull/4636
×
140
    - Adds API endpoints for the "ProjectCode" model
×
141

142
v108 -> 2023-04-17 : https://github.com/inventree/InvenTree/pull/4615
×
143
    - Adds functionality to upload images for rendering in markdown notes
×
144

145
v107 -> 2023-04-04 : https://github.com/inventree/InvenTree/pull/4575
×
146
    - Adds barcode support for PurchaseOrder model
×
147
    - Adds barcode support for ReturnOrder model
×
148
    - Adds barcode support for SalesOrder model
×
149
    - Adds barcode support for BuildOrder model
×
150

151
v106 -> 2023-04-03 : https://github.com/inventree/InvenTree/pull/4566
×
152
    - Adds 'search_regex' parameter to all searchable API endpoints
×
153

154
v105 -> 2023-03-31 : https://github.com/inventree/InvenTree/pull/4543
×
155
    - Adds API endpoints for status label information on various models
×
156

157
v104 -> 2023-03-23 : https://github.com/inventree/InvenTree/pull/4488
×
158
    - Adds various endpoints for new "ReturnOrder" models
×
159
    - Adds various endpoints for new "ReturnOrderReport" templates
×
160
    - Exposes API endpoints for "Contact" model
×
161

162
v103 -> 2023-03-17 : https://github.com/inventree/InvenTree/pull/4410
×
163
    - Add metadata to several more models
×
164

165
v102 -> 2023-03-18 : https://github.com/inventree/InvenTree/pull/4505
×
166
- Adds global search API endpoint for consolidated search results
×
167

168
v101 -> 2023-03-07 : https://github.com/inventree/InvenTree/pull/4462
×
169
    - Adds 'total_in_stock' to Part serializer, and supports API ordering
×
170

171
v100 -> 2023-03-04 : https://github.com/inventree/InvenTree/pull/4452
×
172
     - Adds bulk delete of PurchaseOrderLineItems to API
×
173

174
v99 -> 2023-03-03 : https://github.com/inventree/InvenTree/pull/4445
×
175
    - Adds sort by "responsible" to PurchaseOrderAPI
×
176

177
v98 -> 2023-02-24 : https://github.com/inventree/InvenTree/pull/4408
×
178
    - Adds "responsible" filter to Build API
×
179

180
v97 -> 2023-02-20 : https://github.com/inventree/InvenTree/pull/4377
×
181
    - Adds "external" attribute to StockLocation model
×
182

183
v96 -> 2023-02-16 : https://github.com/inventree/InvenTree/pull/4345
×
184
    - Adds stocktake report generation functionality
×
185

186
v95 -> 2023-02-16 : https://github.com/inventree/InvenTree/pull/4346
×
187
    - Adds "CompanyAttachment" model (and associated API endpoints)
×
188

189
v94 -> 2023-02-10 : https://github.com/inventree/InvenTree/pull/4327
×
190
    - Adds API endpoints for the "Group" auth model
×
191

192
v93 -> 2023-02-03 : https://github.com/inventree/InvenTree/pull/4300
×
193
    - Adds extra information to the currency exchange endpoint
×
194
    - Adds API endpoint for manually updating exchange rates
×
195

196
v92 -> 2023-02-02 : https://github.com/inventree/InvenTree/pull/4293
×
197
    - Adds API endpoint for currency exchange information
×
198

199
v91 -> 2023-01-31 : https://github.com/inventree/InvenTree/pull/4281
×
200
    - Improves the API endpoint for creating new Part instances
×
201

202
v90 -> 2023-01-25 : https://github.com/inventree/InvenTree/pull/4186/files
×
203
    - Adds a dedicated endpoint to activate a plugin
×
204

205
v89 -> 2023-01-25 : https://github.com/inventree/InvenTree/pull/4214
×
206
    - Adds updated field to SupplierPart API
×
207
    - Adds API date ordering for supplier part list
×
208

209
v88 -> 2023-01-17: https://github.com/inventree/InvenTree/pull/4225
×
210
    - Adds 'priority' field to Build model and api endpoints
×
211

212
v87 -> 2023-01-04 : https://github.com/inventree/InvenTree/pull/4067
×
213
    - Add API date filter for stock table on Expiry date
×
214

215
v86 -> 2022-12-22 : https://github.com/inventree/InvenTree/pull/4069
×
216
    - Adds API endpoints for part stocktake
×
217

218
v85 -> 2022-12-21 : https://github.com/inventree/InvenTree/pull/3858
×
219
    - Add endpoints serving ICS calendars for purchase and sales orders through API
×
220

221
v84 -> 2022-12-21: https://github.com/inventree/InvenTree/pull/4083
×
222
    - Add support for listing PO, BO, SO by their reference
×
223

224
v83 -> 2022-11-19 : https://github.com/inventree/InvenTree/pull/3949
×
225
    - Add support for structural Stock locations
×
226

227
v82 -> 2022-11-16 : https://github.com/inventree/InvenTree/pull/3931
×
228
    - Add support for structural Part categories
×
229

230
v81 -> 2022-11-08 : https://github.com/inventree/InvenTree/pull/3710
×
231
    - Adds cached pricing information to Part API
×
232
    - Adds cached pricing information to BomItem API
×
233
    - Allows Part and BomItem list endpoints to be filtered by 'has_pricing'
×
234
    - Remove calculated 'price_string' values from API endpoints
×
235
    - Allows PurchaseOrderLineItem API endpoint to be filtered by 'has_pricing'
×
236
    - Allows SalesOrderLineItem API endpoint to be filtered by 'has_pricing'
×
237
    - Allows SalesOrderLineItem API endpoint to be filtered by 'order_status'
×
238
    - Adds more information to SupplierPriceBreak serializer
×
239

240
v80 -> 2022-11-07 : https://github.com/inventree/InvenTree/pull/3906
×
241
    - Adds 'barcode_hash' to Part API serializer
×
242
    - Adds 'barcode_hash' to StockLocation API serializer
×
243
    - Adds 'barcode_hash' to SupplierPart API serializer
×
244

245
v79 -> 2022-11-03 : https://github.com/inventree/InvenTree/pull/3895
×
246
    - Add metadata to Company
×
247

248
v78 -> 2022-10-25 : https://github.com/inventree/InvenTree/pull/3854
×
249
    - Make PartCategory to be filtered by name and description
×
250

251
v77 -> 2022-10-12 : https://github.com/inventree/InvenTree/pull/3772
×
252
    - Adds model permission checks for barcode assignment actions
×
253

254
v76 -> 2022-09-10 : https://github.com/inventree/InvenTree/pull/3640
×
255
    - Refactor of barcode data on the API
×
256
    - StockItem.uid renamed to StockItem.barcode_hash
×
257

258
v75 -> 2022-09-05 : https://github.com/inventree/InvenTree/pull/3644
×
259
    - Adds "pack_size" attribute to SupplierPart API serializer
×
260

261
v74 -> 2022-08-28 : https://github.com/inventree/InvenTree/pull/3615
×
262
    - Add confirmation field for completing PurchaseOrder if the order has incomplete lines
×
263
    - Add confirmation field for completing SalesOrder if the order has incomplete lines
×
264

265
v73 -> 2022-08-24 : https://github.com/inventree/InvenTree/pull/3605
×
266
    - Add 'description' field to PartParameterTemplate model
×
267

268
v72 -> 2022-08-18 : https://github.com/inventree/InvenTree/pull/3567
×
269
    - Allow PurchaseOrder to be duplicated via the API
×
270

271
v71 -> 2022-08-18 : https://github.com/inventree/InvenTree/pull/3564
×
272
    - Updates to the "part scheduling" API endpoint
×
273

274
v70 -> 2022-08-02 : https://github.com/inventree/InvenTree/pull/3451
×
275
    - Adds a 'depth' parameter to the PartCategory list API
×
276
    - Adds a 'depth' parameter to the StockLocation list API
×
277

278
v69 -> 2022-08-01 : https://github.com/inventree/InvenTree/pull/3443
×
279
    - Updates the PartCategory list API:
×
280
        - Improve query efficiency: O(n) becomes O(1)
×
281
        - Rename 'parts' field to 'part_count'
×
282
    - Updates the StockLocation list API:
×
283
        - Improve query efficiency: O(n) becomes O(1)
×
284

285
v68 -> 2022-07-27 : https://github.com/inventree/InvenTree/pull/3417
×
286
    - Allows SupplierPart list to be filtered by SKU value
×
287
    - Allows SupplierPart list to be filtered by MPN value
×
288

289
v67 -> 2022-07-25 : https://github.com/inventree/InvenTree/pull/3395
×
290
    - Adds a 'requirements' endpoint for Part instance
×
291
    - Provides information on outstanding order requirements for a given part
×
292

293
v66 -> 2022-07-24 : https://github.com/inventree/InvenTree/pull/3393
×
294
    - Part images can now be downloaded from a remote URL via the API
×
295
    - Company images can now be downloaded from a remote URL via the API
×
296

297
v65 -> 2022-07-15 : https://github.com/inventree/InvenTree/pull/3335
×
298
    - Annotates 'in_stock' quantity to the SupplierPart API
×
299

300
v64 -> 2022-07-08 : https://github.com/inventree/InvenTree/pull/3310
×
301
    - Annotate 'on_order' quantity to BOM list API
×
302
    - Allow BOM List API endpoint to be filtered by "on_order" parameter
×
303

304
v63 -> 2022-07-06 : https://github.com/inventree/InvenTree/pull/3301
×
305
    - Allow BOM List API endpoint to be filtered by "available_stock" parameter
×
306

307
v62 -> 2022-07-05 : https://github.com/inventree/InvenTree/pull/3296
×
308
    - Allows search on BOM List API endpoint
×
309
    - Allows ordering on BOM List API endpoint
×
310

311
v61 -> 2022-06-12 : https://github.com/inventree/InvenTree/pull/3183
×
312
    - Migrate the "Convert Stock Item" form class to use the API
×
313
    - There is now an API endpoint for converting a stock item to a valid variant
×
314

315
v60 -> 2022-06-08 : https://github.com/inventree/InvenTree/pull/3148
×
316
    - Add availability data fields to the SupplierPart model
×
317

318
v59 -> 2022-06-07 : https://github.com/inventree/InvenTree/pull/3154
×
319
    - Adds further improvements to BulkDelete mixin class
×
320
    - Fixes multiple bugs in custom OPTIONS metadata implementation
×
321
    - Adds 'bulk delete' for Notifications
×
322

323
v58 -> 2022-06-06 : https://github.com/inventree/InvenTree/pull/3146
×
324
    - Adds a BulkDelete API mixin class for fast, safe deletion of multiple objects with a single API request
×
325

326
v57 -> 2022-06-05 : https://github.com/inventree/InvenTree/pull/3130
×
327
    - Transfer PartCategoryTemplateParameter actions to the API
×
328

329
v56 -> 2022-06-02 : https://github.com/inventree/InvenTree/pull/3123
×
330
    - Expose the PartParameterTemplate model to use the API
×
331

332
v55 -> 2022-06-02 : https://github.com/inventree/InvenTree/pull/3120
×
333
    - Converts the 'StockItemReturn' functionality to make use of the API
×
334

335
v54 -> 2022-06-02 : https://github.com/inventree/InvenTree/pull/3117
×
336
    - Adds 'available_stock' annotation on the SalesOrderLineItem API
×
337
    - Adds (well, fixes) 'overdue' annotation on the SalesOrderLineItem API
×
338

339
v53 -> 2022-06-01 : https://github.com/inventree/InvenTree/pull/3110
×
340
    - Adds extra search fields to the BuildOrder list API endpoint
×
341

342
v52 -> 2022-05-31 : https://github.com/inventree/InvenTree/pull/3103
×
343
    - Allow part list API to be searched by supplier SKU
×
344

345
v51 -> 2022-05-24 : https://github.com/inventree/InvenTree/pull/3058
×
346
    - Adds new fields to the SalesOrderShipment model
×
347

348
v50 -> 2022-05-18 : https://github.com/inventree/InvenTree/pull/2912
×
349
    - Implement Attachments for manufacturer parts
×
350

351
v49 -> 2022-05-09 : https://github.com/inventree/InvenTree/pull/2957
×
352
    - Allows filtering of plugin list by 'active' status
×
353
    - Allows filtering of plugin list by 'mixin' support
×
354
    - Adds endpoint to "identify" or "locate" stock items and locations (using plugins)
×
355

356
v48 -> 2022-05-12 : https://github.com/inventree/InvenTree/pull/2977
×
357
    - Adds "export to file" functionality for PurchaseOrder API endpoint
×
358
    - Adds "export to file" functionality for SalesOrder API endpoint
×
359
    - Adds "export to file" functionality for BuildOrder API endpoint
×
360

361
v47 -> 2022-05-10 : https://github.com/inventree/InvenTree/pull/2964
×
362
    - Fixes barcode API error response when scanning a StockItem which does not exist
×
363
    - Fixes barcode API error response when scanning a StockLocation which does not exist
×
364

365
v46 -> 2022-05-09
×
366
    - Fixes read permissions on settings API
×
367
    - Allows non-staff users to read global settings via the API
×
368

369
v45 -> 2022-05-08 : https://github.com/inventree/InvenTree/pull/2944
×
370
    - Settings are now accessed via the API using their unique key, not their PK
×
371
    - This allows the settings to be accessed without prior knowledge of the PK
×
372

373
v44 -> 2022-05-04 : https://github.com/inventree/InvenTree/pull/2931
×
374
    - Converting more server-side rendered forms to the API
×
375
    - Exposes more core functionality to API endpoints
×
376

377
v43 -> 2022-04-26 : https://github.com/inventree/InvenTree/pull/2875
×
378
    - Adds API detail endpoint for PartSalePrice model
×
379
    - Adds API detail endpoint for PartInternalPrice model
×
380

381
v42 -> 2022-04-26 : https://github.com/inventree/InvenTree/pull/2833
×
382
    - Adds variant stock information to the Part and BomItem serializers
×
383

384
v41 -> 2022-04-26
×
385
    - Fixes 'variant_of' filter for Part list endpoint
×
386

387
v40 -> 2022-04-19
×
388
    - Adds ability to filter StockItem list by "tracked" parameter
×
389
        - This checks the serial number or batch code fields
×
390

391
v39 -> 2022-04-18
×
392
    - Adds ability to filter StockItem list by "has_batch" parameter
×
393

394
v38 -> 2022-04-14 : https://github.com/inventree/InvenTree/pull/2828
×
395
    - Adds the ability to include stock test results for "installed items"
×
396

397
v37 -> 2022-04-07 : https://github.com/inventree/InvenTree/pull/2806
×
398
    - Adds extra stock availability information to the BomItem serializer
×
399

400
v36 -> 2022-04-03
×
401
    - Adds ability to filter part list endpoint by unallocated_stock argument
×
402

403
v35 -> 2022-04-01 : https://github.com/inventree/InvenTree/pull/2797
×
404
    - Adds stock allocation information to the Part API
×
405
    - Adds calculated field for "unallocated_quantity"
×
406

407
v34 -> 2022-03-25
×
408
    - Change permissions for "plugin list" API endpoint (now allows any authenticated user)
×
409

410
v33 -> 2022-03-24
×
411
    - Adds "plugins_enabled" information to root API endpoint
×
412

413
v32 -> 2022-03-19
×
414
    - Adds "parameters" detail to Part API endpoint (use &parameters=true)
×
415
    - Adds ability to filter PartParameterTemplate API by Part instance
×
416
    - Adds ability to filter PartParameterTemplate API by PartCategory instance
×
417

418
v31 -> 2022-03-14
×
419
    - Adds "updated" field to SupplierPriceBreakList and SupplierPriceBreakDetail API endpoints
×
420

421
v30 -> 2022-03-09
×
422
    - Adds "exclude_location" field to BuildAutoAllocation API endpoint
×
423
    - Allows BuildItem API endpoint to be filtered by BomItem relation
×
424

425
v29 -> 2022-03-08
×
426
    - Adds "scheduling" endpoint for predicted stock scheduling information
×
427

428
v28 -> 2022-03-04
×
429
    - Adds an API endpoint for auto allocation of stock items against a build order
×
430
    - Ref: https://github.com/inventree/InvenTree/pull/2713
×
431

432
v27 -> 2022-02-28
×
433
    - Adds target_date field to individual line items for purchase orders and sales orders
×
434

435
v26 -> 2022-02-17
×
436
    - Adds API endpoint for uploading a BOM file and extracting data
×
437

438
v25 -> 2022-02-17
×
439
    - Adds ability to filter "part" list endpoint by "in_bom_for" argument
×
440

441
v24 -> 2022-02-10
×
442
    - Adds API endpoint for deleting (cancelling) build order outputs
×
443

444
v23 -> 2022-02-02
×
445
    - Adds API endpoints for managing plugin classes
×
446
    - Adds API endpoints for managing plugin settings
×
447

448
v22 -> 2021-12-20
×
449
    - Adds API endpoint to "merge" multiple stock items
×
450

451
v21 -> 2021-12-04
×
452
    - Adds support for multiple "Shipments" against a SalesOrder
×
453
    - Refactors process for stock allocation against a SalesOrder
×
454

455
v20 -> 2021-12-03
×
456
    - Adds ability to filter POLineItem endpoint by "base_part"
×
457
    - Adds optional "order_detail" to POLineItem list endpoint
×
458

459
v19 -> 2021-12-02
×
460
    - Adds the ability to filter the StockItem API by "part_tree"
×
461
    - Returns only stock items which match a particular part.tree_id field
×
462

463
v18 -> 2021-11-15
×
464
    - Adds the ability to filter BomItem API by "uses" field
×
465
    - This returns a list of all BomItems which "use" the specified part
×
466
    - Includes inherited BomItem objects
×
467

468
v17 -> 2021-11-09
×
469
    - Adds API endpoints for GLOBAL and USER settings objects
×
470
    - Ref: https://github.com/inventree/InvenTree/pull/2275
×
471

472
v16 -> 2021-10-17
×
473
    - Adds API endpoint for completing build order outputs
×
474

475
v15 -> 2021-10-06
×
476
    - Adds detail endpoint for SalesOrderAllocation model
×
477
    - Allows use of the API forms interface for adjusting SalesOrderAllocation objects
×
478

479
v14 -> 2021-10-05
×
480
    - Stock adjustment actions API is improved, using native DRF serializer support
×
481
    - However adjustment actions now only support 'pk' as a lookup field
×
482

483
v13 -> 2021-10-05
×
484
    - Adds API endpoint to allocate stock items against a BuildOrder
×
485
    - Updates StockItem API with improved filtering against BomItem data
×
486

487
v12 -> 2021-09-07
×
488
    - Adds API endpoint to receive stock items against a PurchaseOrder
×
489

490
v11 -> 2021-08-26
×
491
    - Adds "units" field to PartBriefSerializer
×
492
    - This allows units to be introspected from the "part_detail" field in the StockItem serializer
×
493

494
v10 -> 2021-08-23
×
495
    - Adds "purchase_price_currency" to StockItem serializer
×
496
    - Adds "purchase_price_string" to StockItem serializer
×
497
    - Purchase price is now writable for StockItem serializer
×
498

499
v9  -> 2021-08-09
×
500
    - Adds "price_string" to part pricing serializers
×
501

502
v8  -> 2021-07-19
×
503
    - Refactors the API interface for SupplierPart and ManufacturerPart models
×
504
    - ManufacturerPart objects can no longer be created via the SupplierPart API endpoint
×
505

506
v7  -> 2021-07-03
×
507
    - Introduced the concept of "API forms" in https://github.com/inventree/InvenTree/pull/1716
×
508
    - API OPTIONS endpoints provide comprehensive field metedata
×
509
    - Multiple new API endpoints added for database models
×
510

511
v6  -> 2021-06-23
×
512
    - Part and Company images can now be directly uploaded via the REST API
×
513

514
v5  -> 2021-06-21
×
515
    - Adds API interface for manufacturer part parameters
×
516

517
v4  -> 2021-06-01
×
518
    - BOM items can now accept "variant stock" to be assigned against them
×
519
    - Many slight API tweaks were needed to get this to work properly!
×
520

521
v3  -> 2021-05-22:
×
522
    - The updated StockItem "history tracking" now uses a different interface
×
523

524
"""
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc