Skip to content

Commit 398b061

Browse files
committed
release: v13.7.0
1 parent 31b6e33 commit 398b061

3 files changed

Lines changed: 19 additions & 33 deletions

File tree

apps/core/CHANGELOG.md

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,23 @@
1-
# [13.6.0](https://github.com/mx-space/core/compare/v13.5.2...v13.6.0) (2026-06-08)
1+
# [13.7.0](https://github.com/mx-space/core/compare/v13.6.0...v13.7.0) (2026-06-08)
22

33

44
### Features
55

6-
* add mx editor litexml integration ([#2743](https://github.com/mx-space/core/issues/2743)) ([8b9cf34](https://github.com/mx-space/core/commit/8b9cf34a3dc2d936566c7a60fd6d66aea11255a8))
7-
6+
* **core:** migrate admin updater to R2 latest.json manifest ([31b6e33](https://github.com/mx-space/core/commit/31b6e33c7a5249ea8d3b3ddda12144f07672a9f0))
87

9-
10-
## [13.5.2](https://github.com/mx-space/core/compare/v13.5.1...v13.5.2) (2026-06-06)
8+
# [13.6.0](https://github.com/mx-space/core/compare/v13.5.2...v13.6.0) (2026-06-08)
119

1210

1311
### Features
1412

15-
* **admin:** add GPX drag-drop to rich editor ([9174971](https://github.com/mx-space/core/commit/9174971ef917020a394c01dfbbaf15716047f105))
16-
## [13.5.1](https://github.com/mx-space/core/compare/v13.5.0...v13.5.1) (2026-06-05)
13+
* add mx editor litexml integration ([#2743](https://github.com/mx-space/core/issues/2743)) ([8b9cf34](https://github.com/mx-space/core/commit/8b9cf34a3dc2d936566c7a60fd6d66aea11255a8))
1714

15+
## [13.5.2](https://github.com/mx-space/core/compare/v13.5.1...v13.5.2) (2026-06-06)
1816

19-
### Bug Fixes
17+
## [13.5.1](https://github.com/mx-space/core/compare/v13.5.0...v13.5.1) (2026-06-05)
2018

21-
* **admin:** defer map track upload until insert and simplify dialog ([8274418](https://github.com/mx-space/core/commit/82744184006ea7efd857305dfd80eeb90b604a4e))
2219
# [13.5.0](https://github.com/mx-space/core/compare/v13.4.0...v13.5.0) (2026-06-05)
2320

24-
25-
### Bug Fixes
26-
27-
* **deps,admin:** revert kysely override and repair admin tests after upgrade ([b4aab3f](https://github.com/mx-space/core/commit/b4aab3f29c104958a02222ea691bdac2eaf74ad5))
28-
29-
30-
### Features
31-
32-
* **admin:** add afilmory rich-editor extension (node + picker) ([28781df](https://github.com/mx-space/core/commit/28781df00e258728afb88873f0f4d2cbe1784ca3))
33-
34-
35-
3621
# [13.4.0](https://github.com/mx-space/core/compare/v13.3.1...v13.4.0) (2026-06-05)
3722

3823

@@ -330,7 +315,7 @@ Signed-off-by: Innei <tukon479@gmail.com>
330315

331316
* **recently:** URL-keyed enrichment map, drop typed entries ([#2726](https://github.com/mx-space/core/issues/2726)) ([91b8a47](https://github.com/mx-space/core/commit/91b8a47469e9b9f96016b7aa3651a2ffa6669719))
332317

333-
# [12.6.0](https://github.com/mx-space/core/compare/v12.5.4...v12.6.0) (2026-05-15)
318+
# [12.6.0](https://github.com/mx-space/core/compare/v0.7.0...v12.6.0) (2026-05-15)
334319

335320

336321
### Features
@@ -991,7 +976,7 @@ Signed-off-by: Innei <tukon479@gmail.com>
991976
* **schema:** enhance partial schemas for notes, pages, and posts with new fields ([f66c9ed](https://github.com/mx-space/core/commit/f66c9ed9cca1091730985813334adccb9462affd))
992977
* 更新文件上传前缀支持模板占位符,增强灵活性 ([#2584](https://github.com/mx-space/core/issues/2584)) ([2b5354a](https://github.com/mx-space/core/commit/2b5354a6f907947993dda64733e8bbd62c6cc62d))
993978

994-
# [10.2.0](https://github.com/mx-space/core/compare/v0.7.0...v10.2.0) (2026-03-08)
979+
# [10.2.0](https://github.com/mx-space/core/compare/v10.1.10...v10.2.0) (2026-03-08)
995980

996981

997982
### Features

apps/core/RELEASE_NOTES.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
## TL;DR
22

3-
Admin write surface gains mx-editor LiteXML authoring, and Lexical write APIs now require `content` and `text` to be submitted together.
3+
In-app admin dashboard upgrades now resolve through the R2 `latest.json` manifest instead of the archived `mx-space/mx-admin` GitHub Releases, so the upgrade button actually downloads the current admin again.
44

55
## Highlights
66

7-
The admin write panel now accepts LiteXML envelopes (`<mxpost>`, `<mxnote>`) as a first-class authoring format. Content is parsed into Lexical JSON on submit, so the server-side storage shape is unchanged — operators see the same lexical content rows, with a richer authoring loop on the admin side via `@haklex/rich-litexml`.
7+
The admin updater no longer talks to `api.github.com`. `UpdateService` reads `latest.json` from `ADMIN_UPDATE.s3BaseUrl` (default `https://admin-r2.innei.dev`, the bucket both `release.yml` and `admin-release.yml` publish to), downloads the resolved `admin-<version>.zip` directly, and verifies the manifest's `sha256` before installing. Self-hosted operators can point at their own bucket by setting `ADMIN_UPDATE_S3_BASE_URL` or `--admin_update_s3_base_url`.
88

9-
Server-side validation for lexical writes is tightened: `content` (Lexical JSON) and `text` (plain-text projection) must now be sent as a pair. Creates require both; partial updates accept neither or both, never one alone. This prevents stale `text` from drifting out of sync with `content` after a write, which previously could happen when callers patched only one side.
9+
The cross-version gate in `GET /update/upgrade/dashboard` is relaxed: minor and patch upgrades no longer require `force=true`. Only true major-version jumps are still blocked behind the flag. This matches the new reality where admin ships its own `8.x` semver track decoupled from core's `13.x`, and admin's in-repo monorepo cadence produces frequent patch/minor releases.
1010

11-
## Upgrade Notes
12-
13-
If you have any external integrations that POST/PATCH lexical posts, notes, or pages directly to the server, update them to submit `content` and `text` together. The official `@mx-space/api-client` v5.3.1 (published alongside this release) and admin are already aligned. Clients sending only `content` (or only `text`) for `contentFormat: lexical` writes will now receive a 400 `VALIDATION_FAILED`.
11+
The `release.yml` workflow now emits `sha256` in `latest.json` alongside the existing fields, matching `admin-release.yml`'s schema. Both publish paths populate the same manifest contract that the new updater expects.
1412

1513
## Changes
1614

1715
### Features
18-
- Admin rich editor: author posts in LiteXML (`<mxpost>`, `<mxnote>`) — parsed to Lexical on submit ([#2743](https://github.com/mx-space/core/pull/2743))
19-
- Lexical write validation: enforce paired `content` + `text` submission across post / note / page / draft ([#2743](https://github.com/mx-space/core/pull/2743))
16+
- Admin in-app updater consumes R2 `latest.json` (with sha256 verification) instead of GitHub Releases. ([31b6e33](https://github.com/mx-space/core/commit/31b6e33c7a5249ea8d3b3ddda12144f07672a9f0))
17+
18+
## Upgrade Notes
19+
20+
No action required for users on the default deployment — the new manifest URL ships baked in. Operators running self-hosted admin buckets should set `ADMIN_UPDATE_S3_BASE_URL` (or `--admin_update_s3_base_url`) to their bucket root before this release lands.
2021

2122
---
2223

23-
**Full Changelog**: https://github.com/mx-space/core/compare/v13.5.2...v13.6.0
24+
**Full Changelog**: https://github.com/mx-space/core/compare/v13.6.0...v13.7.0

apps/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mx-space/core",
3-
"version": "13.6.0",
3+
"version": "13.7.0",
44
"type": "module",
55
"private": true,
66
"engines": {

0 commit comments

Comments
 (0)