Skip to content

feat: 2.14.1#96

Merged
franklinkim merged 18 commits intomainfrom
feature/2.14.1
Mar 23, 2026
Merged

feat: 2.14.1#96
franklinkim merged 18 commits intomainfrom
feature/2.14.1

Conversation

@franklinkim
Copy link
Copy Markdown
Member

@franklinkim franklinkim commented Mar 23, 2026

Description

Restructure codebase into internal packages, add inlined struct support for TypeScript generation, modernize Go code, and enable linters.

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • ♻️ Refactoring
  • ✅ Tests
  • 🔧 Build/CI

Changes

  • Move code generation into internal/ packages (model, parser, codegen, build), keeping only the runtime library in the root package
  • Support inlined (embedded) structs and pointer embeds in TypeScript generation with Partial<T>
  • Wrap enum-keyed Record types with Partial<> for correctness
  • Fix GoRPC proxy passing nil context — now uses context.Background()
  • Modernize Go code (new(), range over int)
  • Enable golangci-lint, lefthook, and testpackage linter
  • Add comprehensive Go-side client tests for all service methods (GoTSRPC + GoRPC)
  • Extract bufferedClient, transportHandle, httpclientfactory into dedicated files

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.

Notes

Breaking changes for TypeScript consumers:

  • Enum-keyed maps now generate Partial<Record<K,V>> instead of Record<K,V>
  • Pointer-to-interface fields now generate any|null instead of any

@franklinkim franklinkim merged commit 6fec5a1 into main Mar 23, 2026
1 check passed
@franklinkim franklinkim deleted the feature/2.14.1 branch March 23, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant