-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update astro #94
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for openpodcastapi ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
renovate
bot
force-pushed
the
renovate/astro
branch
from
June 28, 2024 18:43
c7c1767
to
ee50f07
Compare
renovate
bot
changed the title
fix(deps): update dependency astro to ^4.11.3
fix(deps): update astro
Jun 28, 2024
renovate
bot
force-pushed
the
renovate/astro
branch
2 times, most recently
from
July 10, 2024 18:46
2e11b6a
to
7d014af
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
5 times, most recently
from
July 23, 2024 14:17
32dcd5d
to
f1f8d2b
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
4 times, most recently
from
August 2, 2024 15:16
0949413
to
4a78675
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
3 times, most recently
from
August 10, 2024 02:57
855859e
to
97346bf
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
6 times, most recently
from
August 16, 2024 20:35
d029ead
to
0f5dd93
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
3 times, most recently
from
August 22, 2024 21:59
8357729
to
738a2d0
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
4 times, most recently
from
September 2, 2024 14:28
92efb09
to
1c0be48
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
6 times, most recently
from
September 8, 2024 09:42
82065a8
to
7374f58
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
6 times, most recently
from
September 19, 2024 19:34
a6cdecd
to
2d1f7e6
Compare
renovate
bot
force-pushed
the
renovate/astro
branch
2 times, most recently
from
September 27, 2024 09:43
de066b7
to
54dc330
Compare
@Sporiff I checked the preview and I also read the changelog, however you are more into astro/starlight, would you mind having a look here as well? Especially since its a quite big version jump |
georgkrause
approved these changes
Sep 27, 2024
renovate
bot
force-pushed
the
renovate/astro
branch
from
September 27, 2024 09:50
54dc330
to
b63fa77
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.24.4
->^0.28.2
^4.11.1
->^4.15.9
Release Notes
withastro/starlight (@astrojs/starlight)
v0.28.2
Compare Source
Patch Changes
a257b83
Thanks @HiDeoo! - Fixes an issue with synced<Tabs>
components containing nested<Tabs>
causing tab panels to not render correctly.v0.28.1
Compare Source
Patch Changes
79b9ade
Thanks @HiDeoo! - Fixes an issue with Expressive Code UI labels not displaying correctly.v0.28.0
Compare Source
Minor Changes
#1923
5269aad
Thanks @HiDeoo! - Overhauls the built-in localization system which is now powered by thei18next
library and available to use anywhere in your documentation website.See the “Using UI translations” guide to learn more about how to access built-in UI labels or your own custom strings in your project. Plugin authors can also use the new
injectTranslations()
helper to add or update translation strings.Astro.props.labels
props has been removed from the props passed down to custom component overrides.If you are relying on
Astro.props.labels
(for example to read a built-in UI label), you will need to update your code to use the newAstro.locals.t()
helper instead.v0.27.1
Compare Source
Patch Changes
f92791a
Thanks @delucis! - Fixes resolution for the internal module Git virtual module in projects with special characters in the file pathv0.27.0
Compare Source
Minor Changes
#1255
6f3202b
Thanks @Fryuni! - Adds support for server-rendered Starlight pages.When building a project with
hybrid
orserver
output mode, a newprerender
option on Starlight config can be set tofalse
to make all Starlight pages be rendered on-demand:Patch Changes
#2242
756e85e
Thanks @delucis! - Refactors the logic for persisting and restoring sidebar state across navigations for better performance on slow or busy devices#1255
6f3202b
Thanks @Fryuni! - Improves performance of computing the last updated times from Git history.Instead of executing
git
for each docs page, it is now executed twice regardless of the number of pages.#1255
6f3202b
Thanks @Fryuni! - Fixes last updated times on projects with customsrcDir
v0.26.4
Compare Source
Patch Changes
#2288
b15f725
Thanks @matthewp! - Safely handle Zod errorsPrevents bugs where errors without the
.received
props would through and cause builds to fail unnecessarily.v0.26.3
Compare Source
Patch Changes
#2281
5062d30
Thanks @HiDeoo! - Fixes a potential text rendering issue that could include extra whitespaces for text containing colons.#2279
62d59e2
Thanks @HiDeoo! - Fixes an issue with frontmatter schemas containing collection references used with the<StarlightPage />
component and an Astro version greater than4.14.0
.v0.26.2
Compare Source
Patch Changes
#2273
746e0cd
Thanks @delucis! - Fixes type error when using Starlight with Astro v4.15#2265
25b661e
Thanks @SeraphicRav! - Adds TikTok social icon#2272
d1969dd
Thanks @o-az! - Adds new icon:jsr
#2250
c0a6166
Thanks @HiDeoo! - Removes internal E2E tests from the package published to the npm registry.#2253
72bc76a
Thanks @HiDeoo! - Fixes an issue preventing to use theclass
attribute in hero action link buttons.v0.26.1
Compare Source
Patch Changes
74d4716
Thanks @HiDeoo! - Fixes a sidebar persistence issue when navigating between pages with different sidebar content.v0.26.0
Compare Source
Minor Changes
#1784
68f56a7
Thanks @HiDeoo! - Adds<LinkButton>
component for visually distinct and emphasized call to action links#2150
9368494
Thanks @delucis! - Adds state persistence across page navigations to the main site sidebar#2087
caa84ea
Thanks @HiDeoo! - Adds persistence to synced<Tabs>
so that a user's choices are reflected across page navigations.#2051
ec3b579
Thanks @HiDeoo! - Adds a guideline to the last step of the<Steps>
component.If you want to preserve the previous behaviour and hide the guideline on final steps, you can add the following custom CSS to your site:
#1784
68f56a7
Thanks @HiDeoo! - Changes the hero component action button default variant fromminimal
toprimary
.variant
will need to be updated to include thevariant
property with the valueminimal
.hero: actions: - text: View on GitHub link: https://github.com/astronaut/my-project icon: external + variant: minimal
#2168⚠️ BREAKING CHANGE: Updates the
e044fee
Thanks @HiDeoo! -<StarlightPage />
componentsidebar
prop to accept an array ofSidebarItem
s like the main Starlightsidebar
configuration inastro.config.mjs
.This change simplifies the definition of sidebar items in the
<StarlightPage />
component, allows for shared sidebar configuration between the globalsidebar
option and<StarlightPage />
component, and also enables the usage of autogenerated sidebar groups with the<StarlightPage />
component.If you are using the
<StarlightPage />
component with a customsidebar
configuration, you will need to update thesidebar
prop to an array ofSidebarItem
objects.For example, the following custom page with a custom
sidebar
configuration defines a “Resources” group with a “New” badge, a link to the “Showcase” page which is part of thedocs
content collection, and a link to the Starlight website:v0.25.5
Compare Source
Patch Changes
#2171
c8258d7
Thanks @delucis! - Improves build performance slightly for bigger sites#2199
91557fd
Thanks @connorjs! - Adds Azure DevOps (azureDevOps
) icon for use in social links.v0.25.4
Compare Source
Patch Changes
#2155
8bed886
Thanks @delucis! - Improves page load performance on slower devices#2167
9ac7725
Thanks @delucis! - Fixes an issue detecting the built-in locale when running Starlight in a web container environment on Firefox#2166
4f12049
Thanks @delucis! - Updates@astrojs/mdx
,@astrojs/sitemap
,astro-expressive-code
,unified
, andvfile
dependencies to the latest versionv0.25.3
Compare Source
Patch Changes
#2154
0b381d5
Thanks @mktbsh! - Updates<head>
logic to deduplicate<link rel="canonical">
tags. This means that custom canonicals set via frontmatter now override the default canonical generated by Starlight.#2157
6757d97
Thanks @astrobot-houston! - Updates file tree icon mapping to correctly map.cjs
and.mjs
extensions in several contexts#2156
904ad47
Thanks @delucis! - Fixes builds for projects with a space in their pathname#2137
703903b
Thanks @cevdetardaharan! - Removestwitter:title
andtwitter:description
meta tags from<head>
v0.25.2
Compare Source
Patch Changes
#2126
ada51ee
Thanks @essential-randomness! - Adds support for markdown formatting in aside titles#2135
9bbb969
Thanks @oluwatobiss! - Adds Pinterest social iconv0.25.1
Compare Source
Patch Changes
#2122
359a642
Thanks @HiDeoo! - Fixes an i18n configuration issue for multilingual sites when using Astro’si18n
config withprefixDefaultLocale
set tofalse
.#2107
61e223b
Thanks @sanabel-al-firdaws! - Updates Arabic UI translations#2105
81f8a2c
Thanks @delucis! - Fixes an edge case in custom pagination link processingCustom link values for
prev
/next
in page frontmatter are now always used as authored.Previously this was not the case in some edge cases such as for the first and final pages in the sidebar.
#2119
464685a
Thanks @evadecker! - Improves styling of<hr>
,<blockquote>
, and<code>
within asidesv0.25.0
Compare Source
Minor Changes
#2025
47f32c1
Thanks @HiDeoo! - Removes the/
search shortcut for accessibility reasons.search.shortcutLabel
UI string has been removed. If you were using this string in your custom UI, you will need to update your code.#2064
c5b47cb
Thanks @SnowDingo! - Improves styling of Markdown tables to work better in different contexts, including against different background colours like when used in asides.#2031
2bab648
Thanks @delucis! - Makes sidebar entry parsing stricter in Starlight configlink
anditems
was considered valid, withitems
being ignored. Now, it is an error to include more than one oflink
,items
, orautogenerate
in a sidebar entry.If you see errors after updating, look for sidebar entries in the Starlight configuration in
astro.config.mjs
that include too many keys and remove the one that was previously ignored.#1874
eeba06e
Thanks @lorenzolewis! - Adds a new syntax for specifying sidebar link items for internal linksYou can now specify an internal page using only its slug, either as a string, or as an object with a
slug
property:Starlight will use the linked page’s frontmatter to configure the sidebar link.
Patch Changes
f0181d2
Thanks @andrii-bodnar! - Updates the Ukrainian UI translationsv0.24.5
Compare Source
Patch Changes
#2062
5ac0ac6
Thanks @evadecker! - Increase theme and language select inline padding#2056
87e9ad0
Thanks @HiDeoo! - Fixes an issue preventing remark plugins injected by Starlight plugins to handle Markdown text and leaf directives.#2063
3ee1a94
Thanks @delucis! - TranslatefileTree.directory
andaside.*
UI string into Norwegian (Bokmål).#2054
dbfd3ee
Thanks @HiDeoo! - Fixes an issue when using the<StarlightPage>
component in a custom page with a user-definedsrcDir
configuration.withastro/astro (astro)
v4.15.9
Compare Source
Patch Changes
#12034
5b3ddfa
Thanks @ematipico! - Fixes an issue where the middleware wasn't called when a project uses404.astro
.#12042
243ecb6
Thanks @ematipico! - Fixes a problem in the Container API, where a polyfill wasn't correctly applied. This caused an issue in some environments wherecrypto
isn't supported.#12038
26ea5e8
Thanks @ascorbic! - Resolves image paths in content layer with initial slash as project-relativeWhen using the
image()
schema helper, previously paths with an initial slash were treated as public URLs. This was to match the behavior of markdown images. However this is a change from before, where paths with an initial slash were treated as project-relative. This change restores the previous behavior, so that paths with an initial slash are treated as project-relative.v4.15.8
Compare Source
Patch Changes
#12014
53cb41e
Thanks @ascorbic! - Fixes an issue where component styles were not correctly included in rendered MDX#12031
8c0cae6
Thanks @ematipico! - Fixes a bug where the rewrite vianext(/*..*/)
inside a middleware didn't compute the newAPIContext.params
#12026
40e7a1b
Thanks @bluwy! - Initializes the Markdown processor only when there's.md
files#12028
d3bd673
Thanks @bluwy! - Handles route collision detection only if it matchesgetStaticPaths
#12027
dd3b753
Thanks @fviolette! - Addselected
to the list of boolean attributes#12001
9be3e1b
Thanks @uwej711! - Remove dependency on path-to-regexpv4.15.7
Compare Source
Patch Changes
#12000
a2f8c5d
Thanks @ArmandPhilippot! - Fixes an outdated link used to document Content Layer API#11915
0b59fe7
Thanks @azhirov! - Fix: prevent island from re-rendering when using transition:persist (#11854)v4.15.6
Compare Source
Patch Changes
#11993
ffba5d7
Thanks @matthewp! - Fix getStaticPaths regressionThis reverts a previous change meant to remove a dependency, to fix a regression with multiple nested spread routes.
#11964
06eff60
Thanks @TheOtterlord! - Add wayland (wl-copy) support toastro info
v4.15.5
Compare Source
Patch Changes
#11939
7b09c62
Thanks @bholmesdev! - Adds support for Zod discriminated unions on Action form inputs. This allows forms with different inputs to be submitted to the same action, using a given input to decide which object should be used for validation.This example accepts either a
create
orupdate
form submission, and uses thetype
field to determine which object to validate against.The corresponding
create
andupdate
forms may look like this:v4.15.4
Compare Source
Patch Changes
#11879
bd1d4aa
Thanks @matthewp! - Allow passing a cryptography key via ASTRO_KEYFor Server islands Astro creates a cryptography key in order to hash props for the islands, preventing accidental leakage of secrets.
If you deploy to an environment with rolling updates then there could be multiple instances of your app with different keys, causing potential key mismatches.
To fix this you can now pass the
ASTRO_KEY
environment variable to your build in order to reuse the same key.To generate a key use:
This will print out an environment variable to set like:
#11935
c58193a
Thanks @Princesseuh! - Fixesastro add
not using the proper export point when adding certain adaptersv4.15.3
Compare Source
Patch Changes
#11902
d63bc50
Thanks @ascorbic! - Fixes case where content layer did not update during clean dev builds on Linux and Windows#11886
7ff7134
Thanks @matthewp! - Fixes a missing error message when actions throws duringastro sync
#11904
ca54e3f
Thanks @wtchnm! - perf(assets): avoid downloading original image when using cachev4.15.2
Compare Source
Patch Changes
#11870
8e5257a
Thanks @ArmandPhilippot! - Fixes typo in documenting thefallbackType
property in i18n routing#11884
e450704
Thanks @ascorbic! - Correctly handles content layer data where the transformed value does not match the input schema#11900
80b4a18
Thanks @delucis! - Fixes the user-facing type of the newi18n.routing.fallbackType
option to be optionalv4.15.1
Compare Source
Patch Changes
#11872
9327d56
Thanks @bluwy! - Fixesastro add
importing adapters and integrations#11767
d1bd1a1
Thanks @ascorbic! - Refactors content layer sync to use a queuev4.15.0
Compare Source
Minor Changes
#11729
1c54e63
Thanks @ematipico! - Adds a new variantsync
for theastro:config:setup
hook'scommand
property. This value is set when calling the commandastro sync
.If your integration previously relied on knowing how many variants existed for the
command
property, you must update your logic to account for this new option.#11743
cce0894
Thanks @ph1p! - Adds a new, optional propertytimeout
for theclient:idle
directive.This value allows you to specify a maximum time to wait, in milliseconds, before hydrating a UI framework component, even if the page is not yet done with its initial load. This means you can delay hydration for lower-priority UI elements with more control to ensure your element is interactive within a specified time frame.
#11677
cb356a5
Thanks @ematipico! - Adds a new optionfallbackType
toi18n.routing
configuration that allows you to control how fallback pages are handled.When
i18n.fallback
is configured, this new routing option controls whether to redirect to the fallback page, or to rewrite the fallback page's content in place.The
"redirect"
option is the default value and matches the current behavior of the existing fallback system.The option
"rewrite"
uses the new rewriting system to create fallback pages that render content on the original, requested URL without a browser refresh.For example, the following configuration will generate a page
/fr/index.html
that will contain the same HTML rendered by the page/en/index.html
whensrc/pages/fr/index.astro
does not exist.#11708
62b0d20
Thanks @martrapp! - Adds a new objectswapFunctions
to expose the necessary utility functions onastro:transitions/client
that allow you to build custom swap functions to be used with view transitions.The example below uses these functions to replace Astro's built-in default
swap
function with one that only swaps the<main>
part of the page:See the view transitions guide for more information about hooking into the
astro:before-swap
lifecycle event and adding a custom swap implementation.#11843
5b4070e
Thanks @bholmesdev! - Exposesz
from the newastro:schema
module. This is the new recommended import source for all Zod utilities when using Astro Actions.v4.14.6
Compare Source
Patch Changes
#11847
45b599c
Thanks @ascorbic! - Fixes a case where Vite would be imported by the SSR runtime, causing bundling errors and bloat.#11822
6fcaab8
Thanks @bluwy! - Marks internalvite-plugin-fileurl
plugin withenforce: 'pre'
#11713
497324c
Thanks @voidfill! - Prevents prefetching of the same urls with different hashes.#11814
2bb72c6
Thanks @eduardocereto! - Updates the documentation for experimental Content Layer API with a corrected code example#11842
1ffaae0
Thanks @stephan281094! - Fixes a typo in theMissingImageDimension
error message#11828
20d47aa
Thanks @bholmesdev! - Improves error message when invalid data is returned by an Action.v4.14.5
Compare Source
Patch Changes
#11809
62e97a2
Thanks @bholmesdev! - Fixes usage of.transform()
,.refine()
,.passthrough()
, and other effects on Action form inputs.#11812
260c4be
Thanks @bholmesdev! - ExposesActionAPIContext
type from theastro:actions
module.#11813
3f7630a
Thanks @bholmesdev! - Fixes unexpectedundefined
value when calling an action from the client without a return value.v4.14.4
Compare Source
Patch Changes
#11794
3691a62
Thanks @bholmesdev! - Fixes unexpected warning log when using Actions on "hybrid" rendered projects.#11801
9f943c1
Thanks @delucis! - Fixes a bug where thefilePath
property was not available on content collection entries when using the content layerfile()
loader with a JSON file that contained an object instead of an array. This was breaking use of theimage()
schema utility among other things.v4.14.3
Compare Source
Patch Changes
#11780
c6622ad
Thanks @Princesseuh! - Deprecates the Squoosh image service, to be removed in Astro 5.0. We recommend migrating to the default Sharp service.#11790
41c3fcb
Thanks @sarah11918! - Updates the documentation for experimentalastro:env
with a corrected link to the RFC proposal#11773
86a3391
Thanks @ematipico! - Changes messages logged when using unsupported, deprecated, or experimental adapter features for clarity#11745
89bab1e
Thanks @bluwy! - Prints prerender dynamic value usage warning only if it's used#11774
c6400ab
Thanks @florian-lefebvre! - Fixes the path returned byinjectTypes
#11730
2df49a6
Thanks @florian-lefebvre! - Simplifies path operations ofastro sync
#11771
49650a4
Thanks @florian-lefebvre! - Fixes an error thrown byastro sync
when anastro:env
virtual module is imported inside the Content Collections config#11744
b677429
Thanks @bluwy! - Disables the WebSocket server when creating a Vite server for loading config filesv4.14.2
Compare Source
Patch Changes
391324d
Thanks @bluwy! - Reverts back toyargs-parser
package for CLI argument parsingv4.14.1
Compare Source
Patch Changes
#11725
6c1560f
Thanks @ascorbic! - Prevents content layer importing node builtins in runtime#11692
35af73a
Thanks @matthewp! - Prevent errant HTML from crashing server islandsWhen an HTML minifier strips away the server island comment, the script can't correctly know where the end of the fallback content is. This makes it so that it simply doesn't remove any DOM in that scenario. This means the fallback isn't removed, but it also doesn't crash the browser.
#11727
3c2f93b
Thanks @florian-lefebvre! - Fixes a type issue when using the Content Layer in devv4.14.0
Compare Source
Minor Changes
#11657
a23c69d
Thanks @bluwy! - Deprecates the option for route-generating files to export a dynamic value forprerender
. Only static values are now supported (e.g.export const prerender = true
or= false
). This allows for better treeshaking and bundling configuration in the future.Adds a new
"astro:route:setup"
hook to the Integrations API to allow you to dynamically set options for a route at build or request time through an integration, such as enabling on-demand server rendering.To migrate from a dynamic export to the new hook, update or remove any dynamic
prerender
exports from individual routing files:// src/pages/blog/[slug].astro - export const prerender = import.meta.env.PRERENDER
Instead, create an integration with the
"astro:route:setup"
hook and update the route'sprerender
option:#11360
a79a8b0
Thanks @ascorbic! - Adds a newinjectTypes()
utility to the Integration API and refactors how type generation worksUse
injectTypes()
in theastro:config:done
hook to inject types into your user's project by adding a new a*.d.ts
file.The
filename
property will be used to generate a file at/.astro/integrations/<normalized_integration_name>/<normalized_filename>.d.ts
and must end with".d.ts"
.The
content
property will create the body of the file, and must be valid TypeScript.Additionally,
injectTypes()
returns a URL to the normalized path so you can overwrite its content later on, or manipulate it in any way you want.Codegen has been refactored. Although
src/env.d.ts
will continue to work as is, we recommend you update it:#11605
d3d99fb
Thanks @jcayzac! - Adds a new propertymeta
to Astro's built-in<Code />
component.This allows you to provide a value for Shiki's
meta
attribute to pass options to transformers.The following example passes an option to highlight lines 1 and 3 to Shiki's
tranformerMetaHighlight
:v4.13.4
Compare Source
Patch Changes
#11678
34da907
Thanks @ematipico! - Fixes a case where omitting a semicolon and line ending with carriage return - CRLF - in theprerender
option could throw an error.#11535
932bd2e
Thanks @matthewp! - Encrypt server island propsServer island props are now encrypted with a key generated at build-time. This is intended to prevent accidentally leaking secrets caused by exposing secrets through prop-passing. This is not intended to allow a server island to be trusted to skip authentication, or to protect against any other vulnerabilities other than secret leakage.
See the RFC for an explanation: https://github.com/withastro/roadmap/blob/server-islands/proposals/server-islands.md#props-serialization
#11655 [
dc0a297
](https://redirecConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.