v6.0.2

grokability/snipe-itv6.0.2May 24, 2022by snipe

AI Summary

Bug fixes regarding Google LDAP support, backup restore timestamps, and translation strings, plus a downgrade of jQuery to fix autofocus issues.

Key Highlights

  • Fixed backup `created_at` time being incorrect
  • Fixed custom fields not showing when textarea is present
  • Added accessories endpoint to API
  • Downgraded jQuery to 3.5.1 to fix select2 autofocus
  • Fixed error 500 on Unaccepted Assets Report

New Features

  • Accessories endpoint to API

Full Release Notes

### ⚠️  IMPORTANT: Snipe-IT v6 requires PHP 7.4 or greater, and does support PHP8

This release fixes a handful of bugs and improvements to Google LDAP support, the new Restore from Backup tool, and should have the latest and greatest translations strings in all languages. 

## What's Changed
* Fixed #11112: use correct formatter for locations on dashboard by @snipe in https://github.com/snipe/snipe-it/pull/11113
* We inadvertently used the wrong label for one of the headers by @uberbrady in https://github.com/snipe/snipe-it/pull/11114
* Update constraints to allow up to 8.2 by @snipe in https://github.com/snipe/snipe-it/pull/11115
* Fixed #11126: don't entitise custom CSS on the labels view by @trav-c in https://github.com/snipe/snipe-it/pull/11127
* Fixed #11096: Backup `created_at` time is incorrect by @inietov in https://github.com/snipe/snipe-it/pull/11133
* Do some better erroring if you can't launch the mysql binary by @uberbrady in https://github.com/snipe/snipe-it/pull/11135
* Fixed #11124: updated maintenance page by @snipe in https://github.com/snipe/snipe-it/pull/11136
* Delete `vendor/symfony/translation/TranslatorInterface.php` in upgrader by @snipe in https://github.com/snipe/snipe-it/pull/11137
* Bumped packages by @snipe in https://github.com/snipe/snipe-it/pull/11138
* Reduce saml debugging by @uberbrady in https://github.com/snipe/snipe-it/pull/11139
* Fixed #11120: custom fields not showing when textarea is present as field type by @snipe in https://github.com/snipe/snipe-it/pull/11140
* Fixed #11141: accessories endpoint missing from API by @snipe in https://github.com/snipe/snipe-it/pull/11142
* Added spinner onClick for file upload button on backups by @snipe in https://github.com/snipe/snipe-it/pull/11144
* Fixed `Argument 1 passed to App\Http\Requests\ItemImportRequest::import() must be an instance of App\Models\Import, null given` by @inietov in https://github.com/snipe/snipe-it/pull/11147
* Updated less files for license details to adhere to dark skin themes by @Godmartinz in https://github.com/snipe/snipe-it/pull/11153
* Fixed Username required on import process by @inietov in https://github.com/snipe/snipe-it/pull/11154
* Fixed error 500 on Unaccepted Assets Report by @inietov in https://github.com/snipe/snipe-it/pull/11156
* Downgrade jQuery to 3.5.1 from 3.6.0 to re-enable select2 autofocus by @uberbrady in https://github.com/snipe/snipe-it/pull/11157
* Run migrations after restore by @snipe in https://github.com/snipe/snipe-it/pull/11158
* Fixed inconsistencies with links styling by @Godmartinz in https://github.com/snipe/snipe-it/pull/11152
* Fixed: #11098: Smartly overwrite fields with default values for custom fields by @uberbrady in https://github.com/snipe/snipe-it/pull/11160
* Small fixes for asset tag regeneration script by @snipe in https://github.com/snipe/snipe-it/pull/11161
* Fixed #9019: Import page returns error 500 by @inietov in https://github.com/snipe/snipe-it/pull/11167
* Fixed: Checkout date missing in asset delivery mail by @inietov in https://github.com/snipe/snipe-it/pull/11171
* Fixed #11129: settings treeview won't stay active.  by @Godmartinz in https://github.com/snipe/snipe-it/pull/11149
* Accept asset/accessory improvements and fixes  by @snipe in https://github.com/snipe/snipe-it/pull/11172
* Google client-side TLS auth works better with null as context(?) by @uberbrady in https://github.com/snipe/snipe-it/pull/11184
* Fixed bug where username wasn’t showing for regular users by @snipe in https://github.com/snipe/snipe-it/pull/11189
* Updated language strings from activated to able to login by @snipe in https://github.com/snipe/snipe-it/pull/11191
* Fixed typo on maintenance screen by @snipe in https://github.com/snipe/snipe-it/pull/11192
* Adjust requested assets and models workflow a little bit. by @inietov in https://github.com/snipe/snipe-it/pull/11190

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

**Full Changelog**: https://github.com/snipe/snipe-it/compare/v6.0.1...v6.0.2

### Upgrading

For general upgrading instructions, [click here](https://snipe-it.readme.io/docs/upgrading). Users who installed Snipe-IT via Git (recommended) can just run `php upgrade.php`.