Releases: ArtalkJS/Artalk
Releases · ArtalkJS/Artalk
v2.5.4
v2.5.2
v2.5.1
v2.5.1 (2023-03-16)
Features
- go: upgrade golang to v1.20.2
Bug Fixes
- ui/count-widget: context api undefined issue (#464)
- ui/i18n: duplicate packaging built-in language in the external script
- ui/paginator: showErr func call issue
- ui/sort-dropdown: dropdown menu disappears after call reload func (#461)
Code Refactoring
v2.5.0
v2.5.0 (2023-03-10)
Features
- migrate from
echo
togo-fiber
- upgrade go to v1.20.1
- display IP region of comment (#418) (#447)
- docker ci add support for building arm64 wheels
- more functions to handle artalk lifecycle (#426)
- ui: add some static methods
- ui/height_limit: support scrollable height limit area (#451)
- ui/sidebar: add dark mode support (#450)
- captcha: add support for reCAPTCHA and hCaptcha (#456)
- captcha: support turnstile captcha by cloudflare (#453)
- i18n: add i18n support for backend (#343)
- i18n: translations for backend (#344)
- i18n: add i18n support for sidebar (#353)
- i18n: add zh-TW i18n translation for sidebar and app
Bug Fixes
- ui: hash goto function check condition issue
- ui/conf: avoid some conf overrides frontend from the backend (#449)
- ui/editor: disable img upload cannot hide its btn
- ui/i18n: subscribe event priority issue
- ui/sidebar: array type of preference initial data issue
- ui/sidebar: array type config option cannot be shown
- ui/sidebar: boolean type setting option save issue (#431) (#444)
- ui/sidebar: setting item save follow type of template
- lint: add tsc check before vite compile (#440)
- email: duplicate sending with multiple admins using same email addrs (#375)
- email: email queue initialization issue (#374)
- email: failback to
email.mail_tpl
ifadmin_notify.email.mail_tpl
is empty timeAgo
function does not display the now- add
.npmignore
to fix NPM publish inclusion issue - sidebar navigation sorting (#361)
Performance Improvements
- improve some css styles
- add graceful shutdown
- conf/i18n: detect and change locale when config file contains chinese
- ui/list: remove useless function call
- ui/sidebar: improve sidebar i18n
Code Refactoring
- bump to monorepo
- renamed from artalk-go to artalk
- http origin checker
- abstract email service
- project package structure
- remove version two-way check (#452)
- build scripts and CI tests
- replace pkger with go:embed
- launch with vscode debugger
- CI: one-key site creating with artalk integrated
- CI: improve build and release workflows (#358)
- captcha: abstract captcha service (#455)
- comment: separate comment ui renders from single file (#427)
- style: convert to use Sass as a style interpreter (#439)
- ui: automatic dependency injection (#429)
- ui/checker: simplify checker lifecycle function param table (#428)
- ui/dark-mode: separate dark mode logic into its own module (#430)
- ui/editor: modify editor ui to standalone module (#441)
- ui/editor: change functions of editor to standalone modules (#443)
- ui/height-limit: modify height limit function to standalone module (#435)
- ui/i18n: improve i18n function to standalone module (#434)
- ui/list: modify list pagination to standalone module (#437)
- page/fetch: remove goquery dependency when extracting page data (#442)
- anti_spam/qcloud-tms: implement qcloud tms api without sdk (#438)
Documentation
- migrate ArtalkJS/Docs to monorepo docs
- add
CODE_OF_CONDUCT.md
- add simplified README for artalk npm package
- add translation section to
CONTRIBUTING.md
- fix wrong config value (#371)
- fix broken links (#364)
- add open api (#360)
- add
Project Structure
section toCONTRIBUTING.md
- refine and add frontend api docs
- update setup-example-site.sh script usage
- init artalk with new frontend api
- deploy: add
restart=always
for docker to auto restart (#425) - extras: add deploy guide for vuepress (#436)
v2.4.3
⚠️ Are you looking for historical versions?
The backend code for Artalk has been merged into this repository. This page does not include all historical versions. Previous versions of the program can be found on the release page of the ArtalkJS/ArtalkGo code repository: https://github.com/ArtalkJS/ArtalkGo/releases.
(Related PR: #345)
⚠️ 您是否在寻找历史版本?
Artalk 后端代码已合并至该仓库,本页面并不包含所有历史版本,旧版程序可在 ArtalkJS/ArtalkGo 代码仓库的发行页中找到:https://github.com/ArtalkJS/ArtalkGo/releases
(相关的 PR: #345)
新增
- 新增控制台 账户管理 功能 (#296)
- 新增控制台 评论搜索 功能 (#294)
- 新增控制台 独立登录页面
- 默认引用来自后端 API 提供的前端配置 (默认启用
useBackendConf
) (#302) - 新增配置项
avatarURLBuilder
支持自定义生成头像链接 (#295)
优化
修复
变动
useBackendConf
设置为 true
,这将默认引用来自后端 API 提供的配置:你在前端代码中编写的配置将会被覆盖。
new Artalk({
useBackendConf: true // 新版默认此项为 true
})
你可在控制台“设置”界面修改前端配置项,若有需要可将 useBackendConf
设置为 false
。
(详情见文档:在后端控制前端)
后端更新
请升级后端到 v2.3.0+
Full Changelog: v2.4.2...v2.4.3
v2.4.1
新增
- 提供 设置图形界面:无需面对繁杂的后端 yaml 配置文件(后端需升级至 v2.2.0+)
- 提供 LightBox 插件:自动集成图片灯箱功能 by @qwqcode in #201
- 新增语言 zh-TW by @sao-coding in #266
优化
- 侧边栏采用 Vue3 重构 (#278)
- deps 日常升级 (Vite 升级至 v3)
- refactor(api): moved http api functions to separate namespace by @qwqcode in #261
- refactor(list-lite): merge show/hide loading functions into setLoading by @qwqcode in #219
- Refactor on 2022-7-12 by @qwqcode in #218
修复
- fix: use vite-plugin-dts to generate d.ts file by @qwqcode in #200
- refactor: remove style importing from ts code file by @qwqcode in #262
Full Changelog: v2.3.4...v2.4.0
v2.3.4
v2.3.3
v2.3.2
v2.3.1
新增
- i18n 多语言支持
new Artalk({ locale: 'en' })
文档 (#150) - 提供 ArtalkLite 精简版本 (默认关闭表情包、投票、UA 徽标,去除 marked 依赖)
- 新增
Artalk.LoadCountWidget
方法,可在任意页面加载显示多个 PV、评论数 文档 (#153) - 支持
Artalk.Use((ctx) => { ... })
注入插件 文档 - 支持配置
imgUploader
自定义图片上传功能 文档 (5d8d05a)
优化
- 样式调整,去除多余的线条,更为简洁
- 去除默认
font-family
CSS 样式
重构
变动
⚠ 事件名发生了改变,comments-loaded
改为 list-loaded
。可以参考代码
Full Changelog: v2.2.12...v2.3.1
后端需升级 v2.1.7+