jetleaf 2.0.0
jetleaf: ^2.0.0 copied to clipboard
Enterprise-grade backend framework bringing dependency injection and lifecycle management to Dart.
2.0.0 #
Breaking Changes #
- Unified Core Architecture: Replaced separate split runtime packages (
jetleaf_pod,jetleaf_lang,jetleaf_env,jetleaf_logging,jetleaf_convert,jetleaf_utils) with the unifiedjetleaf_corepackage (version: ^2.0.0). - Modern Export Submodules: Modular library imports are now exposed directly through
package:jetleaf/jetleaf.dartor submodules (package:jetleaf/core.dart,package:jetleaf/pod.dart,package:jetleaf/env.dart,package:jetleaf/logging.dart,package:jetleaf/convert.dart,package:jetleaf/utils.dart,package:jetleaf/lang.dart). - AOT Tooling Unification: Integrated
jetleaf_tools(jl build,jl dev) replacing legacy build runners with native, mirror-free Ahead-Of-Time (AOT) compile-time registries. - Dart SDK Constraint: Bumped minimum Dart SDK constraint to
^3.9.0.
Added #
- Unified
JetleafApplicationBootstrap: Streamlined application bootstrap withJetleafApplication.runsupporting automatic AOT registrar integration and zero-config AST scanning viarunScanandRuntimeScannerConfigurationfromjetleaf_tools. - Application Types: Native support for
ApplicationType.WEB(HTTP web servers) andApplicationType.NONE(CLI utilities and batch applications). - Compile-Time AOT Synthesis: Ahead-Of-Time code synthesis generates zero-reflection constructor and member dispatch tables in
_jetleaf/that survivedart compile exetree-shaking. - Full Workspace Integration: Multi-project workspace support across all official Jetleaf packages (
jetleaf_core,jetleaf_tools,jetleaf_web,jetleaf_resource,jetleaf_scheduling,jetleaf_retry,jetleaf_validation,jetleaf_actuator,jetson,jtl). - Comprehensive Lifecycle Support: Fully unified lifecycle processors for
@PostConstruct,@PreDestroy,@OnApplicationReady, and@OnApplicationStarting. - Hierarchical Configuration & Profiles: Unified property loading for
.properties,.yaml,.json, environment variables, and CLI arguments with profile activation (--jetleaf.profiles.active=...). - Extensive Sample Projects:
sample_projects/cli_app— CLI applications withCommandLineRunner,ApplicationRunner, and custom exit code generators.sample_projects/resource_app— Multi-profile resource resolution,@Valueexpression injection, and@ConfigurationProperties.sample_projects/scanner_app— Pure runtime scanning and execution without pre-compiled AOT registrars.sample_projects/ultimate— Complete enterprise integration suite testing complex circular dependencies, deep 4-level annotations, fault tolerance, caching, and streaming web pipelines.
Changed #
- Re-engineered framework internals to use unified
jetleaf_coreabstractions. - All internal classes now cleanly separate framework concerns with zero circular runtime dependencies.
1.2.0 #
Changed #
- Updated dependencies: all.
NOTE This is the current stable version of jetleaf recommended for all environments.