Skip to content

Releases: ArtalkJS/Artalk

v2.5.4

09 Apr 12:51
Compare
Choose a tag to compare

v2.5.4 (2023-04-09)

Features

  • go: upgrade golang to v1.20.3 and some deps (#485)

Bug Fixes

  • CI: upgrade and pin node.js and pnpm version (#484)

Documentation

  • update swagger docs and some deps

v2.5.2

19 Mar 12:07
Compare
Choose a tag to compare

v2.5.2 (2023-03-19)

Bug Fixes

  • ui: destroy instance when calling init func twice

Performance Improvements

  • notify: shorten the length of notify key (#466)
  • style: add !important for white-space css in code block (#467)

v2.5.1

16 Mar 14:09
Compare
Choose a tag to compare

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

  • anti_spam/aliyun: accessing aliyun green text api without sdk (#459)
  • ui/user: modify user to standalone module (#463)

v2.5.0

10 Mar 14:31
v2.5.0
a00d96e
Compare
Choose a tag to compare

v2.5.0 (2023-03-10)

Features

  • migrate from echo to go-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 if admin_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 to CONTRIBUTING.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

29 Oct 10:59
v2.4.3
9dccfe4
Compare
Choose a tag to compare

⚠️ 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)

优化

  • 侧边栏呼出动画性能优化 (44ef08d)
  • 控制台设置界面优化 (70c6ee2)

修复

  • 修复对 base64 图片插入的支持 (#288)
  • 删除重复且无用的侧边栏 Layer 元素 (#293)
  • 修复控制台的若干问题

变动

⚠️ 前端目前已默认将 useBackendConf 设置为 true,这将默认引用来自后端 API 提供的配置:你在前端代码中编写的配置将会被覆盖。

new Artalk({
  useBackendConf: true // 新版默认此项为 true
})

你可在控制台“设置”界面修改前端配置项,若有需要可将 useBackendConf 设置为 false

(详情见文档:在后端控制前端)

后端更新

请升级后端到 v2.3.0+

Full Changelog: v2.4.2...v2.4.3

v2.4.1

26 Sep 14:42
v2.4.1
a1c133c
Compare
Choose a tag to compare

新增

  • 提供 设置图形界面:无需面对繁杂的后端 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

17 Jun 11:04
v2.3.4
0738e6e
Compare
Choose a tag to compare

新增

  • 评论内容编辑功能 (管理员) (#188)

优化

  • 更新依赖到最新版本
  • 样式微调,zh-CN 语言微调
  • API 请求总是携带 site_name 站点名参数
  • Artalk.Use 方法名改小写为 .use(...),添加实例的 use 方法 (#189)

修复

  • 在 Context 中添加 setDarkMode 方法

后端请更新到 v2.1.10+

Full Changelog: v2.3.3...v2.3.4

v2.3.3

17 Jun 11:06
v2.3.3
bfe0ee4
Compare
Choose a tag to compare

修复

  • 表情包只有1种时,this.$grpSwitcher 为 undefined by @inkss in (#169)
  • zh-CNemail 应为 邮箱 而不是 邮件

Full Changelog: v2.3.2...v2.3.3

v2.3.2

17 Jun 11:09
v2.3.2
913a3be
Compare
Choose a tag to compare

优化

  • imgUploader 配置项:返回值仅传递上传后的图片 URL by @inkss (#166)

修复

  • 修复 Loading 加载层界面可能失效的问题 (2770c13)

Full Changelog: v2.3.1...v2.3.2

v2.3.1

21 May 14:53
v2.3.1
7d79bea
Compare
Choose a tag to compare

image

新增

  • i18n 多语言支持 new Artalk({ locale: 'en' }) 文档 (#150)
  • 提供 ArtalkLite 精简版本 (默认关闭表情包、投票、UA 徽标,去除 marked 依赖)
  • 新增 Artalk.LoadCountWidget 方法,可在任意页面加载显示多个 PV、评论数 文档 (#153)
  • 支持 Artalk.Use((ctx) => { ... }) 注入插件 文档
  • 支持配置 imgUploader 自定义图片上传功能 文档 (5d8d05a)

优化

  • 样式调整,去除多余的线条,更为简洁
  • 去除默认 font-family CSS 样式

重构

  • refactor: 优化 Editor Plugs 组件化 & Comment 职责拆分 (#154)
  • refactor: 使用中介者模式重构 Context (#161)

变动

⚠ 事件名发生了改变,comments-loaded 改为 list-loaded。可以参考代码

Full Changelog: v2.2.12...v2.3.1

后端需升级 v2.1.7+