v6.2.3

grokability/snipe-itv6.2.3Oct 16, 2023by snipe

AI Summary

A bug fix release addressing asset history display issues when items are soft-deleted/purged and fixing migration issues related to the `eol_explicit` field.

Key Highlights

  • Fixed asset history showing 500 errors when items were purged.
  • Fixed migration issues with `eol_explicit` field.
  • Tightened controls for matching log ID and item_id.

Full Release Notes

## ⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP 8.1 or greater

This release is largely a bug fix release. There were some rare conditions where asset history wouldn't show because the original item (location, etc) were both soft-deleted and then purged, which was causing a 500 error. This didn't affect most users, but for the ones it did affect, this was an important fix. 

This also fixes a migration issue between older versions of Snipe-IT upgrading to newer versions where it would have issues with the `eol_explicit` field, since the asset observer tries to modify that field, but it didn't necessarily exist yet depending on where you were at with migrations. This issue is now resolved. 

## What's Changed
* Added tighter controls for matching log ID and item_id by @snipe in https://github.com/snipe/snipe-it/pull/13726
* Set resend acceptance to POST by @snipe in https://github.com/snipe/snipe-it/pull/13727
* Fixes qty remaining requirements for component checkout via API by @snipe in https://github.com/snipe/snipe-it/pull/13728
* Fixed the storing of group permissions when creating via API by @marcusmoore in https://github.com/snipe/snipe-it/pull/13734
* Fixed notification logic to ensure check in and out emails are delivered by @marcusmoore in https://github.com/snipe/snipe-it/pull/13733
* Resolves issue with migrations with table prefixes by @spencerrlongg in https://github.com/snipe/snipe-it/pull/13745
* Fixed #13723 - race condition on asset observer for older migration by @snipe in https://github.com/snipe/snipe-it/pull/13748
* Handle case where value is deleted in history by @snipe in https://github.com/snipe/snipe-it/pull/13749


**Full Changelog**: https://github.com/snipe/snipe-it/compare/v6.2.2...v6.2.3