Changelog
v2.9.1 (2024-09-18)
FindCreateAction
functionThe original Go module name was github.com/ArtalkJS/Artalk
, which has now been modified to github.com/artalkjs/artalk/v2
(all lowercase). This change may affect the CI pipeline or other areas if you are compiling the Artalk server and have specified the fixed Go module name. Regarding the original -ldflags -X github.com/ArtalkJS/Artalk/internal/config.Version
and CommitHash
definitions, please remove them, as they are now obsolete. The Version
has been hardcoded into the Go code, and the CommitHash
is now read from the Go build info via runtime/debug’s vcs.revision value. This change only affects the server developers and does not impact the frontend UI client.
Changelog
v2.9.0 (2024-09-03)
site_url
config option (#967)dateFormatter
config option (#940)referer
variable in anti-spam check (#853)ATK_LOCALE
abortcontroller-polyfill
(#923)Layer
interfacenick
to name
in LocalUser
data structure (#961)auth.anonymous
to false as defaultChangelog
v2.8.7 (2024-06-09)
site_pv
response body and add unit tests (#896)pvEl
, countEl
and statPageKeyAttr
from remove server (#905)date
field to the page json entityQueryDBWithCache
func and concurrent unit tests (#884)Changelog
v2.8.6 (2024-05-09)
site_name
for isolation in associated query for comment's pagefk_comments_user
foreign key constraint of the users tableChangelog
v2.8.5 (2024-04-21)
http.proxy_header
config optiongen
cmd (#612)FindCommentRootID
root_id
generation (#835)upgit
for security (#817)LiteDB
(#800)For UpGit users: Due to security reasons, Artalk no longer allows configuring the executable file path (img_upload.upgit.exec) for upgit. Please add it to system environment variables instead.
Changelog
v2.8.3 (2024-03-04)
/conf/domain
endpointonConfUpdated
hookis_verified
field for comment entityctx.getApiHandlers()
to handle error responses and expose hooksbeforeSubmit
hook for editor submittingmessage
field after refactoring exception data structureshow()
after hide()
FindCreateUser
functionCheckPassword
functionCheckURLTrusted
functionChangelog
v2.8.2 (2024-02-05)
ua
field is optional and not required (#767)break-all
with break-word
in content el (#644)Cancel Reply
at the bottom of editor area (#644)preview
config option by defaultChangelog
v2.8.1 (2024-02-04)
/comments/:id
endpoint (#764)db.prepare_stmt
config option (#760) (#762)pageTitle
field in the PV requestrelativeTo
parameter is providedComment
and Context
fe-api.md
Changelog
v2.8.0 (2024-01-31)
notify_pending
config option (#728) (#754)watchConf()
(#755)Comment
to CommentNode
getComments
and getCommentNodes
in context (#752)For Developers: The HTTP API has now been updated to version v2, with a lot of adjustments made, such as changing to Restful API style, request type, request body, response body, etc. data structure, adding error response codes. You can refer to #735 or https://artalk.js.org/http-api Please update all your existing clients to adapt to the new v2 server. The new base path is /api/v2/
. The UI package's HTTP client has been implemented to auto-generate based on Swagger.json
, and there have been a lot of adjustments to the artalk.ctx.getApi()
related code. In addition, the HTTP API no longer enforces checks on the header's Origin
and Referer
(to implement strict isolation of different sites) but still maintains the original CORS origin check.
For General Users: Now all administrators have the same level of authority (there is no longer super admin authority), the function of assigning sub-administrators with independent scope authority to individual sites has been removed, which can simplify the HTTP server maintenance and implementation. Upgrading only requires updating the client and server application at the same time, and there are no additional operations.