v0.27.0

arkohut/pensievev0.27.0Apr 3, 2025by github-actions[bot]

AI Summary

Major update standardizing API endpoints with a `/api` prefix, introducing a comprehensive configuration UI, and implementing service health checks.

Key Highlights

  • Added `/api` prefix to all library and entity-related endpoints
  • Introduced comprehensive configuration management UI with localization
  • Added `/api/health` and `/api/processes` endpoints for monitoring
  • Refactored service management architecture with new service_manager module

Breaking Changes

  • All library and entity endpoints now require the `/api` prefix

New Features

  • Added API prefix to all endpoints
  • Added configuration management UI
  • Implemented service health check system
  • Enhanced service management functionality

Full Release Notes

![Configuration UI](https://github.com/user-attachments/assets/51cf8dd6-4395-4874-87a8-bd6c9fba9f27)

## 🚀 New Features

- Added API prefix to all endpoints by @arkohut
  - Updated all library and entity-related endpoints to use the `/api` prefix for consistency
  - Modified client code to reflect the new endpoint structure

- Added configuration management UI by @arkohut
  - Implemented comprehensive configuration settings interface
  - Added localization support for configuration in English and Chinese

- Implemented service health check system by @arkohut
  - Added `/api/health` endpoint for monitoring service status
  - Added `/api/processes` endpoint to check service processes

- Enhanced service management by @arkohut
  - Implemented collapsible UI components for better configuration organization
  - Added confirmation dialog for service restart operations
  - Added footer with localization and GitHub link in layout

## 🔧 Refactoring

- Improved service management architecture by @arkohut
  - Introduced service_manager module for better process control
  - Enhanced restart logic with improved error handling
  - Implemented single instance checks for services

- Streamlined API structure by @arkohut
  - Created dedicated API router with proper mounting
  - Added SPA catch-all route for improved frontend routing

## 🐛 Bug Fixes

- Fixed webhook URLs for default plugins by @arkohut
- Updated health check endpoint to use API router by @arkohut
- Fixed API endpoint in LibraryFilter component by @arkohut
- Added retry logic for default library retrieval by @arkohut

This release significantly improves the application's configuration management with a new UI, enhances service control with health checks, and standardizes API endpoints with a consistent prefix structure for better maintainability.

**Full Changelog**: https://github.com/arkohut/memos/compare/v0.26.3...v0.27.0

---

## 🚀 新功能

- 为所有端点添加 API 前缀 by @arkohut
  - 更新所有库和实体相关端点以使用 `/api` 前缀以保持一致性
  - 修改客户端代码以适应新的端点结构

- 添加配置管理界面 by @arkohut
  - 实现全面的配置设置界面
  - 为英文和中文添加配置本地化支持

- 实现服务健康检查系统 by @arkohut
  - 添加 `/api/health` 端点用于监控服务状态
  - 添加 `/api/processes` 端点用于检查服务进程

- 增强服务管理功能 by @arkohut
  - 实现可折叠 UI 组件以更好地组织配置
  - 为服务重启操作添加确认对话框
  - 在布局中添加带本地化和 GitHub 链接的页脚

## 🔧 重构

- 改进服务管理架构 by @arkohut
  - 引入 service_manager 模块以实现更好的进程控制
  - 增强重启逻辑并改进错误处理
  - 实现服务的单实例检查

- 简化 API 结构 by @arkohut
  - 创建专用 API 路由器并正确挂载
  - 添加 SPA 通配路由以改进前端路由

## 🐛 错误修复

- 修复默认插件的 webhook URL by @arkohut
- 更新健康检查端点以使用 API 路由器 by @arkohut
- 修复 LibraryFilter 组件中的 API 端点 by @arkohut
- 为默认库检索添加重试逻辑 by @arkohut

此版本显著改进了应用程序的配置管理,提供了新的用户界面,通过健康检查增强了服务控制,并通过一致的前缀结构标准化 API 端点,以提高可维护性。

**完整更新日志**: https://github.com/arkohut/memos/compare/v0.26.3...v0.27.0