TrueNASTrueNAS Early Release Documentation
This content follows TrueNAS 26 releases.
Use the Product and Version selectors above to view content specific to a stable software release.

Feature Deprecations

As part of security hardening and improving feature maintainability, there are occasions when TrueNAS SCALE features must be deprecated and removed.

This page tracks features removed in 26 and features deprecated in 26 for removal in future versions. Begin planning migrations from these features immediately and note the TrueNAS upgrade paths required when a deprecated feature is in use.

This section tracks features removed in 26 and features deprecated in 26 for future removal. Plan migrations immediately to avoid disruptions during upgrades.

Features Removed in 26

REST API

Deprecated: 25.04 Removed: 26

The TrueNAS REST API was deprecated in TrueNAS 25.04 and is removed in TrueNAS 26. Systems still using the REST API must migrate to the WebSocket API before upgrading.

The TrueNAS REST API has been fully replaced by the versioned JSON-RPC 2.0 Websocket API.

Migration Path:

  1. Review current API integrations and identify all REST API calls.
  2. Review the Websocket API documentation to identify replacement endpoints.
  3. Update all scripts and integrations to use Websocket API endpoints.
  4. Test thoroughly in a non-production environment.
  5. Deploy updated integrations before upgrading to 26.

Impact: Systems still using the REST API must migrate to the Websocket API before upgrading to 26. REST API endpoints do not function in 26 and later.

See Also:

JSON-RPC API Methods

pool.is_upgraded

Deprecated: 25.10 Removed: 26

The pool.is_upgraded method, which reported whether a pool had all ZFS feature flags enabled, is removed in TrueNAS 26. No direct replacement is provided. Scripts that need to inspect pool feature flag state can use pool.query and read the returned feature flag information.

pool.ddt_prefetch

Deprecated: 25.10 Removed: 26

The pool.ddt_prefetch method, which prefetched deduplication table (DDT) entries for a pool, is removed in TrueNAS 26. Use pool.prefetch instead, which prefetches both DDT and Block Reference Table (BRT) metadata in a single call.


Deprecated Features (Removal in Future Versions)

JSON-RPC API Methods

Legacy Authentication Methods

Deprecated: 26 Planned Removal: 27

The auth.login and auth.login_with_api_key methods are deprecated and scheduled for removal in TrueNAS 27. Migrate to auth.login_ex:

  • Replace auth.login with auth.login_ex using mechanism="PASSWORD_PLAIN". For two-factor authentication, follow with auth.login_ex_continue using mechanism="OTP_TOKEN".
  • Replace auth.login_with_api_key with auth.login_ex using mechanism="API_KEY_PLAIN" (or mechanism="SCRAM" for stronger mutual authentication).

Removing the legacy auth.login and auth.login_with_api_key entry points does not affect API_KEY_PLAIN or the other non-SCRAM mechanisms on auth.login_ex, which remain supported beyond TrueNAS 27.

See the SCRAM Authentication primer for guidance on implementing SCRAM in custom API clients and migrating pre-TrueNAS 26 API keys to the optimized precomputed format.

Pool Scrub Methods

Deprecated: 26 Planned Removal: TBD

The pool.scrub.run and pool.scrub.scrub methods are deprecated. Use zpool.scrub.run to start, stop, or pause pool scrub operations. A removal version is not yet defined.

system.advanced consolemsg Attribute

Deprecated: 26 Planned Removal: TBD

The consolemsg attribute on system.advanced.config and system.advanced.update is deprecated. Use the ui_consolemsg attribute on system.general.config and system.general.update instead. A removal version is not yet defined.

config.save pool_keys Parameter

Deprecated: 26 Planned Removal: TBD

The pool_keys parameter on config.save is deprecated and already ignored — passing it has no effect on TrueNAS configuration backups. The parameter remains accepted for backward compatibility. A removal version is not yet defined.


Additional Resources