1.9 KiB
1.9 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.1.0 - 2025-05-17
Added
OperationRegistrywithregister,registerAll,registerSpec,registerHandler,execute,get,getSpec,getHandler,list,getAllSpecsOperationTypeenum:QUERY,MUTATION,SUBSCRIPTIONOperationSpec,OperationContext,Identity,AccessControl,ErrorDefinitiontypesPendingRequestMapwithcall,subscribe,respond,emitError,complete,abortbuildCallHandlerwiring call protocol to registrysubscribe()for direct async generator execution of subscription operationsbuildEnv()for inter-operation composition with trusted contextResponseEnvelopewithlocalEnvelope,httpEnvelope,mcpEnvelope,unwrap,isResponseEnvelopeCallError,InfrastructureErrorCode,mapErrorfor structured error handlingcheckAccess,enforceAccessfor scope and resource-based authorizationFromSchema— JSON Schema to TypeBox conversionFromOpenAPI,FromOpenAPIFile,FromOpenAPIUrl,OpenAPIServiceRegistry— OpenAPI adapter with SSE subscription supportcreateMCPClient,closeMCPClient,MCPClientLoader— MCP adapterdefaultAdapter,zodAdapter,valibotAdapter— SchemaAdapter system for Zod/Valibot schemasscanOperations— filesystem-based operation discovery with injectableScannerFSvalidateOrThrow,collectErrors,assertIsSchema,formatValueErrors— validation helpers- Sub-path exports:
@alkdev/operations/from-mcp,@alkdev/operations/from-openapi,@alkdev/operations/from-typemap - Dual ESM + CJS output via tsup
- 300 tests across 11 test files