v7.0.9

grokability/snipe-itv7.0.9Jul 11, 2024by snipe

AI Summary

Requires PHP 8.1.2, focuses on performance optimizations for consumables, fixes custom field data loss during audits, and adds better history tracking.

Key Highlights

  • Requires PHP 8.1.2 or greater
  • Tightened queries on consumables for faster load times
  • Fixed custom field data loss when auditing an asset
  • Added better history tracking for consumables
  • Improved upgrade.php script output

New Features

  • Tightened consumables queries
  • Fixed custom field data loss during audit
  • Better history tracking for consumables
  • Improved upgrade.php output
  • General cleanup and docblock fixes

Full Release Notes

> [!CAUTION]  
>  **Snipe-IT now requires PHP 8.1.2 or greater**

Another small patch release which largely handles missing translations and the some refinements on the `upgrade.php` script to make upgrading a little smoother, and added a boatload more automated tests. We also tightened up some queries on the consumables side, so hopefully those with much larger data sets for consumables will notice speedier load times there.

Additionally, we identified and fixed an issue where in some circumstances, custom field data could be lost when auditing an asset, and we also added better history tracking for consumables. 

## What's Changed
* General cleanup - Docblock fixes, adding type hinting, added tests, added asset model form validator by @snipe in https://github.com/snipe/snipe-it/pull/15029
* Fixed API key missing translations by @snipe in https://github.com/snipe/snipe-it/pull/15055
* Fixed missing print user assigned filter by @Godmartinz in https://github.com/snipe/snipe-it/pull/15059
* Fixes Potential Exception by @spencerrlongg in https://github.com/snipe/snipe-it/pull/15057
* `upgrade.php`: More helpful output when we can't read `.upgrade_requirements.json` by @jerm in https://github.com/snipe/snipe-it/pull/15051
* `upgrade.php`: If we're on windows, make sure we can load intermediate certificates by @jerm in https://github.com/snipe/snipe-it/pull/15052
* Small consumables optimizations by @snipe in https://github.com/snipe/snipe-it/pull/15071
* Fixed inconsistent attributes order in Print All Assigned report by @FlorentDotMe in https://github.com/snipe/snipe-it/pull/15069

## New Contributors
* @FlorentDotMe made their first contribution in https://github.com/snipe/snipe-it/pull/15069

**Full Changelog**: https://github.com/snipe/snipe-it/compare/v7.0.8...v7.0.9