Update frontend (major) #21
Open
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:
3.2.4→7.0.03.1.2→6.2.43.6.0→4.1.016.4.5→17.2.38.57.0→9.39.29.1.0→10.1.82.43.0→3.14.010.8.3→11.7.04.2.19→5.47.13.8.6→4.3.50.74.6→1.0.93.4.10→4.1.18Release Notes
sveltejs/kit (@sveltejs/adapter-auto)
v7.0.0Compare Source
Major Changes
v6.1.1Compare Source
Patch Changes
v6.1.0Compare Source
Minor Changes
Patch Changes
ece3906,5ac9d27,fed6331,69f4e5f,6b34122,9493537,f67ba09]:v6.0.2Compare Source
Patch Changes
chore: add
.gitto the end ofpackage.jsonrepository url (#14134)Updated dependencies [
c968aef]:v6.0.1Compare Source
Patch Changes
chore: remove
import-meta-resolvedependency (#13629)Updated dependencies [
bd1c04662332cbafa843c35a2e783486116af3d5,09f61ec2a14573e27769edb403c58aea5433a39f,09f61ec2a14573e27769edb403c58aea5433a39f]:v6.0.0Compare Source
Major Changes
@sveltejs/adapter-cloudflareto version 7 (#13661)v5.0.0Compare Source
Major Changes
v4.0.0Compare Source
Major Changes
Patch Changes
1bedcc1cfc1f2d85946c1423f60faa8a2a56148b,e201fa9380a00e072a80a2dcab56de3d77e5b67c,f3f08582d41b08c3fd1daf742e5703d9cdca7823,d4bcfccb4503b12fe76140dbb6cfddc81f9419fc,d09bc033123903f359c1ad6fd3a6d8d7fc19298a]:v3.3.1Patch Changes
docs: update URLs for new svelte.dev site (#12857)
Updated dependencies [
dcbe4222a194c5f90cfc0fc020cf065f7a4e4c46,4cdbf76fbbf0c0ce7f574ef69c8daddcf954d39d,3a9b78f04786898ca93f6d4b75ab18d26bc45192,723eb8b31e6a22c82f730c30e485386c8676b746,8ec471c875345b751344e67580ff1b772ef2735b]:v3.3.0Minor Changes
v3.2.5Compare Source
Patch Changes
fix: import
node:processinstead of using globals (#12641)Updated dependencies [
e798ef718f163bed4f93e1918bd8294f765376ad]:sveltejs/vite-plugin-svelte (@sveltejs/vite-plugin-svelte)
v6.2.4Compare Source
Patch Changes
v6.2.3Compare Source
Patch Changes
v6.2.2Compare Source
Patch Changes
Update experimental support for rolldown-vite to vite 8 beta (#1246)
perf: switch from debug to obug (smaller, esm-only) (#1241)
v6.2.1Compare Source
Patch Changes
fix: remove unscopable global styles warning (#1223)
Remove automatic configuration for rolldownOptions.optimization.inlineConst because latest version of rolldown-vite has it enabled by default. (#1225)
v6.2.0Compare Source
Minor Changes
optimization.inlineConstby default to ensure treeshaking works with esm-env in svelte (#1207)v6.1.4Compare Source
Patch Changes
fix: allow preprocess plugin to run twice (#1206)
fix(types): update urls to PreprocessorGroup and CompileOptions in type documention (#1203)
replace kleur dependency with builtin node:utils styleText (#1210)
v6.1.3Compare Source
Patch Changes
api.filterand deprecateapi.idFilterto avoid confusingfilter.id = idFilter.idassignments when used as hybrid filter in other plugins (#1199)v6.1.2Compare Source
Patch Changes
v6.1.1Compare Source
Patch Changes
build --watch(#1189)v6.1.0Compare Source
Minor Changes
Patch Changes
skip comment blocks when reporting compiler errors that might be caused by a preprocessor issue (#1166)
increase logLevel to info for "no Svelte config found" message (#1179)
v6.0.0Compare Source
Major Changes
drop support for node18 and update exports map to use default export. cjs is supported via require esm in node 20.19+ (#1129)
Remove experimental "advanced raw queries" feature. Basic
File.svelte?rawis still supported. (#1145)Using the typescript preprocessor now requires a tsconfig.json with verbatimModuleSyntax enabled, eg @tsconfig/svelte (#1135)
remove support for loading commonjs svelte config files (#1142)
bump vite peer dependency to ^6.3.0 || ^7.0.0 (#1130)
define filters using object hook syntax and optimize the filter for resolveId (#1132)
split preprocess and compile into separate plugins (#1145)
It allows vite plugins to transform code between preprocess and compile, see docs and is the recommended way to replace
plugin.api.sveltePreprocessusage in other vite plugins.You can also use vite-plugin-inspect now to inspect the result of svelte.preprocess by checking the transform of
vite-plugin-svelte:preprocessMinor Changes
Add experimental support for rolldown-vite (#1135)
replace esbuild optimizer with rolldown optimizer if rolldown-vite is used (#1135)
add support for loading TypeScript Svelte config files in runtimes that support it (#1142)
Patch Changes
reduce deprecation logging to info and allow disabling it with a flag (#1158)
refactor internal caching to reduce code, memory use and avoid perEnvironmentCache (#1154)
fix: crawl local workspace private packages devDependencies for generating vite config ssr.noExternal (#1155)
log known-issues link when using rolldown-vite (#1144)
use vite environment api internally (#1145)
remove vite7 beta releases from peerDependency range. (#1151)
deprecate
plugin.api.sveltePreprocess(#1145)v5.1.1Compare Source
Patch Changes
svelteconfig.extensions(#1171)v5.1.0Compare Source
Minor Changes
Patch Changes
svelte > clsxto optimizeDeps.include to avoid page reload when using vite6 and npm (#1124)v5.0.3Compare Source
Patch Changes
v5.0.2Compare Source
Patch Changes
codeproperty to changes in svelte5 (#1044)v5.0.1Compare Source
Patch Changes
v5.0.0Compare Source
Major Changes
Handle Vite 6 breaking change and remove Vite 5 handling (#1020)
Support Vite 6 (#1026)
Minor Changes
Add
esm-envtossr.noExternalby default to resolve its conditions with Vite (#1020)Support
?inlinequery on Svelte style virtual modules (#1024)Patch Changes
remove vite6 beta from peer range (#1035)
Allow script tags to span multiple lines (
0db95a9)Updated dependencies [
4fefbc2,e262266]:v4.0.4Compare Source
Patch Changes
1a91581)v4.0.3Compare Source
Patch Changes
codeproperty to changes in svelte5 (#1046)v4.0.2Compare Source
Patch Changes
5309d7b)v4.0.1Compare Source
Patch Changes
v4.0.0Compare Source
Major Changes
only prebundle files with default filenames (.svelte for components, .svelte.(js|ts) for modules) (#901)
remove support for Svelte 4 (#892)
breaking(types): some types that have been unintentionally public are now private (#934)
disable script preprocessing in vitePreprocess() by default because Svelte 5 supports lang=ts out of the box (#892)
replaced svelte-hmr with Svelte 5 compiler hmr integration (#892)
Minor Changes
allow infix notation for svelte modules (#901)
Previously, only suffix notation
.svelte.jswas allowed, now you can also use.svelte.test.jsor.svelte.stories.js.This helps when writing testcases or other auxillary code where you may want to use runes too.
feat(config): dynamically extract list of svelte exports from peer dependency so that new exports work automatically" (#941)
feat(warnings): change default loglevel of warnings originating from files in node_modules to debug. To see them call
DEBUG:vite-plugin-svelte:node-modules-onwarn pnpm build. (#989)Patch Changes
fix: make defaultHandler a required argument for onwarn in plugin options (#895)
prebundle with dev: true by default (#901)
fix(dev): compile with hmr: false for prebundled deps as hmr does not work with that (#950)
fix: ensure svelte modules correctly run in DEV mode (#906)
ensure consistent use of compileOptions.hmr also for prebundling (#956)
fix(optimizeDeps): avoid to optimise server only entrypoints of svelte that are never used on the client (#941)
update peer on workspace packages to avoid packages bumping each other (#916)
export PluginOptions interface (#976)
Remove log about experimental status of Svelte 5. Note that breaking changes can still occur while vite-plugin-svelte 4 is in prerelease mode (#894)
fix: ensure vite config is only resolved once during lazy init of vitePreprocess (#912)
fix(vitePreprocess): default to build config so that svelte-check does not trigger dev-only plugins (#931)
fix: only apply infix filter to basename (#920)
fix: disable hmr when vite config server.hmr is false (#913)
fix(dev): make sure custom cssHash is applied consistently even for prebundled components to avoid hash mismatches during hydration (#950)
Updated dependencies [
22baa25,49324db,e9f048c,213fedd]:date-fns/date-fns (date-fns)
v4.1.0Compare Source
This release adds time zone support to format functions (that I somehow missed when working on the feature) and fixes a few bugs.
Make sure also upgrade
TZDateto v1.0.2 as it includes a bunch of critical bug fixes.Fixed
constructFromthrowing an exception onnullarguments. Whilenullisn't allowed, the functions should rather returnInvalid DateorNaNin such cases. See #3885.Added
format,formatISO,formatISO9075,formatRelativeandformatRFC3339. See #3886.v4.0.0Compare Source
I have great news! First, ten years after its release, date-fns finally gets first-class time zone support.
Another great news is that there aren't many breaking changes in this release. All of them are type-related and will affect only those explicitly using internal date-fns types. Finally, it has been less than a year since the last major release, which is an improvement over the previous four years between v2 and v3. I plan on keeping the pace and minimizing breaking changes moving forward.
Read more about the release in the announcement blog post.
- Sasha @kossnocorp
Added
Added time zones support via
@date-fns/tz'sTZDateclass andtzhelper function. See its README for the details about the API.All relevant functions now accept the context
inoption, which allows to specify the time zone to make the calculations in. If the function also returns a date, it will be in the specified time zone:In the example,
addDayswill get the current date and time in Singapore and add 5 days to it.startOfDaywill inherit the date type and return the start of the day in Singapore.Changed
The function arguments, as well as
Interval'sstartandend, now can be of different types, allowing you to mixUTCDate,TZDate,Date, and other extensions, as well as primitives (strings and numbers).The functions will normalize these values, make calculations, and return the result in the same type, preventing any bugs caused by the discrepancy. If passed, the type will be inferred from the context
inoption or the first encountered argument object type. TheInterval'sstartandendwill be considered separately, starting fromstart.In the given example, the result will be in the
TZDateas the first argument is a number, and thestarttakes precedence over theend.BREAKING: This release contains a bunch of types changes that should not affect the library's expected usage. The changes are primarily internal and nuanced, so rather than listing them here, I recommend you running the type checker after the upgrade. If there are unfixable problems, please open an issue.
BREAKING: The package now is ESM-first. The CommonJS is still support and It should not affect most users, but it might break in certains environments. If you encounter any issues, please report them.
Fixed
$by properly wrapping the code in an IIFE.motdotla/dotenv (dotenv)
v17.2.3Compare Source
Changed
v17.2.2Compare Source
Added
v17.2.1Compare Source
Changed
v17.2.0Compare Source
Added
DOTENV_CONFIG_QUIET=truein your environment or.envfile to quiet the runtime log (#889)DOTENV_CONFIG_environment variables take precedence over any code set options like({quiet: false})v17.1.0Compare Source
Added
v17.0.1Compare Source
Changed
v17.0.0Compare Source
Changed
quietto false - informational (file and keys count) runtime log message shows by default (#875)v16.6.1Compare Source
Changed
quietto true – hiding the runtime log message (#874)config({ quiet: true })to suppress.require('dotenv').config()forrequire('@​dotenvx/dotenvx').config().v16.6.0Compare Source
Added
[[email protected]] injecting env (1) from .env(#870){ quiet: true }to suppressv16.5.0Compare Source
Added
Changed
_logmethod. Use_debug#862v16.4.7Compare Source
Changed
.tapfolder when publishing. (oops, sorry about that everyone. - @motdotla) #848v16.4.6Compare Source
Changed
eslint/eslint (eslint)
v9.39.2Compare Source
v9.39.1Compare Source
v9.39.0Compare Source
v9.38.0Compare Source
Features
ce40f74feat: updatecomplexityrule to only highlight function header (#20048) (Atul Nair)e37e590feat: correctno-loss-of-precisionfalse positives withenotation (#20187) (Francesco Trotta)Bug Fixes
50c3dfdfix: improve type support for isolated dependencies in pnpm (#20201) (Francesco Trotta)a1f06a3fix: correct SourceCode typings (#20114) (Pixel998)Documentation
462675adocs: improve web accessibility by hiding non-semantic character (#20205) (루밀LuMir)c070e65docs: correct formatting inno-irregular-whitespacerule documentation (#20203) (루밀LuMir)b39e71adocs: Update README (GitHub Actions Bot)cd39983docs: movecustom-formatterstype descriptions tonodejs-api(#20190) (Percy Ma)Chores
d17c795chore: upgrade @eslint/js@9.38.0 (#20221) (Milos Djermanovic)25d0e33chore: package.json update for @eslint/js release (Jenkins)c82b5efrefactor: Use types from @eslint/core (#20168) (Nicholas C. Zakas)ff31609ci: add Node.js 25 toci.yml(#20220) (루밀LuMir)004577eci: bump github/codeql-action from 3 to 4 (#20211) (dependabot[bot])eac71fbtest: remove use ofnodejsScopeoption of eslint-scope from tests (#20206) (Milos Djermanovic)4168a18chore: fix typo in legacy-eslint.js (#20202) (Sweta Tanwar)205dbd2chore: fix typos (#20200) (ntnyq)dbb200echore: use team member's username when name is not available in data (#20194) (Milos Djermanovic)8962089chore: mark deprecated rules as available until v11.0.0 (#20184) (Pixel998)v9.37.0Compare Source
Features
39f7fb4feat:preserve-caught-errorshould recognize all static "cause" keys (#20163) (Pixel998)f81eabcfeat: support TS syntax inno-restricted-imports(#19562) (Nitin Kumar)Bug Fixes
a129ccefix: correctno-loss-of-precisionfalse positives for leading zeros (#20164) (Francesco Trotta)09e04fcfix: add missing AST token types (#20172) (Pixel998)861c6dafix: correctESLinttypings (#20122) (Pixel998)Documentation
b950359docs: fix typos across the docs (#20182) (루밀LuMir)42498a2docs: improve ToC accessibility by hiding non-semantic character (#20181) (Percy Ma)29ea092docs: Update README (GitHub Actions Bot)5c97a04docs: showavailableUntilin deprecated rule banner (#20170) (Pixel998)90a71bfdocs: updateREADMEfiles to add badge and instructions (#20115) (루밀LuMir)1603ae1docs: update references frommastertomain(#20153) (루밀LuMir)Chores
afe8a13chore: update@eslint/jsdependency to version 9.37.0 (#20183) (Francesco Trotta)abee4cachore: package.json update for @eslint/js release (Jenkins)fc9381fchore: fix typos in comments (#20175) (overlookmotel)e1574a2chore: unpin jiti (#20173) (renovate[bot])e1ac05erefactor: markESLint.findConfigFile()asasync, add missing docs (#20157) (Pixel998)347906dchore: update eslint (#20149) (renovate[bot])0cb5897test: remove tmp dir created for circular fixes in multithread mode test (#20146) (Milos Djermanovic)bb99566ci: pinjitito version 2.5.1 (#20151) (Pixel998)177f669perf: improve worker count calculation for"auto"concurrency (#20067) (Francesco Trotta)448b57bchore: Mark deprecated formatting rules as available until v11.0.0 (#20144) (Milos Djermanovic)v9.36.0Compare Source
Features
47afcf6feat: correctpreserve-caught-erroredge cases (#20109) (Francesco Trotta)Bug Fixes
75b74d8fix: add missing rule option types (#20127) (ntnyq)1c0d850fix: updateeslint-all.jsto useObject.freezeforrulesobject (#20116) (루밀LuMir)7d61b7ffix: add missing scope types toScope.type(#20110) (Pixel998)7a670c3fix: correct rule option typings inrules.d.ts(#20084) (Pixel998)Documentation
b73ab12docs: update examples to usedefineConfig(#20131) (sethamus)31d9392docs: fix typos (#20118) (Pixel998)c7f861bdocs: Update README (GitHub Actions Bot)6b0c08bdocs: Update README (GitHub Actions Bot)91f97c5Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.