111 Commits

Author SHA1 Message Date
gewuyou
e6f70b0e74 feat(version): Add version attribute configuration and dynamically set API prefix - Add VersionProperties class to configure version-related attributes
- Enable VersionProperties configuration in VersionAutoConfiguration
- Modify ApiVersionRequestMappingHandlerMapping to use the configured API prefix
2025-05-02 12:10:39 +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
gewuyou
fc8bea06b3 feat(webmvc): Add method logging and configure Spring Boot AOP
- Added MethodRecording annotation to record method execution information
- Implement MethodRecordingAspect for method recording
- Add LoggerAutoConfiguration Automatic Configuration Class
- Introduce CoroutineLogger coroutine log object - Update dependencies and configure Spring Boot AOP
2025-04-26 23:47:02 +08:00
gewuyou
c89f1f1737 build: Add Gitea Private Repository Support
- Added support for Gitea private repository in repositories.gradle.kts
- Configure the private repository address through the environment variable GEWUYOU_GITEA_HOST
- Update build.gradle.kts, optimize project configuration structure - adjust publishing configuration, remove redundant code
2025-04-26 15:51:39 +08:00
gewuyou
beacb9c856 feat(core): Added core modules and refactored WebMvc modules
- Added forgeboot-core module, including core extension functions
-Refactor the forgeboot-webmvc module and change it to Spring Boot Starter structure - Update project configuration and dependencies - Add log extension function
2025-04-26 14:52:07 +08:00
gewuyou
c22389d584 feat(webmvc): Add version control support
- Added ApiVersion annotations for version control of controllers and methods - Implement VersionAutoConfiguration automatic configuration class
- Add ApiVersionRequestMappingHandlerMapping to handle version mapping
- Update build configuration, support Spring Boot and version control
- Added Git-related configuration files
2025-04-26 14:04:44 +08:00
gewuyou
2e60505c20 feat: Initialize the Gradle build project
- Create project build scripts and configuration files
- Define module paths and project flags
- Set up Kotlin and Spring Boot plugins - Configure Maven publishing and semantic versioning plugins
- Add a source code packaging task
- Set up the project dependency repositories
- Initialize gradle-wrapper
2025-04-26 11:02:46 +08:00
GeWuYou
88759df10d
Initial commit 2025-04-25 20:55:38 +08:00