Skip to content

Latest commit

 

History

History
291 lines (199 loc) · 12.6 KB

CHANGELOG.md

File metadata and controls

291 lines (199 loc) · 12.6 KB

v2.6.4 (2023-10-12)

Features

  • go: upgrade golang to v1.21.3 and some deps

Bug Fixes

  • editor: fix duplicate event binding when update conf (#605)
  • email: sender not initialized correctly
  • style: fix copyright text overlay on send button (#607)

Code Refactoring

  • anti_spam: refactor anti_spam pkg and add unit test (#589)

v2.6.3 (2023-09-20)

Features

  • config: add db.ssl to enable db ssl mode (#587)

Bug Fixes

  • notify_tpl: fix template render result in notify case

Performance Improvements

  • config: add error message for timezone setting (#586)

Code Refactoring

  • renderer: abstract func of template renderer for multi-cases (#585)

Documentation

  • new landing page

v2.6.2 (2023-09-12)

Bug Fixes

  • cmd: remove app instance creation when mini boot (#577)

Performance Improvements

  • style: modify z-index less than 5 (#578)

v2.6.1 (2023-09-11)

Bug Fixes

  • captcha: image captcha base64 response issue (#575)

Documentation

  • config: add info about env variables (#566)
  • extras: add deploy guide for railway.app (#567)

v2.6.0 (2023-09-01)

Features

  • config: support load env variables as config (#564)
  • go: upgrade golang to v1.21.0 and some deps (#543)
  • hook: add hook pkg
  • simple_cache: a simple thread-safe cache with sync.Map
  • utils: add common random utils

Bug Fixes

  • cache: child comment ids store after comment updated
  • cmd: fix parse root cmd global flags
  • config: fix ip region patch
  • db: fix dsn strings for mysql connections (#541)
  • limiter: limiter log ignore options method req
  • limiter: fix limiter always mode
  • log: add missing log for web server listen func (#556)
  • ui: fix plug cannot disable issue (#563)

Performance Improvements

  • cmd: support command mini boot mode

Code Refactoring

  • CI: replace using docker/metadata-action for the docker push (#545)
  • CI: replace renovate with github dependabot (#546)
  • anti_spam: refactor anti_spam pkg
  • artransfer: refactor artransfer pkg
  • cache: remove cached fields in struct to save memory (#555)
  • cache: cache code tidy-up
  • cache: refactor cache pkg
  • cache: refactor cache pkg
  • cache: refactor cache pkg
  • captcha: refactor captcha pkg
  • cloud: refactor cloud pkg
  • cmd: refactor cmd pkg
  • conf: better config.NewFromFile with error handle
  • config: refactor config pkg
  • core: refactor core pkg
  • core: better AppService func with error handle
  • cors: refactor cors middleware
  • dao: refactor dao pkg
  • dao_cache: add dao_cache pkg
  • db: refactor db pkg
  • email: refactor email pkg
  • i18n: refactor i18n pkg
  • ip_region: refactor ip_region pkg
  • limiter: add limiter pkg
  • log: create common log pkg
  • main: refactor main.go
  • notify: add notify_pusher pkg
  • server/common: refactor server/common pkg
  • server/handler: refactor server/handler pkg
  • server/middleware: refactor server/middleware pkg
  • test: create common test pkg

Documentation

  • extras: add deploy guide for fly.io (#520)

v2.5.5 (2023-05-10)

Features

  • build: add embedded fe lite and i18n scripts (#493) (#505)
  • go: upgrade golang to v1.20.4 and some deps (#506)
  • gravatar: add gravatar.params config option (#508)

Bug Fixes

  • api: comment IP data loss after editing (#504)
  • editor: prevent editor reset on comment failure (#507)

BREAKING CHANGE

The gravatar.default config option has been removed. Please use gravatar.params instead. The default value for gravatar.params is now "d=mp&s=240".

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.3 (2023-04-06)

Bug Fixes

  • api/comment_add: SIGSEGV crash in comment_add (#478) (#481)

Performance Improvements

  • ip_region: add db file existence check and error message (#482)

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 (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 (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)