v7.0.0-pre
版本发布时间: 2024-05-29 18:16:56
snipe/snipe-it最新发布版本:v7.0.6(2024-06-26 20:49:20)
[!CAUTION]
This is a PRE-RELEASE and should NOT be used in production!
It's finally happening! The develop
branch for Snipe-IT is now the pre-release of Snipe-IT v7.0.0. As we continue testing, we expect some additional changes and fixes to come (and a bunch of documentation fixes). Remember that this version WILL NOT WORK on versions of PHP under 8.1 - and also that while this is not a feature-free release, the primary goal for v7 was to upgrade the framework so we can start to tackle some of the bigger things we've wanted to work on for a while.
If you need to report bugs in this branch, please be sure to mention v7
in the title.
What's Changed
- Updated Node version, and various packages to more recent by @uberbrady in https://github.com/snipe/snipe-it/pull/12956
- Fix webpack for v7 by @uberbrady in https://github.com/snipe/snipe-it/pull/12957
- Snipeit v7 merge develop 05 01 2022 by @uberbrady in https://github.com/snipe/snipe-it/pull/12958
- fixed the bulk edit button on Asset tab by @Godmartinz in https://github.com/snipe/snipe-it/pull/13763
- Fixed GitHub Action tests for v7 by @marcusmoore in https://github.com/snipe/snipe-it/pull/13864
- Fixed the
getExpiringLicenses
query by @Godmartinz in https://github.com/snipe/snipe-it/pull/13764 - added user location scope by @Godmartinz in https://github.com/snipe/snipe-it/pull/13879
- Convert Vue Personal Access Tokens to Livewire by @spencerrlongg in https://github.com/snipe/snipe-it/pull/13888
- Fix client side validation in the v7 branch by @marcusmoore in https://github.com/snipe/snipe-it/pull/13882
- Last Vue Components by @spencerrlongg in https://github.com/snipe/snipe-it/pull/14024
- Removed unused files in assets directory by @marcusmoore in https://github.com/snipe/snipe-it/pull/14063
- Update snipeit.sh for v7 Requirements by @jerm in https://github.com/snipe/snipe-it/pull/14105
- Add php version requirements file for future-proofing upgrades by @jerm in https://github.com/snipe/snipe-it/pull/14127
- Add remote requirements checking to upgrade.php by @jerm in https://github.com/snipe/snipe-it/pull/14128
- Fixed Labels: bulk actions are handled before sorting by @Godmartinz in https://github.com/snipe/snipe-it/pull/14375
- Added route parameter by @snipe in https://github.com/snipe/snipe-it/pull/14372
- Upgrade jspdf-autotable from 3.8.1 to 3.8.2 #14365 by @snipe in https://github.com/snipe/snipe-it/pull/14378
- Fixed 1dbarcodes to populate based on settings by @Godmartinz in https://github.com/snipe/snipe-it/pull/14380
- Adds User email check when sending Asset acceptance reminder by @Godmartinz in https://github.com/snipe/snipe-it/pull/14371
- Fixes CVE-2024-27354 and CVE-2024-27355 in phpseclib/phpseclib by @joelpittet in https://github.com/snipe/snipe-it/pull/14370
- Default label setup with custom fields by @Godmartinz in https://github.com/snipe/snipe-it/pull/14320
- Fix #13515: Cannot restore backup by @chandanchowdhury in https://github.com/snipe/snipe-it/pull/14379
- Added console command to encrypt previously unencrypted fields by @snipe in https://github.com/snipe/snipe-it/pull/14385
- Fixed attempting to run bulk actions on an empty asset collection by @marcusmoore in https://github.com/snipe/snipe-it/pull/14388
- old engine works as intended by @Godmartinz in https://github.com/snipe/snipe-it/pull/14389
- Removed unneeded validation message by @snipe in https://github.com/snipe/snipe-it/pull/14392
- Guard against checking require acceptance on non-existent relationship in accessory model by @marcusmoore in https://github.com/snipe/snipe-it/pull/14393
- Ensure Chat and Teams endpoints are not blank before attempting to send webhook on checkout and check in by @marcusmoore in https://github.com/snipe/snipe-it/pull/14394
- Updated language strings, added Somali by @snipe in https://github.com/snipe/snipe-it/pull/14400
- Fixed uninitialized string offset error in labels in new label engine when field label was blank by @snipe in https://github.com/snipe/snipe-it/pull/14404
- Fixed checkout_date for licenses on print all assigned for users by @snipe in https://github.com/snipe/snipe-it/pull/14407
- Fixed deprecation warning on
strtoupper()
by @snipe in https://github.com/snipe/snipe-it/pull/14413 - Fixed requestable search API by @snipe in https://github.com/snipe/snipe-it/pull/14430
- Removes the unused
mediconesystems/livewire-datatables
package by @marcusmoore in https://github.com/snipe/snipe-it/pull/14427 - Fixed z-index of date-picker by @Godmartinz in https://github.com/snipe/snipe-it/pull/14415
- Fix [sc-25008] - correct and improve legacy language warnings by @uberbrady in https://github.com/snipe/snipe-it/pull/14401
- Removed dead test code by @marcusmoore in https://github.com/snipe/snipe-it/pull/14437
- Hide/Show ecnrypted values when click on the lock icon by @mauro-miatello in https://github.com/snipe/snipe-it/pull/14406
- Organized notification test cases by @marcusmoore in https://github.com/snipe/snipe-it/pull/14436
- Make sure the category is still valid before displaying on view assets by @snipe in https://github.com/snipe/snipe-it/pull/14445
- Add additional options to print all assigned view by @snipe in https://github.com/snipe/snipe-it/pull/14447
- Fixed Bulk delete locations bug by @Godmartinz in https://github.com/snipe/snipe-it/pull/14457
- [Snyk] Upgrade bootstrap-table from 1.22.2 to 1.22.3 #14455 by @snipe in https://github.com/snipe/snipe-it/pull/14461
- Wider country dropdown by @snipe in https://github.com/snipe/snipe-it/pull/14462
- Added #14460 add avif format by @snipe in https://github.com/snipe/snipe-it/pull/14465
- Added default location to print all assigned by @snipe in https://github.com/snipe/snipe-it/pull/14468
- Added "toggle all" to column selector by @snipe in https://github.com/snipe/snipe-it/pull/14464
- Removed the need to add
InteractsWithSettings
to each test case by @marcusmoore in https://github.com/snipe/snipe-it/pull/14438 - Adds a minimal amount of validation around asset_tags in AssetsController by @marcusmoore in https://github.com/snipe/snipe-it/pull/14421
- Added 2FA reset log entry by @snipe in https://github.com/snipe/snipe-it/pull/14469
- Use
htmlentities()
instead ofhtmlspecialcharacters()
on Custom Field Listbox Values by @spencerrlongg in https://github.com/snipe/snipe-it/pull/14089 - Added validation for last_audit_date and next_audit_date by @snipe in https://github.com/snipe/snipe-it/pull/14472
- Created Dymo LabelWriter Label 2112283 by @PP-JN-RL in https://github.com/snipe/snipe-it/pull/14485
- Fixes
last_audit_date
not being stored via API correctly by @marcusmoore in https://github.com/snipe/snipe-it/pull/14486 - Handle badly formatted
last_audit_date
inStoreAssetRequest
by @marcusmoore in https://github.com/snipe/snipe-it/pull/14488 - Fixed #14482 - bad method call model restore from view by @snipe in https://github.com/snipe/snipe-it/pull/14490
- Added Dymo Labelwriter 1933081 by @PP-JN-RL in https://github.com/snipe/snipe-it/pull/14491
- Fixed #14483 - Added deeplinking to search/sort/pagination by @snipe in https://github.com/snipe/snipe-it/pull/14492
- Added supplier details to license view by @snipe in https://github.com/snipe/snipe-it/pull/14494
- Fixed #14495 - Allow user_id to be passed to limit to only specific admins by @snipe in https://github.com/snipe/snipe-it/pull/14498
- Add new validator for custom field checkboxes and fix asset model default updates by @spencerrlongg in https://github.com/snipe/snipe-it/pull/14369
- Added validation around
pwd_secure_complexity
by @marcusmoore in https://github.com/snipe/snipe-it/pull/14502 - Added ability to filter in user's assigned assets by category ID and model ID by @snipe in https://github.com/snipe/snipe-it/pull/14509
- [Snyk] Upgrade alpinejs from 3.13.5 to 3.13.6 by @snipe in https://github.com/snipe/snipe-it/pull/14510
- Updated translations by @snipe in https://github.com/snipe/snipe-it/pull/14514
- Last Checkin Date added to Hardware View and Index by @akemidx in https://github.com/snipe/snipe-it/pull/14262
- Added signature to user print report for Accessories and Consumables by @Godmartinz in https://github.com/snipe/snipe-it/pull/14500
- Fixes #14289: /reports/activity API endpoint returns too many results due to orwhere by @squintfox in https://github.com/snipe/snipe-it/pull/14515
- Fixed sorting on last checkin assets api by @snipe in https://github.com/snipe/snipe-it/pull/14516
- Check that the array key exists in the label engine by @snipe in https://github.com/snipe/snipe-it/pull/14517
- Downgrade alpine to 3.13.5 by @snipe in https://github.com/snipe/snipe-it/pull/14518
- Default Locale value changed to en-US by @akemidx in https://github.com/snipe/snipe-it/pull/14456
- fixes z-index of table load by @Godmartinz in https://github.com/snipe/snipe-it/pull/14520
- Fixed ambiguous id clause in custom report by @snipe in https://github.com/snipe/snipe-it/pull/14551
- Redirect on checkin if the asset is already checked in by @snipe in https://github.com/snipe/snipe-it/pull/14552
- Fixed alignment of dropdown menu for user in nav bar by @Godmartinz in https://github.com/snipe/snipe-it/pull/14547
- Hide/Show encrypted values in hardware list by @mauro-miatello in https://github.com/snipe/snipe-it/pull/14529
- Fixed ldap location syncing incorrect locations for users. by @Godmartinz in https://github.com/snipe/snipe-it/pull/14559
- Added audit dates to label options by @Godmartinz in https://github.com/snipe/snipe-it/pull/14557
- Remove city as required field on location modal by @snipe in https://github.com/snipe/snipe-it/pull/14567
- Reduce Extra Space in Header Dropdown by @akemidx in https://github.com/snipe/snipe-it/pull/14582
- Fixed: Header Dropdown Menus had no hover coloring in dark themes by @akemidx in https://github.com/snipe/snipe-it/pull/14558
- Upgraded Signature-pad.js && Fixed Resizing Canvas on mobile by @Godmartinz in https://github.com/snipe/snipe-it/pull/14577
- Fixed assigned to field in new label engine by @marcusmoore in https://github.com/snipe/snipe-it/pull/14581
- Fixed department validation to allow updates by @Godmartinz in https://github.com/snipe/snipe-it/pull/13880
- Fixed label fields only showing first option by @marcusmoore in https://github.com/snipe/snipe-it/pull/14594
- First fix for user FMCS scoping by @snipe in https://github.com/snipe/snipe-it/pull/14591
- Added test cases around modifying user groups via api by @marcusmoore in https://github.com/snipe/snipe-it/pull/14613
- Feat: add no-interactive flag for
upgrade.php
by @Q4kK in https://github.com/snipe/snipe-it/pull/14578 - Fixed #14508: Added PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT options to database.php … by @jeffclay in https://github.com/snipe/snipe-it/pull/14511
- Fixed check-all button behaving inconsistently by @snipe in https://github.com/snipe/snipe-it/pull/14622
- Added
ico
,image/x-icon
,image/vnd.microsoft.icon
to favicon validation by @snipe in https://github.com/snipe/snipe-it/pull/14628 - Removed escaping on notes for file uploads by @snipe in https://github.com/snipe/snipe-it/pull/14630
- Added "select" option to top of data sources in new label engine by @marcusmoore in https://github.com/snipe/snipe-it/pull/14632
- REMOVED: Dark Theme Button Text Coloring by @akemidx in https://github.com/snipe/snipe-it/pull/14616
- Re-enabled updating encrypted custom fields via API [sc-41465] by @uberbrady in https://github.com/snipe/snipe-it/pull/14602
- Left Sidebar Was Not Respecting Theme by @akemidx in https://github.com/snipe/snipe-it/pull/14608
- Removed encrypted fields from label options by @Godmartinz in https://github.com/snipe/snipe-it/pull/14499
- Added a License Export function and button by @Godmartinz in https://github.com/snipe/snipe-it/pull/14587
- Fixed
purchase_cost
not being allowed to be a string when creating asset via api by @marcusmoore in https://github.com/snipe/snipe-it/pull/14651 - Refactored due/overdue for audit, added due/overdue for checkin API endpoint and GUI by @snipe in https://github.com/snipe/snipe-it/pull/14655
- Added Brother 18mm label type by @snipe in https://github.com/snipe/snipe-it/pull/14391
- Improve RTL support by @mustafa-online in https://github.com/snipe/snipe-it/pull/14679
- Upgrade tecnickcom/tcpdf from version 6.7.4 to 6.7.5 to address the security vulnerability CVE-2024-22640 by @franceslui in https://github.com/snipe/snipe-it/pull/14661
- [Snyk] Upgrade alpinejs from 3.13.5 to 3.13.8 #14646 by @snipe in https://github.com/snipe/snipe-it/pull/14686
- Upgrade fontawesome from 6.5.1 to 6.5.2 by @snipe in https://github.com/snipe/snipe-it/pull/14687
- [Snyk] Upgrade tableexport.jquery.plugin from 1.28.0 to 1.30.0 #14656 by @snipe in https://github.com/snipe/snipe-it/pull/14688
- Capitalize
N
instead ofy
since no is default by @KorvinSzanto in https://github.com/snipe/snipe-it/pull/14689 - Load settings in
SendUpcomingAuditReport
command by @marcusmoore in https://github.com/snipe/snipe-it/pull/14690 - Fixes #14692 - set default variables for sidebar totals by @snipe in https://github.com/snipe/snipe-it/pull/14693
- Fixes #14701 - wrong total asset count by @Toreg87 in https://github.com/snipe/snipe-it/pull/14702
- Fixed UI where delete button was not disabled even if the user couldn't be deleted by @snipe in https://github.com/snipe/snipe-it/pull/14697
- Fix memory-hog query in AssetCountForSidebar middleware by @jerm in https://github.com/snipe/snipe-it/pull/14711
- Bump codacy/codacy-analysis-cli-action from 4.4.0 to 4.4.1 by @dependabot in https://github.com/snipe/snipe-it/pull/14715
- Bulk Edit Tests and Tweaks by @spencerrlongg in https://github.com/snipe/snipe-it/pull/14707
- Fixed user assets not updating when a user changes location by @Godmartinz in https://github.com/snipe/snipe-it/pull/14474
- Updated alpine to the latest version (3.13.10) by @marcusmoore in https://github.com/snipe/snipe-it/pull/14700
- Added security.txt file by @snipe in https://github.com/snipe/snipe-it/pull/14725
- Adds a note text area to asset acceptances/declines by @Godmartinz in https://github.com/snipe/snipe-it/pull/14451
- Only attempt to decrypt custom fields in activity log if the value is not empty by @snipe in https://github.com/snipe/snipe-it/pull/14728
- Added next audit date to assets form by @snipe in https://github.com/snipe/snipe-it/pull/14719
- Sets purchase date as date (versus datetime) in labels by @snipe in https://github.com/snipe/snipe-it/pull/14729
- Updated translations by @snipe in https://github.com/snipe/snipe-it/pull/14730
- Fixed #14664 - allow additional urls in env for CSP by @snipe in https://github.com/snipe/snipe-it/pull/14731
- Small translation additions by @snipe in https://github.com/snipe/snipe-it/pull/14736
- removed extra div tags by @Godmartinz in https://github.com/snipe/snipe-it/pull/14741
- Refactor group syncing on user edit API endpoint by @snipe in https://github.com/snipe/snipe-it/pull/14745
- Fixed #12299: permissions on storage dir in Docker (rebased) by @uberbrady in https://github.com/snipe/snipe-it/pull/14751
- Nicer handling of erroring when filename+log do not match by @snipe in https://github.com/snipe/snipe-it/pull/14752
- Added exif to required extensions by @snipe in https://github.com/snipe/snipe-it/pull/14753
- Fixed test by removing non-existent trait by @marcusmoore in https://github.com/snipe/snipe-it/pull/14762
- Improved translations by @snipe in https://github.com/snipe/snipe-it/pull/14767
- Changed icon, added translation by @snipe in https://github.com/snipe/snipe-it/pull/14766
- Added tests around asset checkout by @marcusmoore in https://github.com/snipe/snipe-it/pull/14755
- Add index to 'parent_id' for users with large number of locations by @uberbrady in https://github.com/snipe/snipe-it/pull/14770
- Snipeit v7 laravel10 by @uberbrady in https://github.com/snipe/snipe-it/pull/13387
- Pass accessory's currency if set by location by @snipe in https://github.com/snipe/snipe-it/pull/14773
- Fixed #14771: improvements to groups API by @snipe in https://github.com/snipe/snipe-it/pull/14775
- Fixed Array to string conversion exception in group create api endpoint by @marcusmoore in https://github.com/snipe/snipe-it/pull/14779
- Fixed sqlite tests in GitHub Actions by @marcusmoore in https://github.com/snipe/snipe-it/pull/14780
- Reduce IDE errors in App\Http\Controllers\SettingsController by @bryanlopezinc in https://github.com/snipe/snipe-it/pull/14782
- Allows Snipe-ITv7 to install on PHPv8.1-8.3 by @uberbrady in https://github.com/snipe/snipe-it/pull/14778
New Contributors
- @chandanchowdhury made their first contribution in https://github.com/snipe/snipe-it/pull/14379
- @PP-JN-RL made their first contribution in https://github.com/snipe/snipe-it/pull/14485
- @squintfox made their first contribution in https://github.com/snipe/snipe-it/pull/14515
- @Q4kK made their first contribution in https://github.com/snipe/snipe-it/pull/14578
- @jeffclay made their first contribution in https://github.com/snipe/snipe-it/pull/14511
- @mustafa-online made their first contribution in https://github.com/snipe/snipe-it/pull/14679
- @franceslui made their first contribution in https://github.com/snipe/snipe-it/pull/14661
- @KorvinSzanto made their first contribution in https://github.com/snipe/snipe-it/pull/14689
- @bryanlopezinc made their first contribution in https://github.com/snipe/snipe-it/pull/14782
Full Changelog: https://github.com/snipe/snipe-it/compare/v6.3.2...v7.0.0-pre