Skip to content

MacWave 2.6.0

Choose a tag to compare

@Sha0huaZhang Sha0huaZhang released this 07 Oct 04:07
· 35 commits to main since this release

Release Note 更新日志

本次发布只为迁移,功能没有任何变化。

仓库迁移

MacWave 的代码仓库已从 github.com/Sha0huaZhang/MacWave 迁移到
github.com/MacWaveOrg/MacWave。

这是 2.6.0 唯一的改动:新版本的代码里所有地址都直接指向新组织,不再依赖旧地址的跳转。

为什么发一个版本

迁移本身不需要改代码,但需要用户拿到指向新地址的代码。而 wave selfupdate 在
「已是最新」时会直接短路退出(当前版本 ≥ 远端版本即不动作),所以仅改地址的老用户
不会主动去取新地址——于是本次把版本号提到 2.6.0,让 2.5.x 的用户执行
wave selfupdate 时真正触发更新,一次性完成迁移。

你要做什么

推荐:执行一次自更新

wave selfupdate

执行后你的本地代码会换成指向新组织的版本,从此不再依赖旧地址跳转。

或者:重新安装

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/MacWaveOrg/MacWave/HEAD/lib/install.sh)"

什么都不做也可以

旧地址目前仍然可用(实测:返回内容与新地址一致),wave install / list /
uninstall 都不受影响。已安装的软件包、配置、软链接也不会被动到——
本次自更新只覆盖程序自身的代码文件与 VERSION.json。

升级路径已验证

当前版本 目标 行为
2.5.0 / 2.5.1 / 2.5.2 2.6.0 执行自更新 ✅
2.6.0 2.6.0 已是最新,短路退出

关于配置迁移:本次不涉及目录结构变更,但 configdata 仍提供了
updatedata/2.6.0——它与 2.5 的那份迁移是同一脚本、幂等,只会在发现 2.5 之前的
旧配置时才动作,否则立即退出,所以正常升级不会搬动你的配置目录。

之所以仍然放这份副本:install.sh / selfupdate.sh 是按完整版本号查找
updatedata/<版本号> 的。若缺了它,从 2.5 之前用 install.sh 升级到用户级目录
时会跳过迁移,留下老旧的系统级 /opt/macwave_config 把新的用户级配置盖住。

新地址

仓库 https://github.com/MacWaveOrg/MacWave
发布页 https://github.com/MacWaveOrg/MacWave/releases
网站 https://macwave.org (不变)
反馈邮箱 hi@macwave.org (不变)

请认准官方地址

官方仓库只有 MacWaveOrg/MacWave,官方网站只有 macwave.org,
官方反馈邮箱只有 hi@macwave.org。从其它来源获取的安装命令请勿执行。

其他改动

  • 版本号 2.5.2 → 2.6.0,构建号 280H1200
  • 网站显示的版本号同步为 2.6.0
  • configdata 新增 updatedata/2.6.0(见上)

Release Notes

This release exists only for the migration. Nothing about the feature set changed.

Repository migration

The MacWave repository has moved from github.com/Sha0huaZhang/MacWave to
github.com/MacWaveOrg/MacWave.

That is the only change in 2.6.0: the code now points straight at the new
organisation and no longer depends on the old location redirecting.

Why cut a release at all

The move needed no code change, but users do need to obtain the code that
points at the new address
. wave selfupdate short-circuits when there is
nothing newer (it exits as soon as the local version is >= the published one),
so simply changing the address would leave existing installs on the old URL.
Raising the version to 2.6.0 makes wave selfupdate actually run for anyone on
2.5.x, completing the migration in one step.

What you need to do

Recommended: run the self-update once

wave selfupdate

Your local copy then carries the new addresses and no longer relies on the old
location redirecting.

Or: reinstall

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/MacWaveOrg/MacWave/HEAD/lib/install.sh)"

Or: do nothing

The old address still works today (verified: it serves the same content as
the new one), and wave install / list / uninstall are unaffected. Your
installed packages, configuration and unversioned links are untouched - this
self-update only rewrites MacWave's own code files and VERSION.json.

Upgrade path verified

From To Behaviour
2.5.0 / 2.5.1 / 2.5.2 2.6.0 self-update runs ✅
2.6.0 2.6.0 already up to date, exits early

About the config migration: no directory structure change is involved, but
configdata still ships updatedata/2.6.0 - the same idempotent script as the
2.5 migration, which only acts when it finds a pre-2.5 configuration and
otherwise exits immediately, so a normal upgrade will not move your config
directory.

The copy is shipped anyway because install.sh / selfupdate.sh look the
migration up by the exact version being installed. Without it, upgrading from
a pre-2.5 install with install.sh into a user-level directory would skip the
migration and keep the stale system-level /opt/macwave_config, which then
shadows the new user-level config.

New addresses

Repository https://github.com/MacWaveOrg/MacWave
Releases https://github.com/MacWaveOrg/MacWave/releases
Website https://macwave.org (unchanged)
Feedback hi@macwave.org (unchanged)

Only the official addresses

The only official repository is MacWaveOrg/MacWave, the only official
website is macwave.org, and the only official feedback address is
hi@macwave.org. Do not run install commands from anywhere else.

Other Changes

  • Version 2.5.2 → 2.6.0, build number 280H1200
  • The version shown on the site is now 2.6.0
  • configdata gains updatedata/2.6.0 (see above)

Install 安装

运行以下命令以下载此版本

Run the following command to download/update to this version.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/MacWaveOrg/MacWave/HEAD/lib/install.sh)" && source ~/.zshrc

也可以直接执行一次自更新

Or simply run the self-update once

wave selfupdate