# Open OnDemand 4.0 Release

**URL:** <https://discourse.openondemand.org/t/open-ondemand-4-0-release/3959>\
**Category:** Announcements\
**Created:** [January 13, 2025, 9:14pm UTC](https://discourse.openondemand.org/t/open-ondemand-4-0-release/3959 "2025-01-13T21:14:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![moffatsadeghi](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/moffatsadeghi/32/2122_2.png) [@moffatsadeghi](https://discourse.openondemand.org/u/moffatsadeghi)\
**Post date:** [June 17, 2025, 4:51pm UTC](https://discourse.openondemand.org/t/open-ondemand-4-0-release/3959/5 "2025-06-17T16:51:02Z")

</div>

**Open OnDemand 4.0.5 is available.** Thank you to all community members who contributed code, suggestions, bug reports, and other assistance across the project.

**Release Overview**

This release includes several fixes shown below. For a full list of changes, please see the [changelog](https://github.com/OSC/ondemand/blob/master/CHANGELOG.md#405---05-27-2025). To compare versions 4.0.3 and 4.0.5, please see [this comparison link](https://github.com/OSC/ondemand/compare/v4.0.3...v4.0.5).

**Changes That May Impact Your Site the Most**

- **File Editor Size Limit.** The file editor will now only open files that are smaller than a configurable size limit. You can configure the maximum file size that can be opened by setting the `OOD_FILE_EDITOR_MAX_SIZE` environment variable. The default is 12 MB.
- **Passenger and Metrics Collection.** Passenger has been patched for reduced metrics collection due to efficiency impacts found by CSC - IT Center for Science. Previously, all PUNs paused every 5 seconds to collect data. This duration is now configurable through `OOD_OVERRIDE_PASSENGER_ANALYTICS_COLLECTION_SLEEP_TIME_SECONDS`, which defaults to 30 seconds. Additionally, each PUN operates on its own timer, improving overall system performance. Centers can revert to the previous behavior (synchronizing every 5 seconds) by defining the environment variable `OOD_OVERRIDE_PASSENGER_ANALYTICS_COLLECTION_RESTORE_UPSTREAM_BEHAVIOR`. Any defined value, even an empty string or `false`, is interpreted as true.

**Added**

- **Passenger Telemetry.** Passenger telemetry has been disabled by default. If needed, you can re-enable it by setting the `passenger_disable_anonymous_telemetry` configuration to `off` in `nginx_stage.yml`.
- **Encrypted Password Fields.** `password_field` form widgets are now encrypted when stored, enhancing security.

**Fixed**

- **Job Composer Fix.** The Job Composer now correctly handles erroneous input when creating templates, fixing issue [#3426](https://github.com/OSC/ondemand/issues/3426).
- **Dashboard Logging Fix.** The dashboard’s configuration class now uses `$stderr.puts` instead of `Rails.logger.warn` for error logging, as `Rails` was unavailable in this context, which caused errors.

---

_[View the full topic](https://discourse.openondemand.org/t/open-ondemand-4-0-release/3959)._
