Improvements to the DateTime comparison when using "orCreate" methods
In this release, we improve the comparison logic used by firstOrCreate, firstOrNew, and updateOrCreate methods to properly compare Luxon DateTime instances when finding or persisting a new row.
Commits
Merge pull request #991 from adamcikado/develop 94b666a
fix: compare DateTime in newUpIfMissing 669bdb3
Merge pull request #1017 from adamcikado/feat/exports 92ed475
Use undici as our fetch polyfill going forward (#9106, #9111)
Put undici fetch polyfill behind a new installGlobals({ nativeFetch: true }) parameter (#9198)
remix-serve will default to using undici for the fetch polyfill if future._unstable_singleFetch is enabled because the single fetch implementation relies on the undici polyfill
Any users opting into Single Fetch and managing their own polfill will need to pass the flag to installGlobals on their own to avoid runtime errors with Single Fetch
Naked objects returned from loaders/actions are no longer automatically converted to JSON responses. They'll be streamed as-is via turbo-stream so Date's will become Date through useLoaderData()
You can return naked objects with Promise's without needing to use defer() - including nested Promise's
If you need to return a custom status code or custom response headers, you can still use the defer utility
<RemixServer abortDelay> is no longer used. Instead, you should export const streamTimeout from entry.server.tsx and the remix server runtime will use that as the delay to abort the streamed response
If you export your own streamTimeout, you should decouple that from aborting the react renderToPipeableStream. You should always ensure that react is aborted afer the stream is aborted so that abort rejections can be flushed down
Actions no longer automatically revalidate on 4xx/5xx responses (via RR future.unstable_skipActionErrorRevalidation flag) - you can return a 2xx to opt-into revalidation or use shouldRevalidate
Put undici fetch polyfill behind a new installGlobals({ nativeFetch: true }) parameter (#9198)
remix-serve will default to using undici for the fetch polyfill if future.unstable_singleFetch is enabled because the single fetch implementation relies on the undici polyfill
Any users opting into Single Fetch and managing their own polyfill will need to pass the flag to installGlobals on their own to avoid runtime errors with Single Fetch
Fix issue where consumers who had added Remix packages to Vite's ssr.noExternal option were being overridden by the Remix Vite plugin adding Remix packages to Vite's ssr.external option (#9301)
Naked objects returned from loaders/actions are no longer automatically converted to JSON responses. They'll be streamed as-is via turbo-stream so Date's will become Date through useLoaderData()
You can return naked objects with Promise's without needing to use defer() - including nested Promise's
If you need to return a custom status code or custom response headers, you can still use the defer utility
<RemixServer abortDelay> is no longer used. Instead, you should export const streamTimeout from entry.server.tsx and the remix server runtime will use that as the delay to abort the streamed response
If you export your own streamTimeout, you should decouple that from aborting the react renderToPipeableStream. You should always ensure that react is aborted afer the stream is aborted so that abort rejections can be flushed down
Actions no longer automatically revalidate on 4xx/5xx responses (via RR future.unstable_skipActionErrorRevalidation flag) - you can return a 2xx to opt-into revalidation or use shouldRevalidate
Patch Changes
Improve getDependenciesToBundle resolution in monorepos (#8848)
Fix SPA mode when single fetch is enabled by using streaming entry.server (#9063)
Vite: added sourcemap support for transformed routes (#8970)
Update links printed to the console by the Remix CLI/Dev Server to point to updated docs locations (#9176)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the minor-upgrades group with 16 updates in the / directory:
9.2.0
9.2.1
6.8.0
6.9.0
20.5.1
20.6.0
2.8.1
2.9.1
2.8.1
2.9.1
2.8.1
2.9.1
2.8.1
2.9.1
5.1.4
5.1.6
18.2.0
18.3.1
18.2.79
18.3.1
18.2.0
18.3.1
18.2.25
18.3.0
2.8.1
2.9.1
20.12.7
20.12.8
0.2.1
0.2.5
5.2.10
5.2.11
Updates
@adonisjs/auth
from 9.2.0 to 9.2.1Release notes
Sourced from
@adonisjs/auth
's releases.Commits
dd94213
chore(release): 9.2.1950ee51
refactor: do not cache models import when running in hot mode7a2540d
chore: update dependenciesUpdates
@adonisjs/core
from 6.8.0 to 6.9.0Release notes
Sourced from
@adonisjs/core
's releases.Commits
a508bb0
chore(release): 6.9.0c8251b5
Merge pull request #4533 from adonisjs/feat/set-envd80d7bf
fix: fix breaking test9cd7183
refactor: defineEnvVariables with omitFromExample5a1a4e9
feat: insert empty example in the .env.example4508128
feat: add env:add commandUpdates
@adonisjs/lucid
from 20.5.1 to 20.6.0Release notes
Sourced from
@adonisjs/lucid
's releases.Commits
2a2bd22
chore(release): 20.6.094b666a
Merge pull request #991 from adamcikado/develop669bdb3
fix: compare DateTime in newUpIfMissing92ed475
Merge pull request #1017 from adamcikado/feat/exportsba5961b
fix: some typos (#1024)7315d0e
chore: update postgresql version52906a5
chore: update version & add cross-envb084678
Merge pull request #1023 from MaximeMRF/fix/step-option-migrator781c479
fix(migrator): step option5d87cf8
feat: add missing exportsUpdates
@remix-run/css-bundle
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/css-bundle
's releases.Changelog
Sourced from
@remix-run/css-bundle
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)c5eda9a
chore: Update version for release (pre) (#9300)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)d54f689
chore: Update version for release (pre) (#9284)d3a5f38
chore: Update version for release (pre) (#9283)a82b44e
chore: Update version for release (pre) (#9281)9fc3d72
chore: Update version for release (pre) (#9255)8d151a5
chore: Update version for release (pre) (#9199)Updates
@remix-run/node
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/node
's releases.Changelog
Sourced from
@remix-run/node
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)c5eda9a
chore: Update version for release (pre) (#9300)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)d54f689
chore: Update version for release (pre) (#9284)d3a5f38
chore: Update version for release (pre) (#9283)a82b44e
chore: Update version for release (pre) (#9281)9fc3d72
chore: Update version for release (pre) (#9255)8d151a5
chore: Update version for release (pre) (#9199)Updates
@remix-run/react
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/react
's releases.Changelog
Sourced from
@remix-run/react
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)c5eda9a
chore: Update version for release (pre) (#9300)eb665b5
Ignore future d.ts files from TS build (#9299)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)c862f7c
Bump router to stable (#9289)d54f689
chore: Update version for release (pre) (#9284)194788b
Fix single fetch types for synchronous loader/action functionsd3a5f38
chore: Update version for release (pre) (#9283)Updates
@remix-run/serve
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/serve
's releases.Changelog
Sourced from
@remix-run/serve
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)c5eda9a
chore: Update version for release (pre) (#9300)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)d54f689
chore: Update version for release (pre) (#9284)d3a5f38
chore: Update version for release (pre) (#9283)a82b44e
chore: Update version for release (pre) (#9281)9fc3d72
chore: Update version for release (pre) (#9255)8d151a5
chore: Update version for release (pre) (#9199)Updates
isbot
from 5.1.4 to 5.1.6Changelog
Sourced from isbot's changelog.
Commits
ba5b614
[FIX] Browser files (jsdeliver) (#253)b9973b6
here we go againd9ff27a
[build] Adjust import attributes to new specification (#252)6447259
They came from... BehindUpdates
react
from 18.2.0 to 18.3.1Release notes
Sourced from react's releases.
Changelog
Sourced from react's changelog.
Commits
f1338f8
ExportReact.act
from 18.3d6c42f7
Bump to 18.3.173bfaa1
Turn on key spread warning in jsx-runtime for everyone (#25697)c2a246e
Turn on string ref deprecation warning for everybody (not codemoddable) (#25383)2cfb474
Bump version from 18.2 to 18.3Maintainer changes
This version was pushed to npm by react-bot, a new releaser for react since your current version.
Updates
@types/react
from 18.2.79 to 18.3.1Commits
Updates
react-dom
from 18.2.0 to 18.3.1Release notes
Sourced from react-dom's releases.
Changelog
Sourced from react-dom's changelog.
Commits
d6c42f7
Bump to 18.3.18a015b6
Add deprecation warning for unmountComponentAtNodec3b2839
Add deprecation warning for findDOMNoded4ea75d
ReactDOMTestUtils deprecation warnings7548c01
DeprecaterenderToStaticNodeStream
(#28872) (#28874)5894232
Enable warning for defaultProps on function components for everyone (#25699)c2a246e
Turn on string ref deprecation warning for everybody (not codemoddable) (#25383)2cfb474
Bump version from 18.2 to 18.3Maintainer changes
This version was pushed to npm by react-bot, a new releaser for react-dom since your current version.
Updates
@types/react-dom
from 18.2.25 to 18.3.0Commits
Updates
@remix-run/dev
from 2.8.1 to 2.9.1Release notes
Sourced from
@remix-run/dev
's releases.Changelog
Sourced from
@remix-run/dev
's changelog.Commits
f72d268
chore: Update version for release (#9308)9785383
chore: Update version for release (pre) (#9302)4e98f41
Only add Remix packages tossr.external
in Remix repo (#9301)c5eda9a
chore: Update version for release (pre) (#9300)bccd077
chore: Update version for release (#9291)ead3b5c
chore: Update version for release (pre) (#9290)c862f7c
Bump router to stable (#9289)d54f689
chore: Update version for release (pre) (#9284)d3a5f38
chore: Update version for release (pre) (#9283)a82b44e
chore: Update version for release (pre) (#9281)Updates
@types/node
from 20.12.7 to 20.12.8Commits
Updates
@types/react
from 18.2.79 to 18.3.1Commits
Updates
@types/react-dom
from 18.2.25 to 18.3.0Commits
Updates
hot-hook
from 0.2.1 to 0.2.5Updates
vite
from 5.2.10 to 5.2.11Changelog
Sourced from vite's changelog.
Commits
2bc5d3d
release: v5.2.11f8feeea
feat: improve dynamic import variable failure error message (#16519)c071eb3
fix(ssr): handle class declaration and expression name scoping (#16569)02db947
fix(ssr): handle function expression name scoping (#16563)2d6a13b
fix(deps): update all non-major dependencies (#16549)0e93f58
fix: scripts and styles were missing from built HTML on Windows (#16421)bb79c9b
fix(preload): skip preload for non-static urls (#16556)f71ba5b
fix: dynamic-import-vars plugin normalize path issue (#16518)2d50be2
fix(deps): update all non-major dependencies (#16488)4d83eb5
fix(dev): watch publicDir explicitly to include it outside the root (#16502)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show