Releases: trueberryless-org/starlight-plugin-show-latest-version
starlight-plugin-show-latest-version@0.5.0
0.5.0
Minor Changes
- #32
9bdad60
Thanks @trueberryless! -⚠️ BREAKING CHANGE: If you setshowInSiteTitle
to"deferred"
, you will have to enable experimental sessions because the version will be cached for an hour.
starlight-plugin-show-latest-version-docs@0.4.3
starlight-plugin-show-latest-version@0.4.0
0.4.0
Minor Changes
-
#29
3656c8f
Thanks @trueberryless! -⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now version0.32.0
.Please use the
@astrojs/upgrade
command to upgrade your project:npx @astrojs/upgrade
starlight-plugin-show-latest-version-docs@0.4.2
0.4.2
Patch Changes
-
#29
3656c8f
Thanks @trueberryless! - Update documenation/components
because the notes were too large -
Updated dependencies [
3656c8f
]:- starlight-plugin-show-latest-version@0.4.0
starlight-plugin-show-latest-version@0.3.1
0.3.1
Patch Changes
- #26
38e0418
Thanks @trueberryless! - Prevents the header title from being translated by automatic translation systems.
starlight-plugin-show-latest-version-docs@0.4.1
0.4.1
Patch Changes
-
#25
7a3372d
Thanks @trueberryless! - Update documentation to new Astro 5.1.10 version (fix for Server Islands was released in 5.1.8; see #12982) -
Updated dependencies [
38e0418
]:- starlight-plugin-show-latest-version@0.3.1
starlight-plugin-show-latest-version-docs@0.4.0
0.4.0
Thanks @HiDeoo for debuggin the issue here.
Minor Changes
- #23
2be0e67
Thanks @trueberryless! - Downgrade astro to v5.0.5 because server island respond with 404. Upgrading once this issue is fixed.
Patch Changes
2b69c46
Thanks @trueberryless! - Make own logo for this plugin
starlight-plugin-show-latest-version@0.3.0
0.3.0
Special thanks to @HiDeoo for their valuable feedback, which helped shape many of the improvements in this release.
Minor Changes
-
#16
3de9964
Thanks @trueberryless! - Useserver:defer
in theSiteTitle.astro
override component ifshowInSiteTitle
is set to"deferred"
.⚠️ BREAKING CHANGE: You now have to use some server adapter if you setshowInSiteTitle
to"deferred"
.If you set the
showInSiteTitle
configuration option to"deferred"
, you have to add a server adapter because the plugin override now usesserver:defer
in order to fetch the latest version on-demand.Read more about Server Islands in this blog post or the Astro documentation.
-
#14
8b0c933
Thanks @trueberryless! - Add version support for NPM and GitLab.⚠️ BREAKING CHANGE: The configuration interface changed.Please follow the steps below to use the plugin like before or read the documentation for the newly defined API.
Change the removed
repo
configuration to the newsource
configuration object:// astro.config.ts starlightPluginShowLatestVersion({ - repo: "${slug}", + source: { + type: "github", + slug: "${slug}", + }, }),
Note that you can now use
"npm"
,"github"
or"gitlab"
as the source type. This means that the plugin can be better customised to where you publish and release your packages.
Patch Changes
-
#16
3de9964
Thanks @trueberryless! - Make override of StarlightSiteTitle.astro
optional. You now have to opt-in by setting the newshowInSiteTitle
configuration option to"true"
because it does not get overridden by default. -
#16
ae72935
Thanks @trueberryless! - Add simple fallback content for SiteTitle override Version Badge
starlight-plugin-show-latest-version-docs@0.3.0
0.3.0
Minor Changes
-
#16
3de9964
Thanks @trueberryless! - Add@astrojs/node
adapter -
#16
bdc461c
Thanks @trueberryless! - Update documentation forserver:defer
, server adapters and component exported by the plugin.
Patch Changes
starlight-plugin-show-latest-version@0.2.0
0.2.0
Minor Changes
-
#12
c4c5257
Thanks @trueberryless! - Adds support for Astro v5, drops support for Astro v4.⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now0.30.0
.Please follow the upgrade guide to update your project.
Note that the
legacy.collections
flag is not supported by this plugin and you should update your collections to use Astro's new Content Layer API.
Patch Changes
e29e231
Thanks @trueberryless! - Change Client JS to insert Raw HTML into div so it doesn't need rendering