Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update dependencies #29

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 4, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@hookform/resolvers (source) 3.3.4 -> 3.10.0 age adoption passing confidence
autoprefixer 10.4.17 -> 10.4.20 age adoption passing confidence
postcss (source) 8.4.35 -> 8.5.2 age adoption passing confidence
react-hook-form (source) 7.50.1 -> 7.54.2 age adoption passing confidence
tailwindcss (source) 3.4.1 -> 3.4.17 age adoption passing confidence
zod (source) 3.22.4 -> 3.24.2 age adoption passing confidence

Release Notes

react-hook-form/resolvers (@​hookform/resolvers)

v3.10.0

Compare Source

Features

v3.9.1

Compare Source

v3.9.0

Compare Source

Features
  • fluentvalidation-ts: add fluentvalidation-ts resolver (#​702) (5fc1e63)

v3.8.0

Compare Source

v3.7.0

Compare Source

Bug Fixes
  • zodResolver: cannot read properties of undefined (reading 'length') (a3e50c6)
Features

v3.6.0

Compare Source

Features

v3.5.0

Compare Source

Features

v3.4.2

Compare Source

Bug Fixes

v3.4.1

Compare Source

Bug Fixes

v3.4.0

Compare Source

postcss/autoprefixer (autoprefixer)

v10.4.20

Compare Source

  • Fixed fit-content prefix for Firefox.

v10.4.19

Compare Source

  • Removed end value has mixed support, consider using flex-end warning
    since end/start now have good support.

v10.4.18

Compare Source

  • Fixed removing -webkit-box-orient on -webkit-line-clamp (@​Goodwine).
postcss/postcss (postcss)

v8.5.2

Compare Source

v8.5.1

Compare Source

v8.5.0: 8.5 “Duke Alloces”

Compare Source

President Alloces seal

PostCSS 8.5 brought API to work better with non-CSS sources like HTML, Vue.js/Svelte sources or CSS-in-JS.

@​romainmenke during his work on Stylelint added Input#document in additional to Input#css.

root.source.input.document //=> "<p>Hello</p>
                           //    <style>
                           //    p {
                           //      color: green;
                           //    }
                           //    </style>"
root.source.input.css      //=> "p {
                           //      color: green;
                           //    }"

Thanks to Sponsors

This release was possible thanks to our community.

If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by:

v8.4.49

Compare Source

v8.4.48

Compare Source

  • Fixed position calculation in error/warnings methods (by @​romainmenke).

v8.4.47

Compare Source

  • Removed debug code.

v8.4.46

Compare Source

  • Fixed Cannot read properties of undefined (reading 'before').

v8.4.45

Compare Source

  • Removed unnecessary fix which could lead to infinite loop.

v8.4.44

Compare Source

  • Another way to fix markClean is not a function error.

v8.4.43

Compare Source

  • Fixed markClean is not a function error.

v8.4.42

Compare Source

  • Fixed CSS syntax error on long minified files (by @​varpstar).

v8.4.41

Compare Source

v8.4.40

Compare Source

  • Moved to getter/setter in nodes types to help Sass team (by @​nex3).

v8.4.39

Compare Source

v8.4.38

Compare Source

v8.4.37

Compare Source

  • Fixed original.column are not numbers error in another case.

v8.4.36

Compare Source

  • Fixed original.column are not numbers error on broken previous source map.
react-hook-form/react-hook-form (react-hook-form)

v7.54.2

Compare Source

v7.54.1: Version 7.54.1

Compare Source

Revert "🦥 fix: useForm should return a new object on formState changes (#​12424)" (#​12475)

v7.54.0

Compare Source

v7.53.2: Version 7.53.2

Compare Source

🐞 fix #​12398 staled disabled issue with resubmit form (#​12403)
🐞 fix: add type guard to fieldRef.select (#​12390)
Revert "🏺 watch reference update on formState update (#​12326)" (#​12391)

thanks to @​developer-bandi

v7.53.1: Version 7.53.1

Compare Source

🔧 chore: upgrade eslint to v9 (#​12150)
🐞 fix: #​12294 ensure Invalid Date is evaluated correctly (#​12295)
🐞 fix #​12316 setValue should work for arrays of primitives to handle checkboxes (#​12316) (#​12317)
🐞 fix #​12097 Use dirty fields along with mount names for form reset with keepDirtyValues (#​12211)
🫀 fix #​12237 disabled state trigger formState dirty/dirtyFields to update (#​12239)
📝 improve flatten function with object type check (#​12306)
🐞 fix #​12291 field array remove cause undefined with FormData (#​12305)
🖐️ improve: resolve type of set function (#​12145)
📖 fix: code example input field placeholder name (#​12296)
📖 docs: fix typo in code example (#​12271)

thanks to @​rasikhq @​abnud11 @​crypt0box @​developer-bandi @​matmannion @​hasancruk & @​vismay7

v7.53.0

Compare Source

v7.52.2

Compare Source

👍 close #​12108 useController should subscribe to exact field name of form's state (#​12109)
👍 chore: upgrade app deps
🩻 fix: add useCallback for ref callback (#​12078)
🚀 fix: skip call executeBuiltInValidation if no sub-fields left (#​12054)

thanks to @​newsiberian, @​Wendystraite and @​abnud11

v7.52.1: v7.51.1

Compare Source

🐞 fix #​12024 dirty not update issue with values prop (#​12041)
🐞 fix: field array validate rules shift errors (#​12033)

thanks to @​JardelCheung

v7.52.0

Compare Source

⚛️ close #​11932 enable react 19 peer dependency (#​11935)
👮‍♀️ close #​11954 getFieldState remove unnessaried inValidating and touched subscription (#​11995)
🐞 fix #​11985 logic createFormControl check field before usage (#​11986)
⌨️ fix: enforce type safety for deps property in RegisterOptions (#​11969)
🐞 fix #​11922 keep dirty on reset with dirty fields (#​11958)
🚔 close #​11937 add validation in the cleanup process in useController (#​11938)
Revert "⌨️ close: correct type of error field in getFieldState return object (#​11831)"
📖 fix: change info.values type in WatchObserver (#​11917)

thanks to @​nakaakist, @​IdoBouskila, @​pincy and @​peinguin

v7.51.5

Compare Source

📖 fix broken link to examples in README.md (#​11805)
⌨️ close: correct type of error field in getFieldState return object (#​11831)
🐞 fix #​11842 radio buttons not disabled when multiple share a name (#​11873)
🐞 fix #​11821 set value with disabled false before mount (#​11880)
🐞 fix setError to preserve existing errors elsewhere in the object (#​11888)
⌨️ fix: add info.value type to WatchObserver (#​11872)
🫡 fix issue with internal set api (#​11915)

thanks to @​mjr2595 @​erashu212 @​SimonJTurner and @​peinguin

v7.51.4: Version 7.51.4

Compare Source

👹 close #​11778 improve unregister omit key with getValues method (#​11779)
🐞 fix #​11794 issue: Fields dirty state is not updated when passing values to useForm

v7.51.3

Compare Source

v7.51.2: Version 7.51.2

Compare Source

🐞 fix #​11719 validation stuck on true state (#​11723)

v7.51.1

Compare Source

v7.51.0

Compare Source

Added
  • added 'validateFields' to formState
const { formState: { validateFields } } = useForm();
tailwindlabs/tailwindcss (tailwindcss)

v3.4.17

Compare Source

Fixed

v3.4.16

Compare Source

Fixed
  • Ensure the TypeScript types for PluginsConfig allow undefined values (#​14668)

Changed

v3.4.15

Compare Source

  • Bump versions for security vulnerabilities (#​14697)
  • Ensure the TypeScript types for the boxShadow theme configuration allows arrays (#​14856)
  • Set fallback for opacity variables to ensure setting colors with the selection:* variant works in Chrome 131 (#​15003)

v3.4.14

Compare Source

Fixed
  • Don't set display: none on elements that use hidden="until-found" (#​14625)

v3.4.13

Compare Source

Fixed
  • Improve source glob verification performance (#​14481)

v3.4.12

Compare Source

Fixed
  • Ensure using @apply with utilities that use @defaults works with rules defined in the base layer when using optimizeUniversalDefaults (#​14427)

v3.4.11

Compare Source

Fixed
  • Allow anchor-size(…) in arbitrary values (#​14393)

v3.4.10

Compare Source

Fixed
  • Bump versions of plugins in the Standalone CLI (#​14185)

v3.4.9

Compare Source

Fixed
  • No longer warns when broad glob patterns are detecting vendor folders

v3.4.8

Compare Source

Fixed
  • Fix minification when using nested CSS (#​14105)
  • Warn when broad glob patterns are used in the content configuration (#​14140)

v3.4.7

Compare Source

Fixed
  • Fix class detection in Slim templates with attached attributes and ID (#​14019)
  • Ensure attribute values in data-* and aria-* modifiers are always quoted in the generated CSS (#​14037)

v3.4.6

Compare Source

Fixed
  • Fix detection of some utilities in Slim/Pug templates (#​14006)
Changed
  • Loosen :is() wrapping rules when using an important selector (#​13900)

v3.4.5

Compare Source

Fixed
  • Disable automatic var() injection for anchor properties (#​13826)
  • Use no value instead of blur(0px) for backdrop-blur-none and blur-none utilities (#​13830)
  • Add .mts and .cts config file detection (#​13940)
  • Don't generate utilities like px-1 unnecessarily when using utilities like px-1.5 (#​13959)
  • Always generate -webkit-backdrop-filter for backdrop-* utilities (#​13997)

v3.4.4

Compare Source

Fixed
  • Make it possible to use multiple <alpha-value> placeholders in a single color definition (#​13740)
  • Don't prefix classes in arbitrary values of has-*, group-has-*, and peer-has-* variants (#​13770)
  • Support negative values for {col,row}-{start,end} utilities (#​13781)
  • Update embedded browserslist database (#​13792)

v3.4.3

Compare Source

Fixed
  • Revert changes to glob handling (#​13384)

v3.4.2

Compare Source

Fixed
  • Ensure max specificity of 0,0,1 for button and input Preflight rules (#​12735)
  • Improve glob handling for folders with (, ), [ or ] in the file path (#​12715)
  • Split :has rules when using experimental.optimizeUniversalDefaults (#​12736)
  • Sort arbitrary properties alphabetically across multiple class lists (#​12911)
  • Add mix-blend-plus-darker utility (#​12923)
  • Ensure dashes are allowed in variant modifiers (#​13303)
  • Fix crash showing completions in Intellisense when using a custom separator (#​13306)
  • Transpile import.meta.url in config files (#​13322)
  • Reset letter spacing for form elements (#​13150)
  • Fix missing xx-large and remove double x-large absolute size (#​13324)
  • Don't error when encountering nested CSS unless trying to @apply a class that uses nesting (#​13325)
  • Ensure that arbitrary properties respect important configuration (#​13353)
  • Change dark mode selector so @apply works correctly with pseudo elements (#​13379)
colinhacks/zod (zod)

v3.24.2

Compare Source

v3.24.1

Compare Source

Commits:

v3.24.0

Compare Source

Implement @standard-schema/spec

This is the first version of Zod to implement the Standard Schema spec. This is a new community effort among several validation library authors to implement a common interface, with the goal of simplifying the process of integrating schema validators with the rest of the ecosystem. Read more about the project and goals here.

z.string().jwt()

Thanks to @​Mokshit06 and @​Cognition-Labs for this contribution!

To verify that a string is a valid 3-part JWT.

z.string().jwt();

⚠️ This does not verify your JWT cryptographically! It merely ensures its in the proper format. Use a library like jsonwebtoken to verify the JWT signature, parse the token, and read the claims.

To constrain the JWT to a specific algorithm:

z.string().jwt({ alg: "RS256" });

z.string().base64url()

Thank you to @​marvinruder!

To complement the JWT validation, Zod 3.24 implements a standalone .base64url() string validation API. (The three elements of JWTs are base64url-encoded JSON strings.)

z.string().base64url()

This functionality is available along the standard z.string().base64() validator added in Zod 3.23.

z.string().cidr()

Thanks to @​wataryooou for their work on this!

A validator for CIDR notation for specifying IP address ranges, e.g. 192.24.12.0/22.

z.string().cidr()

To specify an IP version:

z.string().cidr({ version: "v4" })
z.string().cidr({ version: "v6" })

View the full diff from 3.23.8: colinhacks/zod@v3.23.8...v3.24.0

v3.23.8

Compare Source

Commits:

v3.23.7

Compare Source

v3.23.6

Compare Source

v3.23.5

Compare Source

v3.23.4

Compare Source

Commits:

v3.23.3

Compare Source

v3.23.2

Compare Source

Commits:

v3.23.1

Compare Source

v3.23.0

Compare Source

Zod 3.23 is now available. This is the final 3.x release before Zod 4.0. To try it out:

npm install zod

Features

z.string().date()

Zod can now validate ISO 8601 date strings. Thanks @​igalklebanov! https://github.com/colinhacks/zod/pull/1766

const schema = z.string().date();
schema.parse("2022-01-01"); // OK
z.string().time()

Zod can now validate ISO 8601 time strings. Thanks @​igalklebanov! https://github.com/colinhacks/zod/pull/1766

const schema = z.string().time();
schema.parse("12:00:00"); // OK

You can specify sub-second precision using the precision option:

const schema = z.string().time({ precision: 3 });
schema.parse("12:00:00.123"); // OK
schema.parse("12:00:00.123456"); // Error
schema.parse("12:00:00"); // Error
z.string().duration()

Zod can now validate ISO 8601 duration strings. Thanks @​mastermatt! https://github.com/colinhacks/zod/pull/3265

const schema = z.string().duration();
schema.parse("P3Y6M4DT12H30M5S"); // OK
Improvements to z.string().datetime()

Thanks @​bchrobot https://github.com/colinhacks/zod/pull/2522

You can now allow unqualified (timezone-less) datetimes using the local: true flag.

const schema = z.string().datetime({ local: true });
schema.parse("2022-01-01T12:00:00"); // OK

Plus, Zod now validates the day-of-month correctly to ensure no invalid dates (e.g. February 30th) pass validation. Thanks @​szamanr! https://github.com/colinhacks/zod/pull/3391

z.string().base64()

Zod can now validate base64 strings. Thanks @​StefanTerdell! https://github.com/colinhacks/zod/pull/3047

const schema = z.string().base64();
schema.parse("SGVsbG8gV29ybGQ="); // OK
Improved discriminated unions

The following can now be used as discriminator keys in z.discriminatedUnion():

  • ZodOptional
  • ZodNullable
  • ZodReadonly
  • ZodBranded
  • ZodCatch
const schema = z.discriminatedUnion("type", [
  z.object({ type: z.literal("A").optional(), value: z.number() }),
  z.object({ type: z.literal("B").nullable(), value: z.string() }),
  z.object({ type: z.literal("C").readonly(), value: z.boolean() }),
  z.object({ type: z.literal("D").brand<"D">(), value: z.boolean() }),
  z.object({ type: z.literal("E").catch("E"), value: z.unknown() }),
]);
Misc

Breaking changes

There are no breaking changes to the public API of Zod. However some changes can impact ecosystem tools that rely on Zod internals.

ZodFirstPartySchemaTypes

Three new types have been added to the ZodFirstPartySchemaTypes union. This may impact some codegen libraries. https://github.com/colinhacks/zod/pull/3247

+  | ZodPipeline<any, any>
+  | ZodReadonly<any>
+  | ZodSymbol;
Default generics in ZodType

The third argument of the ZodType base class now defaults to unknown. This makes it easier to define recursive schemas and write generic functions that accept Zod schemas.

- class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {}
+ class ZodType<Output = unknown, Def extends ZodTypeDef = ZodTypeDef, Input = unknown> {}
Unrecognized keys in .pick() and .omit()

This version fixes a bug where unknown keys were accidentally accepted in .pick() and omit(). This has been fixed, which could cause compiler errors in some user code. https://github.com/colinhacks/zod/pull/3255

z.object({ 
  name: z.string() 
}).pick({
  notAKey: true // no longer allowed
})

Bugfixes and performance

Docs and ecosystem


Configuration

📅 Schedule: Branch creation - "after 11am on Monday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Mar 4, 2024
@renovate renovate bot force-pushed the renovate/dependencies branch 5 times, most recently from a3d3dc6 to 9d34ee4 Compare March 21, 2024 00:23
@renovate renovate bot force-pushed the renovate/dependencies branch 4 times, most recently from ce5a79d to b60417d Compare March 27, 2024 22:58
@renovate renovate bot force-pushed the renovate/dependencies branch from b60417d to ccca944 Compare April 12, 2024 00:55
@renovate renovate bot force-pushed the renovate/dependencies branch 4 times, most recently from 51674eb to 51fd996 Compare April 23, 2024 20:28
@renovate renovate bot force-pushed the renovate/dependencies branch 3 times, most recently from 6a32483 to 94985a4 Compare May 4, 2024 08:17
@renovate renovate bot force-pushed the renovate/dependencies branch 2 times, most recently from 0a0a27b to 4574935 Compare May 8, 2024 22:02
@renovate renovate bot force-pushed the renovate/dependencies branch 4 times, most recently from 126d59d to ee40520 Compare May 21, 2024 15:24
@renovate renovate bot force-pushed the renovate/dependencies branch 3 times, most recently from b1334a8 to 2c05dad Compare June 6, 2024 05:03
@renovate renovate bot force-pushed the renovate/dependencies branch from 2c05dad to c3e9e1d Compare June 15, 2024 22:45
@renovate renovate bot force-pushed the renovate/dependencies branch 2 times, most recently from 4b18fc9 to 236905c Compare June 30, 2024 22:32
@renovate renovate bot force-pushed the renovate/dependencies branch 3 times, most recently from c162167 to 5027a0d Compare September 17, 2024 16:33
@renovate renovate bot force-pushed the renovate/dependencies branch from 5027a0d to f1a4843 Compare September 23, 2024 16:23
@renovate renovate bot force-pushed the renovate/dependencies branch 2 times, most recently from 8eca22f to 66969a6 Compare October 19, 2024 02:03
@renovate renovate bot force-pushed the renovate/dependencies branch from 66969a6 to b2579cb Compare October 29, 2024 00:53
@renovate renovate bot force-pushed the renovate/dependencies branch 4 times, most recently from 1293e6e to e857f2d Compare November 14, 2024 20:03
@renovate renovate bot force-pushed the renovate/dependencies branch from e857f2d to 46fbd51 Compare November 17, 2024 18:56
@renovate renovate bot force-pushed the renovate/dependencies branch 2 times, most recently from 0405510 to a2b3522 Compare December 7, 2024 01:58
@renovate renovate bot changed the title Update dependencies Update dependencies - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/dependencies branch December 8, 2024 18:53
@renovate renovate bot changed the title Update dependencies - autoclosed Update dependencies Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/dependencies branch 3 times, most recently from 914f802 to 303f62b Compare December 13, 2024 00:36
@renovate renovate bot force-pushed the renovate/dependencies branch 2 times, most recently from eb588a4 to 39afddb Compare December 21, 2024 01:53
@renovate renovate bot force-pushed the renovate/dependencies branch 2 times, most recently from de828d4 to 4baa61c Compare January 13, 2025 20:32
@renovate renovate bot force-pushed the renovate/dependencies branch from 4baa61c to 5420976 Compare January 14, 2025 14:17
@renovate renovate bot force-pushed the renovate/dependencies branch from 5420976 to bf09c55 Compare February 11, 2025 10:15
@renovate renovate bot force-pushed the renovate/dependencies branch from bf09c55 to 8e1a75e Compare February 12, 2025 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants