Snipe-IT v5.0.6 Released

S

This is a small point release that adds a little extra functionality for extending the life of your API keys. Keys prior to this version will expire in one year, however we’ve added a much longer expiration for these now, which defaults to 20 years. If you’d like to override this with a shorter (or longer) expiration, add API_TOKEN_EXPIRATION_YEARS=X (where X is the number of years you want them to expire in) to your .env and clear your config cache with php artisan config:cache.

We certainly could have waited to push this out into a release later in the week, but it seemed too useful not to share it right away.

Added

  • Added created_at and expires_at to Account API token UI
  • Added configured API expiration in years to API token sidebar for clarity
  • Fixed #8673 – added category to accessories listing on Account > Assigned Assets

⚠️ IMPORTANT: This release requires PHP 7.2.0 or greater. ⚠️

Upgrading

If your minimum password setting in Admin > Settings was previously less than 8, you should change this to 8 or greater before upgrading. Failure to update this may cause other settings to fail on saving.

If you’re running into an issue with images not showing up, that’s due to an outdated version of upgrade.php (outdated because of us, not you.) That script unfortunately tries (tried) to move your files to the Laravel-approved storage directory. Since that was last updated, we decided not to use that file path, so if you upgraded using upgrade.php and your images are coming up broken, please move the files in app/storage/uploads back to public/uploads and remove the symlink the upgrader created for you. (After v5.0.0, the upgrader was patched to not move those files anymore, so if you skipped the v5.0.0 upgrade you should be fine and no action is needed.)

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

For a full list of changes, see the changelog.

After completing the upgrade process, be sure to clear your browser cookies.

Upgrading from v3

Please see the upgrade instructions here.

About the author

A. Gianotto

Alison is the founder and CEO of Grokability, Inc, the company that makes the open source product Snipe-IT.

By A. Gianotto

Snipe-IT at Laracon

Open Source in Business Interview

Snipe-IT at Longhorn PHP