YunaiV/ruoyi-vue-pro
44.9
Weak · 13 November 2026
473.7k
lines of production code
Java
primary language
7
measurements over time
What this system is
Features
AI Knowledge Base document and segment management with intelligent splitting and reranking
The AI knowledge base module now provides full service-layer management for knowledge bases, documents, and segments, including creating, updating, and deleting documents and segments, as well as reindexing when embedding models change. Document ingestion automatically downloads content via URL, parses it using Apache Tika, and splits it into segments using an auto-detect strategy that supports Markdown QA format and semantic text splitting to preserve context. Search results are optionally re-ranked using a configurable RerankModel to improve relevance, and segment updates or status changes trigger asynchronous vector store synchronization.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/knowledge · high confidence
AI module configuration and model factory initialization
The AI module now initializes its core configuration and model factory via \AiAutoConfiguration\ and \YudaoAiProperties\. This includes registering a default \ObservationRegistry\ to prevent errors when missing, and defining beans for various AI providers (Gemini, Doubao, SiliconFlow, HunYuan, etc.) that are conditionally enabled via properties. The configuration also sets up vector store properties (Qdrant, Redis, Milvus) and integrates with Spring AI's tool calling and token estimation capabilities.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/config · high confidence
AI module introduces new enums for model platforms, document splitting, and content generation roles
The AI module now includes a comprehensive set of enumeration definitions that establish the foundation for its AI capabilities. This includes \AiPlatformEnum\ which adds support for multiple AI providers such as Anthropic, Gemini, Grok, and various domestic platforms like TongYi and WenXin. \AiDocumentSplitStrategyEnum\ introduces new document processing strategies, specifically Markdown QA and semantic splitting, alongside existing token and paragraph methods. Additionally, \AiChatRoleEnum\ defines built-in roles for writing assistance and mind-map generation, while \AiWriteTypeEnum\ and \DictTypeConstants\ provide the structure for customizable writing tasks and configuration options.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/enums · high confidence
Add AI music generation via Suno integration
The AI module now supports generating music using the Suno API. Users can create music via description or lyrics, manage their generated tracks (update titles, set public status, delete), and view paginated lists of their music. The system includes background jobs to automatically sync the status of ongoing Suno generation tasks and persist the resulting audio, video, and image assets.
(repo-wide) · high confidence
Add AI workflow service interface and implementation
Introduces the AI workflow service layer, providing CRUD operations (create, update, delete, get, page) and a test execution capability for AI workflows. The implementation integrates with the Tinyflow engine to parse workflow graphs and execute them, utilizing Fastjson2 for JSON processing and the existing AI model service for LLM provider integration.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/workflow · high confidence
Add CronUtils helper for Quartz cron expression validation and next execution times
A new CronUtils class has been added to the Quartz starter to provide utility methods for validating cron expressions and calculating the next N execution times. This allows the system to accurately determine future trigger times for scheduled tasks, addressing issues where specifying a year in a cron expression previously resulted in only a single execution or errors when viewing task details in the backend.
yudao-framework/yudao-spring-boot-starter-job/src/main/java/cn/iocoder/yudao/framework/quartz/core/util · high confidence
Add Dameng (DM) database compatibility patches for Flowable 6.8.0 and 8.0.0
Added configuration patches to enable Dameng database support in Flowable versions 6.8.0 and 8.0.0. The patches include a Spring configuration that detects the Dameng database and sets the dialect to Oracle while disabling bulk insert to prevent permission issues, and a Liquibase database type definition that registers Dameng as a distinct database type extending Oracle support.
sql/dm/flowable-patch-6.8.0, sql/dm/flowable-patch-8.0.0 · high confidence
Add OpenGauss database schema scripts
Added SQL migration scripts for the OpenGauss database, including the main application schema (ruoyi-vue-pro.sql) and the Quartz scheduler tables (quartz.sql). These files provide the necessary table structures, indexes, and sequences to run the application on OpenGauss, enabling compatibility with this specific database engine.
sql/opengauss · high confidence
Added DM8 database initialization scripts
Added SQL initialization scripts for the DM8 (DaMeng) database, including the full schema for the Quartz scheduler (\quartz.sql\) and the core application tables (\ruoyi-vue-pro-dm8.sql\). This enables the application to run on the DM8 database platform.
sql/dm · high confidence
Added IM module scaffolding and sensitive word data model
The IM module now includes its core package structure (api, framework, and root) and a new data object for managing sensitive words. Users can now interact with the sensitive word feature via the \im\_sensitive\_word\ database table, which stores the word content and its enabled/disabled status.
(repo-wide) · high confidence
Added KingbaseES database schema scripts
Added SQL migration scripts for the KingbaseES database, including the Quartz scheduler tables (quartz.sql) and the main application schema (ruoyi-vue-pro.sql), enabling the application to run on this specific database platform.
sql/kingbase · high confidence
Added Local LiveKit PoC Environment for Video Integration Testing
A new self-contained Proof of Concept (PoC) environment for LiveKit Server has been added to the \script/livekit-poc\ directory, enabling local development and verification of video integration features. This includes a \docker-compose.yml\ configuration to run the LiveKit server with specific port mappings (7880 for HTTP/WebSocket, 7881 for WebRTC TCP fallback, and 7882 for WebRTC UDP) and a \livekit.yaml\ configuration file that sets up webhook callbacks to the local yudao backend for room management events. A \verify.sh\ script is provided to automate the validation process, which includes waiting for the service, generating JWT tokens with appropriate permissions, creating and listing rooms via the API, and providing a browser link for real-time media testing. This setup allows developers to quickly test local media connections and room management logic without requiring a production LiveKit instance.
script/livekit-poc · high confidence
Added Quartz scheduler and application database schemas for MySQL
The \sql/mysql\ directory now includes \quartz.sql\ and \ruoyi-vue-pro.sql\, providing the necessary database structures for the Quartz job scheduler and the core application tables. The Quartz script initializes standard scheduling tables and pre-loads job definitions for system maintenance tasks such as access log cleaning, error log cleaning, and payment order synchronization. The main application script defines the schema for infrastructure components, including API access and error logs, code generation configurations, and system settings, ensuring the database is ready for deployment.
sql/mysql · high confidence
Added channel material type enumeration
Introduced the ImChannelMaterialTypeEnum to define specific content types for IM channel materials, supporting both internal rich text content (which renders in a client-side detail page) and external links (which open in a browser).
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/enums/channel · high confidence
Added data access layer for IM emoji packs and user items
Introduced MyBatis mapper interfaces for managing IM emoji packs and user-specific emoji items. The new \ImFacePackItemMapper\, \ImFacePackMapper\, and \ImFaceUserItemMapper\ provide database query capabilities for paginated listings, status-based filtering, and user-specific retrieval, enabling the backend to store and retrieve emoji pack metadata and individual user emoji assets.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/face · high confidence
Added data access layer for IM group management and sensitive word filtering
This change introduces the MyBatis mapper interfaces for the IM module's group and sensitive word domains. ImGroupMapper provides paginated group listing and row-level locking for updates, while ImGroupMemberMapper handles member queries, role-based filtering, and bulk status updates. ImGroupRequestMapper supports group join request management, including cursor-based incremental pulls and request reset logic. Additionally, ImSensitiveWordMapper enables sensitive word management with status-based queries and max-update-time tracking.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/group · high confidence
Added data model for tracking conversation read positions
A new data object, ImConversationReadDO, has been introduced to store the maximum read message ID and read time for users across private chats, group chats, and channels. This entity serves as the single source of truth for read status, enabling the system to accurately track and retrieve the last read position within any conversation type.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/dataobject/conversation · high confidence
Added data models for IM channels and channel materials
Introduced the ImChannelDO and ImChannelMaterialDO data objects to support the backend implementation of IM channels. ImChannelDO defines the structure for operational broadcast channels (including code, name, avatar, sort order, and status), while ImChannelMaterialDO models the reusable content library associated with channels, supporting various material types such as rich text and links.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/dataobject/channel · high confidence
Added data models for system and user emoji packs
The IM module now includes database entity definitions to support emoji management. This introduces \ImFacePackDO\ and \ImFacePackItemDO\ for storing system-level emoji packs and their individual images, and \ImFaceUserItemDO\ for storing user-specific private emojis. These models enable the backend to persist emoji metadata such as names, icons, URLs, dimensions, and sort order, laying the groundwork for the emoji management interface.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/dataobject/face · high confidence
Added database access layer for IM channel and channel material management
Introduced MyBatis mapper interfaces for managing IM channels and their associated materials. The new ImChannelMapper provides methods to retrieve channels by code, list them by status and sort order, and perform paginated searches using code, name, and status filters. The ImChannelMaterialMapper enables querying material counts and lists by channel ID, as well as paginated searches filtered by channel ID, type, title, and creation time range.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/channel · high confidence
Added database persistence for RTC call records and participants
The IM module now persists real-time call data to the database, enabling the management backend to query call history and participant details. This change introduces \ImRtcCallMapper\ and \ImRtcParticipantMapper\ to support operations such as paginated call listing, filtering by status and time, and retrieving participants by room or call ID, shifting the system from in-memory or transient storage to a durable, cluster-compatible state.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/rtc · high confidence
Added read-position tracking and reliable incremental pull for IM conversations
The IM module now includes a new \ImConversationReadMapper\ that enables tracking of per-user read positions within conversations. This supports reliable incremental message pulling using a cursor based on update time and record ID, ensuring users can fetch new read-status updates efficiently. Additionally, it introduces a monotonic update mechanism for read positions, using a compare-and-swap condition to prevent read-position regression in cases of out-of-order or concurrent updates, thereby improving the consistency of read receipts.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/conversation · high confidence
Added service layer for conversation read-position tracking and compensation
The IM module now includes a new service interface and implementation (ImConversationReadService) that manages per-user read positions within conversations. This service ensures read positions are monotonically increasing, handling concurrent or out-of-order updates safely via database constraints and CAS-style updates. It provides methods to update, retrieve, and batch-fetch read positions, and supports incremental pulling of read-position changes using a cursor (update time + ID) to facilitate offline compensation and reconnection scenarios.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/conversation · high confidence
Added trace ID injection filter for request tracing
The TraceFilter component has been added to the monitor starter, automatically injecting a 'trace-id' header into HTTP responses. This enables users to correlate incoming requests with backend logs and distributed tracing data without manual configuration.
yudao-framework/yudao-spring-boot-starter-monitor/src/main/java/cn/iocoder/yudao/framework/tracer/core/filter · high confidence
Adds multi-datasource support and Druid ad removal filter
The framework now supports configuring multiple data sources (master and slave) via the new DataSourceEnum and the MyBatis-Plus dynamic datasource annotation. Additionally, a new servlet filter (DruidAdRemoveFilter) has been introduced to automatically strip the Druid monitoring console's bottom banner and advertisement from the response, ensuring a cleaner user interface for database monitoring.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/datasource/core · high confidence
Admin API for trade after-sales and brokerage management
The trade module now exposes admin REST endpoints for managing after-sales requests and brokerage (commission) operations. Administrators can page, view details, and approve, reject, receive, or refund after-sales via the new AfterSaleController, and manage brokerage users, records, and withdrawal approvals via the BrokerageUserController, BrokerageRecordController, and BrokerageWithdrawController. These controllers wire existing trade services and member user lookups, and include endpoints for payment callbacks that update after-sale refund and brokerage withdrawal statuses.
yudao-module-mall/yudao-module-trade · high confidence
Automated RTC call state management via scheduled jobs
Two new scheduled jobs have been added to the IM module to handle Real-Time Communication (RTC) call lifecycle events. The \ImRtcCallCleanupJob\ identifies and cleans up 'zombie' calls that were not properly terminated (e.g., due to lost webhooks or client crashes) based on a configurable time threshold. The \ImRtcParticipantTimeoutJob\ scans for participants stuck in the 'INVITING' state beyond a set timeout, marking them as 'NO\_ANSWER' and pushing rejection signals to the frontend to ensure the UI converges correctly. Both jobs support configurable thresholds via system properties or job parameters.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/job · high confidence
BPM module adds data access, messaging, and workflow triggers
The BPM module introduces new data access layer mappers for process categories, forms, definitions, expressions, listeners, user groups, and OA leave requests, alongside a new message service that sends SMS notifications for approval outcomes and task assignments. It also implements an OA leave workflow that creates process instances and updates status via listeners, and adds a trigger framework supporting form updates/deletions and synchronous/asynchronous HTTP callbacks during process execution.
(repo-wide) · high confidence
BPM workflow engine definition enums introduced
The workflow module now defines a comprehensive set of enumerations in the \definition\ package to standardize process configuration. These enums cover condition operators (including new 'contains' and 'not contains' logic), node types (mapping simple design nodes to BPMN elements like inclusive gateways for parallel branches), user task behaviors (approval methods, timeout/rejection/empty-handler strategies), and process control features (auto-approve, child-process start-user logic, boundary events, and trigger types). This provides the foundational data structures for the new simple-mode designer and enhanced branching logic.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/enums/definition · high confidence
CRM module introduces new business, status, and clue management APIs
The CRM module now exposes comprehensive administrative APIs for managing business opportunities, their lifecycle statuses, and sales leads. Administrators can create, update, delete, and query business opportunities (including filtering by customer or contact), manage configurable business status groups and individual statuses, and handle lead operations such as creation, transfer, and conversion to customers. The implementation includes dedicated controllers, request/response value objects, and Excel export capabilities for these entities, establishing the core data handling layer for CRM sales tracking.
yudao-module-crm · high confidence
Code generator now supports configurable VO/DO modes and Excel import/export
The code generation templates in the infrastructure module have been updated to support a new VO/DO (Value Object / Data Object) mode, allowing users to choose whether generated entities include Swagger and Excel annotations directly on the Data Objects. Additionally, the generator now produces backend Java code for Excel import and export functionality, including controller endpoints, request/response View Objects, and service logic, controlled by the \import-enable\ configuration flag. Also in this area: Added unit tests for file type detection and attachment handling; New demo controller for student management with Excel export; Code generation API input/output structures are restructured; Increase form label width in Vben5 code generation templates; File upload now enforces a whitelist of allowed MIME types; and 19 more.
yudao-module-infra · high confidence
Defines RTC call lifecycle and participant states
The IM module now includes a set of enums to model the full lifecycle of Real-Time Communication (RTC) calls. This introduces specific statuses for the call itself (Created, Running, Ended) and for individual participants (Inviting, Joined, Rejected, No Answer, Left), along with enumerations for call end reasons (such as Hangup, Reject, Cancel, Busy, Error) and media types (Voice, Video). These definitions provide the structured state machine required to track call progress and handle outcomes like missed calls or busy signals.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/enums/rtc · high confidence
ERP module framework and statistics services added
The ERP module now includes a dedicated framework package for web configuration, specifically registering a Swagger API group named 'erp' to organize its documentation. Additionally, new service interfaces and implementations have been introduced for purchase and sales statistics, enabling users to retrieve purchase and sales amounts (calculated as outbound minus returns) within a specified time range.
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp, yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/framework, yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/statistics · high confidence
ERP product management services with reference validation
The ERP module now includes service interfaces and implementations for managing product categories, products, and product units. A key behavioral change is that deleting a product is now blocked if it is referenced by any business documents (purchase orders, purchase receipts, purchase returns, sales orders, sales receipts, or sales returns), preventing orphaned references. Similarly, deleting a product category is prevented if it has child categories or associated products, and deleting a product unit is prevented if any products use it.
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/product · high confidence
Expanded AI model support with unified factory and new provider integrations
The AI module now supports a wider range of providers through a centralized model factory. New integrations include Grok, Gemini, and SiliconFlow (chat and image), alongside existing support for TongYi, YiYan, DeepSeek, DouBao, HunYuan, ZhiPu, MiniMax, Moonshot, StepFun, XingHuo, BaiChuan, OpenAI, Azure OpenAI, Anthropic, and Ollama. The factory also adds support for Midjourney and Suno APIs. To simplify integration, several providers (BaiChuan, MiniMax, Moonshot, StepFun) now reuse the DeepSeek client, while others (DouBao, Gemini, SiliconFlow, HunYuan, Grok) reuse the OpenAI client, ensuring consistent behavior across different platforms.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core · high confidence
IM module Swagger API documentation configuration
The IM module now includes a dedicated web configuration class that registers a specific OpenAPI (Swagger) group named 'im'. This ensures that the module's API endpoints are correctly categorized and visible in the generated API documentation, improving discoverability for developers and API consumers.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/framework/web · high confidence
IM module adds manager dashboard statistics service
The IM module introduces a new service layer (\ImStatisticsManagerService\ and its implementation) dedicated to the manager backend's data dashboard. This service aggregates and exposes key metrics for users (total, new, active), groups (total, new, size distribution), and messages (private/group counts, daily trends, type distribution, and top senders) over configurable time ranges, delegating data retrieval to a new mapper while keeping the logic separate from core business services.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/statistics · high confidence
IM module introduces structured error codes, content types, and conversation enums
The IM module now defines a comprehensive set of error codes (ErrorCodeConstants) covering messages, groups, members, friends, sensitive words, face packs, channels, and RTC calls, providing specific user-facing messages for scenarios like read-disabled states, pin limits, mute restrictions, and friend/block actions. It also establishes the message content type enumeration (ImContentTypeEnum) that maps to OpenIM segment numbers for user chat (text, image, voice, video, file, merge, card, face), channel materials, signal events (recall, receipt, read), RTC signaling, friend notifications, and group events, alongside a conversation type enum (ImConversationTypeEnum) for private, group, and channel sessions. These enums standardize how the system reports errors and categorizes message types across the IM layer.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/enums · high confidence
Initial ERP data model for purchase, sales, finance, and inventory
This change introduces the core database entity definitions (Data Objects) for the ERP module, establishing the foundational data structures for business operations. It adds models for financial transactions (settlement accounts, payment and receipt records with their line items), procurement workflows (suppliers, purchase orders, inbound receipts, and returns), sales processes (customers, sales orders, outbound deliveries, and returns), and inventory management (product categories, units, products, stock levels, and stock checks). These objects define the schema for tracking quantities, prices, taxes, and audit statuses across the system.
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/dal · high confidence
Initial PostgreSQL database schema and Quartz scheduler support
This change introduces the initial PostgreSQL database migration scripts for the application. It includes the full schema definition in \sql/postgresql/ruoyi-vue-pro.sql\, covering core tables for infrastructure logs, code generation, and system management, along with necessary sequences and comments. Additionally, it adds \sql/postgresql/quartz.sql\, providing the standard Quartz job scheduler tables adapted for PostgreSQL, enabling scheduled task execution on this database platform.
sql/postgresql · high confidence
Initial SQL Server database schema and Quartz support
Added the initial SQL Server database migration scripts (\ruoyi-vue-pro.sql\ and \quartz.sql\) to enable the application to run on Microsoft SQL Server. The main schema script includes a \dual\ table with a single row of data (required for compatibility with other database dialects) and full table definitions for core modules like API access logs. The Quartz script provides the necessary table structures for scheduled job execution, using SQL Server-specific syntax such as \GO\ batch separators.
sql/sqlserver · high confidence
Initial backend service layer for IM emoji packs and user-specific emojis
This change introduces the backend service interfaces and implementations for managing IM emoji packs and individual user emojis. It enables administrators to create, update, delete, and paginate emoji packs and their items, while enforcing constraints such as preventing the deletion of packs that still contain items. For end-users, it supports retrieving enabled emoji packs and managing personal emoji collections, including limits on the number of private emojis and ownership validation to prevent unauthorized deletions.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/face · high confidence
Initial implementation of ERP purchase module services
This change introduces the core service interfaces and implementations for the ERP purchase module, including purchase orders, purchase receipts (inbound), purchase returns, and supplier management. It establishes the business logic for creating, updating, and auditing these documents, as well as calculating totals and managing stock records. Specifically, the purchase receipt service now correctly calculates the order's inbound progress (inCount) by only summing quantities from approved receipts, and triggers recalculation when receipt status changes (approve/reject), ensuring the progress count rolls back appropriately upon rejection.
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/purchase · high confidence
Initial implementation of ERP sales module services
This change introduces the core service layer for the ERP sales domain, adding interfaces and implementations for managing customers, sales orders, sales outflows, and sales returns. The new code enables users to create, update, and delete these records, validates references to products and customers, handles audit status transitions, and automatically updates inventory records and order quantities when outflows or returns are processed.
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/sale · high confidence
Initial trade module API contracts and domain enums
The trade module now exposes its core domain definitions and inter-service contracts. This includes the TradeOrderApi interface for retrieving order details and canceling paid orders, along with the TradeOrderRespDTO used for responses. Additionally, the module introduces a comprehensive set of enums to standardize trade logic across the system, covering order statuses and types (normal, seckill, bargain, combination, points), after-sale workflows (apply, refund, return), brokerage and commission records/withdrawals, delivery methods (express, pickup), and error codes for orders, after-sales, pricing, logistics, and distribution.
yudao-module-mall/yudao-module-trade-api · high confidence
Initializes group request handling and member role enums
Adds three new enumeration classes to the IM module to support group management features: ImGroupMemberRoleEnum defines member roles (Owner, Admin, Normal) with helper methods for role checks; ImGroupRequestHandleResultEnum standardizes the outcomes for group join requests (Unhandled, Agreed, Refused); and ImGroupAddSourceEnum captures how users discover groups (Search, Invite, QR Code, Share Link), though only Invite is currently functional as the other sources are marked as unimplemented.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/enums/group · high confidence
Integrated dictionary management and enhanced Excel export capabilities
The Excel starter now includes a local dictionary cache (DictFrameworkUtils) with a 1-minute TTL, enabling efficient label-value lookups for Excel operations. New annotations (@DictFormat, @ExcelColumnSelect) and converters (DictConvert, MultiDictConvert) allow fields to automatically format dictionary values as labels during export and parse labels back to values during import, including support for multi-value fields. Exported Excel files now feature auto-sized columns and configurable dropdown lists in specified columns. Additionally, the @InDict validation annotation ensures imported data values exist within the dictionary, and Long ID precision is preserved during export.
yudao-framework/yudao-spring-boot-starter-excel/src/main · high confidence
Introduce backend services for managing IM channels and materials
Added the backend service layer for the IM module, introducing \ImChannelService\ and \ImChannelMaterialService\ (with their implementations) to enable administrators to create, update, delete, and query IM channels and their associated materials. The channel service enforces unique codes and prevents deletion if materials are present, while the material service prevents deletion if materials have been used in messages, ensuring data integrity for historical message lookups.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/channel · high confidence
Introduces LiveKit-based real-time communication support
The IM module now integrates with LiveKit to enable real-time audio/video calls. This change adds a configuration class and a core client that handles JWT token generation for user authentication, manages room lifecycle via server APIs (such as deleting rooms and listing participants), and processes webhook events to track room and participant status. This provides the backend foundation for RTC features, including identity management and connection state tracking.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/framework/rtc · high confidence
Introduces Redis-based distributed locking for IM RTC calls
This change adds a new Redis DAO layer to manage concurrent access for real-time communication (RTC) calls. It introduces a distributed lock mechanism that serializes invite requests for both private and group calls, preventing race conditions when establishing sessions. The implementation uses Redisson to ensure that only one invite process runs at a time per conversation pair or group, throwing a 'busy' error if the lock cannot be acquired within 5 seconds.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/redis · high confidence
Introduces backend service for IM real-time voice and video calls
Adds the core backend service interface and implementation for managing real-time communication sessions. This change introduces a complete call lifecycle including creation, inviting participants, joining, accepting, rejecting, and leaving calls, with specific logic for both private and group conversations. It integrates with LiveKit for media handling, manages participant states, handles timeout scenarios (such as no-answer), and records call history for admin review.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/rtc · high confidence
Introduces comprehensive multi-tenant isolation for web, database, cache, and messaging
The \yudao-spring-boot-starter-biz-tenant\ module now provides a complete multi-tenant architecture. Database queries are automatically filtered by tenant ID via a MyBatis Plus interceptor, while Redis cache keys are suffixed with the tenant ID to ensure data isolation. Web requests are handled by a security filter that validates tenant permissions and supports ignoring specific URLs (e.g., callbacks) or marking controllers/methods with \@TenantIgnore\. Scheduled jobs automatically execute in parallel for each tenant, and message queues (Kafka, RabbitMQ, RocketMQ, Redis) automatically inject the tenant ID into message headers for context propagation.
yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/java · high confidence
Introduces enums for friend request sources, handling results, and relationship states
This change adds three new enumeration classes to the IM module's friend subsystem to structure friend-related data. ImFriendAddSourceEnum defines the channels through which a friend request is initiated (search, group, QR code, or card). ImFriendRequestHandleResultEnum standardizes the possible outcomes of a request (unhandled, agreed, or refused). ImFriendStateEnum consolidates the friend relationship status into a single state value, distinguishing between non-friends, active friends, and blocked users, which supports efficient caching and state checks in the private chat flow.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/enums/friend · high confidence
Introduces pluggable IoT message bus and device management APIs
The IoT core module now supports a configurable message bus architecture, allowing users to select between local, Redis, Kafka, RabbitMQ, or RocketMQ implementations via the \yudao.iot.message-bus.type\ property, with Redis and Kafka including specific cleanup and resend jobs. Additionally, a new \IotDeviceCommonApi\ interface and associated DTOs have been added to expose device authentication, information retrieval, dynamic registration (including gateway sub-device registration), and Modbus device configuration queries, alongside new enumerations for protocol types, serialization formats, and Modbus-specific settings like byte order and raw data types.
yudao-module-iot/yudao-module-iot-core · high confidence
Introduction of BaseDO with metadata fields and translation support
The framework introduces a new \BaseDO\ abstract class in the MyBatis starter, providing a standard base for data objects. This class automatically handles \createTime\, \updateTime\, \creator\, and \updater\ fields via MyBatis Plus field filling, and includes a \deleted\ field for soft deletion. It also implements \TransPojo\ to enable global VO data translation and ignores the \transMap\ property to prevent Jackson serialization errors in Spring Cache. A \clean()\ method is provided to reset these metadata fields.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/dataobject · high confidence
Introduction of Friend and Friend Request Data Models
Added the ImFriendDO and ImFriendRequestDO data objects to support the new friend management capabilities. ImFriendDO defines the structure for storing bidirectional friend relationships, including fields for silent mode (notification blocking), custom display names, pinning contacts, and blocking users. ImFriendRequestDO introduces the data structure for the friend application workflow, capturing the requestor, recipient, application reason, and handling status (agree/refuse) to enable the new friend request logic.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/dataobject/friend · high confidence
Introduction of Job Log Framework Service Interface
A new \JobLogFrameworkService\ interface has been added to the Quartz job starter, defining methods to create job logs and asynchronously update their execution results (including end time, duration, success status, and result data). This service layer standardizes how job execution logs are recorded and updated within the framework.
yudao-framework/yudao-spring-boot-starter-job/src/main/java/cn/iocoder/yudao/framework/quartz/core/service · high confidence
Introduction of RedisMQTemplate for unified message sending
The yudao-spring-boot-starter-mq module now includes a new RedisMQTemplate class that provides a unified interface for sending messages via both Redis pub/sub channels and Redis Streams. This template handles JSON serialization, manages message interceptors for pre- and post-processing, and abstracts the underlying Redis operations, laying the groundwork for a consistent messaging API across different implementations.
yudao-spring-boot-starter-mq · high confidence
Member module API and admin controllers exposed
The member module now exposes a set of internal APIs and admin controllers for managing user addresses, points, experience levels, groups, and configuration. External modules can use the new \MemberAddressApi\, \MemberConfigApi\, \MemberLevelApi\, \MemberPointApi\, and \MemberUserApi\ to interact with member data. Administrators can now manage these resources via the new REST endpoints under \/member/address\, \/member/config\, \/member/group\, \/member/level\, and \/member/experience-record\.
yudao-module-member · high confidence
New AI chat conversation and message services
The chat module now includes dedicated service interfaces and implementations for managing AI chat conversations and messages. Users can create, update, and delete their own chat conversations, as well as retrieve conversation lists and paginated views. The message service enables sending chat messages (both synchronous and streaming), retrieving message history for specific conversations, and deleting messages. The implementation integrates with knowledge bases, web search, and MCP tools to enhance chat responses, and supports features like pinned conversations and admin-level deletion.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/chat · high confidence
New AI image generation service with multi-platform support
Added the AiImageService interface and its implementation to handle AI-powered image generation. The service supports creating, retrieving, updating, and deleting image records, including specific Midjourney operations (imagine, sync, notify, action). It integrates with Spring AI to support multiple image generation platforms, including OpenAI, Silicon Flow, Stability AI, and Alibaba's DashScope (Tongyi), allowing users to generate images via various AI models.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/image · high confidence
New AI model management services for API keys, chat roles, models, and tools
The AI module now includes dedicated service interfaces and implementations for managing AI API keys, chat roles, model configurations, and tools. Administrators can create, update, and delete API keys and models, while chat roles can be associated with specific knowledge bases and tools. The tool service validates tool existence using Spring AI's ToolCallbackResolver, ensuring that registered tools are available before assignment to chat roles.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/model · high confidence
New AI module data access layer with multi-modal support
The AI module's data access layer has been established with a comprehensive set of new database entities and MyBatis mappers. This introduces persistent storage for AI chat conversations and messages (including reasoning content, web search results, and attachments), AI-generated images, music, mind maps, and text writing. It also adds support for AI knowledge bases (documents and segments), chat roles with MCP client configuration, API keys, tools, and workflows. The mappers provide the necessary SQL operations to manage these entities, enabling the backend to store and retrieve data for these diverse AI capabilities.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/dal/dataobject · high confidence
New AI services for mind map generation and content writing
The AI module now includes backend services for generating mind maps and AI-assisted writing. The new AiMindMapService and AiWriteService interfaces and implementations allow users to generate content via streaming responses, retrieve individual items, and view paginated lists. These services integrate with existing AI model and chat role configurations to handle prompt construction and model selection.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/mindmap, yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/write · high confidence
New BPM API interfaces and event structure for process management
The BPM module now exposes a dedicated API package (\cn.iocoder.yudao.module.bpm.api\) for internal module communication. This includes \BpmProcessInstanceApi\ for creating process instances and allowing initiators to cancel running instances with a reason, as well as \BpmProcessTaskApi\ for triggering specific tasks. Additionally, a new \BpmProcessInstanceStatusEvent\ has been introduced to signal process status changes, notably including a \reason\ field when a process instance ends, enabling downstream listeners to react to specific termination causes.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/api · high confidence
New BPM data models for process definitions, forms, and OA workflows
This change introduces a suite of new database entity classes in the BPM module to support enhanced workflow management. Key additions include BpmProcessDefinitionInfoDO for storing extended process definition metadata (such as form types, visibility, and user/department start permissions), BpmFormDO for managing dynamic form configurations, and BpmCategoryDO for organizing process categories. It also adds BpmOALeaveDO to support OA leave application workflows, BpmProcessInstanceCopyDO for tracking process instance copies/carbon copies, and supporting entities like BpmUserGroupDO, BpmProcessListenerDO, and BpmProcessExpressionDO to enable flexible process listeners and expressions.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/dal/dataobject · high confidence
New BPM definition service layer for process models, categories, and forms
This change introduces the core service interfaces and implementations for managing BPM definition assets within the \yudao-module-bpm\ module. It adds \BpmCategoryService\ to handle process classification with validation to prevent deletion of categories currently in use by models, \BpmFormService\ for managing dynamic form configurations, and \BpmModelService\ to support the creation, import, and export of process models (including both standard BPMN and simplified DingTalk/Feishu-style models). Additionally, it provides \BpmProcessDefinitionService\ for handling the deployment and state management of process definitions, alongside supporting services for process expressions and listeners.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/definition · high confidence
New BPM task and process status enums introduced
The BPM module now defines explicit enumerations for task and process instance states, including BpmTaskStatusEnum (with states like SKIP, WAIT, APPROVING, RETURN), BpmProcessInstanceStatusEnum, BpmCommentTypeEnum, BpmAttachmentTypeEnum, BpmTaskSignTypeEnum, and BpmReasonEnum. These enums standardize how task lifecycle states, comment types, attachment types, sign types, and process reasons are represented and formatted in the system, enabling consistent status tracking and messaging for workflow operations.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/enums/task · high confidence
New BPM trigger components for form operations and HTTP requests
The BPM module now includes a new trigger framework under the task/trigger package, introducing an interface and several implementations to handle specific workflow events. Users can now configure triggers to automatically delete or update process form variables based on defined conditions, as well as send synchronous HTTP requests or HTTP callbacks to external services during process execution.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/task/trigger · high confidence
New BaseMapperX interface with join support and concurrency-safe queries
The MyBatis starter now provides a new \BaseMapperX\ interface that extends \MPJBaseMapper\ (from mybatis-plus-join) to enable join queries. It adds \selectJoinPage\ methods that support sorting parameters, and introduces \selectFirstOne\ and \selectFirstOneForUpdate\ methods to safely retrieve a single record in concurrent scenarios where multiple inserts might occur, preventing errors from non-unique results.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/mapper · high confidence
New DTOs for structured group and private message sending
The IM module introduces two new data transfer objects, ImGroupMessageSendDTO and ImPrivateMessageSendDTO, to standardize how messages are dispatched. ImGroupMessageSendDTO provides static factory methods for various group events (such as creation, member changes, and message pinning) and includes fields for targeting specific users and requesting read receipts. ImPrivateMessageSendDTO adds a 'persistent' flag to control whether a message is stored and pushed to both parties or sent as a unilateral notification (e.g., deletion alerts), alongside a 'receipt' flag for read-receipt control.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/message/dto · high confidence
New ERP finance and product management controllers
Added new admin controllers and request/response VO classes for ERP settlement accounts, finance payments, finance receipts, product categories, products, and product units. These endpoints enable users to create, update, delete, query, and export Excel reports for these ERP entities, with appropriate permission checks and pagination support.
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller · high confidence
New ERP stock management services for inventory checks, movements, and other in/out operations
Added service interfaces and implementations for ERP stock operations: stock checks (ErpStockCheckService), other stock-ins (ErpStockInService), other stock-outs (ErpStockOutService), and stock transfers (ErpStockMoveService). These services handle creating, updating, approving, and deleting stock documents, including validation of products and warehouses, generation of unique document numbers, and updating stock records via ErpStockRecordService. Also added ErpStockService for managing product inventory counts with support for negative stock configuration, and ErpWarehouseService for warehouse management.
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/stock · high confidence
New FMS closing and account-set management APIs
The FMS module now exposes REST endpoints for managing accounting periods, closing schemes, templates, and vouchers, as well as configuring account sets and users. Users can retrieve the current accounting period, view a closing overview (including balance checks and voucher status), and perform close/cancel-close operations. Closing schemes and templates can be created, updated, and deleted, with specific settings for profit-loss carry-forward and special closing rules. Voucher generation is supported for profit-loss, scheme-based, and batch operations. Additionally, account sets can be initialized and managed, and account users can be authorized and updated.
yudao-module-fms/src/main/java · high confidence
New HRM attendance management endpoints and data models
The HRM module now exposes a comprehensive set of administrative APIs for managing employee attendance. Administrators can configure attendance groups (including shifts, locations, WiFi rules, and deduction policies), define holidays, and manage leave requests. The system also supports recording clock-in/out events with location and device details, and provides detailed daily and monthly attendance statistics with Excel export capabilities.
yudao-module-hrm/src/main · high confidence
New HTTP API signature validation starter
Added a new Spring Boot starter for HTTP API signature validation. This includes an \@ApiSignature\ annotation to mark endpoints, an AOP aspect (\ApiSignatureAspect\) to enforce signature checks, and auto-configuration (\YudaoApiSignatureAutoConfiguration\) that wires the signature logic with Redis for nonce/replay protection. The signature algorithm combines query string, body, header, and app secret, with configurable timeout, timestamp, nonce, and sign field names.
yudao-framework/yudao-spring-boot-starter-protection/src/main/java/cn/iocoder/yudao/framework/signature · high confidence
New IP and Area lookup utilities
The IP starter now includes utilities to resolve IP addresses to geographic regions and to query administrative area hierarchies. IPUtils loads the ip2region.xdb database at startup to map IP addresses to area IDs and full Area objects, while AreaUtils loads a local area.csv file to provide a tree of countries, provinces, cities, and districts, supporting lookups by ID, path string, or type. The Area model uses Jackson annotations to safely serialize parent-child relationships without causing stack overflow errors during debugging or default serialization.
yudao-framework/yudao-spring-boot-starter-biz-ip/src/main/java · high confidence
New IoT Gateway module with multi-protocol support
Introduces the \yudao-module-iot-gateway\ module, providing a standalone Spring Boot application to manage IoT device connections. It implements a protocol-agnostic architecture via \IotProtocolManager\, supporting HTTP, TCP, UDP, CoAP, WebSocket, MQTT, EMQX, and Modbus TCP (Client/Server). The gateway handles device authentication, dynamic registration (including sub-devices), and message routing through a message bus, with configuration managed via \IotGatewayProperties\.
yudao-module-iot/yudao-module-iot-gateway · high confidence
New IoT management endpoints for devices, alerting, and Modbus configuration
The IoT module now exposes a comprehensive set of administrative REST APIs for managing IoT infrastructure. Administrators can perform full CRUD operations on devices, including binding/unbinding sub-devices to gateways, managing device groups, and exporting device lists to Excel. A new alerting system allows configuring alert rules (with support for SMS, email, and in-app notifications), viewing alert records, and processing them. Additionally, dedicated endpoints are provided for configuring Modbus connection settings and data points for devices, as well as querying device messages and property history.
yudao-module-iot/yudao-module-iot-biz · high confidence
New MES Serial Number (SN) management and Product Receipt API interfaces
This update introduces new API client modules and a user interface for managing Serial Numbers (SN) within the MES Warehouse Management module. Users can now generate SN codes, query them via a paginated list with filters (SN code, item ID, batch code, creation time), and export the data to Excel. The diff also adds the underlying API definitions for Product Receipts (including main records, lines, and details) and their associated CRUD and workflow actions (submit, stock, execute, cancel), enabling the frontend to interact with these new backend endpoints.
yudao-ui/yudao-ui-admin-vue3 · high confidence
New MES shift planning and calendar management APIs
Added backend controllers and request/response objects for the MES shift planning (cal) module, enabling administrators to manage shift plans, plan shifts, plan-team associations, work teams, team members, and holiday settings. The new endpoints support creating, updating, deleting, and querying these entities, including a dedicated calendar list endpoint that aggregates team shifts while filtering out holidays, and a confirm-plan action to lock plans.
yudao-module-mes · high confidence
New MyBatis Plus type handlers for encrypted fields and collection serialization
The MyBatis starter now includes new type handlers to simplify data mapping. EncryptTypeHandler enables automatic AES encryption and decryption of string fields in the database, configured via the mybatis-plus.encryptor.password property. Additionally, StringListTypeHandler, IntegerListTypeHandler, LongListTypeHandler, and LongSetTypeHandler allow Java collections (List/Set) to be stored as comma-separated strings in VARCHAR columns, reducing the need for manual conversion logic.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/type · high confidence
New PMS knowledge base document management APIs
Added admin controllers and request/response VOs for managing knowledge base documents, folders, labels, and content permissions. Users can now create, update, move, and delete documents and folders, manage document labels, and configure collaboration permissions. The API also supports global document search, view recording, and retrieving a hierarchical tree structure of the knowledge base.
yudao-module-pms · high confidence
New RateLimiter annotation for method-level request throttling
The protection starter now includes a new \@RateLimiter\ annotation that allows developers to apply request throttling to specific methods. The implementation uses Redisson to enforce limits and supports multiple key resolution strategies: global (default), per-user, per-client-IP, per-server-node, and custom expression-based keys. This enables fine-grained control over request rates for different scopes without requiring manual rate-limiting logic in service code.
yudao-framework/yudao-spring-boot-starter-protection/src/main/java/cn/iocoder/yudao/framework/ratelimiter · high confidence
New SQL migration and testing tools in sql/tools
A new \sql/tools\ directory has been introduced to streamline database operations. It includes a Python-based \convertor.py\ script that transforms MySQL schema scripts into formats compatible with Oracle, PostgreSQL, SQL Server, Dameng (DM8), KingbaseES, OpenGauss, and HighGo databases. Additionally, a \docker-compose.yaml\ file provides pre-configured services for running these databases locally for testing, including specific configurations for Apple Silicon Oracle images and manual schema initialization steps for SQL Server and Dameng.
sql/tools · high confidence
New SecurityFrameworkUtils utility for centralized authentication management
The security starter introduces a new SecurityFrameworkUtils class that centralizes access to the current authenticated user and token handling. It provides methods to retrieve the LoginUser, user ID, nickname, and department ID from the Spring Security context, and supports extracting the authentication token from either HTTP headers or query parameters. Additionally, it includes a setLoginUser method to manually establish the security context (useful for non-web contexts like scheduled jobs) and a skipPermissionCheck helper that automatically bypasses permission checks when the current user is accessing a different tenant than their own.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/core/util · high confidence
New TCP and Modbus TCP frame codecs and Modbus polling scheduler
The IoT gateway now includes new frame codec implementations for generic TCP connections (delimiter-based, fixed-length, and length-field-based) and for Modbus TCP (including automatic frame format detection between TCP and RTU, encoding/decoding, and a per-device polling scheduler with request queue limiting). These components enable the gateway to reliably parse and send structured messages over TCP and Modbus TCP protocols, supporting configurable framing strategies and optimized polling for Modbus devices.
yudao-module-iot-gateway · high confidence
New TokenAuthenticationFilter for OAuth2 token validation and mock login
The security starter now includes a new TokenAuthenticationFilter that validates OAuth2 access tokens via the OAuth2TokenCommonApi and populates the Spring Security context with LoginUser details. It supports user-type matching for admin and app API endpoints while skipping type checks for WebSocket connections, and includes a configurable mock-login feature for development that bypasses real token validation when enabled.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/core/filter · high confidence
New WebSocket starter with multi-broker broadcasting and token authentication
This release introduces a new \yudao-spring-boot-starter-websocket\ module that provides a complete, auto-configured WebSocket infrastructure. It supports token-based authentication via a handshake interceptor and allows the connection path to be configured. A key capability is the pluggable message sender system, enabling developers to choose between local, Redis, RabbitMQ, Kafka, or RocketMQ for broadcasting messages across distributed instances. The framework also includes a listener-based message handling model, allowing applications to register specific handlers for different message types.
yudao-framework/yudao-spring-boot-starter-websocket · high confidence
New admin API endpoints for WeChat Official Account management
The \yudao-module-mp\ module now exposes a comprehensive set of REST controllers for managing WeChat Official Account resources in the admin backend. Administrators can now create, update, and query account credentials (app ID, secret, token), manage permanent and temporary media materials (including news images), configure hierarchical custom menus, and handle message operations such as sending customer service messages, syncing and sending template messages, and configuring auto-reply rules. These endpoints are secured with specific permissions (e.g., \mp:account:create\, \mp:material:upload-permanent\) and include request/response validation for fields like media types and message content.
yudao-module-mp · high confidence
New admin API endpoints for workflow comments, categories, forms, and model management
This change introduces a suite of new REST controllers in the BPM module's admin API, enabling administrators to manage workflow definitions and interactions. Specifically, it adds a comment management interface (BpmCommentController) allowing users to view and create comments on process instances, and a model management interface (BpmModelController) supporting the import, export, and deployment of process models via JSON. Additionally, it exposes full CRUD APIs for workflow categories (BpmCategoryController), dynamic forms (BpmFormController), process definitions (BpmProcessDefinitionController), process expressions (BpmProcessExpressionController), process listeners (BpmProcessListenerController), and user groups (BpmUserGroupController), along with the necessary request/response value objects to support these operations.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/controller · high confidence
New admin APIs for AI Agents, Knowledge Bases, MCPs, and Home Dashboard
This change introduces the admin REST controllers and request/response objects for managing AI Agents, Knowledge Bases, Knowledge Documents, and MCP (Model Context Protocol) connections, along with a Home dashboard summary. Administrators can now create, update, delete, and query Agents (including status management and simple lists for binding), manage Knowledge Bases (with chunking/vectorization settings) and their Documents (including upload, vectorization, and search), and configure MCP connections (including connectivity testing). The Home controller provides summary statistics and message usage trends by date and by Agent.
yudao-module-ai1-springai/src/test · high confidence
New admin APIs for AI chat, image generation, and knowledge base management
The AI module now exposes comprehensive admin controllers for managing conversations, messages, images, and knowledge bases. Administrators can create, update, and delete chat conversations and messages, with support for streaming responses, file attachments, and web search integration. Image generation capabilities are available for OpenAI, Stable Diffusion, and Midjourney, including public/private listing and Midjourney-specific actions. Knowledge base management allows for CRUD operations on knowledge bases and documents, enabling the configuration of embedding models and segmentation parameters.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/controller · high confidence
New admin APIs for IM friends, groups, face packs, and read receipts
The admin backend now exposes dedicated REST controllers for managing IM social features and state. Users can manage friend relationships (list, pull, update, block, delete) and friend requests (apply, agree, refuse) with incremental pull support for offline sync. Group management includes creating, updating, dissolving, inviting, kicking, transferring ownership, pinning/unpinning messages, and muting members or the entire group. A new face pack system allows listing enabled packs with items and managing personal custom emoji (create/delete). Additionally, a new endpoint allows clients to incrementally pull conversation read positions for reconnection and offline compensation.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/controller · high confidence
New admin statistics endpoints for members, products, trade, and payments
The statistics module now exposes dedicated admin API controllers for member, product, trade, and payment analytics. Administrators can retrieve summary and trend data, view breakdowns by area, gender, and terminal, and export detailed reports to Excel. Product statistics include a ranking page that enriches results with SPU details, while trade statistics provide order counts, trend comparisons, and financial summaries such as turnover and refund amounts.
yudao-module-mall/yudao-module-statistics · high confidence
New channel, group, and private message service interfaces and implementations
The IM module now exposes dedicated service interfaces and implementations for managing channel, group, and private messages. These services provide the core capabilities for sending, pulling, marking as read, and recalling messages across all three conversation types, along with administrative endpoints for querying and deleting messages. The implementation includes idempotency checks for sending, sensitive word validation, read-position tracking, and WebSocket-based real-time notifications.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/message · high confidence
New common API interfaces for cross-module communication
The yudao-common module now exposes a set of new API interfaces under the \cn.iocoder.yudao.framework.common.biz\ package to facilitate communication between framework starters and business modules. These include \ApiAccessLogCommonApi\ and \ApiErrorLogCommonApi\ for asynchronous logging, \OperateLogCommonApi\ for operation logs, \DictDataCommonApi\ for dictionary data, \OAuth2TokenCommonApi\ for token management, \PermissionCommonApi\ for user permissions, and \TenantCommonApi\ for multi-tenant validation. Corresponding DTOs (e.g., \ApiAccessLogCreateReqDTO\, \OAuth2AccessTokenRespDTO\) are also added to define the data contracts for these interactions.
yudao-framework/yudao-common · high confidence
New conditional query wrapper classes with database-specific LIMIT support
The MyBatis starter introduces three new query wrapper classes—LambdaQueryWrapperX, MPJLambdaWrapperX, and QueryWrapperX—that extend MyBatis Plus wrappers with 'IfPresent' methods (such as likeIfPresent, inIfPresent, and betweenIfPresent) to automatically omit query conditions when values are null or empty. Additionally, QueryWrapperX adds a limitN method that adapts the LIMIT clause syntax for different databases, using ROWNUM for Oracle, TOP for SQL Server, and standard LIMIT for MySQL, PostgreSQL, and others.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/query · high confidence
New data masking annotations and API access logging
The web starter now includes a comprehensive data masking system, allowing developers to annotate fields with annotations like @MobileDesensitize, @IdCardDesensitize, and @EmailDesensitize to automatically mask sensitive data in JSON responses. These annotations support Spring EL expressions to conditionally disable masking based on user permissions. Additionally, the framework introduces a new API access logging system, configurable via the \yudao.access-log.enable\ property, which records request details, response times, and operation types, with the ability to mask sensitive parameters using the \@ApiAccessLog\ annotation.
yudao-framework/yudao-spring-boot-starter-web · high confidence
New data models for group management, membership, and join requests
The IM module introduces three new data objects to support advanced group features: ImGroupDO now includes fields for group-wide mute (mutedAll) and pinned messages (pinnedMessageIds); ImGroupMemberDO adds support for member roles (role), silent mode (silent), and individual mute expiration (muteEndTime); and ImGroupRequestDO is added to track join requests with approval workflows, including fields for application content, handling results, and inviter information.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/dataobject/group · high confidence
New department-based data permission rule with SQL parenthesis fix
The framework now includes a new \DeptDataPermissionRule\ implementation that automatically filters data by \dept\_id\ and optionally by \user\_id\ (for 'view self' scenarios) using OR conditions. This change also fixes a SQL syntax issue where the generated \IN\ clause for department IDs was missing required parentheses, ensuring correct query execution. A \DeptDataPermissionRuleCustomizer\ interface is provided to allow users to configure custom column mappings for these filters.
yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/rule/dept · high confidence
New deploy.sh script for yudao-server deployment
A new shell script (deploy.sh) has been added to the script/shell directory to automate the deployment of the yudao-server application. This script handles the full deployment lifecycle including backing up the existing JAR, stopping the running service, transferring the new build artifact, starting the service with configured JVM options and profiles, and performing a health check against the /actuator/health/ endpoint to verify successful startup.
script/shell · high confidence
New friend and friend request management data access layer
The IM module introduces dedicated MyBatis-Plus mappers for managing friend relationships and friend requests, enabling efficient data retrieval and administrative oversight. ImFriendMapper provides methods to query individual friend links, list a user's friends, and perform incremental pulls using a cursor-based approach (update\_time + id) to support reliable synchronization without loading excessive history. It also supports filtering by status and includes a silent flag for managing notification preferences. ImFriendRequestMapper handles friend request records with similar incremental pull capabilities, allowing users to fetch requests where they are either the sender or recipient. It includes logic to handle request updates, such as reusing existing records by resetting their state to unhandled, and supports administrative paging with filters for request status and source.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/friend · high confidence
New friend request workflow and sensitive word management
The IM module introduces a formal friend request lifecycle, allowing users to apply for, approve, or reject friend connections via the new ImFriendRequestService, which handles optimistic locking, auto-accept toggles, and WebSocket notifications. The existing friend management capabilities are expanded to support silent re-adding of friends, updating single-side attributes (display name, silent mode, pinning), and deleting friends with an option to clear local chat history. Additionally, a new sensitive word management system is added, enabling administrators to maintain a blocklist that is enforced via a high-performance, tenant-aware trie-based cache for real-time text validation.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/friend · high confidence
New group management and membership services
The IM module introduces dedicated service interfaces and implementations for group administration and membership lifecycle. Group owners and administrators can now manage group settings (name, notice, avatar, join approval), handle join requests (approve/reject with audit trails), and control membership (invite, remove, transfer ownership, add/remove admins). The system enforces member count limits, validates friend relationships for initial group creation, and supports silent synchronization of member nickname changes. Join requests are handled via a new approval workflow that creates pending records when enabled, or allows direct entry when disabled, with appropriate WebSocket notifications pushed to relevant parties.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/group · high confidence
New idempotency, rate-limiting, and API signature protections
The protection starter now includes three new capabilities for securing HTTP endpoints. First, an idempotency mechanism prevents duplicate requests by intercepting methods annotated with @Idempotent, using a configurable key resolver (including Spring EL expressions) and Redis to ensure atomic checks. Second, a rate limiter protects against excessive traffic by intercepting methods annotated with @RateLimiter, using Redisson to enforce per-key request counts with proper expiration handling. Third, an API signature verification system ensures request integrity and prevents replay attacks by validating headers (appId, timestamp, nonce, sign) against a stored appSecret, computing a SHA-256 signature over query parameters, body, and headers, and caching nonces to block reuse.
yudao-spring-boot-starter-protection · high confidence
New idempotent protection starter with user-level key resolution
This change introduces the \yudao-spring-boot-starter-protection\ idempotent module, enabling developers to prevent duplicate request processing via the \@Idempotent\ annotation. The implementation registers an AOP aspect that validates requests against Redis, supporting three key resolution strategies: global (method name + args), user-specific (method name + args + userId + userType), and custom SpEL expressions. The configuration is wired as a Spring Boot \@AutoConfiguration\ dependent on the Redis starter, ensuring the idempotency checks are applied automatically without manual bean setup.
yudao-framework/yudao-spring-boot-starter-protection/src/main/java/cn/iocoder/yudao/framework/idempotent · high confidence
New job execution handler and invoker components
The Quartz job starter now includes a new \JobHandler\ interface for defining task logic and a \JobHandlerInvoker\ class that acts as the Quartz job entry point. The invoker manages the execution lifecycle, including logging start/end times, capturing results or exceptions, and handling retry logic with configurable intervals and counts before rethrowing failures.
yudao-framework/yudao-spring-boot-starter-job/src/main/java/cn/iocoder/yudao/framework/quartz/core/handler · high confidence
New message validation and quote handling utilities
Added ImMessageUtils to validate IM message content (text, images, voice, video, files, cards, merges, materials) and manage message quote fields. This includes enforcing length limits, URL safety checks, and parsing/appending/removing quote references in message payloads.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/util · high confidence
New process instance copy and task service interfaces introduced
The BPM module now includes new service interfaces and implementations for managing process instance copies (cc/copy-to) and task operations. The \BpmProcessInstanceCopyService\ allows administrators and automatic triggers to create, query, and delete process instance copies, recording details like the reason, activity, and involved users. The \BpmProcessInstanceService\ and \BpmTaskService\ interfaces define core capabilities for querying, creating, and managing process instances and tasks, including approval details, next node prediction, and task status filtering. These services form the backend foundation for features like process copying, detailed approval tracking, and enhanced task management within the workflow engine.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/task · high confidence
New product module APIs and admin controllers for brands, categories, comments, and favorites
This change introduces the external API contracts and admin management interfaces for the product module. It adds the \ProductCategoryApi\ for validating categories, the \ProductCommentApi\ for creating comments, and the \ProductSkuApi\ and \ProductSpuApi\ for querying SKU/SPU details and updating stock. On the admin side, it provides full CRUD controllers and request/response objects for managing product brands, categories, comments (including visibility toggling and merchant replies), and product favorites.
yudao-module-mall/yudao-module-product · high confidence
New public API and admin management interfaces for the payment module
The pay module now exposes a structured set of remote APIs and admin controllers for managing payment applications, channels, orders, refunds, transfers, and wallets. Developers can create and query pay orders, refunds, and transfers via dedicated API interfaces (e.g., PayOrderApi, PayRefundApi, PayTransferApi, PayWalletApi) with defined request/response DTOs, while admins can manage payment apps and channels through new REST endpoints under /pay/app and /pay/channel. Demo controllers are also provided to illustrate order creation, payment callbacks, and refund flows.
yudao-module-pay · high confidence
New security service interface and implementation for permission, role, and scope checks
The security starter now exposes a new \SecurityFrameworkService\ interface and its default implementation (\SecurityFrameworkServiceImpl\). This service centralizes authorization checks, allowing users to verify permissions, roles, and OAuth2 scopes via methods like \hasPermission\, \hasRole\, and \hasScope\. The implementation delegates permission and role checks to the \PermissionCommonApi\ while handling scope checks locally against the logged-in user's scopes. It also includes a bypass mechanism for cross-tenant access via \skipPermissionCheck()\ and ensures that checks fail securely if no user is logged in.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/core/service · high confidence
New sensitive word management and validation service
Added the ImSensitiveWordService and its implementation to the IM module, providing a new capability to manage sensitive words via the admin backend (CRUD operations) and to validate text content against these words. The service integrates with the houbb sensitive-word library for detection and includes a caching layer that respects the multi-tenant configuration, ensuring that text validation correctly handles scenarios where multi-tenancy is disabled.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/sensitiveword · high confidence
New utility for temporarily disabling data permissions
A new DataPermissionUtils class has been added to the data-permission starter, providing static methods (executeIgnore) to temporarily bypass data permission checks for specific code blocks. This allows developers to execute logic without applying the current tenant or user-based data filters, which is useful for administrative operations or system-level tasks that need to access all data regardless of standard permission rules.
yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/util · high confidence
New workflow comment service interface and implementation
Added the BpmCommentService interface and its implementation to enable creating and retrieving comments for workflow instances. The service integrates with Flowable's TaskService to fetch comments by process instance ID and to add new comments linked to specific tasks, supporting both user-provided messages and templated comment types via BpmCommentTypeEnum.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/comment · high confidence
New yudao-server module with Docker support and graceful disabled-module handling
This change introduces the standalone yudao-server module, providing the main application entry point, a Dockerfile for containerized deployment (using Eclipse Temurin 8 JRE on port 48080), and environment-specific configuration files (local, dev). To improve the developer experience and startup speed, the server now includes a DefaultController that intercepts requests to disabled modules (such as BPM, Pay, Mall, AI, and IoT), returning a clear 'module disabled' error with documentation links instead of generic 404s. Additionally, a ProjectReactor utility is included to allow one-click renaming of the project's Maven coordinates and package structure.
yudao-server · high confidence
New yudao-spring-boot-starter-mq component with Redis and RabbitMQ support
The project has introduced a new \yudao-spring-boot-starter-mq\ module to centralize message queue functionality. This starter provides auto-configuration for RabbitMQ, switching the serialization method to \Jackson2JsonMessageConverter\, and for Redis, supporting both Pub/Sub (broadcast) and Stream (cluster) consumption models. The Redis implementation includes automatic registration of listeners, a pending message resend job to handle crashes, and a stream cleanup job to prevent memory bloat, all activated via Spring Boot auto-configuration.
yudao-framework/yudao-spring-boot-starter-mq · high confidence
Oracle database schema and Quartz job scheduler scripts added
New SQL scripts for the Oracle database have been introduced, providing the full application schema (ruoyi-vue-pro.sql) and the Quartz job scheduler tables (quartz.sql). The application schema includes infrastructure tables for API access and error logging, as well as code generation metadata, with data types and storage configurations adapted for Oracle compatibility.
sql/highgo, sql/oracle · high confidence
Persistent storage for RTC call records and participants
The system now persists Real-Time Communication (RTC) call history to the database, enabling the management console to query past calls. This change introduces two new data objects: \ImRtcCallDO\ for call-level details (such as status, media type, and timing) and \ImRtcParticipantDO\ for per-user participation records (including roles and join/leave times). These entities map to the \im\_rtc\_call\ and \im\_rtc\_participant\ tables, linking participants to calls via the \room\ identifier to support the new read-only query features for call lists and participant details.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/dataobject/rtc · high confidence
Promotion module exposes inter-module APIs and admin article management
The promotion module now provides a set of internal APIs for other modules to interact with its features, including bargain, combination (group-buying), coupon, discount, point, reward, and seckill activities. These APIs allow external modules to validate participation conditions, update stock, and retrieve activity details. Additionally, the module introduces admin controllers for managing promotional articles and their categories, enabling administrators to create, update, delete, and query articles and categories through the backend.
yudao-module-mall/yudao-module-promotion · high confidence
Real-time friend list updates on profile changes
The system now automatically notifies a user's friends when that user's profile information is updated. An asynchronous message consumer listens for profile update events and, after the transaction commits, pushes a FRIEND\_INFO\_UPDATED notification to all mutual friends via WebSocket, ensuring their friend lists reflect the latest changes without delay or stale data.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/mq · high confidence
Structured message models and unified read/receipt tracking
The IM module introduces dedicated data objects for channel, group, and private messages, standardizing how messages are stored and retrieved. Group and private messages now include explicit fields for message status and receipt status, enabling unified tracking of read positions and delivery receipts. Additionally, a set of structured content models (text, image, video, audio, file, location, face, card, material, merge, quote, and recall) is added to support rich message types and features like message quoting and card-style channel content.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/dataobject/message · high confidence
Support for custom TTL in Redis cache names
The framework now allows specifying custom expiration times for Redis caches directly within the cache name. By appending a TTL value and unit (e.g., '10m' for 10 minutes, '1h' for 1 hour, '5d' for 5 days, or '30s' for seconds) separated by a hash symbol (e.g., 'myCache\#10m'), users can override the default cache timeout on a per-cache basis without changing configuration files.
yudao-framework/yudao-spring-boot-starter-redis/src/main/java/cn/iocoder/yudao/framework/redis/core · high confidence
System module exposes cross-service APIs for core domain objects
The system module now provides a comprehensive set of remote APIs (interfaces and implementations) for other modules to consume, covering departments, posts, roles, permissions, dictionary data, OAuth2 tokens, SMS codes, SMS/mail/notify messaging, social logins, and login/operation logs. This enables other services to query and manage these system resources without direct database access.
yudao-module-system · high confidence
WMS module: initial release of inventory, home statistics, and item master data APIs
This change introduces the initial backend API surface for the WMS module. It adds controllers and request/response VOs for home page statistics (order summaries, trends, and inventory summaries), inventory management (current stock levels and detailed inventory history with price/amount tracking), and item master data (items, SKUs, categories, and brands) including CRUD operations and list queries. These endpoints provide the foundational data access for warehouse inventory tracking and product catalog management.
yudao-module-wms · high confidence
WebSocket broadcast support via Kafka, RabbitMQ, Redis, and RocketMQ
The WebSocket starter now includes sender implementations for four message-broker backends—Kafka, RabbitMQ, Redis, and RocketMQ—enabling broadcast messaging across distributed instances. Each backend has a dedicated sender (KafkaWebSocketMessageSender, RabbitMQWebSocketMessageSender, RedisWebSocketMessageSender, RocketMQWebSocketMessageSender) and consumer (KafkaWebSocketMessageConsumer, RabbitMQWebSocketMessageConsumer, RedisWebSocketMessageConsumer, RocketMQWebSocketMessageConsumer) that relay messages to connected sessions. Kafka and RabbitMQ consumers use unique group/queue suffixes to ensure every instance receives the broadcast, while RocketMQ is configured for broadcasting at the message-model level. This adds the capability to distribute WebSocket messages via these brokers without changing the application code that triggers sends.
yudao-spring-boot-starter-websocket · high confidence
Architecture
Data permission annotation processing moved to biz starter
The data permission annotation processing logic (including the @DataPermission annotation, AOP advisor, interceptor, and context holder) has been relocated from the framework layer to the new yudao-spring-boot-starter-biz-data-permission module. This change reorganizes the codebase structure by moving these components into a dedicated business starter, while the core annotation definition and AOP mechanisms remain functionally intact within this new location.
yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission, yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/annotation, yudao-spring-boot-starter-biz-data-permission · high confidence
Behavioural changes
1 commit (0 fixes) modifying script/seata
A change to existing behaviour in script/seata — 1 commit, 11 files: “feat(infra): 增加可选的 Seata AT 分布式事务集成材料”.
script/seata · medium confidence · unverified
1 commit (0 fixes) modifying script/sentinel
A change to existing behaviour in script/sentinel — 1 commit, 6 files: “feat(infra): 增加可选的 Sentinel 限流熔断集成材料”.
script/sentinel · medium confidence · unverified
1 commit (0 fixes) modifying script/sharding
A change to existing behaviour in script/sharding — 1 commit, 8 files: “feat(infra): 增加可选的 ShardingSphere 分库分表集成材料”.
script/sharding · medium confidence · unverified
2 commits (0 fixes) modifying yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/tool
A change to existing behaviour in yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/tool — 2 commits, 8 files: “feat(ai): 支持模型思考等级配置、Token 用量与请求日志”; “feat:【ai 大模型】增加 MCP Server Boot Starter 示例”.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/tool · medium confidence · unverified
2 commits (1 fix) modifying script/docker-compose
A change to existing behaviour in script/docker-compose — 2 commits (1 fix), 5 files: “fix(deploy): 对齐 JDK8 的 Docker Compose 配置”; “feat(deploy): 更新 Docker Compose 部署配置”.
script/docker-compose · medium confidence · unverified
2 commits (1 fix) modifying yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/aop
A change to existing behaviour in yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/aop — 2 commits (1 fix), 2 files: “fix(data-permission): 隔离并发任务的权限上下文”; “yudao-spring-boot-starter-data-permission 和 yudao-spring-boot-starter-tenant 调整为 biz 组件”.
yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/aop · medium confidence · unverified
3 commits (0 fixes) modifying yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util
A change to existing behaviour in yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util — 3 commits, 4 files: “feat(ai): 支持模型思考等级配置、Token 用量与请求日志”; “feat(ai): 接入小米 MiMo 模型并支持思考与用量统计”; “reactor:【ai 大模型】独立 FileTypeUtils 工具类,避免 cloud 无法依赖”.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util · medium confidence · unverified
4 commits (1 fix) modifying script/jenkins
A change to existing behaviour in script/jenkins — 4 commits (1 fix), 1 file: “🚚 将运维相关的统一到 script 目录下,简化根目录”; “fix(deploy): 对齐 Jenkins 构建工具的 JDK 8 版本”; “feat(deploy): 完善 Jenkinsfile 与 Jar 部署流程”.
script/jenkins · medium confidence · unverified
4 commits (1 fix) modifying yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/dal/mysql
A change to existing behaviour in yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/dal/mysql — 4 commits (1 fix), 15 files: “feat(ai): 支持模型思考等级配置、Token 用量与请求日志”; “reactor:移除 ai 的 api 包”; “fix: 完善多数据库统计查询与限量清理兼容”; and 1 more.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/dal/mysql · medium confidence · unverified
7 commits (3 fixes) modifying yudao-module-ai1-springai/src/main
A change to existing behaviour in yudao-module-ai1-springai/src/main — 7 commits (3 fixs), 139 files: “feat(ai1): 对齐模型缓存容量并补充配置变更回归”; “fix(ai1): 对齐消息页顺序并兼容 JDK 17”; “feat(ai1): 同步 XXL-AI Cloud 增量,优化请求 Header、技能注册和首页图表”; and 4 more.
yudao-module-ai1-springai/src/main · medium confidence · unverified
Added comprehensive geographic area data for region lookups
The \area.csv\ resource file has been added to the IP starter module, providing a structured dataset of countries and regions (including IDs, names, types, and parent IDs). This data enables the application to resolve area identifiers, such as fixing issues where specific administrative areas (like direct-controlled municipalities or Zhongshan) could not be correctly identified during address imports or lookups.
yudao-framework/yudao-spring-boot-starter-biz-ip/src/main/resources · high confidence
Adopts MyBatis Plus MultiDataPermissionHandler for SQL-level data filtering
The data permission module now integrates directly with MyBatis Plus's MultiDataPermissionHandler to intercept and modify SQL statements before execution. This change replaces previous implementation approaches with a standardized plugin that dynamically appends permission conditions to queries based on configured DataPermissionRules, ensuring that users only retrieve data they are authorized to access while supporting multi-table permission logic.
yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/db · high confidence
Async task context propagation and optional Quartz scheduling
The job starter now automatically propagates multi-tenant context to asynchronous tasks by injecting a TtlRunnable decorator into both ThreadPoolTaskExecutor and SimpleAsyncTaskExecutor instances. Additionally, Spring's built-in scheduling is enabled by default, while the Quartz scheduler is now optional; if the Quartz Scheduler bean is not present, the system logs an info message and continues with a null-safe SchedulerManager, allowing users to disable the heavier Quartz dependency to improve startup speed.
yudao-framework/yudao-spring-boot-starter-job/src/main/java/cn/iocoder/yudao/framework/quartz/config · high confidence
Async-safe security context propagation via TransmittableThreadLocal
The security context holder strategy now uses Alibaba's TransmittableThreadLocal instead of a standard ThreadLocal. This ensures that Spring Security context (such as authentication details) is correctly propagated to asynchronous execution threads (e.g., @Async), preventing context loss in multi-threaded scenarios.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/core/context · high confidence
Automatic ID strategy and Quartz configuration for supported databases
The framework now automatically configures MyBatis Plus ID generation strategies and Quartz job store delegates based on the primary database type. For databases like Oracle, PostgreSQL, Kingbase, DB2, and H2, the system sets the ID type to INPUT; for others like MySQL and DM, it defaults to AUTO. Additionally, it automatically sets the correct Quartz JDBC delegate class for PostgreSQL, Oracle, SQL Server, DM, and Kingbase to ensure compatibility. This logic is handled by a new \IdTypeEnvironmentPostProcessor\ and integrated into \YudaoMybatisAutoConfiguration\, which also registers specific key generators for databases requiring them when the ID type is set to INPUT.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/config · high confidence
Centralized IM configuration with read receipts and RTC controls
The IM module now uses a unified configuration class (ImProperties) to manage global settings, replacing scattered constants. Administrators can now explicitly toggle private and group read receipts via the new privateReadEnabled and groupReadEnabled flags, disabling read status tracking and UI elements when turned off. Additionally, real-time communication (RTC) settings are centralized, allowing control over LiveKit integration, token TTL, participant limits, and timeout thresholds for call ringing and zombie cleanup.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/framework/config · high confidence
Custom distributed lock failure handling and key constants
The protection starter now defines a custom lock failure strategy that throws a ServiceException when a distributed lock cannot be acquired, replacing the default behavior. Additionally, it introduces a constants interface for Lock4j Redis keys to standardize the key format used by the locking mechanism.
yudao-framework/yudao-spring-boot-starter-protection/src/main/java/cn/iocoder/yudao/framework/lock4j/core · high confidence
Custom lock4j failure strategy loaded before default auto-configuration
The lock4j starter now registers a custom DefaultLockFailureStrategy bean via a new YudaoLock4jConfiguration that runs before LockAutoConfiguration. This ordering ensures the custom bean is available when the default auto-configuration's @ConditionalOnMissingBean check runs, preventing conflicts that could occur after package renaming or other customizations.
yudao-framework/yudao-spring-boot-starter-protection/src/main/java/cn/iocoder/yudao/framework/lock4j/config · high confidence
Customized security error responses for unauthenticated and unauthorized access
The security starter now includes specific handler implementations for Spring Security exceptions. When a user attempts to access a resource without being logged in, the system returns a 401 UNAUTHORIZED response, enabling the frontend to redirect to the login page. When a logged-in user lacks the necessary permissions, the system returns a 403 FORBIDDEN response. Both handlers log the relevant security events and return standardized JSON error results instead of default browser error pages.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/core/handler · high confidence
Druid monitoring now removes advertisement banners by default
The datasource auto-configuration now automatically registers a filter that removes advertisement banners from the Druid web monitoring interface (specifically the common.js file) when the stat-view-servlet is enabled. This ensures a cleaner user experience when accessing database monitoring dashboards without requiring manual configuration.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/datasource/config · high confidence
ERP module introduces audit status, error codes, and business type enums
The ERP module now includes a set of new enum constants to standardize internal logic and user-facing messages. This includes an \ErpAuditStatus\ enum defining 'Pending' and 'Approved' states, and \ErpBizTypeEnum\ covering core transaction types like purchase/sales orders, receipts, and returns. A comprehensive \ErrorCodeConstants\ interface has been added to define specific error messages for operations such as deleting approved documents or handling stock levels. Additionally, \ErpStockRecordBizTypeEnum\ defines specific inventory movement types (e.g., transfers, adjustments) and their cancellation states, while \DictTypeConstants\ provides keys for dictionary-based lookups.
yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/enums · high confidence
Enhanced multi-tenant database interception with flexible ignore strategies
The tenant starter now implements a robust database-level multi-tenant interceptor that automatically filters tenant IDs for all tables by default, while providing multiple ways to exclude specific tables or contexts. Users can configure \yudao.tenant.ignore-tables\ to bypass tenant filtering for specific tables (with support for SQL wrapper symbols like backticks), use the new \@TenantIgnore\ annotation on entity classes to mark them as cross-tenant, or rely on the built-in exclusion of the \DUAL\ table to prevent Oracle-specific errors. The interceptor also safely handles cases where tables do not inherit from \TenantBaseDO\ or lack the tenant ID field, ensuring stable operation across different database schemas.
yudao-spring-boot-starter-biz-tenant · high confidence
Fix API encryption header and introduce standalone XSS cleaning
In the web starter, the API response encryption wrapper now correctly adds the encryption indicator header and exposes it via CORS headers, ensuring clients can detect encrypted responses. Additionally, XSS protection has been refactored into a dedicated module using Jsoup with a relaxed safelist that supports styles, classes, and base64 images.
yudao-spring-boot-starter-web · high confidence
Flattened IM WebSocket notification API with unified envelope and typed payloads
The IM module now uses a single, flattened WebSocket notification envelope (ImNotificationWebSocketDTO) with a fixed type of "im-notification" to deliver all real-time updates. This envelope wraps specific, typed payload objects organized into sub-packages: message notifications (private, group, channel, read receipts, and read syncs), friend relationship events (add, delete, block/unblock, info updates, and request approvals/rejections), group management events (creation, dissolution, member changes, admin roles, mute/ban, info/notice updates, message pinning, and join requests), and RTC call signaling (start, end, participant connect/disconnect, and call status changes). For users, this change standardizes how the client receives and processes all IM state changes, ensuring consistent handling of chat messages, social graph updates, group administration, and voice/video call states through a single, predictable WebSocket message structure.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/websocket/notification · high confidence
Improved MyBatis utility functions for sorting and database detection
The MyBatis utility layer now provides more robust support for sorting and database identification. MyBatisUtils.addOrder has been updated to correctly handle LambdaQueryWrapper instances by appending ORDER BY clauses via the last() method, resolving previous compatibility issues. Additionally, JdbcUtils.getDbType now delegates to MyBatis-Plus for URL-based detection and uses the dynamic data source to determine the current database type, ensuring accurate cross-database operations such as the new cross-database find\_in\_set implementation.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/util · high confidence
Introduce MapStruct-based conversion classes for BPM models, definitions, tasks, and messages
The BPM module now uses MapStruct to convert internal Flowable entities (Model, ProcessDefinition, ProcessInstance, Task) and related data objects into API response VO classes. This standardizes how process model lists, definition pages, task lists, and message payloads are built, ensuring consistent field mapping (e.g., form/category names, user/dept details, suspension state, deployment time, BPMN XML, and task status/reason) across the admin API responses.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/convert · high confidence
Introduction of simplified LoginUser model with tenant and expiration support
The security starter now uses a streamlined LoginUser class that removes previously stored fields like username, password, roleIds, and deptId, relying instead on a flexible 'info' map for additional data such as nickname and department ID. This model introduces explicit support for multi-tenancy via a tenantId field and a visitTenantId for context switching, along with an expiresTime field to track token validity. It also includes a transient context map for temporary caching during request processing.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/core · high confidence
Migrate business tracing from OpenTracing to OpenTelemetry
The monitoring starter now uses OpenTelemetry instead of OpenTracing for recording business trace spans. The BizTraceAspect creates OpenTelemetry spans via the injected Tracer, sets standard attributes (component, type, id), and handles errors through the OpenTelemetry API, ensuring compatibility with modern distributed tracing backends.
yudao-spring-boot-starter-monitor · high confidence
Migrate distributed tracing to OpenTelemetry and add metrics support
The tracer configuration now uses OpenTelemetry instead of the previous OpenTracing/SkyWalking implementations, automatically registering a Tracer bean, a BizTraceAspect for AOP tracing, and a TraceFilter to inject trace IDs into HTTP response headers. Additionally, a new YudaoMetricsAutoConfiguration is introduced to automatically add a common 'application' tag to all metrics when Micrometer is present, controlled by the yudao.metrics.enable property.
yudao-framework/yudao-spring-boot-starter-monitor/src/main/java/cn/iocoder/yudao/framework/tracer/config · high confidence
Migrate to Spring Boot 2.7 auto-configuration and add ID type auto-adaptation
The MyBatis starter now supports Spring Boot 2.7 by replacing the legacy spring.factories registration with the new AutoConfiguration.imports mechanism, registering data source, MyBatis, and data translation auto-configurations. Additionally, an EnvironmentPostProcessor is introduced to automatically adapt the ID generation strategy for Oracle and PostgreSQL databases at startup.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/resources · high confidence
Migrated to Spring Boot 2.7 auto-configuration mechanism
The framework's starter modules (data permission, job, monitor, and redis) now use the Spring Boot 2.7 standard \META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports\ file to register their auto-configuration classes. This change replaces previous registration methods to ensure compatibility with Spring Boot 2.7's updated auto-configuration loading process.
(repo-wide) · high confidence
Modular security configuration with customizable URL rules and configurable password complexity
The security starter now uses a new \AuthorizeRequestsCustomizer\ abstraction, allowing each Maven module to define its own URL security rules rather than relying on a single global configuration. The framework also introduces \SecurityProperties\ to allow customization of the password encoder's BCrypt complexity (iterations) and the list of URLs permitted without authentication. Additionally, the \TokenAuthenticationFilter\ is now managed exclusively by the Spring Security filter chain, preventing duplicate Servlet registration.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/security/config · high confidence
New GoView dashboard integration and JmReport security hardening
The report module now includes a new GoView integration, adding controllers, services, and database entities for managing GoView projects and executing SQL-based data queries. Additionally, the JmReport (JimuReport) integration has been updated to enforce stricter security: the JmReportTokenServiceImpl now explicitly grants specific drag-and-design permissions only to super-admins to address a reported vulnerability, and the SecurityConfiguration permits unauthenticated access to JmReport frontend assets while relying on the token service for API protection. Also in this area: 2 commits (0 fixes) modifying sql, yudao-module-report.
yudao-module-report · medium confidence · unverified
OpenTelemetry-based exception handling utility
The monitoring starter now includes a new TracerFrameworkUtils class that records exceptions to OpenTelemetry spans. This utility marks spans with an error status, records the exception event, and attaches the full stack trace as an attribute, replacing the previous OpenTracing-based approach.
yudao-framework/yudao-spring-boot-starter-monitor/src/main/java/cn/iocoder/yudao/framework/tracer/core/util · high confidence
Operate logs are now recorded asynchronously via a dedicated service implementation
The framework now implements the \ILogRecordService\ interface in \LogRecordServiceImpl\ to handle operation logging. This change introduces asynchronous log recording by delegating to \OperateLogCommonApi.createOperateLogAsync\, which resolves previous issues where request context was lost during async operations. The service automatically enriches log entries with trace IDs, user details (ID, type), module information (type, subtype, business ID, action, extra data), and request metadata (method, URL, IP, user agent) before sending them asynchronously.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/operatelog/core/service · high confidence
Project rebranding and documentation overhaul
The project has been rebranded from 'RuoYi-Vue' to 'ruoyi-vue-pro' (Copyright 2021 ruoyi-vue-pro), accompanied by a complete rewrite of the README.md to document the new architecture, multiple frontend versions (Vue2/Vue3), and extensive feature sets (SaaS, workflow, etc.), while the English README was removed. Additionally, a .gitignore file was added to exclude IDE and build artifacts, and a lombok.config was introduced to configure Lombok's accessors and inheritance behavior.
(repo-wide) · high confidence
Quartz scheduler integration now disabled by default
The job scheduling module now defaults to a disabled state to improve startup performance. When Quartz is not configured, attempting to add, update, delete, pause, resume, or trigger a job will throw a service exception indicating that the scheduler is disabled, rather than failing with a null reference or unexpected error. Users must explicitly enable the Quartz dependency to use the job scheduling features.
yudao-framework/yudao-spring-boot-starter-job/src/main/java/cn/iocoder/yudao/framework/quartz/core/scheduler · high confidence
Redis cache configuration refactored with transaction awareness and scan-based eviction
The Redis starter now uses a new \YudaoCacheAutoConfiguration\ that configures the cache manager to use a single colon (\:\) as the key separator to prevent display issues in Redis Desktop Manager, and employs a \BatchStrategies.scan\ approach for cache eviction to improve performance on large datasets. Additionally, transaction awareness is enabled on the cache manager, ensuring that cache eviction and update operations are deferred until after a transaction commits, which prevents stale reads during concurrent access.
yudao-framework/yudao-spring-boot-starter-redis/src/main/java/cn/iocoder/yudao/framework/redis/config · high confidence
Refactored BPM task assignment and multi-instance behavior
The BPM framework's task assignment logic has been refactored to use a new strategy-based architecture. A new \BpmTaskCandidateInvoker\ and \BpmTaskCandidateStrategy\ interface replace previous expression-based approaches, allowing for more flexible and configurable task candidate calculation (e.g., by department, leader, or start user). Additionally, custom \BpmActivityBehaviorFactory\ and related behavior classes (\BpmUserTaskActivityBehavior\, \BpmParallelMultiInstanceBehavior\, \BpmSequentialMultiInstanceBehavior\) have been introduced to handle task assignment and multi-instance execution, improving compatibility with CallActivity and SubProcess scenarios and ensuring correct handling of tenant context and data permissions.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/framework · high confidence
Refactored IM message data access with dedicated mappers for channels, groups, and private chats
The message data access layer has been restructured into three distinct MyBatis mappers: ImChannelMessageMapper, ImGroupMessageMapper, and ImPrivateMessageMapper. This change replaces the previous monolithic approach with specialized queries for each message type, introducing cursor-based pagination (using minId/maxId) for efficient message history retrieval and offline sync. The mappers also implement specific logic for handling read receipts, such as querying pending receipts for group chats and updating receipt statuses for private messages, while providing admin management interfaces for paginated message queries.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/message · high confidence
Refactored data permission configuration to use Spring Boot 3 AutoConfiguration
The data permission starter now uses Spring Boot's standard \@AutoConfiguration\ annotation instead of the legacy \@Configuration\ approach, improving compatibility with modern Spring Boot versions. The configuration is split into two focused classes: \YudaoDataPermissionAutoConfiguration\ handles the core MyBatis Plus interceptor setup and rule factory, while \YudaoDeptDataPermissionAutoConfiguration\ conditionally registers department-based permission rules only when specific security classes and customizers are present.
yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/config · high confidence
Reorganization of framework starter modules
The project has restructured its internal components by splitting out the monitor, protection, and Redis starters into their own dedicated modules (yudao-spring-boot-starter-monitor, yudao-spring-boot-starter-protection, and yudao-spring-boot-starter-redis). This change introduces specific annotations and package documentation for business tracing via SkyWalking, idempotency handling, distributed locking via Lock4j, and Redis operations, reflecting a shift towards a more modular architecture where these capabilities are now distinct, reusable starters rather than monolithic blocks.
(repo-wide) · high confidence
Restructuring of MyBatis starter package organization
The yudao-spring-boot-starter-mybatis module has been reorganized to separate concerns into distinct packages: a new 'datasource' package for database connection pool configuration (utilizing Druid) and multi-datasource support, and a 'mybatis' package for MyBatis Plus integration. This change improves code modularity and clarity for developers using the framework.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/datasource, yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis · medium confidence
Security configuration for MCP Server endpoints
The AI module now includes a dedicated security configuration that automatically permits unauthenticated access to Model Context Protocol (MCP) Server endpoints. This ensures that SSE and Streamable HTTP endpoints defined in the Spring AI MCP server properties are accessible without requiring authentication, allowing external clients to interact with the AI services.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/security · high confidence
Spring Boot 3 auto-configuration registration for protection features
The protection starter now registers its components via the Spring Boot 3 standard auto-configuration mechanism. A new \META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports\ file explicitly declares the configurations for idempotency, distributed locking, rate limiting, and API signature verification, ensuring these features are automatically enabled when the starter is on the classpath.
yudao-framework/yudao-spring-boot-starter-protection/src/main/resources · high confidence
Spring Boot 3 auto-configuration registration for security and operation logs
The security starter now registers its auto-configuration classes via the Spring Boot 3 standard mechanism. The new file META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports explicitly lists YudaoSecurityAutoConfiguration, YudaoWebSecurityConfigurerAdapter, and YudaoOperateLogConfiguration, ensuring these components are automatically applied when the starter is on the classpath.
yudao-framework/yudao-spring-boot-starter-security/src/main/resources · high confidence
Standardized BPM error codes and added comment type dictionary constant
The BPM module now uses centralized constants for error handling and dictionary types. A new \ErrorCodeConstants\ interface defines specific error codes for workflow models, definitions, instances, tasks (including withdrawal and delegation), forms, user groups, categories, and listeners, ensuring consistent error messaging. Additionally, a \DictTypeConstants\ interface was introduced to define the dictionary type for process comments (\bpm\_comment\_type\), supporting the new comment functionality.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/enums · high confidence
Standardized IM message status and receipt enums
The IM module now uses dedicated enums to manage message lifecycle and delivery confirmation. ImMessageStatusEnum defines message states including sending, normal, and recalled, while ImMessageReceiptStatusEnum introduces a model for receipt tracking with states for no receipt required, pending, and completed. This change provides a unified and explicit way to handle message status and read receipts within the system.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/enums/message · high confidence
Unified asynchronous WebSocket notification service for IM module
The IM module now uses a dedicated \ImWebSocketService\ to handle all WebSocket push notifications. This service ensures that notifications are sent asynchronously only after the associated database transaction has committed, preventing clients from receiving updates before the data is persisted. It supports sending notifications to specific users, broadcasting to all online admin users, and batching multiple recipients in a single call.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/service/websocket · high confidence
Unified database type enum with native FIND\_IN\_SET support
The framework introduces a new \DbTypeEnum\ that consolidates previous database type definitions and adds support for OceanBase. This enum provides database-specific SQL templates for the \FIND\_IN\_SET\ operation, enabling compatible list-searching behavior across MySQL, Oracle, PostgreSQL, SQL Server, H2, DM, KingbaseES, and OceanBase without requiring application-level code changes.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/enums · high confidence
Updated Spring Boot auto-configuration registration for tenant starter
The tenant starter now registers its components using Spring Boot 2.7+ conventions. The legacy spring.factories file is replaced by a new AutoConfiguration.imports file that explicitly lists YudaoTenantAutoConfiguration, and a new spring.factories file registers TenantKafkaEnvironmentPostProcessor to handle Kafka-related environment configuration for multi-tenancy.
yudao-framework/yudao-spring-boot-starter-biz-tenant/src/main/resources · high confidence
Fixes
1 commit (1 fix) fixing yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/interceptor
A fix in yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/interceptor — 1 commit (1 fix), 2 files: “fix: 统一事务锁定读并补齐多数据库统计与 JSON 筛选”.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/interceptor · medium confidence · unverified
1 commit (1 fix) fixing yudao-module-ai, yudao-module-oa
A fix in yudao-module-ai, yudao-module-oa — 1 commit (1 fix), 6 files: “fix(ai,oa): 修正音乐删除错误码与办公分类创建”. Also in this area: Add AI music generation via Suno integration.
yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/music · medium confidence · unverified
17 commits (11 fixes) fixing yudao-module-oa
A fix in yudao-module-oa — 17 commits (11 fixs), 494 files: “fix: 适配 CRM 列间 CSV 查询并完善 OA、MES 细节”; “feat(oa): add office automation”; “build(deps): 升级兼容依赖并交由 Spring Boot 管理 H2”; and 11 more.
yudao-module-oa · medium confidence · unverified
2 commits (2 fixes) fixing yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/injector
A fix in yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/injector — 2 commits (2 fixs), 1 file: “fix: 统一事务锁定读并补齐多数据库统计与 JSON 筛选”; “fix(mybatis): 修复 Map 查询结果的列名大小写兼容”.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/injector · medium confidence · unverified
2 commits (2 fixes) fixing yudao-spring-boot-starter-mybatis
A fix in yudao-spring-boot-starter-mybatis — 2 commits (2 fixs), 1 file: “fix: 统一事务锁定读并补齐多数据库统计与 JSON 筛选”; “fix: 适配 IoT 外部数据库时间函数并整理 SQL 工具”.
yudao-spring-boot-starter-mybatis · medium confidence · unverified
3 commits (2 fixes) fixing sql/oceanbase
A fix in sql/oceanbase — 3 commits (2 fixs), 2 files: “feat(sql): 增加 OceanBase MySQL 模式兼容支持”; “fix(oracle): 修复初始化脚本兼容性和菜单批量查询”; “fix(oauth2): 精确校验授权回调地址”.
sql/oceanbase · medium confidence · unverified
8 commits (5 fixes) fixing yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/statistics
A fix in yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/statistics — 8 commits (5 fixs), 1 file: “refactor: 扁平化 IM WebSocket 通知推送 API”; “✨ feat(im): 实现 im 的首页统计”; “✨ feat(im): 增加消息查询条件以排除已删除记录”; and 5 more.
yudao-module-im/src/main/java/cn/iocoder/yudao/module/im/dal/mysql/statistics · medium confidence · unverified
Fix for missing audit fields in asynchronous database operations
The DefaultDBFieldHandler now correctly populates creator, updater, createTime, and updateTime fields even when database operations occur in asynchronous contexts. Previously, the handler failed to retrieve the current login user ID in async scenarios, resulting in empty audit fields; this change ensures that SecurityFrameworkUtils.getLoginUserId() is called at the point of field population, guaranteeing accurate user attribution for both insert and update operations.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/mybatis/core/handler · high confidence
Fix sub-process initiator assignment and add user task HTTP listener
The BPM module now correctly handles sub-process initiator logic: when a sub-process is configured to use the main process initiator, the system ensures the actual initiator is set to the sub-process initiator rather than incorrectly defaulting to the main process initiator. Additionally, a new BpmUserTaskListener has been introduced to automatically execute HTTP requests upon user task creation, passing process instance, assignee, and task details as fixed parameters.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/task/listener · high confidence
Fix: Prevent infinite expiration for BPM process ID keys without infix prefix
The BPM module's Redis DAO for generating process IDs now correctly handles cache expiration when no infix (date/time prefix) is configured. Previously, keys generated without an infix prefix were set to expire after 1 day, causing the sequence counter to reset daily. The fix ensures that when no infix is present, the expiration is not set (or handled appropriately to persist), preventing the sequence from restarting and ensuring continuous, unique process ID generation.
yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/dal/redis · high confidence
Fixes NullPointerException in VO data translation by correcting auto-configuration order
The translation module now reliably populates translated fields in View Objects (VOs) without throwing null pointer exceptions. This is achieved by introducing \YudaoTranslateAutoConfiguration\, which explicitly orders itself after \EasyTransMybatisPlusConfig\ and \TransServiceConfig\ to ensure the underlying translation service is fully initialized before \TranslateUtils\ is created. Additionally, the \TranslateUtils\ bean is now guarded with \@ConditionalOnBean(TransService.class)\, preventing initialization failures when the translation service is not present on the classpath.
yudao-framework/yudao-spring-boot-starter-mybatis/src/main/java/cn/iocoder/yudao/framework/translate · high confidence
Fixes data permission interference with easy-trans data reading
The data permission module now explicitly bypasses permission filtering when calls originate from the easy-trans library (SimpleTransService). This prevents the data permission rules from incorrectly blocking or altering data reads performed during the translation process, resolving issues where data could not be read due to permission checks.
yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/main/java/cn/iocoder/yudao/framework/datapermission/core/rule · high confidence
Rename of operation log configuration class
The operation log configuration class has been renamed from YudaoOperateLogV2Configuration to YudaoOperateLogConfiguration. This change updates the class name to reflect the removal of the 'V2' suffix, while maintaining the same functionality for configuring the log record service.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/operatelog/config · high confidence
Test coverage
1 commit adding/updating tests in yudao-framework/yudao-spring-boot-starter-mybatis/src/test/java/cn/iocoder/yudao/framework/mybatis/core/type; 1 commit adding/updating tests in yudao-module-ai/src/test/java/cn/iocoder/yudao/module/ai/framework/ai/core/model, yudao-module-ai/src/test/java/cn/iocoder/yudao/module/ai/framework/ai/core/reasoning; 1 commit adding/updating tests in yudao-module-ai/src/test/java/cn/iocoder/yudao/module/ai/framework/ai/core/model/midjourney; 13 commits adding/updating tests in yudao-framework/yudao-spring-boot-starter-mybatis/src/test/java/cn/iocoder/yudao/framework/mybatis/core/util; 2 commits adding/updating tests in yudao-framework/yudao-spring-boot-starter-biz-data-permission/src/test/java/cn/iocoder/yudao/framework/datapermission/core/aop; 2 commits adding/updating tests in yudao-module-ai/src/test/java/cn/iocoder/yudao/module/ai/util; 2 commits adding/updating tests in yudao-module-hrm/src/test/resources; 3 commits adding/updating tests in yudao-framework/yudao-spring-boot-starter-mybatis/src/test/java/cn/iocoder/yudao/framework/mybatis/config; 3 commits adding/updating tests in yudao-framework/yudao-spring-boot-starter-mybatis/src/test/java/cn/iocoder/yudao/framework/mybatis/core/enums; 4 commits adding/updating tests in yudao-module-im/src/test/java/cn/iocoder/yudao/module/im/service/statistics; 5 commits adding/updating tests in yudao-module-ai/src/test/java/cn/iocoder/yudao/module/ai/service; 7 commits adding/updating tests in yudao-module-hrm/src/test/java; Added FMS unit test infrastructure and schema; Added Flowable integration tests for BPM workflow engine; Added SQL test fixtures for IM module schema; Added base test classes for unit testing; Added integration test for AiBoChaWebSearchClient; Added integration tests for AI image generation models; Added integration tests for DouBao MCP model tool usage; Added integration tests for Suno music and WenDuoDuo/XunFei PPT APIs; Added integration tests for multiple AI chat models; Added regression tests for Dameng (DM8) Flowable patch compatibility; Added test configurations for embedded Redis and SQL initialization; Added unit tests for API signature verification; Added unit tests for AreaUtils and IPUtils; Added unit tests for DataPermissionRuleHandler SQL modification; Added unit tests for DataPermissionUtils; Added unit tests for DictFrameworkUtils; Added unit tests for Excel multi-value dictionary conversion and column width handling; Added unit tests for FMS financial management modules; Added unit tests for IM WebSocket service notification logic; Added unit tests for IM friend request, friend management, and statistics services; Added unit tests for IM group and face pack services; Added unit tests for IM message and read-position mappers; Added unit tests for IM message service implementations; Added unit tests for IM message utility functions; Added unit tests for IM statistics mapper; Added unit tests for RTC call service logic; Added unit tests for data permission core components; Added unit tests for friend request mapper; Added unit tests for sensitive word validation service; New test utility classes for assertion and random data generation.
Dependencies
Initial project scaffolding with JDK 8 and Spring Boot 2.7.18
The project is initialized as a multi-module Maven structure (yudao) with a dedicated BOM (yudao-dependencies) for centralized version management. The baseline runtime is set to JDK 8 and Spring Boot 2.7.18, with the framework layer (yudao-framework) providing core starters for MyBatis, Redis, Web, Security, and business capabilities like multi-tenancy and data permissions. Key dependency choices include Flowable 6.8.0 for workflows, Knife4j 4.5.0 for API documentation, and FastExcel 1.3.0 for Excel processing, while explicitly excluding older libraries like Activiti and Guice to maintain a clean, modern stack.
(dependencies) · high confidence
Housekeeping
Added package-info.java documentation for the operatelog module
The operatelog module now includes package-info.java files for both the root package and the core subpackage. The root package documentation clarifies that the operation log functionality is implemented based on the mzt-log framework, while the core package includes a placeholder comment. These changes improve code documentation and structure without altering runtime behavior.
yudao-framework/yudao-spring-boot-starter-security/src/main/java/cn/iocoder/yudao/framework/operatelog/core · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 40 → 45 (+4.7)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 57 → 57 (-0.3)
- Architecture 85 → 85 (+0.1)
- Maturity 64 → 67 (+3.2)
- Readiness 25 → 26 (+0.3)
- Security 67 → 54 (-12.9)
- Performance 77 → 100 (+22.9)
Resolved (1245)
- AiChatMessageServiceImpl.sendChatMessageStream (cognitive 16) (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/chat/AiChatMessageServiceImpl.java)
- Boundary-crossing change coupling: BrokerageWithdrawServiceImpl.java ↔ PayDemoWithdrawServiceImpl.java (yudao-module-mall/yudao-module-trade/src/main/java/cn/iocoder/yudao/module/trade/service/brokerage/BrokerageWithdrawServiceImpl.java)
- Change coupling: AiModelFactoryImpl.java ↔ AiApiKeyService.java (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/model/AiModelFactoryImpl.java)
- Change coupling: AiModelFactoryImpl.java ↔ AiApiKeyServiceImpl.java (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/model/AiModelFactoryImpl.java)
- Change coupling: AppBrokerageUserController.java ↔ BrokerageUserServiceImpl.java (yudao-module-mall/yudao-module-trade/src/main/java/cn/iocoder/yudao/module/trade/controller/app/brokerage/AppBrokerageUserController.java)
- Change coupling: BpmProcessInstanceServiceImpl.java ↔ BpmSyncHttpRequestTrigger.java (yudao-module-bpm/src/main/java/cn/iocoder/yudao/module/bpm/service/task/BpmProcessInstanceServiceImpl.java)
- Change coupling: FileApi.java ↔ FileController.java (yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/api/file/FileApi.java)
- Change coupling: FileApi.java ↔ FileService.java (yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/api/file/FileApi.java)
- Change coupling: MemberAuthService.java ↔ MemberUserService.java (yudao-module-member/src/main/java/cn/iocoder/yudao/module/member/service/auth/MemberAuthService.java)
- Change coupling: MemberAuthService.java ↔ MemberUserServiceImpl.java (yudao-module-member/src/main/java/cn/iocoder/yudao/module/member/service/auth/MemberAuthService.java)
- Change coupling: PayDemoWithdrawServiceImpl.java ↔ PayTransferService.java (yudao-module-pay/src/main/java/cn/iocoder/yudao/module/pay/service/demo/PayDemoWithdrawServiceImpl.java)
- Change coupling: PayWalletTransactionMapper.java ↔ WalletPayClient.java (yudao-module-pay/src/main/java/cn/iocoder/yudao/module/pay/dal/mysql/wallet/PayWalletTransactionMapper.java)
- Change coupling: SeckillActivityController.java ↔ AppSeckillActivityController.java (yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/controller/admin/seckill/SeckillActivityController.java)
- Change-coupling hub: FileServiceImpl.java → FileApi.java, FileApiImpl.java, FileController.java, AppFileController.java (yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/service/file/FileServiceImpl.java)
- Change-coupling hub: PayTransferUnifiedReqDTO.java → PayTransferCreateReqDTO.java, PayDemoWithdrawServiceImpl.java, PayTransferService.java (yudao-module-pay/src/main/java/cn/iocoder/yudao/module/pay/framework/pay/core/client/dto/transfer/PayTransferUnifiedReqDTO.java)
- Duplicated block (10 lines × 2) (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/chat/AiChatMessageServiceImpl.java)
- Duplicated block (10 lines × 2) (yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/dal/mysql/bargain/BargainHelpMapper.java)
- Duplicated block (10–11 lines × 2) (yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/protocol/coap/handler/upstream/IotCoapUpstreamHandler.java)
- Duplicated block (10–11 lines × 5) (yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/team/MesCalTeamShiftServiceImpl.java)
- Duplicated block (12 lines × 2) (sql/tools/convertor.py)
- …and 1225 more
New (959)
- AiChatUtils.buildChatOptions (cognitive 20) (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util/AiChatUtils.java)
- AiChatUtils.buildChatOptions (cyclomatic 27) (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util/AiChatUtils.java)
- AiReasoningUtils.validateReasoningOptionKeys (cognitive 29) (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util/AiReasoningUtils.java)
- AiReasoningUtils.validateReasoningOptionKeys (cyclomatic 18) (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/util/AiReasoningUtils.java)
- Change coupling: AppAuthController.java ↔ MemberUserServiceImpl.java (yudao-module-member/src/main/java/cn/iocoder/yudao/module/member/controller/app/auth/AppAuthController.java)
- Change coupling: AppFileController.java ↔ FileServiceImpl.java (yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/controller/app/file/AppFileController.java)
- Change coupling: CrmProductCategoryServiceImpl.java ↔ CrmProductServiceImpl.java (yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/product/CrmProductCategoryServiceImpl.java)
- Change coupling: FileApiImpl.java ↔ FileServiceImpl.java (yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/api/file/FileApiImpl.java)
- Change coupling: ProductPropertyService.java ↔ ProductPropertyValueServiceImpl.java (yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/service/property/ProductPropertyService.java)
- Change-coupling hub: AiModelFactoryImpl.java → AiApiKeyService.java, AiApiKeyServiceImpl.java, AiChatUtils.java (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/model/AiModelFactoryImpl.java)
- Change-coupling hub: FileApi.java → FileController.java, FileService.java, FileServiceImpl.java (yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/api/file/FileApi.java)
- ClassTooLong: AiChatMessageServiceImpl (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/chat/AiChatMessageServiceImpl.java)
- ClassTooLong: AiModelFactoryImpl (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/framework/ai/core/model/AiModelFactoryImpl.java)
- Duplicated block (11 lines × 2) (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/chat/AiChatMessageServiceImpl.java)
- Duplicated block (12 lines × 2) (yudao-module-ai/src/main/java/cn/iocoder/yudao/module/ai/service/mindmap/AiMindMapServiceImpl.java)
- Duplicated block (12 lines × 2) (yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/protocol/tcp/handler/upstream/IotTcpUpstreamHandler.java)
- Duplicated block (14–15 lines × 2) (yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/service/rule/scene/matcher/IotSceneRuleMatcherManager.java)
- Duplicated block (16 lines × 2) (yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/protocol/tcp/handler/upstream/IotTcpUpstreamHandler.java)
- Duplicated block (17 lines × 2) (yudao-module-iot/yudao-module-iot-gateway/src/main/java/cn/iocoder/yudao/module/iot/gateway/protocol/coap/handler/upstream/IotCoapAbstractHandler.java)
- Duplicated block (18 lines × 2) (yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/service/rule/scene/action/IotDevicePropertySetSceneRuleAction.java)
- …and 939 more
Changes since last survey
- 100 commits — 54 feature/other, 46 fixes
By area
- (repo) — 25 commits
- yudao-framework/yudao-spring-boot-starter-mybatis — 9 commits
- yudao-module-system/src — 7 commits
- yudao-module-crm/src — 5 commits
- yudao-module-ai/src — 4 commits
- yudao-module-iot/yudao-module-iot-biz — 4 commits
- yudao-module-iot/yudao-module-iot-gateway — 4 commits
- yudao-module-oa/src — 4 commits
- yudao-module-infra/src — 3 commits
- yudao-module-pay/src — 3 commits
- (root) — 2 commits
- .github/workflows — 2 commits
- script/docker-compose — 2 commits
- script/jenkins — 2 commits
- sql/tools — 2 commits
- yudao-dependencies/pom.xml — 2 commits
- yudao-module-bpm/src — 2 commits
- yudao-module-mes/src — 2 commits
- yudao-module-report/src — 2 commits
- script/seata — 1 commit
Notable commits
- fix: Merge pull request #1313 from dadiyang/fix/crm-product-delete-logrecord
- fix: Merge pull request #1315 from dadiyang/fix/product-a68-delivery-type-inenum
- fix: Merge pull request #1317 from dadiyang/fix/coupon-delete-with-deleted-template
- fix: Merge pull request #1319 from dadiyang/fix/promotion-a69-diy-template-cascade-pages
- fix: Merge pull request #1321 from dadiyang/fix/erp-statistics-approved-only
- fix: Merge pull request #1323 from dadiyang/fix/pay-a84-expense-sum-positive
- fix: fix(ai): 修复 Midjourney 操作、模型同步及代理请求
- fix: fix(ai,oa): 修正音乐删除错误码与办公分类创建
- fix: fix(ci): 修复缓存失效并对齐 JDK 构建配置
- fix: fix(ci): 修复缓存失效并对齐 JDK 构建配置
- fix: fix(crm): 修复管理员转移数据时旧负责人权限处理
- fix: fix(crm): 校验合同提交的数据写权限
- fix: fix(crm): 校验回款提交的数据写权限
- fix: fix(crm): 校验转移后旧负责人保留权限级别
- fix: fix(crm):删除产品/产品分类补操作日志上下文变量——@LogRecord 模板引用的 product/productCategory 从未放入上下文,删除操作日志必抛 EL1007E 致审计留痕缺失
- fix: fix(data-permission): 隔离并发任务的权限上下文
- fix: fix(deploy): 对齐 JDK8 的 Docker Compose 配置
- fix: fix(deploy): 对齐 Jenkins 构建工具的 JDK 8 版本
- fix: fix(im): 统一表情包 VO 目录的大小写
- fix: fix(iot): 完善设备状态事务与离线检测,改由业务端续期网关存活标记
- …and 80 more
Architecture
- Containers 0 added · 0 removed · contexts 2 added · 0 removed · edges 7 added · 0 removed
Added bounded contexts (2)
- yudao-module-report
- yudao-spring-boot-starter-mybatis
Added dependency edges (7)
- yudao-module-ai → yudao-spring-boot-starter-mybatis
- yudao-module-ai1-springai → yudao-spring-boot-starter-mybatis
- yudao-module-report → yudao-spring-boot-starter-biz-tenant
- yudao-module-report → yudao-spring-boot-starter-mybatis
- yudao-module-report → yudao-spring-boot-starter-web
- yudao-spring-boot-starter-biz-data-permission → yudao-spring-boot-starter-mybatis
- yudao-spring-boot-starter-biz-tenant → yudao-spring-boot-starter-mybatis
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
YunaiV/ruoyi-vue-pro was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 3e13d8ea901a5368a0d4824e3b55775928bd5760 — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-f3449e6eb431.