Skip to content

Releases: temporalio/nexgen

nexgen v0.2.10

nexgen v0.2.10 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Oct 20:33
Immutable release. Only release title and notes can be modified.
52a5747

Added

  • Go system Nexus code generation supports @nexus.serialization-context helpers and emits an operation registry keyed by wire service and operation names, allowing the SDK to select the serialization context for an operation's nested user payloads.
  • Generated Go model types expose value-receiver getters for exported fields, allowing support packages to consume models through interfaces without importing the generated package.
  • Go WIT function references support go-value-type / go-args-type representation overrides and go-name-extractor helpers that can resolve registered workflow aliases.
  • TypeScript generation now supports the notification-service, proto-generic, and proto-oneof WIT examples, including nested generic protobuf payload carriers, required and optional oneofs, and model-only exports with generic transfer converters.
  • Generated TypeScript protobuf helpers now use non-null input/output contracts, and oneof switches fail typechecking when a discriminator or variant case is unhandled.

Changed

  • Generated protobuf-backed Go models used as eligible top-level Nexus inputs or outputs implement TransferTypeConverter, deferring model conversion to the SDK. Ordinary Nexus models use the public transfer converter API; system Nexus models receive the SDK-selected data converter with the operation's serialization context applied.
  • Generated Go request models expose @nexus.source fields as exported fields populated at the operation call site before SDK conversion, making them available to serialization-context helpers.
  • Generated TypeScript requiredField helpers are now private to the modules that use them, rather than exported from models.ts; unused definitions are omitted.
  • Go convenience wrappers derive function argument grouping and variadic placement from their signatures and primary role, not argument-field names. Signals retain their name-and-single-payload API through explicit Go representation overrides.
  • cargo test --all-features no longer requires language-specific toolchains. cargo validate <language> now runs that language's generated-code compilation and runtime regressions alongside its sample checks.
  • cargo validate conformance checks JSON Schema behavior across Go, Java, Python, and TypeScript, and is included in full validation.

Fixed

  • Render @nexus.doc on WIT variants and their cases in Python, TypeScript, Go, and .NET, including per-language overrides and protobuf oneof-backed cases.
  • Go and .NET now honor @nexus.default WIT directives.
  • Fix .NET protobuf-backed model conversion for list elements and map values, populating protobuf collections instead of assigning incompatible model collections.
  • Fix accidental identifier shadowing in Python transfer converters and Go imports.
  • Fix protobuf collection presence metadata; collections don't have presence.
  • Preserve @nexus.doc on generated Python WIT record classes, including protobuf-backed and empty records.
  • Go generation now selects system Nexus behavior with --system-nexus, not endpoint names.
  • Render @nexus.experimental warnings on WIT variants in Python, TypeScript, Go, and .NET without marking individual cases experimental.

nexgen v0.2.9

nexgen v0.2.9 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Oct 23:07
8648f75

Added

  • Add multiple proto messages to one WIT scaffold with repeated add-message --message, or select all messages in a descriptor-set proto file with --file.
  • Go WIT generation supports workflow function name extractors, including registered Temporal workflow names.

Fixed

  • Unify add-message and both add-rpc paths so reconciliation restores missing owned fields and declarations throughout reachable mapped records, validates linked records without editing dependencies, and detects oneof case drift while preserving intentional refinements.
  • Preserve explicit proto field mappings when generated names do not round-trip; reject unrepresentable oneof member names instead of emitting an invalid mapping.
  • Reconcile existing add-message WIT records with selected proto messages, restoring missing records and fields instead of silently returning unchanged output.

nexgen v0.2.8

nexgen v0.2.8 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Oct 23:07
dadcdb4

What's Changed

Full Changelog: v0.2.5...v0.2.8

nexgen v0.2.7

nexgen v0.2.7 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Oct 23:07
4426fec

What's Changed

Full Changelog: v0.2.5...v0.2.7

nexgen v0.2.6

nexgen v0.2.6 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Oct 23:07
696a521

What's Changed

Full Changelog: v0.2.5...v0.2.6

nexgen v0.2.5

nexgen v0.2.5 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Sep 18:23
10e34dc

What's Changed

Full Changelog: v0.2.4...v0.2.5

nexgen v0.2.4

nexgen v0.2.4 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Sep 18:00
c136e97

What's Changed

Full Changelog: v0.2.3...v0.2.4

nexgen v0.2.3

nexgen v0.2.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Aug 15:34
109c98e

What's Changed

Full Changelog: v0.2.2...v0.2.3

nexgen v0.2.2

nexgen v0.2.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Aug 16:08
a21d81f

What's Changed

New Contributors

Full Changelog: v0.2.1...v0.2.2

nex-gen v0.2.1

nex-gen v0.2.1 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 31 Jul 21:26
82dd0fd

What's Changed

Full Changelog: v0.2.0...v0.2.1