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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@effect/cli@0.36.41
Patch Changes
8c5d280
,6ba6d26
,cd7496b
,3f28bf2
,5817820
,349a036
,799aa20
]:effect@3.2.9
Patch Changes
#2921
8c5d280
Thanks @tim-smart! - remove usage of performance.timeOrigin#2912
6ba6d26
Thanks @mikearnaldi! - Remove toJSON from PrettyError and fix message generation#2923
3f28bf2
Thanks @tim-smart! - only wrap objects with string keys in Config.Wrap#2914
5817820
Thanks @mikearnaldi! - Fix id extraction in Context.Tag.Identifier@effect/experimental@0.16.22
Patch Changes
8c5d280
,6ba6d26
,cd7496b
,3f28bf2
,5817820
,349a036
,799aa20
]:@effect/opentelemetry@0.34.16
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
]:@effect/platform@0.55.6
Patch Changes
#2903
799aa20
Thanks @rocwang! - # Make baseUrl() more defensive in @effect/platformSometimes, third party code may patch a missing global
location
to accommodate for non-browser JavaScriptruntimes, e.g. Cloudflare Workers,
Deno. Such patch
might not yield a fully valid
location
. This couldbreak
baseUrl()
, which is called bymakeUrl()
.For example, the following code would log
Invalid URL: '/api/v1/users' with base 'NaN'
.Arguably, this is not an issue of Effect per se, but it's better to be defensive and handle such cases gracefully.
So this change does that by checking if
location.orign
andlocation.pathname
are available before accessing them.Updated dependencies [
8c5d280
,6ba6d26
,cd7496b
,3f28bf2
,5817820
,349a036
]:@effect/platform-browser@0.35.6
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/platform-bun@0.36.6
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/platform-node@0.51.6
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/platform-node-shared@0.6.6
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/printer@0.33.25
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
]:@effect/printer-ansi@0.33.25
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
]:@effect/rpc@0.30.41
Patch Changes
8c5d280
,6ba6d26
,cd7496b
,3f28bf2
,5817820
,349a036
,799aa20
]:@effect/rpc-http@0.28.41
Patch Changes
8c5d280
,6ba6d26
,cd7496b
,3f28bf2
,5817820
,349a036
,799aa20
]:@effect/schema@0.67.19
Patch Changes
#2916
cd7496b
Thanks @gcanti! - Add support forAST.Literal
inSchema.TemplateLiteral
, closes From Discord: Schema template literal issue after upgrading to @effect/schema@0.67.18 #2913#2915
349a036
Thanks @gcanti! - Align constructors arguments:Class
interface to accept options for disabling validationTypeLiteral
interface to accept options for disabling validationrefine
interface to accept options for disabling validationBrandSchema
interface to accept options for disabling validationExample
Updated dependencies [
8c5d280
,6ba6d26
,3f28bf2
,5817820
]:@effect/sql@0.3.7
Patch Changes
8c5d280
,6ba6d26
,cd7496b
,3f28bf2
,5817820
,349a036
,799aa20
]:@effect/sql-mssql@0.3.8
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/sql-mysql2@0.3.8
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/sql-pg@0.3.8
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/sql-sqlite-bun@0.3.8
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/sql-sqlite-node@0.3.8
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
,799aa20
]:@effect/sql-sqlite-react-native@0.4.8
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
]:@effect/sql-sqlite-wasm@0.2.26
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
]:@effect/typeclass@0.24.25
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
]:@effect/vitest@0.5.9
Patch Changes
8c5d280
,6ba6d26
,3f28bf2
,5817820
]: