github komari-monitor/komari Snapshot-2607301442

pre-release4 hours ago

主要更新内容

  • database/metricstore 包整体迁移至 internal/metricstore(内部包重组,不影响外部接口)
  • 将原大文件拆分为多个按职责独立的组件(store.gocompaction.goconfig.godeletion.go 等),提高可维护性
  • 简化数据库迁移页面路由,移除已废弃的旧版兼容路由(/admin/update/1.2.7/admin/metric-store/restructure

其他

  • 移除多处未使用的旧版本兼容函数,包括 GetAllMessageSenderConfigsSaveLoadNotificationGetEnabledTrafficReportByTypeGetAllOidcConfigsGetProviderConfigurationDeleteMetricDataDeleteBeforeTxnowExpr
  • 删除对应的未使用测试文件(database/metricstore/migration_store_test.goweb/oauth/factory_test.go
  • 清理 pkg/metric 中不再需要的 DeleteMetricData 方法及 nowExpr 分方言实现

Commits

  • style: 移除没有使用的旧版本兼容代码,移动 database/metricstore 到 internal/metricstore 并拆分组件 (4077201) @Akizon77

Full Changelog: 1.3.2...Snapshot-2607301442

Don't miss a new komari release

NewReleases is sending notifications on new releases.