Releases: ArnesSI/netbox-inventory
v2.6.0
Asset roles
Assets can have an asset role assigned to them. Asset roles can be organized in a tree similar to Device roles in netbox. Under each asset role there is a breakdown of a number of assets by their status. For example you can create Asset role for network switches and assign it to relevant assets. Then you can see under network switches role how many you still have available, how many are in use...
Thanks @Maksym-Ototiuk for contributing this feature.
What's Changed
- Add bulk asset tag pattern generation with tests and docs by @patricklind in #290
- feat: add AssetRole model with nested support (#291) by @Maksym-Ototiuk in #292
- Add copy-to-clipboard buttons for serial number and asset tag on Asset detail page by @Maksym-Ototiuk in #293
- change to django querystring template tag where possible by @matejv in #294
New Contributors
- @patricklind made their first contribution in #290
- @Maksym-Ototiuk made their first contribution in #292
Full Changelog: v2.5.1...v2.6.0
v2.5.1
Breaking change
If you have asset_disable_editing_fields_for_tags or asset_disable_deletion_for_tags, in your netbox inventory settings, note that these options were remove with this netbox-inventory version. Please read "Prevent unwanted changes for tagged assets" in README.md to see for an alternative method that uses netbox's Custom Validation rules.
What's Changed
- Remove function to protect assets via tags by @matejv in #284
- Change AuditFlow and BaseFlow object_type to point to ContentType by @matejv in #286
- Fix table initialization for NetBox 4.5.4 compatibility by @oomchiller in #288
New Contributors
- @oomchiller made their first contribution in #288
Full Changelog: v2.5.0...v2.5.1
v2.5.0
This version of netbox-inventory is only compatible with netbox v4.5.0 and newer.
Breaking change
Netbox 4.5 introduced Resource Ownership. Netbox inventory adds support for setting object owners for the following objects:
- Assets
- Inventory Item Types
- Inventory Item Groups
- Suppliers
- Purchases
- Deliveries
- Audit Flows
- Audit Flow Pages
- Audit Flow Sources
To keep ownership experience consistent with the rest of netbox, existing owner field on Asset needed to be renamed. It is now called "owning tenant". This also better represents this asset - tenant relationship. This is a breaking change. Any existing API integrations, netbox scripts, export templates, custom links, event rules and permissions that reference Asset.owner need to be updated to use Asset.owning_tenant after the upgrade.
Existing Asset.owner data will be automatically migrated to Asset.owning_tenant during upgrade process (via DB migrations). This was tested on existing installs and seems to work fine. However it is highly recommended to take a database backup before the upgrade.
Other changes
- fix: add storage location as nullable in bulk edit by @reuben-thundergrid in #270
- Fix for compatibility with netbox v4.5.0 by @a084ed22 in #273
- update requirements & CI for netbox 4.5 by @matejv in #276
- Update filters to support additional lookup modifiers by @matejv in #280
- Add ownership support by @matejv in #278
- update Asset assign forms to be able to filter on site by @matejv in #283
- name root API view by @matejv in #275
- Update asset edit form by @matejv in #277
- Audit views cleanup by @matejv in #279
- add tags field to Audit Trail Source forms by @matejv in #281
- Fix asset columns on core netbox tables by @matejv in #282
New Contributors
- @reuben-thundergrid made their first contribution in #270
- @a084ed22 made their first contribution in #273
Full Changelog: v2.4.1...2.5.0
v2.4.1
What's Changed
- Fix AuditTrail relations by @alehaa in #261
- Fix audit flow lookup paths type hint by @alehaa in #262
- Netbox 4.4 fixes by @matejv in #265
- update netbox-attachments config example in readme by @matejv in #266
- filtering & counting assets by storage location including child locations by @matejv in #267
Full Changelog: v2.4.0...v2.4.1
v2.4.0
Main changes
Netbox v4.3 compatible. GraphQL might not be working correctly in this version yet. User feedback regarding GraphQL functionality is appreciated.
A major new feature is included: audit flows and audit trails: a generic way to add workflows for auditing inventory on premises. This feature is not limited to assets, it can be used to audit any object managed in NetBox. Make sure to read the docs on how to use this feature.
Thanks to @alehaa and students at Aachen University of Applied Sciences, including including Nico Ziegenhagel, @JuIez, @raikitin, @Simon-official, @tamesnasalah and @tim-schueltzke.
What's Changed
- Fixes #245: Disable column sorting for current asset location by @alehaa in #247
- Update README.md by @chriscn in #246
- Add audit flows by @alehaa in #231
- Add audit trails by @alehaa in #236
- netbox 4.3.0 compatibility by @matejv in #242
- Remove superflous audit trail source column by @alehaa in #255
New Contributors
Full Changelog: v2.3.1...v2.4.0
v2.3.1
This is a last release of netbox-inventory compatible with netbox 4.2.x. It contains a bunch of small fixes and improvements.
What's Changed
- Rearrange code for future extensions by @alehaa in #215
- Reformat code by @alehaa in #217
- add description fields by @matejv in #220
- Optimize GitHub actions by @alehaa in #232
- fix display of current asset location by @matejv in #238
- when creating asset via delivery view pre-fill purchase field by @matejv in #240
- Fix typo in README.md by @aries043 in #241
- add filtersets to bulk delete views by @matejv in #243
New Contributors
Full Changelog: v2.3.0...v2.3.1
v2.3.0
v2.2.1
v2.2.0
What's Changed
- add support for racks and rack types by @matejv in #205
Racks can now be part of netbox inventory the same way as devices and modules. One caveat: netbox allows you to create a rack without assigning rack type. Unfortunately *_types are deeply ingrained into netbox inventory, so to create racks from assets, you'll always need to have a rack type defined as well. - Add filters on device role and inventory item role to assets by @matejv in #201
- remove option to filter for None in some location related filters by @matejv in #202
- allow changing device_type and module_type when assiging a new asset to device or module by @matejv in #203
- ensure change snapshots are created for hardware by @matejv in #206
- make asset general search lookup by assigned hardware names by @matejv in #208
- small improvements to global search & menu by @matejv in #209
- add ability to set multiple asset statuses as used or stored by @matejv in #210
this is needed to ensure stored assets are corectly shown under locations and sites - document use of netbox_attachments plugin by @matejv in #207
Full Changelog: v2.1.0...v2.2.0