Changelog
ulex's release history: what changed, what is deprecated, and what an agent needs to know about each version. Semantic versioning, wire-stability guarantees, and the deprecation timeline.
ulex follows semantic versioning for the wire contract, not the marketing version. A minor version never removes a public field, and a major version never surprises you.
#Versioning policy
| Change | Version bump | Migration window |
|---|---|---|
| a new endpoint, tool, event, or error code | minor | none. Additive |
| a new optional response field | minor | none. Existing clients ignore it |
| a new enum value in a response | minor | none. Clients must handle unknown values |
| a new required request field | major | 6-month deprecation |
| a removed or renamed public field | major | 6-month deprecation, with a __DEPRECATED__ warning for 3 of them |
| a changed field type | major | never. A new field, a backfill, a dual-read, then a major |
| a removed webhook event | major | 6 months at warning level |
| a narrowed enum in a request | major | 6 months |
| a changed default that alters behaviour | major | 6 months |
| a security fix | patch, or minor if it needs a config change | documented in the entry |
| a bug fix | patch | none |
CI enforces wire compatibility checks on public schemas and enums before release.
#Reading a version
2025.9.1
│ │ └── patch bug fix, no behaviour change
│ └───── minor additive: new endpoints, tools, events, optional fields
└──────── major a breaking wire change. Read the migration guide firstCheck x-ulex-version headers or pin your CI to a minor version when validating API behavior.
#Unreleased
These entries record recent control plane changes and API behavior on https://ulexid.com, and several of them correct a claim rather than add a capability — which is why the "Removed" and "Corrected" groups are larger than usual.
#User consent for third-party applications
Resolves S1. prompt=consent was validated at the protocol layer and then ignored, no consent record was persisted, consent_required was unreachable, and a third_party application — the kind that receives a pairwise sub, and therefore someone else's software — was issued tokens with zero user interaction.
Added
GET /oauth2/consentandPOST /oauth2/consent. Athird_partyapplication cannot be issued an authorization code until a person approves it. The screen names the application and describes each scope in words rather than listing identifiers.- Grants are persisted per (user, application) and are a ceiling: a later request for scopes beyond the grant is a new decision, and
prompt=consentre-asks even when a matching grant exists. Approval widens a grant; nothing narrows one. prompt=noneanswersconsent_requiredand issues no code and no token, and the error names the scopes that are not yet approved.- Refusal is a decision, not a failure: the client gets
error=access_deniedat its ownredirect_uriwith its ownstate, and no grant is written. consent.granted,consent.deniedandconsent.revokedaudit actions. A refusal leaves no state behind, so without its own action "the user was never asked" and "the user said no" would be indistinguishable in the log.- The approval is bound to one pending authorization request: the whole request travels inside an HMAC-signed token, is re-validated from scratch on the decision, must come from the session it was bound to, must come from this origin, and is single-use.
- The federation callback now gates on consent too, and sets the session cookie on that path. It mints from a session created by an upstream IdP, so it was the easiest way to get a token for a third-party client without asking anyone — and a federated sign-in previously left a session the browser never learned about, which is why cross-application SSO stopped at the first federated application.
Corrected
login_required,consent_required,interaction_required,account_selection_required,mfa_requiredandstep_up_requirednow answer 401 on the OAuth surface.core/errors.tsassigned every one of them a 401 and three documents published the same, but adefault: 400in the OAuth error renderer swallowed the whole set — so the server said 400 while the documentation said 401, and four e2e assertions had recorded the bug rather than the contract. A client that branches on the status will see401where it saw400.
#Organization isolation and SSO enforcement
Added
- Enforced
organization.sso_only(F7): At session creation, direct password and social logins are refused with403 access_denied(sso_required). Authentication must use an enterprise SSO connection permitted by the organization (connection_idordefault_connection_id). - Most-restrictive rule across memberships: If a user belongs to multiple organizations and at least one enforces
sso_only: true, password sign-in is refused, and the connection used must be permitted by allsso_onlyorganizations the user belongs to. - Enforced
organization.allow_profiles_outside_organization(F7): At user creation/joining (JIT provisioning, SCIM provisioning, portal invitations, and member addition), whenfalse(default), the user's email domain must match an active verified domain (domain.state === 'verified') belonging to the organization, else403 access_denied.
#Federation
Added
- Upstream OIDC:
GET /oauth2/connections/{id}/authorizeand/callback. Discovery validation, PKCE,id_tokenverification against the IdP's own JWKS, and JIT provisioning. Eight strategies:oidc,google_oidc,microsoft_oidc,entra_oidc,okta_oidc,github_oidc,apple_oidc,generic_oauth2. - ulex as a SAML service provider:
GET /saml/connections/{id}/ssoandPOST /saml/connections/{id}/acs. /auth/{appId}renders one button per active federated connection. Federation was reachable by URL and not by clicking; an operator with a real IdP configured sent their own users to a password prompt.parseSamlSigningKey, exported from@ulex/protocol, accepting a PEM certificate, a bare base64 certificate, or a bare SPKI.
Corrected
POST /connections/{id}/verifywas a config inspection checking thatissuerwas non-empty. It now fetches and validates the discovery document, caches the endpoints on success only, parses the pinned SAML certificate to a usable key, and probessso_url. It was the documented gate on going live, so "verified" and "the IdP answers" were the same claim and only the first was true.ulex_verify_connectionreported the discovery fetch asskippedwith the detail "verified by the auth service at login time". Nothing did. Both surfaces now call one implementation.- A SAML connection could not verify any assertion:
serialiseSubElement's two depth counters could never agree for a nested element, sosignatureElementXmlwas alwaysnull. Unit tests stayed green because nothing asserted on it for a nested assertion. - JIT-provisioned users had an empty
groupsclaim for every strategy, including SAML and OIDC.
Removed
/saml/sp/metadatapublished a descriptor naming ACS and SLO endpoints that were not mounted, with an empty certificate. A metadata import is one-way, so an operator's console reported success and breakage appeared later as a sign-in failure. Both SAML metadata endpoints now refuse rather than claim. ulex does not act as a SAML IdP.
#Authentication policy
Added
GET/PUT /api/v1/auth-policyandulex_get_auth_policy/ulex_update_auth_policy. There was no route to read or write the record, so every field below was configurable and inert.password_policy_not_met(400), naming every unmet rule at once.auth_policy.updatedandauth_policy.ip_blockedaudit actions.policy.set[]on every read, so a value an operator chose is distinguishable from a default.
Changed
password.min_lengthand the fourrequire_*flags are enforced where a human chooses a password. The only password rule the product enforced was a hardcodedmin(8)in a request schema.- All of
sessionis enforced.idle_timeout_secondswas hardcoded to 7 days andreauthenticate_after_secondsto 24 hours while remaining settable to anything. blocked_ip_rangesis enforced on every authenticated request, not the sign-in form, so it cannot be walked around via the token endpoint or refresh rotation.application.cross_app_sso_enabledis enforced on session reuse.- A session records the application that created it, in
application_ids. It started empty, which meantendSessionEverywherenever reached the application a person actually signed in to, andcross_app_sso: falsecould not be enforced on the first reuse.
Removed
auth_policy.allowed_countries. It could not be implemented honestly: the only data source isCloudFront-Viewer-Country, and the distribution sets no origin request policy that overwrites a viewer-supplied one. An allowlist built on that looks enforced, passes an audit, and is defeated by one request header.
Not enforced, and now documented as such
auth_policy.mfa.*, password.max_age_days, and password.forbid_reuse_count are stored and returned but do nothing. mfa.mode: "required" does not require a second factor.
#Fixed
ulex_update_auth_policyandPUT /api/v1/auth-policycould not be called at all against a deployed environment. Both read the stored policy, merged the request onto it, and re-parsed the merge throughauthPolicySchema— which is strict. The DynamoDB read returned the row's internalentitydiscriminator alongside the record, so the parse failed before the write:internal_errorfrom the MCP tool, and400 validation_failedfrom REST quoting'entity'back at a caller who never sent it. The in-memory store never writes a discriminator, so no local test could see it. The read projector now removes it, rather than the schema being loosened to tolerate it — strict schemas are what catch the next storage bug. The issue was reproduced and verified against the live DynamoDB store.ulex_search_audit_logsreturned an empty page for every query, including one with no filters at all, on DynamoDB. It selected audit rows by the same internal discriminator the read projector had just removed, comparing a column the projected record no longer had. The log an auditor asks for first read as a tenant with no history. The kind filter now runs before the projection, where it can see the column.policy.set[]reported a block as deliberately configured when it was byte-for-byte the product default, so a tenant that had never chosensession.cross_app_ssowas recorded as having chosen it. The comparison wasJSON.stringify, justified as safe because schema output has a stable key order — which is true of two schema outputs and of nothing else, and a stored record is not one. Equal content is now equal text whatever order the keys arrive in. The same comparison existed twice, in the REST route and inulex_get_auth_policy, and the two disagreed about the same tenant; both are fixed.GET /api/v1/organizations/{id}/domainsreturned an empty list for an organization that owns a verified domain, and sign-in through that organization was refused withaccess_deniednaming a domain policy the tenant had satisfied. An organization foreign-key partition in DynamoDB is shared by its memberships, groups, domains, connections and audit rows, and the read sentlimitas a DynamoDBLimitand then filtered the returned page by kind — solimitbounded the rows scanned and the filter discarded all of them. Deterministic on every call, and worse as the organization accumulated rows.limitis now the number of rows returned; the same fix applies to organization-filtered group, connection and audit-event reads, and a partition too large to read raises rather than reporting a short page.- Mock sign-in answered "no such user" for an address the tenant had been given. The login page searched the tenant's connections for the seed address by reading one page, so the answer depended on how many connections the tenant held — and
listreturns the oldest first, which is exactly the page a freshly-created connection is not on. A tenant past 100 connections could not sign in with any address seeded since it crossed that mark. It now pages to exhaustion, and raises rather than reporting a size limit as a missing address. ulex_list_toolsreported a tool surface of zero.setToolCatalogueexisted and was never called from anywhere in the repository, so an agent asked to enumerate the tools before planning was told there were none.- Admin console live API contract (F9). The console now checks all 42 endpoint bindings against the complete router using their effective paths, distinguishes
/api/v1resources from issuer-root OIDC/status routes, uses tenant-wide discovery and JWKS documents, and lists SCIM users throughdirectory_id. API-key hashes and directory credential ciphertext are redacted. Audit facets remain client-derived, and webhook secrets are never revealed (rotation is the recovery path). Fixtures are explicit in mock mode; only request-local timeout/5xx failures can fall back, each is logged and reported by/api/health, and 404/client/auth/rate-limit errors remain visible. introspectionwas unauthenticated, making it a token-validity oracle reachable across tenants through an unverifiediss.- DynamoDB
users.listignored itssearchargument, so a search returned every user. - A cross-tenant connection id and a nonexistent one were distinguishable.
connection_not_activewas documented by name inopenapi.jsonand nothing could raise it.- Certificates could not expire in the SAML policy: ulex uses the pinned certificate as a public key, and a key does not expire. The docs promised a 30-day warning from a check that never existed.
#2025.9.1 — current
Added
x-ulex-mcp-toolon every operation inopenapi.json, so a REST-first agent can find the tool that wraps each endpoint.ulex_describe_environmentandulex_get_docstools.X-Ulex-Correlation-Idis now stored onauth_attempt, not only onaudit_event.deps.signature_examplein thePOST /webhooksresponse, so you can assert against a real signature in a test.
Changed
- The 429
hintnow always parses asRetry after Ns.on REST, MCP, and SCIM. deployment.progress_percentis rounded to the nearest 5. Poll onstate.
Fixed
POST /scim/v2/Bulkcould return a409for the whole request when one operation collided. It now returns200with the failure inOperations[], per RFC 7644 §3.7.refresh_tokenreuse detection was not revoking the family when the replay came from a differentclient_id. It does now.- A SAML assertion with an
AudienceRestrictioncontaining multiple audiences is accepted if any one matches. Previously it required an exact single match.
Action required: none.
#2025.8.0
Added
ulex_add_domain,ulex_verify_domainandulex_list_domains.
Corrected in Unreleased: this entry also listed ulex_remove_domain and two REST routes. Neither exists. Domains are MCP-only today — see Capability status and api-reference/organizations.
scim_bulk_exceededwith status413, so an over-sized Bulk is distinguishable from a bad one.ulex_get_sync_statusreturnsstats.groups_synced.
Changed
connection.stategainedexpiredanderror. A connection whose SAML certificate expired now moves toexpiredrather than stayingactiveand failing every login.POST /connections/{id}/verifyalways returns 200. Readvalidandchecks[]. It previously returned 409 when checks failed.
Migration: if you branched on a 409 from verify, branch on valid instead.
curl -sS -X POST "$BASE/connections/$CON_ID/verify" -H "$AUTH" | jq -r .valid#2025.7.0
Added
mcp.tool_invokedwebhook event.actor_type: "agent"on every MCP-initiated audit event, so an agent's footprint is queryable.- RFC 9728 protected-resource metadata at
/.well-known/oauth-protected-resource, with aWWW-Authenticateheader on an unauthenticatedPOST /mcp. ulex_mint_access_tokensetsamr: ["urn:ulex:amr:simulated"]andacr: "urn:ulex:acr:simulated".
Changed
- Refresh tokens rotate on every use. A replay revokes the entire
family_idand returnsinvalid_grantwithfamily_revoked: true.
Migration: the important one. If your refresh handler retries on a network timeout, it will now kill the token family.
// Before: retry on timeout. Now: introspect first.
async function refresh(rt: string) {
const state = await introspect(rt, "refresh_token");
if (state.active) return state; // the request actually landed
throw new UlexError("invalid_grant", "the family was revoked; start a new login");
}Also: reject tokens whose acr is urn:ulex:acr:simulated in production. See Authorization.
#2025.6.0
Added
ulex_bootstrap_app: application, organization, domain, connection, admin user, membership, group, directory, SCIM token and webhook in one idempotent call.ulex_reset_tenantwithkeep_api_keys.ulex_search_audit_logswith 17 filters andchain_head.
Changed
- Users are tenant-global.
user.organization_idwas removed; useGET /users/{id}/memberships. This has been the documented model since 2025.1.0, but the field is now gone rather than deprecated.
Migration:
// Before
const orgId = user.organization_id;
// After
const { data: memberships } = await tools.ulex_list_organization_members({ organization_id: orgId });#2025.5.0
Added
PUT /groups/{id}/membersas a documented replace, not an append.group.source: "rule"for groups created by an email or email-domain match.auth_policy.mfa.mode: "adaptive"withtrigger_on_new_device,trigger_on_ip_change,trigger_on_high_risk.
Corrected in Unreleased: these fields are still not enforced. There is no risk engine behind adaptive, and mode: "required" does not require a second factor — ulex requires one from any user who has a verified one. This entry recorded a schema addition as though it were a behaviour change, which is the error this changelog is supposed to prevent.
Changed
ulex_set_group_membersreplaces the member set. Appending now requires a read first.
Migration:
// Before: assumed append
await tools.ulex_set_group_members({ group_id, user_ids: [newUserId] });
// After
const current = await tools.ulex_list_groups({ organization_id });
await tools.ulex_set_group_members({ group_id, user_ids: [...currentMemberIds, newUserId] });#2025.4.0
Added
- SCIM 2.0:
ServiceProviderConfig,Schemas,ResourceTypes,Users,Groups,PatchOp,Bulk, andListResponse. - The
scim_genericandulex_mockdirectory providers. dir: "ulex_mock"produces a deterministic directory for tests.
Changed
POST /webhooksrejects unknown event names at create time instead of silently dropping them.
Migration: check that every event name you subscribe to is in the catalogue. A typo used to be a silent no-op; it is now a 400.
#2025.3.0
Added
- SAML 2.0 as an IdP:
GET /applications/{id}/metadataandGET /applications/{id}/secret. - SAML 2.0 as an SP:
config.strategy: "saml"with ACS, SLO, and IdP-initiated SSO. ulex_get_saml_sp_metadata,ulex_get_saml_idp_metadata,ulex_get_saml_login_url.
Changed
application.slugbecame immutable. Changing an application's slug would break everyclient_id-derived URL a customer had bookmarked.
Migration: pick the slug at creation. To rename, create a new application.
#2025.2.0
Added
- The MCP endpoint: Streamable HTTP at
POST|GET|DELETE /api/v1/mcp, protocol2025-06-18, andulex mcp serveover stdio. - 87 tools. Every REST operation names the tool that wraps it in
x-ulex-mcp-tool. ulex_list_tools, which returns the live manifest with full JSON Schemas.
Changed
deployment.environmentaccepts short environment codes such asprod. It previously accepted the environmentslugvalues.
Migration:
// Before
await tools.ulex_deploy({ application_id, environment: "production" });
// After
await tools.ulex_deploy({ application_id, environment: "prod", confirm_production: true });#2025.1.0
The first public release.
Added
- Organizations, domains, users, groups, memberships.
mock_sso,password,magic_link,otp_emailconnections.- OAuth 2.1 with PKCE, refresh rotation, introspection, revocation, JWKS.
- The hosted sign-in UI.
- The immutable, hash-chained audit log.
- Webhooks with 34 events.
- Idempotency keys, cursor pagination, and the single error envelope.
- The simulation endpoints.
Notable design decisions, stated so you can rely on them
| Decision | Consequence for you |
|---|---|
| users are tenant-global | one human, many customers, via memberships |
| the environment is derived from the credential | never send one; there is no parameter |
retryable is a closed set | the only backoff signal you need |
| secrets are returned once | store them in the call that created them |
a new connection is draft | activate it, or every login is 403 connection_not_active |
| the audit log has no update or delete path | if you need a shorter log, ulex is the wrong tool |
#Deprecation timeline
Nothing is currently deprecated. When something is, it appears here with a warning-level log line, a __DEPRECATED__ field on responses, and a date.
The policy: 6 months between the first deprecation notice and the removal, and the notice appears in the changelog, in the OpenAPI description, and in the docs_url of any error that touches the surface.
| Surface | Deprecated | Removal | Replacement |
|---|---|---|---|
| — | none | — | — |
See Deprecations for the full policy and the previous deprecations that have already been removed.
#Getting notified
| Channel | Cadence | How |
|---|---|---|
| Changelog RSS | on release | https://docs.ulexid.com/resources/changelog.xml |
| on release | the address on your tenant, in the dashboard | |
| Webhook | on release | subscribe to application.updated and read the changelog in the payload's metadata |
The x-ulex-version response header | every call | log it; a mismatch between your SDK and the server is a common bug |
curl -sS -D- -o /dev/null "$BASE/health" | grep -i x-ulex-version