v7.0.13

grokability/snipe-itv7.0.13Oct 2, 2024by snipe

AI Summary

Requires PHP 8.1.2, fixes asset model validation, adds numeric sorting for custom fields, and introduces bulk print functionality for users.

Key Highlights

  • Requires PHP 8.1.2 or greater
  • Sort numeric columns for numeric custom fields
  • Added bulk print functionality for users
  • Added 'created_by' field to API endpoints (replaces 'user_id')
  • Fixed asset model creation issues

Breaking Changes

  • API Change: 'user_id' replaced by 'created_by' in additional endpoints

New Features

  • Numeric sorting for custom fields
  • Bulk print users
  • API 'created_by' field
  • Fixed asset model validation

Full Release Notes

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

![liz-lemon-wednesday](https://github.com/user-attachments/assets/59e484d8-8245-4827-adc0-e5fd24949fd5)

Happy Wednesday, everyone! We're pleased to announce Snipe-IT v7.13 is out. The most notable fix in this release is for folks who suddenly couldn't create asset models with the same name but different model number. That was a temporary issue in validation and should be fixed now.

We've also added the long-requested ability to sort numerically on numeric custom fields. (Folks who are not using MySQL/MariaDB, please let us know if this breaks stuff for you, even though we don't officially support non-MySQL databases.)

We've also added a new bulk option for users, which is the ability to print all items associated with multiple selected users, if that's the sort of thing you're likely to do. 

And finally, on most list views, you can now see (and sort by) which administrator created the item. 


> [!WARNING]  
>  **API Change**

We've added a `created_by` field to additional endpoints. This field replaces the previous `user_id` API object,  which was only being returned in a few places. The `user_id` object will still be returned as normal, but you should plan on making that switch in your API integrations moving forward, as it will eventually be removed. 

## What's Changed
* Fixed a couple bugs in `CustomFieldSetDefaultValuesForModel` component by @marcusmoore in https://github.com/snipe/snipe-it/pull/15486
* Warn user on changing status to `undeployable` when editing by @snipe in https://github.com/snipe/snipe-it/pull/15492
* Fixed #15504 - allow nulling/not changing locale in user bulk edit by @snipe in https://github.com/snipe/snipe-it/pull/15510
* Fixed misalignment of consumables with smaller media by @Godmartinz in https://github.com/snipe/snipe-it/pull/15493
* Fixes margin for the sidebar menus while using rtl languages by @Godmartinz in https://github.com/snipe/snipe-it/pull/15471
* Fixed check for outside assets on user update validation by @snipe in https://github.com/snipe/snipe-it/pull/15516
* Improved multi-asset create when using numeric prefixes to asset_tags by @uberbrady in https://github.com/snipe/snipe-it/pull/15491
* Fixed selected-index of countries drop-down [fd-44144] by @uberbrady in https://github.com/snipe/snipe-it/pull/15521
* Added tests for delete methods in api by @marcusmoore in https://github.com/snipe/snipe-it/pull/15512
* Fixed mail notification field `status label` not updating by @Godmartinz in https://github.com/snipe/snipe-it/pull/15531
* Fixed #11634 - Sort by numeric columns for numeric custom fields by @snipe in https://github.com/snipe/snipe-it/pull/15518
* Added #15506: Explicitly request used LDAP attributes by @setpill in https://github.com/snipe/snipe-it/pull/15507
* Updated EOL date when used bulk update of purchase date by @Robert-Azelis in https://github.com/snipe/snipe-it/pull/14671
* Added date range for EOL in custom reports by @akemidx in https://github.com/snipe/snipe-it/pull/13291
* Catch Exceptions on Checkout Notification by @spencerrlongg in https://github.com/snipe/snipe-it/pull/15532
* Change `user_id` to `created_by` by @snipe in https://github.com/snipe/snipe-it/pull/15519
* Updated jspdf autotable by @snipe in https://github.com/snipe/snipe-it/pull/15537
* Fixed app settings view on mobile by @snipe in https://github.com/snipe/snipe-it/pull/15544
* Fixes #15548 - unify audit api endpoints by @snipe in https://github.com/snipe/snipe-it/pull/15549
* Fixed input field misalignments by @Godmartinz in https://github.com/snipe/snipe-it/pull/15552
* Fixed case on `$logAction` for user file upload by @snipe in https://github.com/snipe/snipe-it/pull/15555
* Changed `action_date` to `created_at` in activity report by @snipe in https://github.com/snipe/snipe-it/pull/15561
* Fixed #13396 - do not allow checkout to undeployable status types by @snipe in https://github.com/snipe/snipe-it/pull/15547
* Added the ability to bulk print users by @marcusmoore in https://github.com/snipe/snipe-it/pull/15534
* Update for #15534 - Refined gates on user bulk by @snipe in https://github.com/snipe/snipe-it/pull/15563
* Refactoring modals with partials and fixing misalignments by @Godmartinz in https://github.com/snipe/snipe-it/pull/15498
* Fixes for requiredness indicator in UI by @snipe in https://github.com/snipe/snipe-it/pull/15573
* Fixed double webhook notifications // Separated email and webhook notifications. by @Godmartinz in https://github.com/snipe/snipe-it/pull/15524
* Removed sortablity for current value column in depreciations report by @Godmartinz in https://github.com/snipe/snipe-it/pull/15583
* Better debugging output for new Github Stale Action by @uberbrady in https://github.com/snipe/snipe-it/pull/15564
* Added maxlengths to additional fields by @snipe in https://github.com/snipe/snipe-it/pull/15588
* Adds checkin action log on asset delete via View UI by @snipe in https://github.com/snipe/snipe-it/pull/15589
* Catch Errors Around Request Notifications by @spencerrlongg in https://github.com/snipe/snipe-it/pull/15592
* Updated strings by @snipe in https://github.com/snipe/snipe-it/pull/15594
* Fixed divide by zero bug in depreciation transformer by @Godmartinz in https://github.com/snipe/snipe-it/pull/15593


**Full Changelog**: https://github.com/snipe/snipe-it/compare/v7.0.12...v7.0.13