Skip to content

v14.1.0

Compare
Choose a tag to compare
@EdiWang EdiWang released this 31 Dec 00:57
· 523 commits to master since this release
634584b

New Features

  • Support custom ranking for friend links #731
  • Support code highlight for shell and wasm language
  • New settings for adding custom script tag to HTML foot
  • Add server time zone information in Admin about page
  • Add Azure App Service information in Admin about page when the deployment is on Azure App Service

Update and Fixes

  • Remove code highlight for less language
  • Optimize favicon and webmanifest
  • Microsoft Clarity is added to default CSP rules for IIS
  • Minimal UI layout adjustment
  • Use local files instead of CDN for built-in webfonts
  • Bump Bootstrap to 5.3.2
  • Patch Monaco editor
  • Remove dependency on Spectre.Console
  • General bug fixes

Upgrade from Previous Version

If your deployment is in China

According to #767, Moonglade will not start if your deployment is in China since this version.

In order for you to backup your data during the migration process, edit appsettings.json, set DetectChina flag to "allow". Although Moonglade will continue to run, please note this is NOT a solution, future changes may remove this flag.

Run database migration script

SQL Server

-- v14.1.0

ALTER TABLE FriendLink ADD [Rank] INT
GO

UPDATE FriendLink SET [Rank] = 0
GO

ALTER TABLE FriendLink ALTER COLUMN [Rank] INT NOT NULL
GO

MySQL (by GPT4)

ALTER TABLE FriendLink ADD `Rank` INT;

UPDATE FriendLink SET `Rank` = 0;

ALTER TABLE FriendLink MODIFY `Rank` INT NOT NULL;

Other Databases

I don't know about other databases, please refer to MSSQL script and migrate them yourself.