Repository navigation
v0.3.4-alpha — Explicit Runtimes, Explicit Execution | 명시적인 런타임, 명확한 실행
🦴 Spine v0.3.4-alpha
Explicit Runtimes, Explicit Execution | 명시적인 런타임, 명확한 실행
Spine v0.3.4-alpha는 실행 모델을 더욱 명확히 다듬은 릴리즈입니다.
HTTP, Kafka, RabbitMQ Runtime을 옵션 단위로 명시적으로 활성화하도록 구조를 정리하고,
암묵적이었던 실행 확장 포인트를 제거해 코드만 보고 실행 흐름을 설명할 수 있는 상태를 완성했습니다.
Spine v0.3.4-alpha further refines the execution model.
This release introduces explicit runtime activation via options (HTTP, Kafka, RabbitMQ)
and removes implicit execution extensions, ensuring the execution flow is fully explainable by code alone.
✨ 주요 변경 사항 | Highlights
- HTTP Runtime 전용 옵션(HTTPOptions) 도입
- Runtime 조합 기반 실행 모델 확립 (HTTP / Kafka / RabbitMQ)
- PostExecutionHook 및 EventDispatchHook 완전 제거
- 이벤트 발행 모델을 publish.Event(ctx, event)로 단일화
- 컨트롤러 반환값을 httpx.Response[T] 기반으로 전면 통합
- Introduced HTTP-runtime-only options (HTTPOptions)
- Established explicit runtime composition (HTTP / Kafka / RabbitMQ)
- Completely removed PostExecutionHook and EventDispatchHook
- Unified event publishing model using publish.Event(ctx, event)
- Standardized controller return values with httpx.Response[T]
🚀 새로운 기능 | New Features
HTTP Runtime 전용 옵션 분리 | HTTP Runtime Options
- boot.Options에 HTTPOptions 추가
- HTTP Runtime 활성화 여부를 옵션으로 명시
- HTTP를 사용하지 않는 Consumer-only / Event-only 앱 구성 가능
- Added HTTPOptions to boot.Options
- HTTP runtime is explicitly enabled via options
- Enables Consumer-only or Event-only applications without HTTP
HTTP API 전역 Prefix 지원 | Global HTTP Prefix
- HTTP Runtime에 한해 전역 Prefix 적용 가능
- Event / Consumer Runtime에는 영향 없음
- Prefix 검증 및 정규화는 boot-time에 수행
- Supports global API prefix for HTTP runtime only
- No impact on Event or Consumer runtimes
- Prefix validation and normalization occur at boot time
이벤트 발행 모델 단일화 | Explicit Event Publishing
- 암묵적인 실행 흐름 기반 이벤트 발행 제거
- Controller에서 명시적으로 이벤트 발행
- Removed implicit execution-flow-based event dispatching
- Events are explicitly published inside controllers
publish.Event(ctx, StockCreated{ ... })- 실행 시점과 의도가 코드에 그대로 드러남
- Execution-centric 설계 원칙 강화
- Execution timing and intent are explicit in code
- Strengthens execution-centric design principles
🔄 변경됨 | Changed
PostExecutionHook 제거 | Removal of PostExecutionHook
- HTTP Pipeline의 후처리 훅(PostExecutionHook) 완전 제거
- EventDispatchHook 및 EventExtractor 삭제
- dead abstraction 정리로 실행 모델 단순화
- Fully removed PostExecutionHook from HTTP pipeline
- Deleted EventDispatchHook and EventExtractor
- Simplified execution model by removing dead abstractions
통합 응답 모델 도입 | Unified HTTP Response Model
- Controller 반환 타입을 httpx.Response[T]로 전면 교체
- 기존 string, struct raw 반환 방식 제거
- 상태 코드, 헤더, 쿠키를 명시적으로 제어 가능
- Replaced controller return types with httpx.Response[T]
- Removed raw string / struct return handling
- Explicit control over status codes, headers, and cookies
🧹 구조 정리 | Cleanup
- 사용되지 않는 Hook / 패키지 제거
- HTTP / Event Runtime 책임 경계 명확화
- 실행 흐름 추적이 어려웠던 암묵적 로직 제거
- Removed unused hooks and packages
- Clarified responsibility boundaries between HTTP and Event runtimes
- Eliminated implicit logic that obscured execution flow
⚠️ Alpha 안내 | Alpha Notice
Spine v0.3.4-alpha는 알파 버전입니다.
- API 및 내부 구조는 변경될 수 있습니다.
- 문서 및 예제는 지속적으로 보완될 예정입니다.
- 피드백과 이슈 제보를 적극 환영합니다.
Spine v0.3.4-alpha is an alpha release.
- APIs and internal structures may change.
- Documentation and examples will continue to evolve.
- Feedback and issue reports are highly welcome.