v2.1.0 发布说明
✨ 核心功能:自定义消息模版
本次更新带来了用户呼声极高的 自定义 Markdown 模版 功能!现在,您可以完全掌控钉钉报警消息的样式和内容。
- 🎨 高度定制: 告别硬编码的默认格式,根据团队需求定制消息排版。
- 🔗 变量支持: 支持
{project},{title},{message},{level},{environment},{culprit},{url}等丰富的上下文变量。 - 🛡 智能兼容: 新增
{display_title}变量,自动包含自定义关键词,完美解决不加签机器人的安全验证问题。 - 🚀 平滑升级: 不配置模版时默认使用原版格式,现有用户升级 0 成本。
🛠 改进
- 文档: 在
README中增加了自定义模版的使用指南和 Markdown 换行小技巧。 - 体验: 优化了配置页面的 Help Text,直接提示可用变量。
v2.1.0 Release Notes
✨ Core Feature: Custom Message Templates
This update introduces the highly requested Custom Markdown Template feature! You can now fully control the layout and content of your DingTalk notifications.
- 🎨 Highly Customizable: Say goodbye to hardcoded formats. Tailor your message layout to fit your team's needs.
- 🔗 Variable Support: Supports rich variables like
{project},{title},{message},{level},{environment},{culprit},{url}. - 🛡 Smart Compatibility: Introduced
{display_title}variable which automatically includes the custom keyword, perfectly solving security verification issues for robots without secret signing. - 🚀 Smooth Upgrade: Defaults to the original format if no template is configured. Zero cost for existing users.
🛠 Improvements
- Documentation: Added guide for Custom Templates and Markdown tips in
README. - UX: Optimized Help Text in the configuration page to directly list available variables.