Releases: snipe/snipe-it
v6.0.12
What's Changed
- Fixes mobile views and clickability of sidebar menu by @Godmartinz in #11916
- Added autoglossonyms for locales and translations for countries by @snipe in #11924
- Fixed #11710 - Validation of checkbox data with multiple values by @inietov in #11925
- Added start and end dates to users by @snipe in #11926
- Use the new scim-trace feature from our fork of
laravel-scim-server
lib by @uberbrady in #11927 - Fixed Error 500 undefined variable
$item
creating a new user. by @inietov in #11933 - Fixes the margin top adjustment for desktop by @Godmartinz in #11937
- Fixed Depreciation date diff readable precision by @inietov in #11959
- Added clearer LDAP activated helptext by @snipe in #11952
- Sets nullable attribute on validation by @snipe in #11960
- Correct comparison logic by @nh314 in #11942
- Remove required mark by @nh314 in #11949
- Bump actions/checkout from 2 to 3.1.0 by @dependabot in #11944
- Use admin ID for audit log notification by @snipe in #11964
- Added new translations by @snipe in #11971
New Contributors
Full Changelog: v6.0.11...v6.0.12
v6.0.11
What's Changed
- Fixed 500 error when sending unaccepted assets reminder by @inietov in #11700
- Fixed #11695 Problem with checkin all and delete user. by @inietov in #11738
- Fixed Validation error when empty default customfield values by @inietov in #11737
- Fixed #11742: display correct file sizes when using S3(-like) storage by @dsferruzza in #11752
- Fixed possible XSS on dashboard note by @snipe in #11758
- Fixed the order expiring assets are listed in notifications by @Godmartinz in #11489
- Send notifications when Acceptance Assets actions occur [sc-9917] by @inietov in #11661
- Increased colspan for checkboxes by @snipe in #11765
- Fixed Double login when switching users by @inietov in #11790
- Upgrade bootstrap-table from 1.20.2 to 1.21.0 by @snyk-bot in #11806
- Try conditional formatting to support apache 2.2 and 2.4 by @snipe in #11072
- Fixed
min_quantity
field values are not importing into Snipe-IT by @inietov in #11811 - Fixed #11822 - depreciation calculations off by @Godmartinz in #11823
- Fixed custom asset report timeout - removed assetlog by @snipe in #11824
- Added Applecare lookup link if manufacturer is apple by @snipe in #11825
- Fixed #11769: PAT Test hardcoded text by @rnelsonee in #11771
- Fixed #9801 #11199 Default Values for Checkbox Field Types Unaccessible by @inietov in #11830
- Fixed 500 in depreciation on asset view when no purchase date by @snipe in #11835
- Fixed 500 error if uploaded file is missing from asset view by @snipe in #11836
- Downgraded BS Tables by @snipe in #11837
- Larger checkbox in lists by @snipe in #11838
- Check for
licenses.files
permissions by @snipe in #11842 - Corrected default mysql port from 3309 to 3306 by @geo-chen in #11762
- Fixed Purchase date "readonly" value makes purchase date unable to be nulled in update form [sc-19540] by @inietov in #11856
- Fixed #11827 Throw exception when there are no available seats for checkout. by @inietov in #11857
- Use BS datepicker’s built in clear button by @snipe in #11877
- Delete duplicate fields from the importer dropdown menu [sc-19547] by @inietov in #11878
- Bump codacy/codacy-analysis-cli-action from 4.1.0 to 4.2.0 by @dependabot in #11870
- Fixed #11847 404 error during Import if a checkout type of location is specified and no checkout location is passed by @inietov in #11854
- Added notes to audit mail notification by @BasO12 in #11764
- Fixed the color choice for the ldap_test_results by @Godmartinz in #11853
- Fixed unit test suite that was not running, added working browser test by @chartjes in #11671
- Fixed #11871 Replacing (deprecated) patchwork/utf8 by polyfill/mbstring. by @sunflowerbofh in #11872
- Replace
patchwork-utf8
by @sunflowerbofh in #11886 - Fixed #11889 - API route for status labels asset listing by @snipe in #11890
- Fixed #11521 - Add option to switch to using status meta from status label name by @snipe in #11893
- Added counts to Dashboard Pie Chart legends and tooltips by @uberbrady in #11894
- Modified dashboard tooltips to add percentage as well as count by @uberbrady in #11895
- Fixed depreciation API call by @snipe in #11896
- Use
EscapeFormula()
in CSV export by @snipe in #11901 - Fixed error 500 when downloading asset acceptance report. [sc-19555] by @inietov in #11906
- Overhaul of UI for unprivileged users by @snipe in #11908
- Updated lnaguage strings by @snipe in #11917
New Contributors
- @dsferruzza made their first contribution in #11752
- @rnelsonee made their first contribution in #11771
- @geo-chen made their first contribution in #11762
- @BasO12 made their first contribution in #11764
- @chartjes made their first contribution in #11671
Full Changelog: v6.0.10...v6.0.11
v6.0.10
What's Changed
- Added a closing div tag around the mail text help block by @exula in #11635
- Fixed Monthly depreciation calculation if EOL is blank by @Godmartinz in #11642
- Fixed the active flag to be as it was in later v5 releases by @uberbrady in #11648
- Fixed #8928 - add URL and ID to custom asset report by @snipe in #11649
- Fixed #6877 - Added notes to consumables, components on checkout by @snipe in #11650
- Fixes Departments update/store to allow company and/or location ids to be null by @Godmartinz in #11660
- [Snyk] Upgrade acorn from 8.7.1 to 8.8.0 by @snyk-bot in #11664
- Revert "Prevent to delete a user if still has consumables associated to them" by @snipe in #11675
- Added
null
option forpurchase_date
andexpected_checkin
dates by @snipe in #11666 - Fixed #6899 Docker container's php configuration isn't congruent with snipe-it uploads setting size. by @octobunny in #11662
- Added the category in the side info on Models > View by @snipe in #11676
- Fixed #11711 clearfix missing on admin settings page to prevent blanking divs by @Godmartinz in #11712
- Fixed #11706 Manager name by @wewhite in #11707
- Fixed #10565, #11086: correctly looks up Manager DN from AD Manager a… by @wewhite in #11705
- Fixed Translation String: wrong key at request canceled message by @julian-piehl in #11703
- [Snyk] Upgrade webpack from 5.73.0 to 5.74.0 by @snyk-bot in #11681
- [Snyk] Upgrade @fortawesome/fontawesome-free from 6.1.1 to 6.1.2 by @snyk-bot in #11680
- Declare DB_PORT in all .env files by @kylegordon in #11669
- Fixed Search in activity report for full name in relation by @inietov in #11651
- Fixed #11509 allow-ldap-anonymous-bind by @sunflowerbofh in #11510
- Fixed crash on Asset View if file doesn’t exist on server by @snipe in #11723
- Updated compiled assets by @snipe in #11727
- Fixed Validation error when creating custom fields' default values by @inietov in #11724
- Fixed #11709 Dates in custom fields not always stored in the correct format by @inietov in #11726
- Added style to readonly date fields by @snipe in #11728
- Fixed #11708 - pre-create private_storage directories for Docker restores by @uberbrady in #11729
- Fixed #11679 Importing Licenses - Field Mismatch by @inietov in #11730
- Fixed #10593 - added signature column to user history by @snipe in #11731
- Fixed: Log user out of other devices when they change their password by @snipe in #11735
New Contributors
- @octobunny made their first contribution in #11662
- @wewhite made their first contribution in #11707
- @julian-piehl made their first contribution in #11703
- @kylegordon made their first contribution in #11669
- @sunflowerbofh made their first contribution in #11510
Full Changelog: v6.0.9...v6.0.10
v6.0.9
Version 6.0.9 of Snipe-IT includes some small API and UI fixes, including better SCIM support, improved consistency among date formatting across many views, and the long-awaited fix to the Asset Importer that will now automatically generate asset tags for you if you include the asset tag column but leave it blank and you have auto-incrementing assets enabled.
What's Changed
- Upgraded jquery-UI by @snipe in #11531
- Upgraded our fork of
laravel-scim-server
to better support SCIM creates by @uberbrady in #11528 - Fixed #11540 - accessory api routes from
GET
toPOST
by @Godmartinz in #11541 - Added checkin without delete for users by @snipe in #11542
- Fixed #11549 - dark skin dropdown menu fixes by @snipe in #11551
- Upgraded
imagemin
by @snipe in #11553 - Applies current time to checkin date by @snipe in #11547
- Bumped packages by @snipe in #11554
- Added link to
SEDC / perl-www-snipe
by @snipe in #11561 - Fixed inconsistent
*_LOG_LEVEL
variables; set reasonable defaults by @uberbrady in #11562 - Added bulk edit to company view by @snipe in #11593
- Switched to conditionally adding the
nbsp;
that the table needs for proper layout if cell is empty by @snipe in #11578 - Fixed legacy routes for
php artisan optimize
by @snipe in #11595 - Fixed date format for Current Date output on location print assigned by @snipe in #11597
- Adds options to include Deleted assets to custom asset reports by @Godmartinz in #11594
- Use apropiate string for license actions by @inietov in #11603
- Hide requested assets if the user cannot see requestable items by @snipe in #11604
- Disallow checkout if qty = 0 by @snipe in #11605
- Use
unique_undeleted
instead ofunique
for custom fields unique validation by @snipe in #11596 - Error 404 fixed on submitting without mandatory field by @vickyjaura183 in #11601
- Added time diff to EOL in asset view by @snipe in #11608
- Fixed labels on radio buttons in custom report by @snipe in #11609
- Added
deleted_at
to custom report export by @snipe in #11610 - Added
configuration change
to maintenance types by @snipe in #11611 - Added relations to report search by @snipe in #11612
- Fix auto incrementing in CSV importer [sc-19366] by @inietov in #11615
- Fixed wrong calculation of assigned components by @inietov in #11617
- Added
German (Informal)
as a language option (only partially translated currently)
New Contributors
- @vickyjaura183 made their first contribution in #11601
Full Changelog: v6.0.8...v6.0.9
v6.0.8
What's Changed
- Fixed custom fields not populating when creating asset from asset model page by @mikeroq in #11451
- Added covering indexes for performance on
license_seats
by @uberbrady in #11471 - Upgrade font-awesome to v6 by @snipe in #11478
- Fixes padlock icon by @snipe in #11479
- Changed model file icon by @snipe in #11480
- Fixes license file(s) delete modal showing entire model data instead of just the name by @mikeroq in #11484
- Fixed "print assigned" sig broken by @snipe in #11490
- Fixed migrations on restore by @snipe in #11483
- Bump codacy/codacy-analysis-cli-action from 1.1.0 to 4.1.0 by @dependabot in #11458
- Fixes "email list of all assigned" apparently being successful even if the user has no email address by @mikeroq in #11492
- Added checkbox to exclude archived assets from custom reports by @Godmartinz in #11488
- Fixes #11496 - Wrong URL generated for download of asset acceptance PDF if locale was not en by @mikeroq in #11502
- Fixed #11508 - font size in alert menu by @snipe in #11516
- Changed some autolabeler and code owners by @snipe in #11517
- Use checkbox formatting on BOM and archived checkboxes in custom report by @snipe in #11526
Full Changelog: v6.0.7...v6.0.8
v6.0.7
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
- Fixed #11393 - reject acceptance if no file is present by @snipe in #11440
- Adds check to AcceptanceController to see if signatures are enabled by @mikeroq #11444
- Fixes #11452 - Asset Restore routes/buttons also asset models/users restore as well by @mikeroq in #11453
- Fixes #11459 Missing import for Setting model in AcceptanceController by @mikeroq in #11460
- Updated translations by @snipe in #11467
- Fixed typo by @reederda in #11462
New Contributors
Full Changelog: v6.0.6...v6.0.7
v6.0.6
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.
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.
Output of the console log looks like this:
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.
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.
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
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
anddeleted_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...
v6.0.5
⚠️ 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
⚠️ 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
⚠️ 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
- Added a simple
.env
checker into the upgrader by @snipe in #11196 - Fixes #11119 - Downgraded/removed SAML fallthough logging statements by @uberbrady in #11197
- Check for
APP_ENV
in upgrader by @snipe in #11198 - Fixes #11193 File Uploads don't show target in Activity report by @inietov in #11204
- Starter Livewire config (for subdirectories) by @snipe in #11202
- Added a
composer self-update
suggestion in the upgrader by @snipe in #11206 - Fixes Exception "checkout logs require target" by @inietov in #11212
- Fixes #11116 Error exception in
getimagesize()
when no logos are uploaded by @inietov in #11227 - Fixed #11232 - missing closing div by @snipe in #11233
- Added history tab to accessories by @Godmartinz in #11046
- Fixed issue with misplaced div by @Godmartinz in #11235
- Use unformatted date for diff days in audit report by @snipe in #11243
- Dropped log level to
warning
on SAML error by @snipe in #11244 - Added the validation strings for user creation password options by @snipe in #11247
- Updated Asset Model gate to correctly display the button on view by @snipe in #11248
- Added explicit “Example:” text in placeholders on LDAP screen by @snipe in #11246
- Fixed crashing on date formatting helper when value is not actually a date by @snipe in #11249
- Small locations improvements by @snipe in #11252
- Fixed #10910 - Add
php-redis
extension to docker by @denzfarid in #11251 - Fixed #11224 - Only show menu options if the user is allowed by @snipe in #11254
- Nicer locations UI by @snipe in #11253
- Fixes some issues in the asset observer by @inietov in #11259
- Fixed #11255 - add
address_2
field to locations listing by @snipe in #11261 - Fixed #11093 - Return
true
/false
for custom fields/fieldsets required value in API by @snipe in #11262 - Fixes log update to prevent action logging if no changes are made to assets [sc-19131] by @inietov in #11263
- Fixed EOL field not having date formatter applied by @inietov in #11273
- Added new JS data attributes for assets in manufacturers by @snipe in #11276
- Fixed translation references in the users ldap blade by @Godmartinz in #11278
- Fixed Accessories total quantity shows a negative number for develop branch by @inietov in #10824
- Fixed #11092 - Add element type of customfield to API response by @inietov in #11286
- Fixed observer fails when creating and assigning a new asset by @inietov in #11290
- Fixed regression: missing restore option for assets via API by @snipe in #11291
- Fixed default ldap version if not specified by @snipe in #11264
- Fixed font-awesome leading class by @snipe in #11300
- Fixed crons to run as app user in installer by @snipe in #11288
- Fixed typo in language files by @inietov in #11271
- Ensure schedule analysis job never runs on forked repos by @bestlong in #10988
- Fixed #8143 - Date localization not working on custom
DATE
fields by @inietov in #11272 - Fixed colors in light color skins by @Godmartinz in #11258
- Fixed dark skin colors by @Godmartinz in #11281
- Fixed normal mode yellow skin by @Godmartinz in #11282
- Added models view (and bulk edit) in category detail view by @snipe in #11301
New Contributors
- @denzfarid made their first contribution in #11251
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
.