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

inventree / InvenTree / 4853003846

01 May 2023 05:25PM UTC coverage: 89.704%. First build
4853003846

push

github

GitHub
Update README.md with digitalocean info

25727 of 28680 relevant lines covered (89.7%)

0.9 hits per line

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

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

3

4
# InvenTree API version
5
INVENTREE_API_VERSION = 110
6

7
"""
8
Increment this API version number whenever there is a significant change to the API that any clients need to know about
×
9

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

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

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

19
v107 -> 2023-04-04 : https://github.com/inventree/InvenTree/pull/4575
×
20
    - Adds barcode support for PurchaseOrder model
×
21
    - Adds barcode support for ReturnOrder model
×
22
    - Adds barcode support for SalesOrder model
×
23
    - Adds barcode support for BuildOrder model
×
24

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

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

31
v104 -> 2023-03-23 : https://github.com/inventree/InvenTree/pull/4488
×
32
    - Adds various endpoints for new "ReturnOrder" models
×
33
    - Adds various endpoints for new "ReturnOrderReport" templates
×
34
    - Exposes API endpoints for "Contact" model
×
35

36
v103 -> 2023-03-17 : https://github.com/inventree/InvenTree/pull/4410
×
37
    - Add metadata to several more models
×
38

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

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

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

48
v99 -> 2023-03-03 : https://github.com/inventree/InvenTree/pull/4445
×
49
    - Adds sort by "responsible" to PurchaseOrderAPI
×
50

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

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

57
v96 -> 2023-02-16 : https://github.com/inventree/InvenTree/pull/4345
×
58
    - Adds stocktake report generation functionality
×
59

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

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

66
v93 -> 2023-02-03 : https://github.com/inventree/InvenTree/pull/4300
×
67
    - Adds extra information to the currency exchange endpoint
×
68
    - Adds API endpoint for manually updating exchange rates
×
69

70
v92 -> 2023-02-02 : https://github.com/inventree/InvenTree/pull/4293
×
71
    - Adds API endpoint for currency exchange information
×
72

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

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

79
v89 -> 2023-01-25 : https://github.com/inventree/InvenTree/pull/4214
×
80
    - Adds updated field to SupplierPart API
×
81
    - Adds API date orddering for supplier part list
×
82

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

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

89
v86 -> 2022-12-22 : https://github.com/inventree/InvenTree/pull/4069
×
90
    - Adds API endpoints for part stocktake
×
91

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

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

98
v83 -> 2022-11-19 : https://github.com/inventree/InvenTree/pull/3949
×
99
    - Add support for structural Stock locations
×
100

101
v82 -> 2022-11-16 : https://github.com/inventree/InvenTree/pull/3931
×
102
    - Add support for structural Part categories
×
103

104
v81 -> 2022-11-08 : https://github.com/inventree/InvenTree/pull/3710
×
105
    - Adds cached pricing information to Part API
×
106
    - Adds cached pricing information to BomItem API
×
107
    - Allows Part and BomItem list endpoints to be filtered by 'has_pricing'
×
108
    - Remove calculated 'price_string' values from API endpoints
×
109
    - Allows PurchaseOrderLineItem API endpoint to be filtered by 'has_pricing'
×
110
    - Allows SalesOrderLineItem API endpoint to be filtered by 'has_pricing'
×
111
    - Allows SalesOrderLineItem API endpoint to be filtered by 'order_status'
×
112
    - Adds more information to SupplierPriceBreak serializer
×
113

114
v80 -> 2022-11-07 : https://github.com/inventree/InvenTree/pull/3906
×
115
    - Adds 'barcode_hash' to Part API serializer
×
116
    - Adds 'barcode_hash' to StockLocation API serializer
×
117
    - Adds 'barcode_hash' to SupplierPart API serializer
×
118

119
v79 -> 2022-11-03 : https://github.com/inventree/InvenTree/pull/3895
×
120
    - Add metadata to Company
×
121

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

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

128
v76 -> 2022-09-10 : https://github.com/inventree/InvenTree/pull/3640
×
129
    - Refactor of barcode data on the API
×
130
    - StockItem.uid renamed to StockItem.barcode_hash
×
131

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

135
v74 -> 2022-08-28 : https://github.com/inventree/InvenTree/pull/3615
×
136
    - Add confirmation field for completing PurchaseOrder if the order has incomplete lines
×
137
    - Add confirmation field for completing SalesOrder if the order has incomplete lines
×
138

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

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

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

148
v70 -> 2022-08-02 : https://github.com/inventree/InvenTree/pull/3451
×
149
    - Adds a 'depth' parameter to the PartCategory list API
×
150
    - Adds a 'depth' parameter to the StockLocation list API
×
151

152
v69 -> 2022-08-01 : https://github.com/inventree/InvenTree/pull/3443
×
153
    - Updates the PartCategory list API:
×
154
        - Improve query efficiency: O(n) becomes O(1)
×
155
        - Rename 'parts' field to 'part_count'
×
156
    - Updates the StockLocation list API:
×
157
        - Improve query efficiency: O(n) becomes O(1)
×
158

159
v68 -> 2022-07-27 : https://github.com/inventree/InvenTree/pull/3417
×
160
    - Allows SupplierPart list to be filtered by SKU value
×
161
    - Allows SupplierPart list to be filtered by MPN value
×
162

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

167
v66 -> 2022-07-24 : https://github.com/inventree/InvenTree/pull/3393
×
168
    - Part images can now be downloaded from a remote URL via the API
×
169
    - Company images can now be downloaded from a remote URL via the API
×
170

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

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

178
v63 -> 2022-07-06 : https://github.com/inventree/InvenTree/pull/3301
×
179
    - Allow BOM List API endpoint to be filtered by "available_stock" paramater
×
180

181
v62 -> 2022-07-05 : https://github.com/inventree/InvenTree/pull/3296
×
182
    - Allows search on BOM List API endpoint
×
183
    - Allows ordering on BOM List API endpoint
×
184

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

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

192
v59 -> 2022-06-07 : https://github.com/inventree/InvenTree/pull/3154
×
193
    - Adds further improvements to BulkDelete mixin class
×
194
    - Fixes multiple bugs in custom OPTIONS metadata implementation
×
195
    - Adds 'bulk delete' for Notifications
×
196

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

200
v57 -> 2022-06-05 : https://github.com/inventree/InvenTree/pull/3130
×
201
    - Transfer PartCategoryTemplateParameter actions to the API
×
202

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

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

209
v54 -> 2022-06-02 : https://github.com/inventree/InvenTree/pull/3117
×
210
    - Adds 'available_stock' annotation on the SalesOrderLineItem API
×
211
    - Adds (well, fixes) 'overdue' annotation on the SalesOrderLineItem API
×
212

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

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

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

222
v50 -> 2022-05-18 : https://github.com/inventree/InvenTree/pull/2912
×
223
    - Implement Attachments for manufacturer parts
×
224

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

230
v48 -> 2022-05-12 : https://github.com/inventree/InvenTree/pull/2977
×
231
    - Adds "export to file" functionality for PurchaseOrder API endpoint
×
232
    - Adds "export to file" functionality for SalesOrder API endpoint
×
233
    - Adds "export to file" functionality for BuildOrder API endpoint
×
234

235
v47 -> 2022-05-10 : https://github.com/inventree/InvenTree/pull/2964
×
236
    - Fixes barcode API error response when scanning a StockItem which does not exist
×
237
    - Fixes barcode API error response when scanning a StockLocation which does not exist
×
238

239
v46 -> 2022-05-09
×
240
    - Fixes read permissions on settings API
×
241
    - Allows non-staff users to read global settings via the API
×
242

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

247
v44 -> 2022-05-04 : https://github.com/inventree/InvenTree/pull/2931
×
248
    - Converting more server-side rendered forms to the API
×
249
    - Exposes more core functionality to API endpoints
×
250

251
v43 -> 2022-04-26 : https://github.com/inventree/InvenTree/pull/2875
×
252
    - Adds API detail endpoint for PartSalePrice model
×
253
    - Adds API detail endpoint for PartInternalPrice model
×
254

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

258
v41 -> 2022-04-26
×
259
    - Fixes 'variant_of' filter for Part list endpoint
×
260

261
v40 -> 2022-04-19
×
262
    - Adds ability to filter StockItem list by "tracked" parameter
×
263
        - This checks the serial number or batch code fields
×
264

265
v39 -> 2022-04-18
×
266
    - Adds ability to filter StockItem list by "has_batch" parameter
×
267

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

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

274
v36 -> 2022-04-03
×
275
    - Adds ability to filter part list endpoint by unallocated_stock argument
×
276

277
v35 -> 2022-04-01 : https://github.com/inventree/InvenTree/pull/2797
×
278
    - Adds stock allocation information to the Part API
×
279
    - Adds calculated field for "unallocated_quantity"
×
280

281
v34 -> 2022-03-25
×
282
    - Change permissions for "plugin list" API endpoint (now allows any authenticated user)
×
283

284
v33 -> 2022-03-24
×
285
    - Adds "plugins_enabled" information to root API endpoint
×
286

287
v32 -> 2022-03-19
×
288
    - Adds "parameters" detail to Part API endpoint (use &parameters=true)
×
289
    - Adds ability to filter PartParameterTemplate API by Part instance
×
290
    - Adds ability to filter PartParameterTemplate API by PartCategory instance
×
291

292
v31 -> 2022-03-14
×
293
    - Adds "updated" field to SupplierPriceBreakList and SupplierPriceBreakDetail API endpoints
×
294

295
v30 -> 2022-03-09
×
296
    - Adds "exclude_location" field to BuildAutoAllocation API endpoint
×
297
    - Allows BuildItem API endpoint to be filtered by BomItem relation
×
298

299
v29 -> 2022-03-08
×
300
    - Adds "scheduling" endpoint for predicted stock scheduling information
×
301

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

306
v27 -> 2022-02-28
×
307
    - Adds target_date field to individual line items for purchase orders and sales orders
×
308

309
v26 -> 2022-02-17
×
310
    - Adds API endpoint for uploading a BOM file and extracting data
×
311

312
v25 -> 2022-02-17
×
313
    - Adds ability to filter "part" list endpoint by "in_bom_for" argument
×
314

315
v24 -> 2022-02-10
×
316
    - Adds API endpoint for deleting (cancelling) build order outputs
×
317

318
v23 -> 2022-02-02
×
319
    - Adds API endpoints for managing plugin classes
×
320
    - Adds API endpoints for managing plugin settings
×
321

322
v22 -> 2021-12-20
×
323
    - Adds API endpoint to "merge" multiple stock items
×
324

325
v21 -> 2021-12-04
×
326
    - Adds support for multiple "Shipments" against a SalesOrder
×
327
    - Refactors process for stock allocation against a SalesOrder
×
328

329
v20 -> 2021-12-03
×
330
    - Adds ability to filter POLineItem endpoint by "base_part"
×
331
    - Adds optional "order_detail" to POLineItem list endpoint
×
332

333
v19 -> 2021-12-02
×
334
    - Adds the ability to filter the StockItem API by "part_tree"
×
335
    - Returns only stock items which match a particular part.tree_id field
×
336

337
v18 -> 2021-11-15
×
338
    - Adds the ability to filter BomItem API by "uses" field
×
339
    - This returns a list of all BomItems which "use" the specified part
×
340
    - Includes inherited BomItem objects
×
341

342
v17 -> 2021-11-09
×
343
    - Adds API endpoints for GLOBAL and USER settings objects
×
344
    - Ref: https://github.com/inventree/InvenTree/pull/2275
×
345

346
v16 -> 2021-10-17
×
347
    - Adds API endpoint for completing build order outputs
×
348

349
v15 -> 2021-10-06
×
350
    - Adds detail endpoint for SalesOrderAllocation model
×
351
    - Allows use of the API forms interface for adjusting SalesOrderAllocation objects
×
352

353
v14 -> 2021-10-05
×
354
    - Stock adjustment actions API is improved, using native DRF serializer support
×
355
    - However adjustment actions now only support 'pk' as a lookup field
×
356

357
v13 -> 2021-10-05
×
358
    - Adds API endpoint to allocate stock items against a BuildOrder
×
359
    - Updates StockItem API with improved filtering against BomItem data
×
360

361
v12 -> 2021-09-07
×
362
    - Adds API endpoint to receive stock items against a PurchaseOrder
×
363

364
v11 -> 2021-08-26
×
365
    - Adds "units" field to PartBriefSerializer
×
366
    - This allows units to be introspected from the "part_detail" field in the StockItem serializer
×
367

368
v10 -> 2021-08-23
×
369
    - Adds "purchase_price_currency" to StockItem serializer
×
370
    - Adds "purchase_price_string" to StockItem serializer
×
371
    - Purchase price is now writable for StockItem serializer
×
372

373
v9  -> 2021-08-09
×
374
    - Adds "price_string" to part pricing serializers
×
375

376
v8  -> 2021-07-19
×
377
    - Refactors the API interface for SupplierPart and ManufacturerPart models
×
378
    - ManufacturerPart objects can no longer be created via the SupplierPart API endpoint
×
379

380
v7  -> 2021-07-03
×
381
    - Introduced the concept of "API forms" in https://github.com/inventree/InvenTree/pull/1716
×
382
    - API OPTIONS endpoints provide comprehensive field metedata
×
383
    - Multiple new API endpoints added for database models
×
384

385
v6  -> 2021-06-23
×
386
    - Part and Company images can now be directly uploaded via the REST API
×
387

388
v5  -> 2021-06-21
×
389
    - Adds API interface for manufacturer part parameters
×
390

391
v4  -> 2021-06-01
×
392
    - BOM items can now accept "variant stock" to be assigned against them
×
393
    - Many slight API tweaks were needed to get this to work properly!
×
394

395
v3  -> 2021-05-22:
×
396
    - The updated StockItem "history tracking" now uses a different interface
×
397

398
"""
×
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