16 Commits

Author SHA1 Message Date
f3b571bf96 feat(plugin) 添加插件支持 2025-07-24 08:11:34 +00:00
b90048a57d build(forgeboot-i18n-autoconfigure): Update project dependency configuration - Move dependencies from the core-extension module to implementation configuration - Add spring-boot-autoconfigure dependencies
- Update other dependencies to adapt to project structure changes
2025-06-05 16:07:11 +08:00
cd268c4d35 build:Remove the application.properties file for the internationalization module
- Removed the application.properties files in the ForgeBoot-i18N-API and ForgeBoot-i18N-IMPL modules
- These files only contain spring.application.name attributes and may not need to be configured separately
2025-06-04 10:51:35 +08:00
7cf739fca0 refactor(i18n):Reconstructing international modules
- Move I18nProperties from impl package to api package
- Update the build configuration of the api package and add Spring Boot Configuration Processor dependencies - Remove unused Spring Cloud dependencies in the api package
- Update package references in automatic configuration and implementation classes
2025-06-03 15:09:35 +08:00
050c611dd6 refactor(i18n):Optimize international message source configuration
-Remove the name definition of the MessageSource bean and use the default name
-Simplified the parameters of the i18nMessageResolver method, and directly use the MessageSource type
- Unused constants MESSAGE_SOURCE_BEAN_NAME were removed
2025-05-31 22:41:20 +08:00
fff96d18bb refactor(i18n):Rename interfaces and classes to improve code clarity
- Rename the InternalInformation interface to I18nInternalInformation
- Rename the ResponseInformation interface to I18nResponseInformation
- Update the relevant references in the I18nBaseException class
2025-05-30 14:04:17 +08:00
d357a3d754 feat(i18n):Added the method of obtaining internationalization message parameters and optimized exception handling
- The responseI8nMessageArgs property is added to the ResponseInformation API to obtain the internationalization message parameters
- Rename the I18nBaseException file to change its implementation language from Java to Kotlin
- Update the errorI18nMessageArgs property in I18nBaseException so that it returns as a nullable array
2025-05-29 22:12:48 +08:00
fa9a5f9039 build(forgeboot-i18n): Update Module References and Dependencies - Changed I18N module references to I18n (case correction)
- Add the kotlin-reflect dependency to libs.versions.toml
- Add the spring-boot-starter-data-jpa dependency to libs.versions.toml
2025-05-28 23:50:51 +08:00
b44b5a1570 feat(i18n): Refactored the internationalization module and added Gradle plugin support
- Added I18nKeyGenPlugin Gradle plugin for generating internationalization key files - Refactoring the internationalization module to separate the API and implementation code
- Updated the project structure to create new submodules to support internationalization
- Modify the build configuration to add the necessary dependencies and properties
2025-05-28 21:57:51 +08:00
gewuyou
3ce3cedc0f feat(module): Added forgeboot-common module
- Add forgeboot-common result processing related submodules - Implement unified response encapsulation class R and related interfaces
- Integrated international message parsing and request ID generation function
- Update project configuration to support the construction and release of new modules
2025-05-03 17:33:17 +08:00
gewuyou
1537973803 feat(trace): Add request tracking function - Added TraceProperties class to configure tracking properties
- Implement RequestIdUtil tool class generation and storage request ID
- Add TraceAutoConfiguration Automatic Configuration Class
- Implementing RequestIdFilter and ReactiveRequestIdFilterRequestIdInterceptor interceptor support Feign clients
-Filter
- Add Feign to implement WebClientRequestIdFilter to support WebClient
- Add RequestIdTaskDecorator Decorator to support asynchronous thread pooling
- Added Request extension function to determine whether requests are skipped
2025-05-02 22:35:42 +08:00
gewuyou
15709c6516 refactor(projectStructure):Adjust dependencies and module configuration - Remove duplicate Spring Boot BOM configurations from each module
- Delete API dependencies in modules such as forgeboot-core, forgeboot-i18n
- Add submodule dependencies in the root project
- Optimize settings.gradle.kts, add forgeboot-webflux module
2025-05-02 14:13:27 +08:00
gewuyou
b4c8b6036b feat(i18n): Add international support and optimize project configuration
- Added USE_CONFIGURATION_PROCESSOR project flag
- Add API dependency to Core.EXTENSION in forgeboot-core
- Rename the I18nProperties file and convert it to Java class
- Update forgeboot-i18n dependency and add configuration processor
- Add spring-boot-configuration-processor dependency in libs.versions.toml
- Update root project configuration, support configuration processor
2025-04-30 12:52:45 +08:00
gewuyou
42eadcece0 refactor(i18n):Refactoring I18nBaseException from Java to Kotlin
- Convert the I18nBaseException class from a Java file to a Kotlin file
- Optimized Kotlin syntax for class definitions and constructors
- Use val to get property values
- Added @Transient annotation to replace transient keywords in Java
2025-04-27 18:12:40 +08:00
gewuyou
59ee9e4d1b 将 .java 重命名为 .kt 2025-04-27 18:12:39 +08:00
gewuyou
e349dc785d feat(i18n): Add international support module
- Added I18nProperties configuration class to define international related properties
- Implement I18nAutoConfiguration automatic configuration class, providing international message sources and local resolvers
- Added the I18nWebConfiguration configuration class to register language switching interceptors
- Added InternalInformation and ResponseInformation interfaces to extend and provide international information to the outside world
- Implement I18nBaseException class to handle internationalization-related exceptions
- Add ReactiveLocaleResolver filter to parse language information in WebFlux requests
- Create a WebFluxLocaleResolver interface to define a local resolver for WebFlux type
- Updated project
2025-04-27 18:10:31 +08:00