Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
folders (#9786)
* fix: Fix regression on dynamic sibling trees and index inside rest parameter folders
* Add extra test scenarios
* Make `/[foo].astro` also win over `/[foo]/[...rest].astro`
* Make `/[foo].astro` also win over `/[foo]/[...rest].astro`
* Update tests
* Remove commented out code
* Update .changeset/six-shrimps-glow.md
* Fix sorting cycle
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
|
|
|
|
* fix: escape bug
* chore: add changeset
* fix: add test case
* fix: add test case
* fix: ut bug
* fix: ut bug
* Update .changeset/metal-garlics-exercise.md
* fix(html): properly handle escape sequences
* Update .changeset/metal-garlics-exercise.md
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
* fix(html): properly handle attributes with escaped characters
* chore: improve tests
* chore: update lockfile
* chore: update changeset
* Update packages/astro/src/vite-plugin-html/transform/index.ts
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Happydev <81974850+MoustaphaDev@users.noreply.github.com>
|
|
|
|
* rearrange plugins and add props to Image component
* add tests and update lockfile
* add changeset
* re-rearrange plugin order, gfm/smartypants then user defined then image related then shiki/prism
* make more generic
* add more/better tests
* remove unused logger
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
|
|
|
|
The latest version of `vite-plugin-markdown` uses a regular
expression that includes the file path via string concatenation.
However the file path is not escaped for use in a regular
expressions. So if a markdown document includes a reference to an
image file name which includes certain special characters it will
cause the build to fail.
This patch escapes regex special characters in the file path string
being injected into the regular expression. While I found that not
all special characters will cause this problem, it seems safer to
simply escape all regex specials. I also added test to verify this.
Related to: Commit 165cfc154be477337037185c32b308616d1ed6fa
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
|
|
|
|
* fix: accept the 'switch' aria role during a11y checks
* add changeset
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
|
|
|
|
|
|
|
|
* remove endpoint handling infra
* add changeset
|
|
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
* create vercel edge middleware
remove getVercelOutput
* handle node built-in modules
* edge function to node fetch
* adjust tests
* add test
* add changeset
* function paths as constants
* ensure node built-in modules are namespaced with `node:`
* x-astro-path as constant
* appease linter
* add comments for ASTRO_PATH_HEADER and ASTRO_LOCALS_HEADER
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
|
|
|
|
|
|
* fix: handle error at load for apps
* Revert "fix: handle error at load for apps"
This reverts commit df9e98a8c432ee900b3545bbce96c62508c0a27b.
* fix: handle errors in load and init
* chore: changeset
* fix: build
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* normalize class property
* Add changeset
* properly type return value
* normalize styles, rename function
* properly describe change
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
|
|
|
|
* feat: add db as top-level config value
* merge
* add passthrough db command
* refactor: remove extra changes
* docs: update type info
* chore: remove changeset
|
|
* fix: add missing attribute to button
* feedback
|
|
* fix(i18n): pass `build.format` when computing the direct
* Update .changeset/fifty-pots-greet.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
* update tests
* add more tests
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
|
|
|
|
* Fix dot files not being copied over on non-root builds (#9740)
When running `astro build` outside of where the astro files are, dotfiles are not copied over because the `includeDotfiles` parameter is not passed in.
* update changeset
* Update changeset description
---------
Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
|
|
(#9746)
* fix(rss): rssSchema definition to allow calling standard zod object methods
* fix: condition
|
|
|
|
|
|
|
|
* fix getRelativeLocaleUrl when redirectToDefaultLocale is false
* Added tests
* Fixed getLocaleRelativeUrlList
|
|
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
|
|
* chore: try new compiler version
* update mergeSlots function
* chore: update lock file
* add tests
* simplify `mergeSlots` code
* update compiler version
* update lock file
* fix failing test
We were expecting the source code to produce an error, but in
2.4.0 of the compiler, that generates valid code
* chore: changeset
* chore: update deps
---------
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
|
|
|
|
* makes astro preference list more verbose
* adds changeset
* refactor: improve global flag language
* Update .changeset/selfish-donuts-approve.md
---------
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
* fix: Fix regression in the routing priority of index routes
* chore: Add changeset
* Update .changeset/smart-rules-train.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
|
|
* Fix eslint warnings
* Revert endpoint changes to be safe
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
adapter (#9704)
* Fix base path formatting for ssr adapters
* Update .changeset/curly-seals-count.md
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
---------
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
|
|
|
|
* Implement priority overrides for injected routes and redirects
* Fix ordering for route specificity
* Don't mix rules on tests
* Detailed collision detection
* Add changeset
* Remove TODO
* Add comments to clarify default values
* Update terminology
* Revert unrelated changes
* WIP
* Refactor
* Fix typo and typing
* chore: default to legacy
* chore: use experimental flag instead of option
* fix: do not throw an error on collisions
* chore: fix regression
* chore: use `continue` instead of `return`
* chore: fix tests but one
* chore: Update test
* chore: Change remaining new error to warning
* chore: Test collision warnings
* docs: Update docs of new config
* docs: Improve changesets
* chore: rename experimental flag
* chore: update changeset and docs
* Sarah editing pass
* nit: Align Markdown table
* defined definitions!
Co-authored-by: Luiz Ferraz <luiz@lferraz.com>
* added logging info to docs for experimental flag
* Yan final boss review
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
* chore: Update flag name in tests
* chore: Update flag name in tests
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
|