Skip to content

Releases: snipe/snipe-it

v6.0.7

05 Jul 23:46
Compare
Choose a tag to compare

This is just a small release that adds updated translations for German, Estonian and Turkish, fixes an issue with asset acceptance when you don't have signatures required, and fixes an issue withe the restore methods for models and users.

What's Changed

New Contributors

Full Changelog: v6.0.6...v6.0.7

v6.0.6

01 Jul 01:54
Compare
Choose a tag to compare

This version includes some small bug fixes and a handful of UI improvements that we think you'll really love - and adds a new index to improve performance. We also snuck in some additional filters for several of the API endpoints, so you can now search on name, address, etc on things like locations, categories, companies, etc. (You could always search by name, address, etc but it would search across all fields instead of that specific filter field.) We'll be updating the docs shortly.

We've also made some improvements to our SCIM support so that it should be more tolerant of missing fields. We've love feedback on that either via Github or on our awesome Discord server. (Seriously though, the community there is great and you should definitely check it out.)

First, the good stuff:

Model Files Uploads

This is a feature that we know people have been asking for so we're excited to finally deliver it. Asset Models now allow file uploads, and will appear on the models page and also on the new "Additional Files" tab of the individual assets. This is great for things like user's manuals that you would have previously had to upload individually to alllllll of the assets within that Asset Model, which was a bit of a bummer, and a waste of time and disk space.

Screen Shot 2022-06-28 at 4 18 32 PM

Screen Shot 2022-06-28 at 4 19 42 PM

Custom Fields Weirdness

We've been seeing an issue in certain cases where PHP has been upgraded that can result in a 500 error when adding/updating an asset, because what we're expecting that column to be named (from the custom_fields table) and what it's actually named on the assets table are now different, due to (what we think is) a small change in the PHP transliteration library.

This updates the existing snipeit:regenerate-fieldnames console command to check both the column name on the assets table and also the value in the db_column field in the custom_fields table.

You can tell if this script will fix your issue by going to the Custom Fields page in your UI, disclosing the "DB Column" column using the column selector, and then looking for warning text.

Screen Shot 2022-06-27 at 2 00 32 PM

Output of the console log looks like this:

Screen Shot 2022-06-27 at 1 57 06 PM

LDAP Validation

Since LDAP configuration is clunky and difficult and is a common source of frustration for our users, this PR throws errors on the LDAP settings page if we detect any of the most common wrong settings. While this is not a panacea, it will at least hopefully provide some more useful feedback to the user so they can see what might be wrong.

Note: this happens on the LDAP settings page LOAD, not SAVE. We're not actually interfering with the user's data submission, but we're making it clear that it's unlikely to work. This does not modify the behavior of LDAP or the saved settings in any way.

Screen Shot 2022-06-30 at 3 15 30 PM

Email User a List of Items Checked Out

We've also introduced a new feature that allows you to send a user a copy of all of the assets, licenses, etc from the user's profile page.

View_User_Snipe_E__Head____Snipe-IT_Demo_Test

Personal API Token Console Command

We've added the ability to generate API tokens via a new console command:

php artisan snipeit:make-api-key --help
php artisan snipeit:make-api-key --user_id=1 --key-only
php artisan snipeit:make-api-key --user_id=1
php artisan snipeit:make-api-key --user_id=1 > api.txt

Screen Shot 2022-06-28 at 10 27 26 PM

Potentially Confusing / Breaking Changes

Purging data and backup deletion must now be enabled in the .env file*

