v2.50.0
Added 3
- Add cascade option to the remove_remote_schema API
- Add --disable-admin-secret (HASURA_GRAPHQL_DISABLE_ADMIN_SECRET) flag to disable authentication via the x-hasura-admin-secret request header
- Add the HASURA_GRAPHQL_DISALLOW_INCONSISTENT_METADATA environment variable to cli-migrations-v3 to enable --disallow-inconsistent-metadata for the metadata apply command
Changed 4
- Async actions now preserve the originating GraphQL request's distributed trace context (W3C TraceContext / B3) and continue the original trace when invoking the action handler webhook
- Event trigger names now undergo stricter validation and must only contain alphanumeric, underscore and hyphen characters
- Restore the pre-existing naming behaviour as the default, with September-2023 naming convention now opt-in via the HASURA_FF_NAMING_CONVENTION_SEP_2023 environment variable
- Improve the performance of order_by ...asc_nulls_first and ...desc_nulls_last in the MSSQL backend
Fixed 1
- Fix Postgres SSL connection failures for the self-hosted Ubuntu image when running on FIPS-enabled hosts by setting OPENSSL_FORCE_FIPS_MODE=0
Security 3
- Fix a bug in the MSSQL backend that could allow an authenticated user to observe data they were not authorized for
- Upgrade Go to v1.26 and fix security vulnerabilities in CLI
- Upgrade dependencies for the Super Connector to fix vulnerabilities
Changelog
Bug fixes and improvements
Server
- IMPORTANT: fix a bug in the mssql backend that could in certain cases allow an authenticated user to observe data they were not authorized for. All MS SQL Server users are encouraged to upgrade. More details to be released.
- Add
cascadeoption to theremove_remote_schemaAPI. - Async actions now preserve the originating GraphQL request's distributed trace context (W3C TraceContext / B3). The async actions processor continues the original trace when invoking the action handler webhook instead of starting a new, disconnected trace, restoring end-to-end visibility in OTel-compatible tracing backends. (Enterprise/cloud only)
- Add
--disable-admin-secret(HASURA_GRAPHQL_DISABLE_ADMIN_SECRET) flag to disable the authentication via thex-hasura-admin-secretrequest header. Require webhook or JWT auth if the admin secret is disabled. - Event trigger names now undergo stricter validation, and must only contain alphanumeric, underscore and hyphen characters. Formerly this was only a warning on
replace_metadata. Server upgrades over metadata containing non-conforming names should continue to work, but names must be fixed before the nextreplace_metadata. - Restore the pre-existing naming behaviour as the default. A previous change made the September-2023 naming convention the unconditional default, which was a breaking change for existing OSS/EE users. The September-2023 behaviour is once again opt-in, now via the
HASURA_FF_NAMING_CONVENTION_SEP_2023environment variable (true/false, case-insensitive, defaultfalse). - Improve the performance of
order_by ...asc_nulls_firstand...desc_nulls_lastin the MSSQL backend (contributed by Behzad Fattahi)
CLI
- Upgrade Go v1.26 and fix security vulnerabilities.
Data Connector
- Upgraded dependencies for the Super Connector to fix vulnerabilities (Enterprise/cloud only)
Build
- cli-migrations-v3: add the
HASURA_GRAPHQL_DISALLOW_INCONSISTENT_METADATAenvironment variable to the enable--disallow-inconsistent-metadatafor themetadata applycommand. - Fixed Postgres SSL connection failures for the self-hosted Ubuntu image when
running on FIPS-enabled hosts. Since v2.49.5 (Ubuntu Noble base), OpenSSL tried
to load a FIPS provider that is not shipped in the container, causing libpq SSL
context initialization to fail (could not create SSL context: could not load the shared library) and fall back to a rejected cleartext connection. The
image now sets
OPENSSL_FORCE_FIPS_MODE=0(upstream-documented workaround for Ubuntu bug LP#2141933) so it boots and negotiates TLS to Postgres on FIPS hosts. This is a container bootability fix and is not a FIPS certification claim.