Releases: origadmin/runtime
Releases · origadmin/runtime
v0.2.14
v0.2.13
0.2.13 (2025-12-01)
Features
- auth: Refactor security package structure into authn and authz subpackages and update credential extractor interface (f692249)
- bootstrap: add app configuration support to bootstrap process and enhance container initialization (46a0269)
- config: add caching mechanism to structured config implementation with sync.Map (6410eb9)
- config: Add protobuf definitions for app, bootstrap and kafka configurations (8bc8d3f)
- config: refactor component paths to use typed constant.ComponentKey and move constants to interfaces/constant package (6e383a9)
- config: refactor config package with simplified factory pattern and improved source handling (6734af4)
- config: refactor file source registration and move protobuf utils to config package (f2317c3)
- config: refactor source builder to Builder type and consolidate config loading logic (2d2d735)
- config: refactor source factory pattern with embedded registry and function adapter (ea53f6c)
- config: rename Filestores to ObjectStores in data proto configuration (12b2434)
- container: Add container options utility functions (101639c)
- container: add WithContainer option and FromOptions helper for container context (ef14624)
- container: implement core container providers for cache, database, middleware, objectstore, registry and component management (2f073f0)
- container: refactor component initialization with options support and add Logger accessor (882ee48)
- container: refactor component initialization with priority-based factory execution and error handling (7c643b1)
- container: refactor component management with priority system and direct container integration (2828e03)
- container: refactor container and provider interfaces with improved type safety and component registration (6977cd7)
- container: refactor provider implementations with enhanced default instance resolution and logging (7fd64a3)
- container: refactor provider initialization to support dynamic options via SetConfig (d27f503)
- container: refactor storage providers with default implementations and unified interfaces (0784098)
- container: remove WithOptions and refactor container to be immutable with functional options pattern (2250756)
- docs: update factory pattern analysis with improved naming conventions and embedding registry (5e393eb)
- errors: update error reason enum values to follow new naming convention (27929de)
- factory: add New method to Func and ContextFunc types for consistent interface (1db5cda)
- jwt: enhance JWT middleware with configurable claims factory (5754894)
- jwt: enhance JWT middleware with token headers, RSA/ECDSA support and flexible claims types (e781b6d)
- log: add WithDecorate function to enhance logger with service info and tracing (2c5e951)
- middleware: Add declarative security middleware support with configurable policy management (a263c53)
- middleware: add ordered names tracking and refactor middleware initialization (a00eb6f)
- middleware: add WithClientCarrier and WithServerCarrier options for selective middleware initialization (7dfdb2e)
- middleware: enhance JWT test with YAML config support and dynamic test cases (236a893)
- middleware: Implement CORS middleware factory and native handler with config support (3b6ba38)
- middleware: refactor carrier implementation and add enabled checks (3c0e239)
- middleware: refactor provider initialization and error handling with simplified config processing (464ea98)
- optionutil: Add TestOptionCarriesContextData to verify context data persistence with options (a5afae2)
- proto: Update SecurityErrorReason enum values to follow SUBJECT_MODIFI (3392b23)
- runtime: add container to global options during initialization (b65e793)
- runtime: add core data components including event bus, model, mapper, query and repository interfaces (84f9540)
- runtime: add new component constants and config decoding methods for caches, databases and object stores (7fc8b6c)
- runtime: enhance config loading with convention-based fallback and direct loading mode (9c0189e)
- runtime: refactor app info and builder pattern with concrete implementation and type safety (aac0a9e)
- runtime: refactor AppInfo handling to use interface directly and enforce non-nil invariant (6bb4c60)
- runtime: refactor appInfo merging with new Merge method and config support (6f28af7)
- runtime: refactor container locking, app initialization and component handling (d826f29)
- runtime: remove unused registry interfaces and rename empty middleware to noop (05b4394)
- security: Add declarative security middleware configuration and move optionutil to extension package (d7f5f86)
- security: Add integration tests for security auth flow with mock implementations (e3102eb)
- security: Add method comments to Principal interface for better documentation (7a62daa)
- security: Add protobuf definitions for authentication credential sources and refactor token structure (5f0618c)
- security: Enhance authentication and authorization middleware with improved error handling and debug logging (ec83a93)
- security: Enhance header credential extractor with token payload and add Kratos HTTP test service (efc08ab)
- security: Implement auth FilterFunc middleware and fix Kratos HT...
v0.2.12
v0.2.11
0.2.11 (2025-11-04)
Features
- api: Add OpenAPI annotations and improve proto documentation for broker, app and bootstrap configs (ac40a76)
- broker: Add Kafka and MQTT broker configuration protobuf definitions (e6d9826)
- cache: Implement in-memory cache storage with sync.Map and sync.Pool for efficient memory usage (abca45c)
- runtime: Add data component support and recovery middleware (03f08c0)
- runtime: Add data config support and improve error handling in service registration (cc195ec)
- storage: Refactor storage provider integration and database interface with name and dialect support (175580c)
Bug Fixes
- runtime: Fix debug log message for recovery middleware (938173d)
v0.2.10
0.2.10 (2025-11-03)
Features
- Add go.work file for monorepo management (6bb255d)
- api: add Apollo and Consul source configurations (a1dbc62)
- api: add configuration protobufs for client and registry (6f75ef2)
- api: Add protobuf definitions for app, optimize middleware and transport selector (dc6fa23)
- api: Added protobuf definition and validation code for middleware and transport layer configurations (a96619f)
- apierrors: add new error categories and messages (ab3f83a)
- bootstrap: Add app config support and refactor provider to container (b05f17e)
- bootstrap: add Bootstrapper interface for component provider and config access (48fa0e7)
- bootstrap: add dynamic component creation and registration mechanism (b038114)
- bootstrap: enhance config loading with custom config and transformer support (ac1dca7)
- bootstrap: implement new component provider and decoder interfaces (bccb07f)
- bootstrap: Implements application startup configuration and component initialization (7c52593)
- broker: Add detailed broker configurations for multiple message queue systems (6b4c05f)
- broker: Extend broker configuration with multiple message queue implementations and validation (5184786)
- cache: add cleanup interval for memory cache (e6e2953)
- config: add CORS configuration support (7e44e6c)
- config: add custom config parser example with bootstrap and config files (31c1336)
- config: Add helper package for config file operations and update test configs (cc675da)
- config: add multi-format test configs and enhance config loading tests (f497994)
- config: add multi-format test configs and enhance config loading tests (2d82e5d)
- config: add priority field to SourceConfig and update environment variable prefix handling (52977b7)
- config: add RegisterSourceFactory and RegisterSourceFunc for flexible source registration (43aa108)
- config: assign default priorities for common config sources (85de18e)
- config: enhance data storage configuration and add health check (973740f)
- config: enhance data storage configuration and add health check (f210c0a)
- config: enhance data storage configuration and add health check (be8d0a7)
- config: enhance data storage configuration and add health check (3395f4a)
- config: enhance data storage configuration and add health check (77fa206)
- config: enhance TLS configuration and remove redundant use_tls fields (48d3493)
- config: implement custom resolver and update app creation process (de4ebb3)
- config: implement Decode method in Resolved interface (4c9be3d)
- config: implement prefix-based environment variable filtering (9e94254)
- config: refactor config decoder to use BaseDecoder embedding (c266418)
- config: refactor source configuration and add new source types (e088aad)
- config: Support for decoding configurations using protojson (50a5ab7)
- config: support multiple config types and add customize config (520870d)
- config: Update the configuration and implementation of the local registration example (ee3ff94)
- context: add functionality to skip context (64f330a)
- context: add functionality to skip middleware by name (7683f28)
- context: enhance WithContext function to accept multiple contexts (abae225)
- cors: Refactor CORS configuration with enhanced security options and better documentation (b9bd552)
- dev: implement subtree push workflow for monorepo management (fcebfb7)
- devops: Add unified build, lint, pre-commit, and CI/CD configurations (4248399)
- discovery: Add Discoveries message type to support multiple discovery configurations (073409d)
- discovery: add Endpoint and Selector protobuf definitions with validation (e6b4763)
- errors: add error handling and conversion package (8f2c956)
- errors: add metadata classification helpers for error handling (680c150)
- errors: Add structured error handling with Kratos integration and metadata support (d629e31)
- errors: enhance error handling with metadata and chaining support (54d38c1)
- fileupload: implement gRPC upload functionality and refactor HTTP uploader (193e7aa)
- fileupload: implement gRPC upload functionality and refactor HTTP uploader (6e336ad)
- fileupload: move fileupload to new project (9b748ae)
- http: Add CORS support and reorder server initialization options (3f33601)
- http: Add pprof support and refactor CORS configuration in HTTP server (4a8cbdc)
- loader: update config types and transport configurations (11d3971)
- logger: Add context support and utility functions for Logger (b98d1b9)
- log: implement log sampling and update logger configuration (95ae9d3)
- meta: add extra field to FileMetaV2 and update marshaling logic ([7c0463a](7c0463ab8d8...
v0.2.8
0.2.8 (2025-11-03)
Features
- api: Added protobuf definition and validation code for middleware and transport layer configurations (a96619f)
- broker: Add detailed broker configurations for multiple message queue systems (6b4c05f)
- broker: Extend broker configuration with multiple message queue implementations and validation (5184786)
- runtime: Add broker list and enhance storage proto definitions with OSS lifecycle rules and Redis config options (46e3545)
- runtime: Add quick start app example with bootstrap configuration (954e0c0)
- selector: Added SelectorConfig protocol buffer definition (aefd179)
v0.2.7
v0.2.6
0.2.6 (2025-10-13)
Features
- Add go.work file for monorepo management (6bb255d)
- api: add Apollo and Consul source configurations (a1dbc62)
- api: add configuration protobufs for client and registry (6f75ef2)
- api: Add protobuf definitions for app, optimize middleware and transport selector (dc6fa23)
- apierrors: add new error categories and messages (ab3f83a)
- bootstrap: Add app config support and refactor provider to container (b05f17e)
- bootstrap: add Bootstrapper interface for component provider and config access (48fa0e7)
- bootstrap: add dynamic component creation and registration mechanism (b038114)
- bootstrap: enhance config loading with custom config and transformer support (ac1dca7)
- bootstrap: implement new component provider and decoder interfaces (bccb07f)
- bootstrap: Implements application startup configuration and component initialization (7c52593)
- cache: add cleanup interval for memory cache (e6e2953)
- config: add custom config parser example with bootstrap and config files (31c1336)
- config: Add helper package for config file operations and update test configs (cc675da)
- config: add multi-format test configs and enhance config loading tests (f497994)
- config: add multi-format test configs and enhance config loading tests (2d82e5d)
- config: add priority field to SourceConfig and update environment variable prefix handling (52977b7)
- config: add RegisterSourceFactory and RegisterSourceFunc for flexible source registration (43aa108)
- config: assign default priorities for common config sources (85de18e)
- config: enhance TLS configuration and remove redundant use_tls fields (48d3493)
- config: implement Decode method in Resolved interface (4c9be3d)
- config: refactor config decoder to use BaseDecoder embedding (c266418)
- config: refactor source configuration and add new source types (e088aad)
- config: Support for decoding configurations using protojson (50a5ab7)
- config: Update the configuration and implementation of the local registration example (ee3ff94)
- cors: Refactor CORS configuration with enhanced security options and better documentation (b9bd552)
- dev: implement subtree push workflow for monorepo management (fcebfb7)
- devops: Add unified build, lint, pre-commit, and CI/CD configurations (4248399)
- discovery: add Endpoint and Selector protobuf definitions with validation (e6b4763)
- errors: add error handling and conversion package (8f2c956)
- errors: add metadata classification helpers for error handling (680c150)
- errors: Add structured error handling with Kratos integration and metadata support (d629e31)
- errors: enhance error handling with metadata and chaining support (54d38c1)
- http: Add CORS support and reorder server initialization options (3f33601)
- http: Add pprof support and refactor CORS configuration in HTTP server (4a8cbdc)
- loader: update config types and transport configurations (11d3971)
- logger: Add context support and utility functions for Logger (b98d1b9)
- meta: implement directory indexing and improve file handling (499d6ab)
- middleware: add logging middleware support (43647ba)
- middleware: Add Metadata configuration and refactor MiddlewareConfig to use optional fields (84448f0)
- middleware: Add middleware configuration support to bootstrap system (f4c3afa)
- middleware: Add middleware provider interface and refactor config decoding (7b0af5c)
- middleware: Add name field to MiddlewareConfig and enhance CORS middleware (b6d0da4)
- middleware: Add name field to MiddlewareConfig and enhance CORS middleware (e7c4f5f)
- middleware: Add type alias for Option and enhance test coverage (ee61a0d)
- middleware: Refactor options package usage and add integration tests (047ab44)
- optionutil: Add context support and new ApplyNew function for option handling (3f60b03)
- optionutil: Add ValueOr, ApplyContext, If and Group utility functions and rename opt to ctx for clarity (7f1bb76)
- Recreate root go.mod file (7788964)
- registry: implement registry error handling (d7f5b7b)
- runtime: add error handling and improve registry implementation (6a45d51)
- runtime: add optionutil package and move option-related functions (78c3ff0)
- runtime: add pagination support and remove customize config (9ae94ac)
- runtime: Add proto definition for App and refactor component provider with improved logging (222baf4)
- runtime: Add server-side and client-side middleware acquisition interfaces (08413c2)
- runtime: Add StructuredConfig interface for type-safe configuration decoding (c299341)
- runtime: add support for decoding string to durationpb.Duration (2258141)
- runtime: add WithLogger method and update logging ([f85f0d6](https://github.com/origadmi...
Release v0.2.5
Changelog
- build(runtime): update Go version and dependencies by @godcong
- build(runtime): generate golang protobuf for FileMeta by @godcong
- build(runtime): update dependencies and remove unused ones by @godcong
- feat(storage): update FileMetaV2 structure and marshaling tests by @godcong
- test(runtime): update comment in meta marshaler test by @godcong
- feat(meta): add extra field to FileMetaV2 and update marshaling logic by @godcong
- build(runtime): update dependencies and protovalidate to v0.13.1 by @godcong
- feat(storage): add blob storage interface and implementation by @godcong
- feat(storage): add support for new file meta version and improve existing functionality by @godcong
- feat(storage): implement file metadata handling for version 1 by @godcong
Release v0.2.4
Changelog
- refactor(i18n): improve handling of language tags in context by @godcong