v2.17.4

semaphoreui/semaphorev2.17.4Feb 17, 2026by fiftin

AI Summary

This release focuses on performance improvements by reducing database queries, fixes permission enforcement issues in the UI, and adds task details to shell applications via environment variables.

Key Highlights

  • Reduced database queries for tasks
  • Fixed template role permissions enforcement in the UI
  • Fixed integration and role permission checks in the UI
  • Task details available to shell applications as environment variables

New Features

  • Task details available to shell applications as environment variables

Full Release Notes

## Summary

This release focuses on **performance improvements, permission fixes, and small usability enhancements**, along with routine dependency updates and test coverage improvements.

### ๐Ÿš€ Performance

* **Reduced database queries for tasks**, improving overall performance and responsiveness.

### ๐Ÿ” Permissions & UI fixes

* Template role permissions are now correctly enforced in the UI.
* Integration and role permission checks in the UI have been fixed.

### โš™๏ธ Improvements

* Semaphore task details are now available to shell applications via environment variables.
* Adjustments to template directory handling.

### ๐Ÿงช Testing & Maintenance

* Added unit tests for `getHomeDir`.
* Upgraded `core-js` dependency.
* Internal optimizations and minor fixes.


## Changelog
* e49d0305384212b84b5c4b2ec194d00ed88da40c Merge pull request #3619 from semaphoreui/perf/optimize_db_queries

## What's Changed
* [Snyk] Upgrade core-js from 3.47.0 to 3.48.0 by @fiftin in https://github.com/semaphoreui/semaphore/pull/3611
* Add semaphore task details to shell apps as environment variables by @riton in https://github.com/semaphoreui/semaphore/pull/3597
* test: add unit tests for getHomeDir function by @Copilot in https://github.com/semaphoreui/semaphore/pull/3615
* home to template dir by @fiftin in https://github.com/semaphoreui/semaphore/pull/3612
* fix(perms): respect role permisisons for templates on ui by @fiftin in https://github.com/semaphoreui/semaphore/pull/3617
* fix(ui): check permissions for intergrations and roles by @fiftin in https://github.com/semaphoreui/semaphore/pull/3618
* perf(tasks): descrese db queries by @fiftin in https://github.com/semaphoreui/semaphore/pull/3619


**Full Changelog**: https://github.com/semaphoreui/semaphore/compare/v2.17.2...v2.17.4