This is just an additional security measure put in place so that a bad actor within an organization can no longer delete backups or purge deleted data. It defaults to DISABLED, so if you don't see your backup delete icons or your purge isn't working, be sure to enable it using the new ALLOW_BACKUP_DELETE and ALLOW_DATA_PURGE environmental variables. (You'll have to add those to your .env if this is an upgrade.) We recommend keeping this disabled until you actually have to perform those tasks, and then disabling it once you're done. You can read more about that here.

Fixed a bug in Depreciation math

Back in February, we introduced a bug that made the calculation of depreciated values to be a little... well, wonky. We've reverted that change and Depreciation calculations should be working again.

New disclosure arrows on Asset Create/Edit and User Create/Edit

We think this is a cool feature, but it could be confusing at first. We now have disclosure arrows for the optional sections of user and asset creation, which should keep the screen less cluttered for people who don't use all of the optional fields. Once you expand the arrows, that state will be remembered via browser cookie.

Screen.Recording.2022-06-27.at.10.48.42.AM.mov

Updated Assets Counts

If you do NOT have the 'Show archived assets in the "all assets" listing' option checked in Admin Settings > General Settings, your dashboard count totals and totals on your tabbed interfaces will have changed to only include non-archived assets.

What's Changed in v6.0.6

  • Added missing postal code from user view by @snipe in #11365
  • Fixed non-dark mode black theme by @Godmartinz in #11323
  • Updated/upgraded JS assets by @snipe in #11367
  • Fixed #11378 - Added better excel export by @snipe in #11380
  • Fixed check for archived setting on counts by @snipe in #11382
  • Fixed missing archived tooltip by @snipe in #11384
  • Small fixes to default blue by @snipe in #11386
  • Added eula blade for licenses/consumables/components and fixes assigned_to for PDFs by @Godmartinz in #11379
  • Fixed dropdown column select font color in bootstrap tables by @Godmartinz in #11375
  • Added created_by to users by @snipe in #11383
  • Moved the settings search box higher by @snipe in #11387
  • Typo of 'general' was in the migration blade a few places by @uberbrady in #11389
  • Disallow purge backup deletion by default and, enable via .env by @snipe in #11388
  • Upgrade webpack from 5.72.1 to 5.73.0 by @snipe in #11391
  • Upgraded guzzle to 7.4.5 by @snipe in #11392
  • Adds validation to custom fields' default values by @inietov in #11370
  • Fixed #8155 - added disclosure arrows to asset creation/edit by @veenone in #10967
  • Remember the state of the disclosure arrows in Assets by @uberbrady in #11403
  • Added disclosure arrows for lesser used options on user screen by @snipe in #11407
  • Only care about the custom field's converted name when updating the custom field itself by @snipe in #11405
  • Fixed custom field transliteration by @snipe in #11404
  • Add a new --filter option to Artisan ldap-sync command by @uberbrady in #11408
  • Add index across username and deleted_at to improve performance by @uberbrady in #11413
  • Fixed #9757 - Added model uploads by @snipe in #11412
  • Added additional search filters for location API by @snipe in #11414
  • Added additional filters for api indexes by @snipe in #11415
  • Added personal access endpoint to API and API token console command by @snipe in #11416
  • Added backup download via API by @snipe in #11418
  • Fixes BadMethodCallException Call to undefined method App\Models\Asset::unaccepted() for master [ch-17636] by @inietov in #10758
  • Fixed #9813: Duplicate function accept-asset by @dampfklon in #9822
  • Added checkoutByTag API endpoint for assets by @ntbutler-nbcs in #11417
  • Make SCIM be more tolerant of missing fields by @uberbrady in #11430
  • Added button to email user list of assets from profi...
Read more

v6.0.5

22 Jun 18:27
Compare
Choose a tag to compare

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

This update fixes an issue with signed EULA text not showing up correctly in PDFs if using Cyrillic or some other font types, and also adds some nicer UI elements to common pages. It also adds a fullscreen option to most tables, which could be very helpful for those working with large lists.

What's Changed

  • Fixes Asset location not changing when assigned user's location change via importer by @inietov in #11169
  • Fixed SC-19104 - fixes to ldap:troubleshoot artisan command by @uberbrady in #11309
  • Fixed #11308 - added bulk edit on statuslabels detail page by @snipe in #11310
  • Fixed #11175 - Use the Deja Vu font in PDFs to be able to support Cyrillic, etc by @snipe in #11314
  • Nicer suppliers and manufacturers UI by @snipe in #11313
  • Tweaked CSS for smaller padlock by @snipe in #11316
  • Added fullscreen option to tables by @snipe in #11315
  • Added item count badges to companies by @snipe in #11324
  • Added number_format() to tab badges by @snipe in #11326
  • Fixed #11285 - Depreciation index table missing pagination by @mikeroq in #11329
  • Fixed #11343 - added ability to null asset name on checkin by @snipe in #11357
  • Fixed #11335 Assets transformer date customfields issues by @inietov in #11352
  • Fixes issue where asset images were showing up in checkin emails when that option was disabled in settings by @uberbrady in #11359
  • Fixed #11332 Added website field that was missing from update and store method. by @mikeroq in #11337
  • Fixed #11351 - add link on asset view to order number by @snipe in #11364
  • Fixed missing password.token string and checked for user existing before attempting to send reset email by @snipe in #11358

New Contributors

Full Changelog: v6.0.4...v6.0.5

v6.0.4

14 Jun 07:03
Compare
Choose a tag to compare

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

Just a quick fix that would only affect a handful of people with DATE format custom fields.

What's Changed

  • Fixed #11304 Trying to access array offset on value of type null at .../Transformers/AssetsTransformer.php by @inietov in #11305

Full Changelog: v6.0.3...v6.0.4

Upgrading

For general upgrading instructions, click here. Users who installed Snipe-IT via Git (recommended) can just run php upgrade.php.

v6.0.3

14 Jun 05:26
Compare
Choose a tag to compare

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

Lots of small (and some larger) UI improvements and bug fixes in this release. We've added some additional debugging and checks to the Snipe-IT upgrade script, added some safeguards for folks running Snipe-IT in a subdirectory, lots of color improvements on the various skins (to comply with WCAG contrast levels), and vastly improved the Locations and Categories UI, allowing much faster bulk actions to assets, users and models.

We've also added a filter on the asset models API endpoint that will let you pass a category_id to only return asset models that belong to that asset category.

And finally, we've expanded the documentation on configuring Okta as a SAML provider, since that setup can be a little tricky to the uninitiated.

What's Changed

New Contributors

Full Changelog: v6.0.2...v6.0.3

Upgrading

For general upgrading instructions, click here. Users who installed Snipe-IT via Git (recommended) can just run php upgrade.php.

v6.0.2

24 May 22:19
Compare
Choose a tag to compare

⚠️ 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

New Contributors

Full Changelog: v6.0.1...v6.0.2

Upgrading

For general upgrading instructions, click here. Users who installed Snipe-IT via Git (recommended) can just run php upgrade.php.

v6.0.1

16 May 22:38
Compare
Choose a tag to compare

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

Howdy all - this is just a small point release to catch a few small bugs that have surfaced since v6.0.0 launched on Friday, mostly related to LDAP instances where password syncing is enabled (specifically for first-time logins) and also the "send this user a password reset email".

We also fixed an old bug that was present in v5 and below, where we were mistakenly double-encoding custom field values in the database, and added the encrypted status of custom fields in the UI to make it easier to see which custom fields (if any) are encrypted.

What's Changed

Full Changelog: v6.0.0...v6.0.1

v6.0.0

13 May 22:37
8794936
Compare
Choose a tag to compare

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

Holy moly folks, today's the day! We're thrilled to announce the release of Snipe-IT v6.0.0. Over a year in the making, we think this is our best release yet, and although we have backported a lot of what we could to v5.4.x, there's a lot that's new and improved.

redonk

Note: Composer 2 is highly recommended for this upgrade. To upgrade your copy of composer, you can run composer self-update --2. If you need to downgrade back to v1 at any point, you can just run composer self-update --1.

TLDR;

Added

  • SCIM support to allow auto-provisioning of users without LDAP sync
  • Logout user when their activated status is switched to off - #10876
  • PDF Report of signed EULA + Option to attach files for Download at signature process [#8260]
  • Ability to save EULA PDF with signature on asset acceptance
  • Ldap_manager field to ldap sync
  • Bulk checkin
  • PHP8 compatibility
  • Restore interface from previous Snipe-IT backup in web UI
  • Ability to upload asset images via API
  • Components and users count to dashboard
  • Dashboard module for locations [ch9199]
  • Asset restore to API
  • Reqestable as model bulk edit field
  • Stricter validation for slack hooks (people were trying to use non-slack urls for webhooks)
  • Additional fields to new user modal window [#10421]
  • .my.cnf to disable column-statistics backup for Docker
  • New concept of "remote worker" and API points to filter by them, as well as option in bulk editing users [#10775]
  • First pass at Artisan-based LDAP troubleshooter - [#10033]
  • Filter by status_type in StatusLabels API index endpoint [#10829]
  • Filter by assets_count, consumables_count, licenses_count, and accessories_count on user API endpoint

Improved

  • Tons of mobile and web UX/UI improvements [#10129]
  • Optimized queries for faster loading
  • Upgraded from Laravel 6 to Laravel 8
  • Remote User login: support Google Cloud IAP headers
  • More S3 compatibility
  • Upgraded to latest Font Awesome
  • Exclude web.config from Apache
  • Many improvements to localization, adding more translatable strings to the UI
  • Handle file_get_contents more gracefully
  • Rework the LDAP sync command to better handle the active flag
  • Better Amazon SES compatibility

Fixed

  • Fixed PDF export to use correct filenames and selected columns
  • Fixed "secure hostnames" feature for subdirectory-based Snipe-IT installs
  • Fixed #10769 - redirect user back to due for audit page
  • Fixed #10840 - defaulting to 0 on supplier ID if no value provided
  • TONS of bugfixes (too many to list)
  • Improved Docker support
  • Improved accessibility
  • Reverted back to the old LDAP login and sync methods from AdLdap, which had caused more problems than it solved in the long run
  • Fixed #8828: Can't search by checked out user in advanced search
  • Fixed extraneous wildcard query in asset search [#10514]
  • Fixed #8143 - Date localization in custom fields DATE field [#10805]
  • Fixed issue where data tables were requesting the API twice [#10767]

Removed

  • Dropped support for PHP 7.3 (PHP 7.3 is already EOL, so you should have definitely upgraded anyway)

This list looks short, and you're welcome to explore the (very long) list of changes in the autogenerated list, but they took a ton of work, both from the staff here at Grokability, and the amazing list of open source contributors who have helped make Snipe-IT even better.

A Few Quick Notes

We will be moving this repo from https://github.com/snipe/snipe-it to the @grokability organization account soon. This is just a heads up for any of you that have automations that could be impacted.

We will also be changing the primary stable branch from master to main, shortly. Because of existing automations, we will still be pushing to master up until Snipe-IT v7, but it will likely be about a week behind main, so you may want to update automations there too.

If you're having trouble upgrading or you found a bug, be sure to open an issue here on Github, or pop into our Discord server. And be sure to check out our blog for Snipe-IT updates, miscellaneous tech discussions and other stuff.

Auto-Generated Changelog

  • Basic fixes to at least get the dashboard up by @uberbrady in #9699
  • Finished fixing the web routes file by @uberbrady in #9702
  • Remove barryvdh's laravel-cors for fruitcake's laravel-cors by @uberbrady in #9703
  • Get it so that we can re-build assets. by @uberbrady in #9704
  • Develop v6 integration by @uberbrady in #9737
  • Removed Ziggy.baseUrl references for meta references that already had baseUrl by @uberbrady in #9741
  • Livewire integration for Snipe-IT v6 by @uberbrady in #9766
  • Add new php extension dependencies for v6 by @dampfklon in #9858
  • adds newer versions of devices for demo by @Godmartinz in #9852
  • Added #9594: Feature/api image uploads for v6 by @PetriAsi in #9824
  • Update demo photos of iPhones to be more modern [ch16531] by @Godmartinz in #9924
  • adds a Floor value for depreciation models by @Godmartinz in #9937
  • Fixed donked layout on required field error in depreciations by @Godmartinz in #9987
  • Added restore functionality to user API by @Delta5 in #10111
  • Added userpics from thispersondoesnotexist.com by @snipe in #10125
  • Fixes route not defined exception on components and consumables by @inietov in #10128
  • Features/improved mobile ux by @snipe in #10129
  • Upgraded FA icons to latest by @snipe in #10132
  • Fixed issue when creating a status label via API - default_label and show_in_nav being not nullable by @snipe in #10103
  • Rename license migration to resolve fatal error running migrations by @svpernova09 in #10135
  • Try to generate a new composer lockfile under PHP 7.3 by @uberbrady in #10148
  • Fixes New department error importing users. by @inietov in #10150
  • Fixed #10158 Specify docker images versions by @AL4AL in #10159
  • Fix default values for custom fields for models rebased by @uberbrady in #10166
  • Feature #9514, Feature #9378 Unaccepted Assets Report Actions, Fixed [ch16410] by @dampfklon in #9529
  • Fixes #9365 #9800 Added a validation to use the same name in categories with different types [sc-17487] by @inietov in #10179
  • Exclude web.config from Apache by @tanji in #10186
  • Fixed misisng hamburger menu by @snipe in #10192
  • Fixes bulk edit message counts more users than the actual selected users number by @inietov in #10215
  • Adds reqestable as model bulk edit field by @snipe in #10248
  • support apache REDIRECT_* for remote user login by @Sxderp in #10245
  • Fixes asset components must return relationship instance by @inietov in #10238
  • Fixed #9904: Advanced search with serial and another field produce incorrect results (v2) by @Toreg87 in #9906
  • Fixes Bug: When parent asset is assigned to other location, children assets loca… by @Godmartinz in #10209
  • Fixed #sc17129 - Pie chart disappears when window resizes by @Godmartinz in #10113
  • Add licenses api parameters and fix a missing variable in license view. by @ncareau in #9889
  • Change from ENV to config value for PUBLIC_AWS_URL by @misilot in #9541
  • Adds a check to know if the asset is checked out to the logged in user to allow check the state in the view by @inietov in #9847
  • Feature #9378 remove deleted user from unaccepted assets report by @sh1hab in #9508
  • Fixed #9798: Scope departments for FullMultipleCompanySupport by @Toreg87 in #9799
  • Fixed #8828: Can't search by checked out user in advanced search by @PlaneNuts in #10258
  • Tweak Restore command to _a...
Read more

v6.0.0-GM

05 May 17:56
Compare
Choose a tag to compare
v6.0.0-GM Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v6.0.0-RC-7...v6.0.0-GM

v5.4.4

04 May 23:51
Compare
Choose a tag to compare

⚠️ IMPORTANT: Later versions of Snipe-IT will require PHP 7.4 or greater. It is highly recommended you upgrade your version of PHP NOW.

(This is a requirement in order for us to be able to pull forward the dependencies that will allow us to support PHP8 and beyond moving forward.)

What's Changed

  • Added status_id to asset checkout API by @snipe in #10943
  • Fixed double updates from action log and history by @Godmartinz in #10952
  • Escape checkout target name by @snipe in #10971
  • Added access gate to the requested assets index by @snipe in #10991
  • Fixed model export filename to use str_slug for filename for JS export (like we do elsewhere) by @snipe in #10994
  • Fixed Activity Report download-all action when fails creating the CSV report when an asset has been deleted by @inietov in #11000

Full Changelog: v5.4.3...v5.4.4