chore(deps): update all dependencies #1153
Merged
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:
4.0.2
->4.0.4
3.0.4
->3.0.5
1.1.18
->1.1.19
1.1.87
->1.1.89
v3
->v4
4.1.2
->4.2.5
9f6f8c9
->94d76d3
0.31.2
->0.31.3
8.0.3
->9.0.6
0-16-buster
->1-16-buster
v4
->v5
8.14.1
->8.14.3
3.2.2
->3.2.4
0.12.3
->0.13.0
1.69.7
->1.70.0
Release Notes
withastro/astro (@astrojs/rss)
v4.0.4
Compare Source
Patch Changes
457e8b6422704ba23347c766a8bb9c101c2aba0b
Thanks @wkillerud! - RestoresrssSchema
to a zod objectv4.0.3
Compare Source
Patch Changes
7356336d18c916804001bdf64bff5445d82baceb
Thanks @florian-lefebvre! - FixesrssSchema
definition to allow calling standard zod object methods (likeextend
)withastro/astro (@astrojs/sitemap)
v3.0.5
Compare Source
Patch Changes
b325fada567892b63ecae87c1ff845c8514457ba
Thanks @andremralves! - Fixes generated URLs when using abase
with a SSR adapteractions/cache (actions/cache)
v4
Compare Source
withastro/astro (astro)
v4.2.5
Compare Source
Patch Changes
#9818
d688954c5adba75b0d676694fbf5fb0da1c0af13
Thanks @Princesseuh! - Improves the wording of a few confusing error messages#9680
5d7db1dbb0ff06db98e08b0ca241ff09d0b8b44d
Thanks @loucyx! - Fixes types generation from Content Collections config file#9822
bd880e8437ea2df16f322f604865c1148a9fd4cf
Thanks @liruifengv! - Applies the correct escaping to identifiers used withtransition:name
.#9830
f3d22136e53fd902310024519fc4de83f0a58039
Thanks @lilnasy! - Fixes an issue where 404 responses from endpoints were replaced with contents of 404.astro in dev mode.#9816
2a44c8f93201958fba2d1e83046eabcaef186b7c
Thanks @Princesseuh! - Adds telemetry for when apps are toggled in the dev toolbar. This data is completely anonymous and only the names of built-in apps are shared with us. This data will help us monitor how much the dev toolbar is used and which apps are used more. For more information on how Astro collects telemetry, visit the following page: https://astro.build/telemetry/#9807
b3f313138bb314e2b416c29cda507383c2a9f816
Thanks @bluwy! - Fixes environment variables replacement forexport const prerender
#9790
267c5aa2c7706f0ea3447f20a09d85aa560866ad
Thanks @lilnasy! - Refactors internals of theastro:i18n
module to be more maintainable.#9776
dc75180aa698b298264362bab7f00391af427798
Thanks @lilnasy! - Simplifies internals that handle middleware.v4.2.4
Compare Source
Patch Changes
#9792
e22cb8b10c0ca9f6d88cab53cd2713f57875ab4b
Thanks @tugrulates! - Accept aria roleswitch
on toolbar audit.#9606
e6945bcf23b6ad29388bbadaf5bb3cc31dd4a114
Thanks @eryue0220! - Fixes escaping behavior for.html
files and components#9786
5b29550996a7f5459a0d611feea6e51d44e1d8ed
Thanks @Fryuni! - Fixes a regression in routing priority for index pages in rest parameter folders and dynamic sibling trees.Considering the following tree:
The routes are sorted in this order:
This allows for index files to be used as overrides to rest parameter routes on SSR when the rest parameter matching
undefined
is not desired.#9775
075706f26d2e11e66ef8b52288d07e3c0fa97eb1
Thanks @lilnasy! - Simplifies internals that handle endpoints.#9773
9aa7a5368c502ae488d3a173e732d81f3d000e98
Thanks @LunaticMuch! - Raises the required vite version to address a vulnerability invite.server.fs.deny
that affected the dev mode.#9781
ccc05d54014e24c492ca5fddd4862f318aac8172
Thanks @stevenbenner! - Fix build failure when image file name includes special charactersv4.2.3
Compare Source
Patch Changes
eed0e8757c35dde549707e71c45862438a043fb0
Thanks @Princesseuh! - Fix apps being able to crash the dev toolbar in certain casesv4.2.2
Compare Source
Patch Changes
#9712
ea6cbd06a2580527786707ec735079ff9abd0ec0
Thanks @bluwy! - Improves HMR behavior for style-only changes in.astro
files#9739
3ecb3ef64326a8f77aa170df1e3c89cb5c12cc93
Thanks @ematipico! - Makes i18n redirects take thebuild.format
configuration into account#9762
1fba85681e86aa83d24336d4209cafbc76b37607
Thanks @ematipico! - Addspopovertarget" to the attribute that can be passed to the
button` element#9605
8ce40a417c854d9e6a4fa7d5a85d50a6436b4a3c
Thanks @MoustaphaDev! - Adds support for dynamic slot names#9381
9e01f9cc1efcfb938355829676d51b24818ab2bb
Thanks @martrapp! - Improves the CLI output ofastro preferences list
to include additional relevant information#9741
73d74402007896204ee965f6553dc83b3dec8d2f
Thanks @taktran! - Fixes an issue where dot files were not copied over from the public folder to the output folder, when build command was run in a folder other than the root of the project.#9730
8d2e5db096f1e7b098511b4fe9357434a6ff0703
Thanks @Blede2000! - Allow i18n routing utilities like getRelativeLocaleUrl to also get the default local path when redirectToDefaultLocale is falseUpdated dependencies [
53c69dcc82cdf4000aff13a6c11fffe19096cf45
,2f81cffa9da9db0e2802d303f94feaee8d2f54ec
,a505190933365268d48139a5f197a3cfb5570870
]:v4.2.1
Compare Source
Patch Changes
a4b696def3a7eb18c1ae48b10fd3758a1874b6fe
Thanks @Fryuni! - Fixes a regression in routing priority betweenindex.astro
and dynamic routes with rest parametersv4.2.0
Compare Source
Minor Changes
#9566
165cfc154be477337037185c32b308616d1ed6fa
Thanks @OliverSpeir! - Allows remark plugins to pass options specifying how images in.md
files will be optimized#9661
d6edc7540864cf5d294d7b881eb886a3804f6d05
Thanks @ematipico! - Adds new helper functions for adapter developers.Astro.clientAddress
can now be passed directly to theapp.render()
method.Request
andResponse
objects are now provided as static methods on theNodeApp
class.Astro.cookies.set()
can now be automatically added to theResponse
object by passing theaddCookieHeader
option toapp.render()
.#9638
f1a61268061b8834f39a9b38bca043ae41caed04
Thanks @ematipico! - Adds a newi18n.routing
config optionredirectToDefaultLocale
to disable automatic redirects of the root URL (/
) to the default locale whenprefixDefaultLocale: true
is set.In projects where every route, including the default locale, is prefixed with
/[locale]/
path, this property allows you to control whether or notsrc/pages/index.astro
should automatically redirect your site visitors from/
to/[defaultLocale]
.You can now opt out of this automatic redirection by setting
redirectToDefaultLocale: false
:#9671
8521ff77fbf7e867701cc30d18253856914dbd1b
Thanks @bholmesdev! - Removes the requirement for non-content files and assets inside content collections to be prefixed with an underscore. For files with extensions like.astro
or.css
, you can now remove underscores without seeing a warning in the terminal.Continue to use underscores in your content collections to exclude individual content files, such as drafts, from the build output.
#9567
3a4d5ec8001ebf95c917fdc0d186d29650533d93
Thanks @OliverSpeir! - Improves the a11y-missing-content rule and error message for audit feature of dev-overlay. This also fixes an error where this check was falsely reporting accessibility errors.#9643
e9a72d9a91a3741566866bcaab11172cb0dc7d31
Thanks @blackmann! - Adds a newmarkdown.shikiConfig.transformers
config option. You can use this option to transform the Shikiji hast (AST format of the generated HTML) to customize the final HTML. Also updates Shikiji to the latest stable version.See Shikiji's documentation for more details about creating your own custom transformers, and a list of common transformers you can add directly to your project.
#9644
a5f1682347e602330246129d4666a9227374c832
Thanks @rossrobino! - Adds an experimental flagclientPrerender
to prerender your prefetched pages on the client with the Speculation Rules API.Enabling this feature overrides the default
prefetch
behavior globally to prerender links on the client according to yourprefetch
configuration. Instead of appending a<link>
tag to the head of the document or fetching the page with JavaScript, a<script>
tag will be appended with the corresponding speculation rules.Client side prerendering requires browser support. If the Speculation Rules API is not supported,
prefetch
will fallback to the supported strategy.See the Prefetch Guide for more
prefetch
options and usage.#9439
fd17f4a40b83d14350dce691aeb79d87e8fcaf40
Thanks @Fryuni! - Adds an experimental flagglobalRoutePriority
to prioritize redirects and injected routes equally alongside file-based project routes, following the same route priority order rules for all routes.Enabling this feature ensures that all routes in your project follow the same, predictable route priority order rules. In particular, this avoids an issue where redirects or injected routes (e.g. from an integration) would always take precedence over local route definitions, making it impossible to override some routes locally.
The following table shows which route builds certain page URLs when file-based routes, injected routes, and redirects are combined as shown below:
/blog/post/[pid]
/[page]
/blog/[...slug]
/blog/tags/[tag]
->/[tag]
/posts
->/blog
URLs are handled by the following routes:
/blog/tags/astro
/blog/[...slug]
/tags/[tag]
/blog/post/0
/blog/[...slug]
/blog/post/[pid]
/posts
/[page]
/blog
In the event of route collisions, where two routes of equal route priority attempt to build the same URL, Astro will log a warning identifying the conflicting routes.
Patch Changes
#9719
7e1db8b4ce2da9e044ea0393e533c6db2561ac90
Thanks @bluwy! - Refactors Vite config to avoid Vite 5.1 warnings#9439
fd17f4a40b83d14350dce691aeb79d87e8fcaf40
Thanks @Fryuni! - Updates Astro's routing priority rules to prioritize the most specifically-defined routes.Now, routes with more defined path segments will take precedence over less specific routes.
For example,
/blog/posts/[pid].astro
(3 path segments) takes precedence over/blog/[...slug].astro
(2 path segments). This means that:/pages/blog/posts/[id].astro
will build routes of the form/blog/posts/1
and/blog/posts/a
/pages/blog/[...slug].astro
will build routes of a variety of forms, includingblog/1
and/blog/posts/1/a
, but will not build either of the previous routes.For a complete list of Astro's routing priority rules, please see the routing guide. This should not be a breaking change, but you may wish to inspect your built routes to ensure that your project is unaffected.
#9706
1539e04a8e5865027b3a8718c6f142885e7c8d88
Thanks @bluwy! - Simplifies HMR handling, improves circular dependency invalidation, and fixes Astro styles invalidationUpdated dependencies [
165cfc154be477337037185c32b308616d1ed6fa
,e9a72d9a91a3741566866bcaab11172cb0dc7d31
]:v4.1.3
Compare Source
Patch Changes
#9665
d02a3c48a3ce204649d22e17b1e26fb5a6a60bcf
Thanks @bluwy! - Disables internal file watcher for one-off Vite servers to improve start-up performance#9664
1bf0ddd2777ae5f9fde3fd854a9e75aa56c080f2
Thanks @bluwy! - Improves HMR for Astro style and script modules#9668
74008cc23853ed507b144efab02300202c5386ed
Thanks @Princesseuh! - Fix the passthrough image service not generatingsrcset
values properly#9693
d38b2a4fe827e956662fcf457d1f1f84832c2f15
Thanks @kidylee! - Disables View Transition form handling when theaction
property points to an external URL#9678
091097e60ef38dadb87d7c8c1fc9cb939a248921
Thanks @ematipico! - Adds an error during the build phase in casei18n.routing.prefixDefaultLocale
is set totrue
and the index page is missing.#9659
39050c6e1f77dc21e87716d95e627a654828ee74
Thanks @Princesseuh! - Fix Astro wrongfully deleting certain images imported with?url
when used in tandem withastro:assets
#9685
35d54b3ddb3310ab4c505d49bd4937b2d25e4078
Thanks @lilnasy! - Fixes an issue where anchor elements within a custom component could not trigger a view transition.ota-meshi/eslint-plugin-astro (eslint-plugin-astro)
v0.31.3
Compare Source
Patch Changes
babd7ef
Thanks @renovate! - fix(deps): update dependency eslint-compat-utils to ^0.4.0typicode/husky (husky)
v9.0.6
Compare Source
v9.0.5
Compare Source
v9.0.4
Compare Source
v9.0.3
Compare Source
v9.0.2
Compare Source
What's Changed
New Contributors
Full Changelog: typicode/husky@v9.0.1...v9.0.2
v9.0.1
Compare Source
Kicking off the year with an exciting update!
TLDR;
Improved user experience and a (even) smaller package size while packing in more features!
👋 By the Way
I'm available for remote work (Front-end/Back-end mainly JS/TS but open to other stacks Rails, Go, Elixir). You can contact me at my mail: typicode at gmail 🙂
Introducing
husky init
Adding husky to a project is now easier than ever. Although the installation process was straightforward, it often required consulting the documentation.
v8
v9
Adding a New Hook
Adding a hook is now as simple as creating a file. This can be accomplished using your favorite editor, a script or a basic
echo
command.v8
v9
Further Size Reduction
v8
was already the most compact Git hooks manager at approximately6kB
.v9
takes this a step further, reducing the size to just3kB
, likely making it the smallest devDependency in your toolkit.To give you an idea of how small it is, the biggest file in the project is the MIT license 😄
More to Come
Additional features are in the pipeline for
v9
. Stay tuned 🙌Other Changes
--provenance
for safer publishing.$XDG_CONFIG_HOME
support. Move~/.huskyrc
to~/.config/husky/init.sh
for centralized configuration.husky install
. Usehusky
orhusky some/dir
for the same functionality (deprecation notice to be added)..git
is missing; it now triggers a warning instead of failure.HUSKY_DEBUG=1
withHUSKY=2
for debugging.ESM
for module usage.How to Migrate
v9
is backward compatible withv8
, allowing you to freely upgrade and migrate your hooks later.package.json
.husky/pre-commit
peter-evans/create-issue-from-file (peter-evans/create-issue-from-file)
v5
Compare Source
pnpm/pnpm (pnpm)
v8.14.3
Compare Source
Patch Changes
pnpm pack
should work as expected when "prepack" modifies the manifest #7558.Platinum Sponsors
Gold Sponsors
Our Silver Sponsors
v8.14.2
Compare Source
Patch Changes
pnpm dlx
should not fail, when executed frompackage.json
"scripts" 7424.pnpm publish
should pack "main" file or "bin" files defined in "publishConfig" #4195.Platinum Sponsors
Gold Sponsors
Our Silver Sponsors
This PR has been generated by Mend Renovate. View repository job log here.