Releases: snipe/snipe-it
v6.3.2
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP 8.1 or greater
What's Changed
- Allowlist and db prefix for restore by @uberbrady in #14278
- Better handle large downloads on backup API by @snipe in #14296
- Added
/backups/latest
to API endpoint by @snipe in #14297 - Add missing EXIF PHP library for Alpine Docker image by @uberbrady in #14298
- Check that the model exists before trying to access properties by @snipe in #14299
- Disallow branding uploads in demo mode by @snipe in #14301
- Clean up the file extension on image file uploads by @uberbrady in #14302
- Added ability to bulk delete locations by @snipe in #14304
- Fixed title not appearing in new label engine by @marcusmoore in #14307
- Eager load relations to determine deletability on locations by @snipe in #14308
- Fixed #14183 API /hardware/:id/checkin doesn't return Licenses by @inietov in #14192
- Only send notification if the item is assigned to a person by @snipe in #14315
- Added email, phone icons by @snipe in #14316
- Made website searchable on users table by @snipe in #14317
- Fixes CVE-2024-25117 php-svg-lib lacks path validation on font through SVG inline styles by @joelpittet in #14323
- Adding in PDF download to Accesories/Asset/License Histories by @akemidx in #14321
- Check for activeFile before trying to get header on import by @snipe in #14319
- Check for valid supplier in license view by @snipe in #14325
- Nicer UI for history importer by @snipe in #14327
- Generate unique department names in factory by @marcusmoore in #14341
- Copy encrypted custom fields by @mauro-miatello in #14335
- Added created_by to groups table by @snipe in #14344
- Added
min_amt
functionality to licenses by @snipe in #14346 - Fixed: Checked in Assets Did Not Show in Custom Report when Selecting a Valid Checked Out Date by @akemidx in #14283
- Added better label previews with the new label engine by @Godmartinz in #14281
- Added tests around asset check in and added missing actions to the api controller action by @marcusmoore in #14260
- Dynamically show models/assets on requestable page by @snipe in #14347
- Use SVG cleaner on favicons by @snipe in #14354
- Updated language strings by @snipe in #14355
- Set CSP headers to true by default by @snipe in #14356
- Removed unsafe-inline and unsafe-eval by @snipe in #14357
- Fixes inconsistencies with generating labels by @Godmartinz in #14362
Full Changelog: v6.3.1...v6.3.2
v6.3.1
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP 8.1 or greater
What's Changed
- Fixed accessory checkout via API not sending notification and not adhering to qty limit by @marcusmoore in #14181
- Removed initial check for assets, licenses, etc by @snipe in #14215
- Fixed company asset counts for dashboard widget by @snipe in #14216
- Fixed FD-40296 - mobile uploads sometimes uploading with incorrect orientation by @snipe in #14213
- Upgrade bootstrap-table from 1.22.1 to 1.22.2 #14199 by @snipe in #14217
- Added support for Google Chat notifications by @Godmartinz in #14191
- Security upgrade alpine from 3.18.5 to 3.18.6 #14178 by @snipe in #14218
- Fixed consumable checkout via API not sending notification by @marcusmoore in #14190
- Use parseEscapedMarkedownInline for more views by @gitgrimbo in #13805
- Fixed #14185 - Resurfaced
load_remote
in admin by @snipe in #14219 - Removed loading of assets for label count by @snipe in #14220
- Chunk data to reduce memory on large datasets when updating
next_audit_date
by @snipe in #14221 - Added tests around getIdForCurrentUser method by @marcusmoore in #14222
- Switch to bulk updating to handle audit interval updates by @snipe in #14227
- Fixed Select2 functionality in User bulk check-in Delete User by @Godmartinz in #14223
- Fixed: 404 Error on Importer When Uploading a .csv Under Certain Circumstance by @akemidx in #14228
- Fixes file upload XSS vulnerability [sc-24156] by @uberbrady in #14233
- Fixed the general webhook not notifying anymore by @Godmartinz in #14187
- Fixed select inputs un-select2-ifying on mobile by @Godmartinz in #14229
- Fixed barcodes crashing if asset was deleted by @snipe in #14240
- Revert "Fixed barcodes crashing if asset was deleted" by @snipe in #14241
- Fixed ReportsController to not try to return a serial if the item doesn’t exist by @snipe in #14243
- Return null if asset was hard-deleted/purged by @snipe in #14244
- Fixes Default Location Being Set During Asset Creation and Checkout by @spencerrlongg in #14188
- Bump codacy/codacy-analysis-cli-action from 4.3.0 to 4.4.0 by @dependabot in #14251
- Fixed accessory check in emails being sent when setting disabled by @marcusmoore in #14256
- Cleaned up navbar-custom-menu by @mauro-miatello in #14250
- Change how we check forward-looking upgrade requirements by @jerm in #14236
- Fixes CVE-2024-24821 by upgrading composer/composer by @joelpittet in #14245
- Fixes CVE-2022-24894 by upgrading symfony/http-kernel by @joelpittet in #14246
- Fixes CVE-2023-37260 upgrading league/oauth2-server by @joelpittet in #14247
- Added LDAP group tag to LDAP tests by @marcusmoore in #14255
- Fixed incorrect string for location not existing by @snipe in #14261
- Added serial and status label to asset maintenances page and API by @snipe in #14264
- Updated testing helper name by @marcusmoore in #14272
- Upgrade alpinejs from 3.13.3 to 3.13.5 by @snipe in #14274
- Upgrade webpack from 5.89.0 to 5.90.0 by @snipe in #14275
- Fixed the notification listener by @Godmartinz in #14268
- Fixed ambiguous query on supplier_id in maintenances by @snipe in #14276
- Resolve Duplicate Activity Logs for Imports by @spencerrlongg in #14172
- Fixes #14010 Adds Components and Licenses logs to Assets history view by @inietov in #14197
- Lower log level to warning on webhook failure by @snipe in #14277
- Improved UI for fieldsets by @snipe in #14279
New Contributors
- @gitgrimbo made their first contribution in #13805
Full Changelog: v6.3.0...v6.3.1
v6.3.0
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP 8.1 or greater
Happy New Year, everyone! This update is a big one as we ramp up for the release of v7. We've got tons of bug-fixes, big and small, and we're stoked to announce support for Microsoft Teams in the notification integrations. As we continue work on v7, expect even more improvements and flexibility in notifications down the line.
We've also added the ability to specify custom fields that you would like to appear on the requestable assets page, and added user edit logging to track changes to users in the system (minus passwords, 2fa tokens, etc, of course), along with some bulk editing, LDAP and SAML improvements.
The full list of changes is below - enjoy!
What's Changed
- Check that the location is valid before debugging by @snipe in #13753
- Fixed #13652 - Labels Using Wrong Logo by @spencerrlongg in #13756
- Fixed RB-17334 - ErrorException: Undefined variable
$user_formatted_array
by @snipe in #13757 - Check for true/false explicitly on api table view by @snipe in #13759
- Check for valid date in custom report by @snipe in #13761
- Make sure order number is not an array by @snipe in #13762
- Fixed ErrorException: Array to String Conversion rb17355 by @inietov in #13758
- Fixed custom report date fields error by @Robert-Azelis in #13777
- Fixed accessory not found string by @snipe in #13784
- Map Snipe-IT logs to storage logs folder in Docker by @svpernova09 in #13786
- Fixed ErrorException: Undefined array key in importer blade [sc-23864] by @inietov in #13787
- Added an option to bulk edit location & fixed location bug by @Godmartinz in #13584
- Added optional custom fields to requestable assets page by @snipe in #13796
- Added employee number as a searchable field to the asset table by @Godmartinz in #13797
- Fixed #13795 Unlogged checkin action post updating the username of an asset through the CSV import by @inietov in #13799
- Improvements to EOL rate and EOL date by @Robert-Azelis in #13776
- Fixed FD-38641 - Bulk asset edit unable to update
model_id
, misc other bugs by @snipe in #13800 - Fixes EOL on Custom Report by @spencerrlongg in #13802
- Added User Phone & Address Fields to Custom Asset Report by @spencerrlongg in #13803
- Added
min_amt
value to model detail page by @snipe in #13809 - Fixed #11179:
APP_FORCE_TLS
missing from the example.env.docker
by @mmanjos in #13810 - Added
trim()
to import values by @snipe in #13731 - Added missing translation string by @Godmartinz in #13811
- Handle redirect from after
POST
request from backup restore by @snipe in #13812 - Added additional fields to Download All in Activity Report by @snipe in #13815
- Added checkboxes to intentionally remove field values in bulk user edit by @snipe in #13817
- Fixed validation handling on backup uploads by @snipe in #13818
- Check that the category exists on user print page by @snipe in #13819
- Fixed Attempt to read property fields on null [sc-23903] by @inietov in #13820
- Fixed datetime displayed on license edit for fields that should be date by @snipe in #13816
- More graceful failure if
ldap_results
JSON decode isn’t set by @snipe in #13821 - Fixed ldap location sync by @Godmartinz in #13828
- Added employee number to user merge screen by @snipe in #13837
- Removed Refresh button on Client Tables by @spencerrlongg in #13847
- Fixed notes not saving to action log when licenses are checked in/out by @marcusmoore in #13842
- Added #13754 - asset history tab to locations view by @ntbutler-nbcs in #13814
- New translation strings for Custom Asset report by @spencerrlongg in #13823
- Clarified address column under locations by @Godmartinz in #13769
- Fixed URL to favicon on default blade (used in 404 messages) by @snipe in #13852
- Fixed
undefined array key 266
in dashboard pie when over 265 status labels exist by @akemidx in #13857 - Security upgrade alpine from 3.17.3 to 3.17.5 by @snipe in #13871
- Link back to asset on create by @snipe in #13853
- Fixed exception when an array is incorrectly submitted and the exception occurs before validation by @spencerrlongg in #13830
- Added multi-location sync for ldap by @Godmartinz in #13831
- Fixed error
Attempt to read property "id" on bool
[sc-23945] by @inietov in #13859 - Changed data source input to select in new label engine by @marcusmoore in #13680
- Added default map back to the importer by @snipe in #13876
- Clarified upload error text by @snipe in #13878
- Fix for Unique Serial validation by @spencerrlongg in #13887
- Added
empty()
aroundlocation_id
to fix ldap sync bug by @Godmartinz in #13892 - Redirect if category is missing or invalid by @snipe in #13903
- Redirect back to the specific consumable for correction by @snipe in #13904
- Fixed #13850:
Too few arguments to function in App\Importer\UserImporter::fetchManager()
by @Azooz2014 in #13898 - Fixed #13905 - Use
unique_undeleted
instead ofunique_serial
by @snipe in #13913 - Fixed missing translation string for
validation.two_column_unique_undeleted
by @snipe in #13914 - Created mutator on category checkin_email by @snipe in #13922
- Quick revert for #13830 by @snipe in #13923
- Fixed issue where delete then restore could result in duplicate asset tags by @snipe in #13926
- Fixes double logging on asset restore by @snipe in #13928
- Added user observer by @snipe in #13930
- Use updated icons for activity report by @snipe in #13931
- Use allowlist for user observer logging by @snipe in #13932
- Removed extra return statement in consumables API checkout method by @snipe in #13933
- Escape the asset tag before passing it to the view by @snipe in #13934
- Added default location to user view assets by @snipe in #13940
- Upgraded webpack to 5.89.0 by @snipe in #13941
- Updated acorn to 8.11.2 by @snipe in #13942
- Upgrade alpinejs from 3.12.3 to 3.13.2 #13936 by @snipe in #13943
- Upgrade jspdf-autotable from 3.5.31 to 3.7.1 #13937 by @snipe in #13944
- Higher contrast on green dark skin (#13915 for develop) by @snipe in #13945
- SCIM active flag must be a boolean by @uberbrady in #13948
- Refactored checkout for items with bad or missing category by @snipe in #13947
- Check for the array key in
$activeFile->first_row
in importer by @snipe in #13950 - Hiding Order Column in Custom Fieldsets by @akemidx in #13909
- Updated language strings by @snipe in #13953
- Modified re-crypter to also work when given a CLI old-key by @uberbrady in #13958
- Fixed sqlite exception in migration by @marcusmoore in #13955
- Translation of No Group notice on User edit page by @akemidx in #13965
- Fixed status and model in bulk edit by @snipe in #13959
- Fixed user total asset cost to appear conditionally by @Godmartinz in #13954
- Created mutator for requestable attribute by @snipe in #13970
- Fixes CVE-2023...
v6.2.3
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP 8.1 or greater
This release is largely a bug fix release. There were some rare conditions where asset history wouldn't show because the original item (location, etc) were both soft-deleted and then purged, which was causing a 500 error. This didn't affect most users, but for the ones it did affect, this was an important fix.
This also fixes a migration issue between older versions of Snipe-IT upgrading to newer versions where it would have issues with the eol_explicit
field, since the asset observer tries to modify that field, but it didn't necessarily exist yet depending on where you were at with migrations. This issue is now resolved.
What's Changed
- Added tighter controls for matching log ID and item_id by @snipe in #13726
- Set resend acceptance to POST by @snipe in #13727
- Fixes qty remaining requirements for component checkout via API by @snipe in #13728
- Fixed the storing of group permissions when creating via API by @marcusmoore in #13734
- Fixed notification logic to ensure check in and out emails are delivered by @marcusmoore in #13733
- Resolves issue with migrations with table prefixes by @spencerrlongg in #13745
- Fixed #13723 - race condition on asset observer for older migration by @snipe in #13748
- Handle case where value is deleted in history by @snipe in #13749
Full Changelog: v6.2.2...v6.2.3
v6.2.2
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP 8.1 or greater
This is largely a bug fix and a security release, with an XSS bug reported shahzaibak96 on Huntr.Dev that would allow potential XSS attacks to be executed in the "Changed" column as the names of things that were old/new were not being properly escaped. We encourage folks to upgrade.
What's Changed
- Standardize Asset EOL Date by @spencerrlongg in #13585
- Logs non-compliant barcode error as debug message by @marcusmoore in #13694
- Log non-compliant barcode error as debug message by @marcusmoore in #13695
- Fixed potential call to a member function toArray() on null by @marcusmoore in #13696
- [Snyk] Security upgrade css-loader from 4.3.0 to 5.0.0 #13685 by @snipe in #13713
- Speed up EOL Migration by @spencerrlongg in #13709
- added proper margin-top to sidebar menu on bigger resolutions by @Godmartinz in #13693
- Added a check-in button on components tab of Asset view by @Godmartinz in #13704
- Fixed missing escaping asset history old/new values by @snipe in #13720
Full Changelog: v6.2.1...v6.2.2
v6.2.1
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP 8.1 or greater
Oh hai there! v6.2.1 of Snipe-IT fixes a weird but important bug where if you had ANY encrypted custom fields, the asset history would show the changed values as encrypted, even if that specific field wasn't. We also did some polishing up of some of the UI elements, adding a copy icon next to license product keys and assets serials. (Let us know if you want that added elsewhere - those two seemed like a good start.) We also resolved a small usability bugaboo where when you'd click on the "new" icon, the name field (generally the first field in the modal) now takes the focus, which means you can start typing without having to click into the name field.
We've also improved the UI of the "Integrations" setting, where you can no longer add a non-URL ("test", for example) and save those settings. For the full details, see the changelog below!
We're going to double-down on focusing on Snipe-IT v7, so expect things to be a little quiet for a bit and then very, very loud. Snipe-IT v7 will require at least PHP v8.1 (and will support PHP v8.2+) and will clear the path for cool stuff like customizable action hooks, custom fields on more than just assets, and a bunch of other neat features.
Reminder that Snipe-IT v7 WILL REQUIRE PHP 8.1 or higher!! This is a slightly higher version than the PHP 8.0 version we've been saying for a while now, so please make sure you're ready.
We did have to comment out the new feature we were SO excited about - draggable columns. Nobody is sadder about that than we are, but in some circumstances, dragging a column would result in the data in that column being mismatched, so we had to make the very difficult call to pull the feature for now. We're still working on it, and we know how important a feature it is to many of you, but we have to make sure it's bulletproof this next time.
What's Changed
- Added more info in settings by @snipe in #13650
- Fixed bug where checkout to location would throw an error if FMCS was enabled by @snipe in #13655
- Fixed exception being thrown when selected import was deleted by @marcusmoore in #13638
- Commented out draggable columns by @snipe in #13657 🫠
- Fixed #13658 for asset history with encrypted fields by @snipe in #13667
- Fixed #13670 - order number missing from license import by @snipe in #13671
- Fixed #13662 - added clipboard.js by @snipe in #13672
- Fixed bug where license checkout/checkin notes were not being saved by @snipe in #13674
- Set modal focus to modal-name field by @snipe in #13677
- Fieldset Properly Sortable in Asset Models Table by @spencerrlongg in #13678
- Fixed General Webhooks error messaging and validation by @Godmartinz in #13679
- Fixed uncaught type error when attempting to render barcodes with invalid characters by @marcusmoore in #13681
- Fixed consumable user view route name by @snipe in #13683
- Updated language strings by @snipe in #13690
Full Changelog: v6.2.0...v6.2.1
v6.2.0
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP 8.1 or greater
Welcome to the release notes for Snipe-IT 6.2. We've been trying to fix as many bugs (and sneak in as many small features) as we can before Snipe-IT v7 comes out.
Reminder that Snipe-IT v7 WILL REQUIRE PHP 8.1 or higher!! This is a slightly higher version than the PHP 8.0 version we've been saying for a while now, so please make sure you're ready. The reason for this slight bump in minimum requirements is that we've decided to launch Snipe-IT v7 on Laravel 10, which requires that slightly higher version. Our goal is to have Snipe-IT v7 out in a month or two.
Highlights
This release includes lots of bug fixes detailed below. It introduces a new label engine which will hopefully be a big help to those folks who have struggled with getting their specific printers to work with Snipe-IT labels, but also has a legacy fallback, so if you have things just right, nothing needs to change for now.
We've also added back the sticky header for long lists, and column-reordering in those table views:
Screen.Recording.2023-09-15.at.10.04.46.PM.mov
Additionally, we made some improvements to the importer, added a minimum quantity on models so you will get those alerts in your bell icon when you don't have enough of a particular asset model available. And we've fixed a few small inconsistencies in the API with regards to boolean fields.
Important! SCIM support did not previously support changing email addresses via Azure and some other SCIM clients. Under v6.2, that has been fixed, but if you were depending on the previous behavior, you may get unexpected results.
What's Changed
- Change settings table
saml_idp_metadata
to MEDIUMTEXT by @snipe in #13255 - Check for max PHP version in upgrader by @snipe in #13257
- Making Serial Number the logic checked against for new imports by @akemidx in #13169
- Fix label wrapping on category edit page by @marcusmoore in #13264
- Have ChipperCi run on each PR by @marcusmoore in #13265
- Applied Snyk #13272 by @snipe in #13278
- Upgraded acorn by @snipe in #13279
- [Snyk] Upgrade webpack from 5.86.0 to 5.87.0 #13267 by @snipe in #13280
- Fixes dev dependency on PHP 7.4 by @marcusmoore in #13282
- Fixed #13276 Error Showing Requested Assets by @inietov in #13281
- Added phone, fax to departments, locations, companies by @snipe in #13277
- Run ChipperCI on all PRs (take three) by @marcusmoore in #13293
- Avoid accidentally wiping local database when running tests by @marcusmoore in #13292
- Fixed License importer missing Checkout to: Username and Checkout to: Email in dropdown [sc-23456] by @inietov in #13268
- fixed margin if
qr_code present
by @Godmartinz in #13233 - Fixed #13167 Default location not being set/updated upon check-in by @inietov in #13225
- Fixed #13256 - Added option to switch to localStorage instead of cookies by @snipe in #13302
- Better auto increment asset-tags [FD-32892] by @uberbrady in #13301
- Added Inline markdown method by @snipe in #13288
- User department now visible in side pane of asset view page by @akemidx in #13184
- Fixed: deleted users showing in current users by @snipe in #13311
- Added ability to show/hide custom fields in list views by default by @snipe in #13312
- Moved warranty into manufactuer’s section by @snipe in #13315
- Fixed Employee Number no longer importing [sc-23497] by @inietov in #13318
- Fixes #13251 - ldap_location attribute by @uberbrady in #13322
- Fixed the inability to load location select when editing profile by @marcusmoore in #13310
- Added test cases around user search by @marcusmoore in #13319
- Added strtolower for category type by @snipe in #13333
- Update league/oauth2-server for CVE-2023-3726 by @joelpittet in #13299
- Current value added to asset index page by @akemidx in #13197
- Fixes #13341: Clean up correct seats on license delete by @Loemnk in #13342
- Fixes bug/sc-23509: Added manufacturer back into license importer by @snipe in #13344
- Check that
$this->get_depreciation()
returns by @snipe in #13346 - Fixed: tighter check for valid model by @snipe in #13349
- Possible alternative to fixing #13296 - custom report failing when th… by @snipe in #13347
- Delete button on asset view page by @akemidx in #12940
- Fixed #13298 "No records Found" when Switching between Single and Multi-Page Licenses by @inietov in #13363
- Fixed custom fieldset order by @Godmartinz in #13361
- Fixed #13376 Component checkout via API returns error by @inietov in #13379
- Fixed #11794 Admins Cannot View Encrypted Field by @inietov in #13295
- Updated BS table and table export plugins by @snipe in #13386
- Fixed #13300 Custom Asset Report, Checkout date range never includes current day by @inietov in #13309
- Fixed
webhook_endpoint
data type from varchar to a text by @Godmartinz in #13392 - Fixed #13372: Put guard around assigning location via LDAP by @uberbrady in #13397
- Fixed #13417 - Added mailgun endpoint option, defaulting to the US by @snipe in #13418
- Re-add the option for asset_eol_date as an import field by @uberbrady in #13421
- Fixed tooltip not loading on encrypted field lock icon on asset detail view by @snipe in #13424
- Updated webpack by @snipe in #13425
- Added messaging to category edit page to improve clarity around when users will be emailed by @marcusmoore in #13407
- Fixes ChipperCi Pipeline by @marcusmoore in #13414
- Updated autotable by @snipe in #13428
- Removed unused Codeception test code by @marcusmoore in #13432
- Improved test stability and messaging by @marcusmoore in #13434
- Removed unneeded
Company::scopeCompanyables
fromReportsController
by @marcusmoore in #13431 - Fixed route for accessory index by @snipe in #13439
- Fixed case in BS table formatter for boolean by @snipe in #13445
- Fixed #13450 - remove escaping on saveing new custom fields by @snipe in #13454
- Allowed permissions in the user factory to be chained by @marcusmoore in #13437
- Fixed #13446 - added translations to status label type column by @Godmartinz in #13448
- Fixed #13382 - confusion around localization date by @snipe in #13455
- Updated language strings from CrowdIn by @snipe in #13461
- Add
email
to companies by @Robert-Azelis in #13442 - New Label Engine by @cram42 in #12050
- Fixed unclosed brace by @snipe in #13465
- Fixes weird label engine layout by @snipe in #13466
- Accessory checkin via API reported wrong target user by @uberbrady in #13463
- Fixes more label html tweaks by @snipe in #13467
- Fixed checkboxes for accessibility by @snipe in #13469
- Fixed #13464 typo in accessories clone by @snipe in #13470
- Fixed #13365 - Added
LOGIN_AUTOCOMPLETE
as env var by @snipe in #13457 - Check that there is a company before trying to get name property by @snipe in #13473
- Accessory checkin via API reported wrong target user by @uberbrady in #13476
- Fixed #13409 Search in component detail view not working by @inietov in #13471
- Fixed #13359 Advanced search by Default Location does not work by @inietov in #13483
- Fixed Ld...
v6.1.2
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP8.1 or greater
What's Changed
This is a small point release that fixes some bugs and handles some SCIM debugging a little better.
What's Changed
- Fixed audit log image not appearing by @Godmartinz in #13159
- Moved logic for tighter constraints when ids are passed by @snipe in #13186
- Fixed issue when importing Assets and no status labels exists [sc-23359] by @inietov in #13196
- Set table alias for model number sort scope by @snipe in #13200
- Add missing relationship check in Asset Transformer by @marcusmoore in #13220
- Have ChipperCI run on each PR by @marcusmoore in #13218
- Fix translation string in user importer by @marcusmoore in #13216
- Allow running tests in parallel by @marcusmoore in #13212
- Added half_year fix from @jdickerson71388 by @Godmartinz in #13207
- Improve testing around company scoping by @marcusmoore in #13211
- Checkin/out info on side bar by @akemidx in #13045
- Delete notes column map from assets importer by @inietov in #13223
- More reshuffling of scopes in assets API by @snipe in #13227
- Fixed #13213 - Use the Helper::parseEscapedMarkedown in notes by @snipe in #13222
- Cancel requested assets without checkin/out [ch-17606] by @inietov in #13219
- Use proper alias for table scope by @snipe in #13228
- Fixed custom fields labels being unreadable by @Godmartinz in #13229
- Fixed windows backup filename - swapped colon in timestamp to hyphen to handle windows filesystems by @snipe in #13230
- Redirect if the license can’t be found by @snipe in #13231
- Fixed barcode and info from overlapping by @Godmartinz in #13232
- Properly return SCIM Exceptions by @uberbrady in #13253
Full Changelog: v6.1.1...v6.1.2
v6.1.1
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP8.0 or greater
What's Changed
This is a little long for a point release, but we didn't want to wait on it any longer. Tons of bug fixes and UI improvements, as well as a few new features:
New Stuff!
- You can now import locations via the importer
- You can now select a supplier for components and consumables
- You can now add cool new dynamic links for warranty urls using placeholder variables that get populated by the asset information
- You can now use more search ranges and multi-selectable values in the Custom Asset Report
- You can now set custom fields to be auto-added to new fieldsets
Also: Google Workspace OAuth Login
The user must exist in Snipe-IT in order to login successfully)
Also Also: Ability to add fields to field sets on fieldset create/edit
Screen.Recording.2023-04-25.at.9.35.39.PM.mov
Also Also Also: Ability to auto-add fields to any new fieldsets that get created afterwards
Screen.Recording.2023-04-25.at.9.36.40.PM.mov
Also Added
- Updated Dockerfile to Ubuntu 22.04 and PHP 8.1 by @svpernova09 in #12833
- Introduced improved way to interact with settings in tests by @marcusmoore in #12834
- Added supplier to components and consumables by @snipe in #12830
- Added license checkin/checkout to all in license GUI by @snipe in #12849
- Added more granular permissions on bulk actions for assets by @snipe in #12910
- Added ldap_location to settings by @Godmartinz in #12912
- Dynamic warranty link for manufacturers' support urls by @akemidx in #12906
- Added help text to the now-dynamic manufacturer URLS by @snipe in #12930
- Created At and Updated At fields on License table view by @akemidx in #12941
- Added component costs to asset view by @Godmartinz in #12880
- Added Location importer via Livewire Importer by @snipe in #12846
- Added ability to auto-add fields to new fieldsets by @snipe in #12916
- Adds a checkout range for custom asset reports by @Godmartinz in #12874
- Google OAuth login by @snipe in #12994
- Added warranty confirmation to asset maintenance table by @Godmartinz in #13158
- Added asset_tag column in requestable assets page by @NojoudAlshehri in #13093
- Accept user ID as possible authoritative field for updates by @snipe in #13171
Improved
- Small tooltip improvements for undeployable items in table view by @snipe in #12867
- Allow an environment variable to set the session cookie path by @joelpittet in #12877
- Change from a standard Eloquent mapping for ID to a custom setRead by @uberbrady in #12913
- Use the asset tag instead of asset name if no name is given on delete modal by @snipe in #12929
- Env-ify hashing variables, setting the normal defaults by @snipe in #12928
- Remove the loading of asset maintenances that are not used by view by @marcusmoore in #12943
- Use environment variable and default to PHP's sendmail_path by @joelpittet in #12878
- Show signature column in asset history regardless of “require sig” state by @snipe in #12974
- Add optional filename to backup by @snipe in #12983
- Check that the filename we pass ends in zip, add it if not by @snipe in #12984
- Refactor of #12955 by @inietov in #12976
- Increase state from 3 chars by @snipe in #12985
- Pass filename to pre-import backup by @snipe in #12986
- Buttons on the Accessory View Page by @akemidx in #12982
- Add ChipperCI configuration by @marcusmoore in #12989
- Add eager loading to Asset Models controller by @marcusmoore in #13069
- Added Multiselect of companies for custom reports by @Godmartinz in #12831
- Updated translation strings by @snipe in #13164
- Refactor importer for localization by @snipe in #13041
- Lots if importer UI mapping improvements
Fixed
- Maintain activated state on editing a user by @snipe in #12810
- Check for Carbon exception by @snipe in #12818
- Removed iCheck code from merge users script by @snipe in #12824
- Fixed #12822 - Missing translation on bulk edit user submit button by @snipe in #12825
- Added invalid parse to dontReport by @snipe in #12826
- Better handling for weird data passed to the API via limit and offset by @snipe in #12827
- [Snyk] Upgrade webpack from 5.76.1 to 5.76.2 by @snipe in #12798
- [Snyk] Upgrade tableexport.jquery.plugin from 1.26.0 to 1.27.0 by @snipe in #12768
- Small blade partial fixes by @snipe in #12844
- Upgrade bootstrap-table from 1.20.2 to 1.21.3 (Formerly #12733) by @snipe in #12845
- Remove start/end dates from casts array by @snipe in #12857
- Allow checkout of available components down to zero stock (fixes #12854) by @koelle25 in #12855
- Fixed dark themes pagination and notification drop menu by @Godmartinz in #12828
- Fixed footer space when customized by @Godmartinz in #12832
- Fixed space from un deployable total in sidebar by @Godmartinz in #12875
- Fixed
Call to a member function totalSeatsByLicenseID() on null
by @inietov in #12885 - Fixed: Ensure users editing themselves do not deactivate their account by @marcusmoore in #12887
- Fixed #8342: Add ARM64 architecture to Docker Builds by @zacharyfleck in #12904
- Fixes state leak between tests by @marcusmoore in #12914
- [Snyk] Upgrade webpack from 5.76.2 to 5.77.0 by @snipe in #12888
- [Snyk] Upgrade bootstrap-table from 1.21.3 to 1.21.4 by @snyk-bot in #12891
- Fixes where clause operator in artisan checkout command by @marcusmoore in #12905
- Fixes sending webhook notifications for checkout and checkin by @marcusmoore in #12903
- Fixed #8208, #8896, #8985 and #9789: Currency issues when using non-english locales (resubmission) by @dboth in #12756
- Applies #12868 - fixes EOL date on asset creation by @snipe in #12917
- Fixed #12918 - wrong route for clone location by @snipe in #12922
- Added missing case for licenses for item_count by @snipe in #12942
- Fixed #12946 - warranty lookup url was not nullable by @snipe in #12950
- Clear the settings cache on app destruction by @marcusmoore in #12954
- Fixed color differences in dark themes by @Godmartinz in #12966
- Restrict PHP version to <8.2 by @marcusmoore in #12964
- Fixed Error 500 after sign and accept asset by @inietov in #12955
- Added missing use statement by @snipe in #12979
- Fixed misplaced div when saml is disabled by @snipe in #12981
- Fixes user name missing in accessory acceptance notifications by @marcusmoore in #12972
- Fixed Notes field doesn't get populate when creating/updating assets via Importer [sc-23222] by @inietov in #12975
- Fixed #12881 - Added icon field back into assets page by @snipe in #12990
- Fixed width of accessory columns in details by @snipe in #12991
- Tightened up some layout issues, checkbox issues in LDAP settings by @snipe in #12993
- Fixes PR #12831 use array bracket for multi select company by @snipe in https://github.com/snip...
v6.1.0
⚠️ IMPORTANT: Future versions of Snipe-IT will require PHP8.0 or greater
Happy Friday everyone! Version 6.1.0 is out! As you can see from the changelog below, it's a big one! (It will be less dramatic if you've been pulling from master
this whole time, but some folks only use tagged releases.)
We've made a ton of bug fixes and query optimizations in this release, and enhanced many aspects of the UI, including some big improvements to the importer UI (with more on the way.) Additionally, we've made lots more progress in replacing hard-coded English strings with translatable strings (much more work on that to come as well.)
We've also introduced a new "Merge Users" tool for those unfortunate scenarios where users were importer or added manually but the usernames didn't match, so duplicates were created by LDAP sync or SCIM:
Screen.Recording.2023-03-17.at.4.52.45.PM.mov
Which writes to the action log:
Since our last release, we've added two new developers to the team, @marcusmoore and @spencerrlongg! We're excited to see what great contributions they make to the project!
This will be the last release (barring emergency bugfixes and security patches) in the v6 line. Next up is v7 of Snipe-IT, which will bring even more good stuff like expanding webhooks, improved notifications, more logging and tons more.
What's Changed
- Fixed #12215 - string for “Hello, :name” in pt-BR was using
%
by @snipe in #12233 - Add email in assigned_to on asset transformer by @snipe in #12238
- Adds asset age to asset index and asset view pages by @Godmartinz in #12181
- Added: serial to components tab of assets by @Godmartinz in #12247
- Fixed: Grey out email inventory button if user has nothing assigned by @akemidx in #12243
- Adds remote field to the user importer by @Godmartinz in #12205
- Upgraded font awesome to 6.2.1 by @snipe in #12251
- Fixed #9875: Make locations deletable for non Superuser-Accounts with FullMultipleCompanySupport by @Toreg87 in #9876
- Adds a permission group selection for directory sync by @Godmartinz in #11736
- Fixed: Grey out password reset button for consistency by @akemidx in #12250
- Removed extra logging case that was very noisy by @snipe in #12188
- Added
purchase_cost
to user's default view [sc-19680] by @inietov in #12242 - Fixed 500 when downloading the Unaccepted Assets report [sc-19555] by @inietov in #12209
- Bump actions/checkout from 3.1.0 to 3.2.0 by @dependabot in #12260
- Commenting on a scope in Models/Company.php by @akemidx in #12254
- Fixed: Bug with BS tables' select-all which showed an incorrect list of elements by @uberbrady in #12266
- Fixed: Dashboard user count scoping when full company support is enabled by @inietov in #12268
- Added: notes to the accessories tab for user detail view by @Godmartinz in #12264
- Added: validation for department names at Company locations by @Godmartinz in #12090
- Fixed db seeder when company id is not present by @snipe in #12298
- Fixed: Change license_seat changing method to properly 'true up' license seats by @uberbrady in #12305
- Fixed incomplete sentence in translation file for audit interval by @snipe in #12306
- Updated less-loader and css-loader libraries by @snipe in #12307
- Fixed missing translation string by @snipe in #12308
- Fixed: page-break and padding at the end of document for labels by @Godmartinz in #12263
- Added default values to model api GET endpoint by @snipe in #12315
- Chunk sync script by @snipe in #12316
- Truncate URL with ellipsis if too long by @snipe in #12317
- Bump actions/checkout from 3.2.0 to 3.3.0 by @dependabot in #12320
- Updated language strings by @snipe in #12323
- Fixed #12288 - LDAP default group feature refactor by @uberbrady in #12325
- Added username to display in asset listings by @snipe in #12324
- The cache system in getSettings() cached values "forever." That's bad. by @uberbrady in #12326
- Fixed #12236 - Determine which transformer to use based on number of assets in byTag and bySerial API endpoint by @snipe in #12327
- Fixed bySerial endpoint to always return a list by @snipe in #12328
- Fixed UX issue where assets sidenav would collapse if custom status label is selected by @snipe in #12330
- Updated installer script for multiple fixes and features by @subdriven in #12158
- Fixed rollbar integration if ROLLBAR_TOKEN is provided by @snipe in #12329
- Refactor category API for fewer queries by @snipe in #12336
- Added jamf-snipe-rename script to third party list by @snipe in #12337
- Fixed #12004: Snipe-IT restore didn't work on Windows by @uberbrady in #12335
- Check that the
$use_db_field
has a value before attempting a delete by @snipe in #12351 - Added South Sudan to country list by @snipe in #12352
- Only add rollbar to the logging array if the app is in production by @snipe in #12353
- Backed out less-loader version requirement so that builds still work by @uberbrady in #12354
- Added categories to default visiable set on asset models by @snipe in #12355
- Fixed #12362: Bug With Passwords Including Ampersands? by @corydlamb in #12363
- BREAKING: Partial fix for #12356: Make 2FA sortable in user list by @snipe in #12364
- Fixed file uploads for accessories, components, and consumables by @marcusmoore in #12370
- Added BYOD to assets by @snipe in #12369
- Fixed #12340 Deleting imported files visually drops first element in table. by @inietov in #12377
- Allow users to set a blank asset name during checkout by @marcusmoore in #12378
- Updated dev assets by @snipe in #12380
- Fix minor visual bug on asset show page by @marcusmoore in #12379
- Fixed #12388 - Add CSS to the div to correct the weird indenting by @snipe in #12389
- Fixed "Backup before importing?" checkbox on import page by @jerm in #12400
- Fixed: translations for EULA Acceptance Summary by @akemidx in #12398
- Updated - Refactored ImageHandler request to be more re-usable, and checkboxes with missing
minimal
class for iCheck by @snipe in #12387 - Fixed buttons colors in high contrast theme by @Godmartinz in #12405
- Resolved Rollbar error 16746 - missing array key 'extension' by @uberbrady in #12411
- Redo SCIM config; use latest laravel-scim-server from our fork by @uberbrady in #12341
- Fixed the endpoint for user notification with all their assigned assets by @lukasfehling in #12435
- Fixed #9694 Replace iOS "Add to homescreen icon" by @inietov in #12438
- Fixed: username doubles on 'checked-out-to' column if display is resized [sc-19869], [fd-33242] by @uberbrady in #12439
- Cherry-picked Feature: Add DB_PORT to pgsql connection by @svpernova09 in #12429
- Fixed Invalid date value on assets acceptance mail notification by @inietov in #12433
- Fixed #12382 - added checked out count to accessories by @snipe in #12386
- Fixed: Checkin limit string translation for components by @akemidx in #12409
- Fixed: Active Directory "not-delegated+dont-expire-password+normal-accounts" can now login by @uberbrady in #12437
- Fixed #12418 - added ability to edit custom field names via GUI by @snipe in https://github.com/snipe/...