v7.0.0
grokability/snipe-itv7.0.0Jun 17, 2024by snipe
AI Summary
This is the major version upgrade introducing framework-level changes, performance improvements, and the migration to Livewire for Vue components, including new asset management features.
Key Highlights
- Major framework upgrade
- Migration to Livewire
- Performance improvements
- Bulk consumable checkout
New Features
- Bulk Consumable Checkout
- Export User Permissions (Superuser & Admin)
- Redirect options to asset check in/out
- Asset file upload from API
Full Release Notes
> [!CAUTION] > **Snipe-IT now requires PHP 8.1 or greater** It's here it's here! The long-awaited v7 is out. While this is largely a framework-level upgrade, you should see some performance improvements and bug fixes throughout. We've also added the ability to determine where you get redirected after a checkout and checkin for assets, and we'll be adding more of that functionality in the future. If you happen to be running Snipe-IT over a reverse-proxy and when you upgrade, your CSS does not load, try setting `APP_FORCE_TLS=true` in your `.env`. ## 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 * 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 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 * 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 * Reports controller query optimizations by @snipe in https://github.com/snipe/snipe-it/pull/14777 * 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 * Fixed deprecation warning on category test by @snipe in https://github.com/snipe/snipe-it/pull/14783 * Update mailer configurations for Symfony mailer by @jerm in https://github.com/snipe/snipe-it/pull/14349 * Removed extra div from User Details. by @Godmartinz in https://github.com/snipe/snipe-it/pull/14754 * Fixed/updated facade paths by @snipe in https://github.com/snipe/snipe-it/pull/14785 * #14743 - Upgrade bootstrap-table from 1.22.3 to 1.22.5 by @snipe in https://github.com/snipe/snipe-it/pull/14786 * Fixes path for redirect response by @snipe in https://github.com/snipe/snipe-it/pull/14787 * Updated jquery-UI by @snipe in https://github.com/snipe/snipe-it/pull/14788 * Fixed #14781 - Fixed broken wrench icon on some browsers in manufacturer section by @snipe in https://github.com/snipe/snipe-it/pull/14789 * Bulk Consumable Checkout by @ak-piracha in https://github.com/snipe/snipe-it/pull/13062 * Upgraded papaparse by @snipe in https://github.com/snipe/snipe-it/pull/14795 * Upgraded axios by @snipe in https://github.com/snipe/snipe-it/pull/14796 * Added: Export User Permissions (Superuser & Admin) by @akemidx in https://github.com/snipe/snipe-it/pull/14614 * Added Redirect options to asset check in/out by @Godmartinz in https://github.com/snipe/snipe-it/pull/14740 * Fixed checkin option from appearing by @Godmartinz in https://github.com/snipe/snipe-it/pull/14798 * Removed unused Livewire component by @marcusmoore in https://github.com/snipe/snipe-it/pull/14799 * Added test for setup page by @bryanlopezinc in https://github.com/snipe/snipe-it/pull/14797 * Small UI tweaks and redirects when asset model is invalid by @snipe in https://github.com/snipe/snipe-it/pull/14808 * Added a few more tests by @snipe in https://github.com/snipe/snipe-it/pull/14809 * Fixes #14815 - Fixed translation string by @snipe in https://github.com/snipe/snipe-it/pull/14817 * Bump crowdin/github-action from 1 to 2 by @dependabot in https://github.com/snipe/snipe-it/pull/14814 * Added logo support for Brother TZe24mm labels by @U-H-T in https://github.com/snipe/snipe-it/pull/14758 * Fixed correct signature image for s3 bucket by @fe80 in https://github.com/snipe/snipe-it/pull/14827 * Re-organized test suite by @marcusmoore in https://github.com/snipe/snipe-it/pull/14825 * Fixed select 2 Behavior by @Godmartinz in https://github.com/snipe/snipe-it/pull/14824 * Updated strings by @snipe in https://github.com/snipe/snipe-it/pull/14819 * Don't save next autoincrement base if it's going to fail, next by @uberbrady in https://github.com/snipe/snipe-it/pull/14816 * Added test for .env visibility for setup page by @bryanlopezinc in https://github.com/snipe/snipe-it/pull/14807 * Added missing class Illuminate\Support\Facades… by @fe80 in https://github.com/snipe/snipe-it/pull/14828 * Fixed #14812 - added consumables to individual inventory report by @snipe in https://github.com/snipe/snipe-it/pull/14832 * Fixed label preview window position by @Godmartinz in https://github.com/snipe/snipe-it/pull/14842 * Better validation for relations on delete by @snipe in https://github.com/snipe/snipe-it/pull/14830 * Optimization for listings of large numbers of users by @uberbrady in https://github.com/snipe/snipe-it/pull/14847 * Added GitHub workflow for tests in Postgres by @marcusmoore in https://github.com/snipe/snipe-it/pull/14843 * Added test for app url config by @bryanlopezinc in https://github.com/snipe/snipe-it/pull/14834 * Added #9413: Asset file upload from API by @Scarzy in https://github.com/snipe/snipe-it/pull/14698 * Allow CompanyableTrait trait on users by @snipe in https://github.com/snipe/snipe-it/pull/14801 * Importer tweaks by @snipe in https://github.com/snipe/snipe-it/pull/14800 * Moved `AssetFilesTest` by @marcusmoore in https://github.com/snipe/snipe-it/pull/14871 * Added Proper Docker Compose and .env.docker-setup files by @phil-flip in https://github.com/snipe/snipe-it/pull/14724 ## New Contributors * @bryanlopezinc made their first contribution in https://github.com/snipe/snipe-it/pull/14782 * @U-H-T made their first contribution in https://github.com/snipe/snipe-it/pull/14758 * @Scarzy made their first contribution in https://github.com/snipe/snipe-it/pull/14698 * @phil-flip made their first contribution in https://github.com/snipe/snipe-it/pull/14724 **Full Changelog**: https://github.com/snipe/snipe-it/compare/v6.4.2...v7.0.0