Changelog¶
Notable changes to rn-forge-web, newest first, in the
Keep a Changelog format.
[Unreleased]¶
[0.3.3] - 2026-11-20¶
Changed¶
- The
testingextra requiresassertpy>=2.36.0.
[0.3.2] - 2026-11-17¶
Fixed¶
run_checks_syncreturns at its deadline instead of waiting for stuck checks, and checks share one deadline.
Changed¶
- The
rn-forge-commonsrequirement admits 0.10 (<0.11). - Sync checks run on a shared 32-worker pool; a check that finds the pool full
fails as
not run: health check capacity exhausted.
[0.3.1] - 2026-11-13¶
Added¶
ProblemRegistry.register_hierarchy: registers a row for an exception class and every subclass from itscodeandstatus_codeattributes.
Changed¶
- The
rn-forge-commonsrequirement admits 0.9 (>=0.8.0,<0.10).
[0.3.0] - 2026-10-29¶
Added¶
csrf-failedproblem type:CsrfFailed(403, indefault_registry()), theCSRF_FAILEDrow andCSRF_FAILED_DETAIL. It is not aPermissionDenied, and its detail never says which check failed.- Session-only 401:
SessionRequired, anAuthenticationFailedwhose newchallengeclass attribute is false, sorender_problemsends noWWW-Authenticate. The API conventions record the deviation from RFC 9110 ยง15.5.2. - Conformance cases
auth.session-only-401-has-no-challengeandauth.csrf-rejection-is-403-csrf-failed, withConformanceCase.requires,ConformanceCapabilityandcases_provided_byso a binding runs only the cases for the capabilities it provides.
Changed¶
- The package declares the MIT licence and is published to PyPI.
Removed¶
- Breaking:
Principal,Requirement,Authenticator,AsyncAuthenticator,Authorizer,ScopeAuthorizerandprincipal_from_claimsmoved torn_forge.authinrn-forge-auth, andOidcAuthenticatormoved fromrn_forge.web.oidctorn_forge.auth.oidc.rn_forge.web.oidcand theauthextra are gone.rn_forge.web.authkeepsCredentials,parse_authorization,challenge_headerandAUTH_FAILED_DETAIL.
[0.2.1] - 2026-10-25¶
Changed¶
- Requires its rn-forge dependencies by version range from pykit's index (ADR-0004), not by git URL.
[0.2.0] - 2026-10-05¶
Added¶
- AIP-164 soft delete rules in
rn_forge.web.soft_deleteandrn_forge.web.exceptions:ResourceDeletedandResourceNotDeleted(409, both indefault_registry()),SHOW_DELETED_PARAMandrequire_live. Thesoft-deleteconformance area has thirteensoft-delete.*cases, and the API conventions gain a Soft delete section;DELETEof a soft-deleting resource is 200 with the resource, anddeleteTimeis a standard field. - AIP-157
readMaskpartial responses inrn_forge.web.read_mask:READ_MASK_PARAM,FieldTree,ReadMask,parse_read_maskandInvalidReadMask(400) indefault_registry(). Elevenread-mask.*conformance cases, and a Partial responses section in the API conventions. :batchGetand:batchUpdatewire rules inrn_forge.web.transfer:batch_get_ids,parse_batch_update,BatchUpdateItem,NON_EMPTY_IDS_DETAILandDUPLICATE_ID_DETAIL, withcheck_item_preconditioninrn_forge.web.concurrencyandInvalidBatchGet(400) indefault_registry().PreconditionRequired,MalformedPreconditionandVersionConflicttake an optionalerrorsargument that renders as the problem'serrorsmember. Without it their bodies are unchanged.- Eleven
transfer.*conformance cases for:batchGetand:batchUpdate, frombatch-get-returns-resources-in-request-ordertobatch-update-with-an-empty-list-is-422.RequestSpec.queryaccepts a tuple of values for a repeated parameter. - Shared transfer rules in
rn_forge.web.transfer:ImportCounts,parse_flag,row_cap_problem,NON_EMPTY_LIST_DETAIL,unsupported_file_detailandunreadable_file_detail. RowsInvalid(422) andItemsDenied(403) inrn_forge.web.exceptions, both indefault_registry().- JSON Merge Patch (RFC 7396), framework-neutral, in
rn_forge.web.merge_patch:MERGE_PATCH_MEDIA_TYPE,apply_merge_patch,merge_representationandrequire_patch_object. A top-levelnullsets a field tonull; below the top levelnullremoves the member. UNSUPPORTED_MEDIA_TYPEandNULL_FIELD_DETAILinrn_forge.web.problem.UnsupportedMediaType(415, withAccept-Patch) andInvalidMergePatch(422) inrn_forge.web.exceptions, both indefault_registry().- The
patchconformance area, with tenpatch.*cases. - Eight
transfer.*conformance cases:import-without-a-file-is-422,import-over-the-cap-is-422,import-template-is-the-import-columns,import-template-prefill-adds-the-rows,batch-create-with-an-empty-list-is-422,batch-create-over-the-cap-is-422,batch-create-denied-item-is-403-pointeranddenied-batch-create-persists-nothing. - A reference page for
rn_forge.web.transfer.
Changed¶
- Breaking:
orderBytakes a comma-separated list of terms, andnullsorts last in both directions.parse_order_byaccepts many terms and rejects a repeated field withorderBy names '{field}' more than once. It rejected a second term.Cursor(sort_key: str, ...)is nowCursor(sort_keys: tuple[SortValue, ...], ...), andencode_cursor(sort_key, ...)is nowencode_cursor(sort_keys, ...).SortValue(str | int | float | bool | None) is exported.- The token's JSON is
{"k": [<values>], "id": ..., "o": ...}. Tokens issued before the change are rejected with 400. check_cursor_orderalso rejects a token whose value count does not match the terms, withMalformed page token.- New conformance cases:
pagination.order-by-several-fields-sorts-by-each-in-turn,nulls-sort-last-ascending,nulls-sort-last-descending,first-page-carries-a-composite-token,composite-token-resumes-within-a-tie,composite-token-resumes-after-a-null,repeated-order-by-field-is-400andtoken-with-the-wrong-number-of-values-is-400. The case that asserted the one-field rule is removed.
EXPOSED_HEADERSnow ends withContent-Disposition, so a cross-origin browser client can read the file name of an export or an import template.
[0.1.0] - 2026-09-27¶
First release.