Repository navigation
Releases
Releases · Necrass-Dev/NecrassRs
0.4.8
Released on November 28, 2026.
necrassrs
- Fixed
ExecutionOptions::argument_work_limitcounting a string argument as one value regardless of its length, so one large string variable passed under many aliases was copied for every alias without reaching the limit. Each string now also counts its length in bytes, and the default limit is raised from 1,000,000 to 4,000,000 so that a string argument as large as the default HTTP body limit still fits. Requests that pass many long strings to resolvers may now reach the limit. GHSA-gc4x-f785-hfm2 - Fixed a small request making execution do unbounded work. Fragment spreads that double the selected fields at every level, aliases repeating a long returned list, aliased
__typenameunder list items, and aliases of__schemacould each make a request of a few kilobytes execute millions of fields or use more than a gigabyte of memory. The newExecutionOptions::field_limitandExecutionOptions::list_item_limitbound the fields executed and the list items completed in one response, each with a default of 50,000; work is charged before it starts, and a response over either limit drops resolvers that are still pending and is replaced bydata: nulland a single error. Top-level mutation fields are charged together, so a mutation over the field limit performs no root field. The newExecutionOptions::introspection_node_limitbounds the values schema introspection generates, with a default of 100,000, and an operation over it fails as a request error. Each subscription event has its own budget. GraphQL requests cannot override these server settings. Responses that legitimately exceed a default, such as 5,000 list items with ten fields each, now fail until the application raises the limit. Existing exhaustiveExecutionOptionsstruct literals must add these fields or use..Default::default(). GHSA-gc4x-f785-hfm2
necrassrs-cli
- The starter's
src/options.rsnow lists everyExecutionOptionsfield with its default value instead of..Default::default(), so each execution limit can be adjusted in place. Upgrading NecrassRs with a new option makes the file fail to compile until the new field is added.
reed-compiler
- Added
Execution::response_node_limit, which bounds the values completed for one response, andintrospection::partial_execute_with_node_limit. Each field value and list item counts once, and execution stops as soon as the limit is exceeded with a request error instead of a partial response. BothExecutionandintrospection::partial_executenow applyresolvers::DEFAULT_RESPONSE_NODE_LIMIT, 100,000 values, by default; previously the response size was unbounded, so aliases of__schemacould generate gigabytes of introspection data. Callers that need larger responses must set a higher limit. GHSA-gc4x-f785-hfm2
0.4.7
Released on November 25, 2026.
necrassrs
- Fixed request validation and field argument coercion work growing quadratically with the number of fields that pass operation variables as arguments. Responses and errors are unchanged. GHSA-hq2r-87c2-972j
- Fixed resolver argument work multiplying with aliases and returned list items. A large variable or list literal used by many aliases, or by a field selected under every item of a long returned list, was copied for every resolver call, so a small request could keep the server busy for seconds. Fields under a returned list now share one coerced argument map, and the new
ExecutionOptions::argument_work_limitbounds the argument values passed to resolvers in one response, with a default of 1,000,000. A field over the limit fails with a field error and null propagates as for other field errors; each subscription event has its own budget. GraphQL requests cannot override this server setting. Existing exhaustiveExecutionOptionsstruct literals must add this field or use..Default::default(). GHSA-9gx9-5rq5-8523
reed-compiler
- Fixed executable-document validation work growing quadratically with the number of variable references, such as many aliased fields, repeated arguments, or list items that use operation variables. Validation results and diagnostics are unchanged. GHSA-hq2r-87c2-972j
0.4.6
Released on November 22, 2026.
necrassrs
- Upgraded the
tracingfeature's OpenTelemetry dependencies fromopentelemetry0.31 andtracing-opentelemetry0.32 toopentelemetry0.33 andtracing-opentelemetry0.34. This is a breaking change for applications that enable thetracingfeature: theiropentelemetry,opentelemetry_sdk, exporter, andtracing-opentelemetrydependencies must move to the same versions, or span names and OpenTelemetry context from NecrassRs will not reach their tracer provider.opentelemetry_sdk0.33 also fixes GHSA-w9wp-h8wv-79jx, which affects 0.32.0 and earlier.
necrassrs-actix
- Changed the
actix-webdependency to require 4.19 or later and to disable its default features.necrassrs-actixno longer enables Actix Web's HTTP/2, compression, cookie, WebSocket, or macro features on the application's behalf, so applications that disable them no longer pull inh20.3,brotli, orzstd. An application that uses one of these features must enable it on its ownactix-webdependency; applications that declareactix-web = "4"keep the defaults. Runcargo update -p actix-web -p actix-httpto pick up the fixed Actix Web and Actix HTTP releases for RUSTSEC-2026-0446, RUSTSEC-2026-0447, RUSTSEC-2026-0448, RUSTSEC-2026-0455, RUSTSEC-2026-0552, RUSTSEC-2026-0553, and RUSTSEC-2026-0554;actix-http3.21.3 or later includes every fix. [#101]
necrassrs-cli
- Changed the Actix Web project created by
necrass init --framework actixto depend onactix-web4.19 or later with default features disabled and only themacrosfeature enabled. New projects no longer resolve Actix Web and Actix HTTP releases affected by recent advisories, and no longer pull inh20.3, which is affected by RUSTSEC-2026-0258, orbrotliandzstd. Enable features such ashttp2or thecompress-*features on the project'sactix-webdependency when the application needs them. [#101]
0.4.5
Released on November 22, 2026.
necrassrs
- Fixed introspection requests bypassing the introspection list depth limit by reusing a named fragment deeper than its first use, which let a small request produce exponentially large introspection responses. Such requests now fail as request errors before introspection runs, and the maintained adapters return 422. Added
ExecutionOptions::introspection_list_depth_limitso applications can change the limit; the default of 2 keeps the previous limit. GraphQL requests cannot override this server setting. Existing exhaustiveExecutionOptionsstruct literals must add this field or use..Default::default().
reed-compiler
- Fixed
introspection::check_max_depthaccepting operations that nest more introspection list fields than its limit when a named fragment is reused deeper than its first use or inside another fragment, including reuse primed by spreads skipped with@skip. Reused fragments now count toward the same limit as fragments traversed for the first time. Addedintrospection::check_max_depth_with_limitandintrospection::DEFAULT_MAX_LIST_DEPTHso callers can choose how many nestedfields,inputFields,interfaces, andpossibleTypeslists an operation may select.
0.4.4
Released on November 19, 2026.
necrassrs
- Fixed a request within the default token limit aborting the server process by overflowing the stack of a Tokio worker thread during validation, even with introspection disabled. Requests whose composed selection depth exceeds 500 now fail as validation errors with a single
too much recursionerror, and the maintained adapters return 422.
reed-compiler
- Fixed executable validation overflowing the thread stack when fragment spreads compose a deeply nested selection. Validation now rejects any operation or fragment, including unused fragments, whose selection depth exceeds 500, reporting a single
too much recursionerror and skipping the rest of validation. A definition's own selection set has depth 1, and each nested selection set entered through a field, an inline fragment, or a fragment spread adds one level. Such documents no longer report other diagnostics alongside the recursion error.
0.4.3
Released on November 17, 2026.
necrassrs
- Added
ExecutionOptions::token_limitso applications can change the request parser token limit. GraphQL requests cannot override this server setting. Existing exhaustiveExecutionOptionsstruct literals must add this field or use..Default::default(). - Fixed malformed GraphQL documents producing one syntax error per invalid character, which let a small request allocate and return a very large error response. Request parsing now stops after 15,000 lexical tokens by default, matching Apollo Router's
parser_max_tokens. Whitespace, commas, comments, and invalid characters count as tokens, and documents over the limit are rejected as syntax errors.
0.4.2
Released on November 16, 2026.
necrassrs
- Added
ExecutionOptions::validation_work_multiplierso applications can choose the relative executable-validation limit. The default is 8; a value of zero applies only the fixed 2,048-work minimum. GraphQL requests cannot override this server setting. Existing exhaustiveExecutionOptionsstruct literals must add this field or use..Default::default().
necrassrs-cli
- Added editable
src/options.rsto new Axum and Actix projects. Both generated handlers use itsExecutionOptionsfor request validation and execution. Existing projects can adopt the sameexecute_with_optionscall.
reed-compiler
- Fixed excessive executable-document validation work when multiple operations reuse shared fragments. Documents that exceed the validation work limit now return a validation error; applications may need to reduce repeated work in such documents. Applications can set the relative work multiplier through
ValidationOptions; its default remains 8.
0.4.1
Released on November 15, 2026.
reed-parser
- Fixed excessive CPU use when parsing GraphQL string literals with malformed braced Unicode escapes. Valid Unicode escapes retain their existing behavior. GHSA-frqr-7pr4-8x92
0.4.0
Released on November 13, 2026.
necrassrs
- Added
Response::is_execution_errorto distinguish completed execution results containing errors from request errors. [#93]
necrassrs-axum
- Changed completed execution results containing errors to return HTTP
294, while preserving the negotiated JSON response body. [#93]
necrassrs-actix
- Changed completed execution results containing errors to return HTTP
294, while preserving the negotiated JSON response body. [#93]
0.3.0
Released on November 13, 2026.
necrassrs
- Added optional OpenTelemetry integration through the
tracingCargo feature and an application-configuredtracing-opentelemetrysubscriber layer. [#91]- Added GraphQL operation spans with operation type and name, plus separate parsing, validation, variable-coercion, and execution spans to locate request bottlenecks. Custom scalar validation and introspection are included in their respective phases.
- Added Object, Interface, and Union field spans by default, with concrete schema coordinates and dot-separated response paths containing aliases and list indices. Set
ExecutionOptions::trace_scalarstotrueto include scalar and enum fields; introspection fields remain excluded. Field duration includes arguments, the resolver, and descendant completion. - Added operation error status for request failures, partial GraphQL errors, and null propagation, origin error events without propagation duplicates, and
necrassrs.cancelled=truefor cancelled operations. Framework telemetry excludes raw documents, input and response values, error messages and extensions, authentication headers, and application Context values. - Added subscription lifetime and per-event processing spans, including event errors, terminal source errors, and cleanup on cancellation. Completed event spans can be exported before the overall subscription ends.
- Added an OpenTelemetry manual and Axum and Actix Web examples with HTTP parent spans, parent-based sampling, stdout export, and provider shutdown. Applications retain ownership of telemetry configuration and distributed context propagation.
- Changed
ExecutionOptionsto includetrace_scalars: bool, defaulting tofalse. This breaks exhaustive struct literals even without thetracingfeature. ReplaceExecutionOptions { introspection: false }withExecutionOptions { introspection: false, ..Default::default() }, or supplytrace_scalarsexplicitly. This change follows the minor-version policy for 0.x releases. [#91]
necrassrs-cli
- Added prebuilt
necrassCLI archives to GitHub Releases for Linux x86_64, macOS Intel and Apple Silicon, and Windows x86_64. Verify downloads using the SHA-256 digests provided by GitHub. [#89]