v7.1.17

grokability/snipe-itv7.1.17Feb 24, 2025by snipe

AI Summary

This is the final release in the v7.x line, focusing on bug fixes for QR codes, asset counts, and API responses, while adding notes to various organizational entities.

Key Highlights

  • Final release in the v7.x line
  • Added notes to locations, companies, categories, manufacturers, and permission groups
  • Fixed asset count mismatches when archived items are hidden
  • Fixed API response format for Jamf2Snipe and Kandji2Snipe
  • Added 'lastname.firstinitial' as a username option

New Features

  • Notes for locations, companies, categories, manufacturers, and groups
  • Username format option
  • API results scoped by location ID

Full Release Notes

> [!CAUTION]  
>  **The next version of Snipe-IT will requires PHP 8.2.0 or greater. Please update as soon as possible to avoid delays updating Snipe-IT moving forward!**

Happy Monday! This is the final Snipe-IT release in the v7.x line. Snipe-IT v8 will be out very soon, so please make sure you've updated your PHP version to 8.2 or greater to prepare for the upcoming release! 

![02xmFoi](https://github.com/user-attachments/assets/1988179d-2e33-43e4-9a5a-72bd655141a2)

This release handles a few small issues related to QR codes and adds notes to locations, companies, categories, manufacturers and permission groups. It also fixes an issue where the the number of assets on some tabs was mismatched if the "show archived in lists" box was unchecked, and should fix a misformatted API response that could have impacted Jamf2Snipe and Kandji2Snipe. (That was fixed a few weeks ago, but was not in a tagged release.)

If this changelog looks a little small, bear in mind that we've been busting our butts on the `develop` branch to get Snipe-IT v8 ready. That's set to release later today, and will have a few more goodies for everyone.

## What's Changed
* Fixed potential attempt to divide by zero in transformer by @marcusmoore in https://github.com/snipe/snipe-it/pull/16116
* Prevent undefined array key in asset observer by @marcusmoore in https://github.com/snipe/snipe-it/pull/16118
* Added Nullsafe  by @spencerrlongg in https://github.com/snipe/snipe-it/pull/16148
* Removed default ternary check in Label view by @Godmartinz in https://github.com/snipe/snipe-it/pull/16166
* Added a warning for  webhook `channel_not_found`. by @Godmartinz in https://github.com/snipe/snipe-it/pull/16175
* Added ternary check that asset has `asset status` before checking archived by @Godmartinz in https://github.com/snipe/snipe-it/pull/16168
* Added qr code type check in getQRCode method by @Godmartinz in https://github.com/snipe/snipe-it/pull/16167
* Upgraded papaparse to 5.5.1 by @snipe in https://github.com/snipe/snipe-it/pull/16207
* Fixed #16208 - don't call preg_split() with a null by @uberbrady in https://github.com/snipe/snipe-it/pull/16209
* Added ternaries on check in/out hardware notifications by @Godmartinz in https://github.com/snipe/snipe-it/pull/16212
* Fixed #16184 - added notes to locations, companies, categories, manufacturers and groups by @snipe in https://github.com/snipe/snipe-it/pull/16226
* Expiration notifcation switched to use Mailable by @Godmartinz in https://github.com/snipe/snipe-it/pull/16232
* Return flat JSON instead of transformed data by @snipe in https://github.com/snipe/snipe-it/pull/16249
* Instead of saving TLS cache-files on save, cache them when used by @uberbrady in https://github.com/snipe/snipe-it/pull/16250
* Fixed QR code on old label engine by @snipe in https://github.com/snipe/snipe-it/pull/16260
* Added `lastname.firstinitial` as an option for usernames by @akemidx in https://github.com/snipe/snipe-it/pull/16199
* Fixed #16259 - mismatch in asset count if archived assets are hidden by @snipe in https://github.com/snipe/snipe-it/pull/16268
* Scope API results by location ID by @snipe in https://github.com/snipe/snipe-it/pull/16269
* Updated LDAP sync text by @snipe in https://github.com/snipe/snipe-it/pull/16270
* Added translations to LDAP  and Label settings pages by @Godmartinz in https://github.com/snipe/snipe-it/pull/16188
* Added a null check to label templates, adds return types for validation methods by @Godmartinz in https://github.com/snipe/snipe-it/pull/16040


**Full Changelog**: https://github.com/snipe/snipe-it/compare/v7.1.16...v7.1.17