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
Bumps the minor-upgrades group with 19 updates in the / directory:
6.7.0
6.9.0
3.1.2
3.1.4
1.4.14
1.4.17
20.12.7
20.12.8
10.0.3
10.0.5
5.2.8
5.2.11
9.2.0
9.2.1
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
18.2.0
18.3.1
18.2.78
18.3.1
18.2.0
18.3.1
18.2.25
18.3.0
7.5.0
7.5.1
2.8.1
2.9.1
0.2.0
0.2.5
Updates
@adonisjs/core
from 6.7.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 commandb1e4756
chore(release): 6.8.0c370640
chore: update dependencies40a85f9
refactor: move from--unstable-hmr
to--hmr
a3a5e1e
chore(release): 6.7.1Updates
@adonisjs/http-server
from 7.2.0 to 7.2.2Release notes
Sourced from
@adonisjs/http-server
's releases.Commits
011dbd1
chore(release): 7.2.27389edc
Merge branch 'main' into developb00020e
chore(release): 7.2.186b4fa5
chore: update release-it config54fd0e6
chore: update dependencies03cc997
chore: update release-it configadbbd76
chore: update dependenciesc092b40
chore(release): 7.2.18743e2e
chore: fix typo in release script1f6730b
chore: add a citgm scriptUpdates
@japa/runner
from 3.1.2 to 3.1.4Release notes
Sourced from
@japa/runner
's releases.Commits
13aed66
chore(release): 3.1.456e5918
fix: remove hardcoded uses of colors.ansi with internal helperfab7e1c
chore(release): 3.1.3b7be1a5
fix: respect color support before using ansi colorsUpdates
@swc/core
from 1.4.14 to 1.4.17Changelog
Sourced from
@swc/core
's changelog.... (truncated)
Commits
3311da7
chore: Publish1.4.17
withswc_core
v0.90.37
b1c22d5
chore: Improve publish scriptfedf06f
chore: Publish 1.4.17-nightly-20240423.32c1e959
chore: Publish 1.4.17-nightly-20240423.27b08d38
chore: Update bindings2fbb864
chore: Publish 1.4.17-nightly-20240423.16d3c41d
chore: Bump cratesc7a06b1
fix(es/codegen): UseStr.raw
for es5 (#8873)f5e50c2
chore: Bump crates063eabd
fix(es/compat): Fix async generator (#8881)Updates
@types/node
from 20.12.7 to 20.12.8Commits
Updates
np
from 10.0.3 to 10.0.5Release notes
Sourced from np's releases.
Commits
d2c66a8
10.0.534409be
Fix npm 10 compatibility for real (#744)5a83ad9
10.0.44caa295
Fix compatibility with npm 10 (#743)Updates
vite
from 5.2.8 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)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/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
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.78 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.1Looks like these dependencies are no longer updatable, so this is no longer needed.