next-safe-action

Type safe and validated Server Actions in your Next.js (App Router) project.

BSD-3-CLAUSE License

Downloads
140.6K
Stars
1.3K
Committers
10

Bot releases are visible (Hide)

next-safe-action - v7.6.4 Latest Release

Published by github-actions[bot] 2 months ago

7.6.4 (2024-08-17)

Refactors

next-safe-action - v7.6.3

Published by github-actions[bot] 2 months ago

7.6.3 (2024-08-16)

Bug Fixes

  • parallelize action callbacks execution (53ddab6)
next-safe-action - v7.6.2

Published by github-actions[bot] 2 months ago

7.6.2 (2024-08-14)

Bug Fixes

  • types: allow omitting input in executeOnMount when it's undefined (b2c02f0), closes #217
next-safe-action - v7.6.1

Published by github-actions[bot] 2 months ago

7.6.1 (2024-08-14)

Bug Fixes

  • hooks: add isTransitioning and isPending shorthand statuses to return object (#231) (6e23887), closes #227
next-safe-action - v7.6.1-beta.1

Published by github-actions[bot] 2 months ago

7.6.1-beta.1 (2024-08-14)

Bug Fixes

  • hooks: add isTransitioning and isPending shorthand statuses to return object (#230) (90e522b), re #227
next-safe-action - v7.6.0

Published by github-actions[bot] 2 months ago

7.6.0 (2024-08-13)

Features

  • middleware: support creation of standalone functions (#229) (7f36bb5), closes #222
next-safe-action - v7.6.0-beta.5

Published by github-actions[bot] 2 months ago

7.6.0-beta.5 (2024-08-13)

Refactors

  • middleware: use deepmerge-ts to merge context object (b18bf3c)
next-safe-action - v7.6.0-beta.4

Published by github-actions[bot] 2 months ago

7.6.0-beta.4 (2024-08-12)

Refactors

  • middleware: export createMiddleware function as experimental_createMiddleware (8813200)
next-safe-action - v7.6.0-beta.3

Published by github-actions[bot] 2 months ago

7.6.0-beta.3 (2024-08-12)

Refactors

  • middleware: move createMiddleware function to separate file (37af4fa)
next-safe-action - v7.6.0-beta.2

Published by github-actions[bot] 2 months ago

7.6.0-beta.2 (2024-08-12)

Features

  • middleware: support standalone middleware definition via exported createMiddleware function (87868a2)
next-safe-action - v7.6.0-beta.1

Published by github-actions[bot] 2 months ago

7.6.0-beta.1 (2024-08-11)

Features

  • middleware: extend context by default when defining middleware (53489fe)
next-safe-action - v7.5.1-beta.1

Published by github-actions[bot] 2 months ago

7.5.1-beta.1 (2024-08-11)

Refactors

  • require context to be an object (ed3bd85)
next-safe-action - v7.5.0

Published by github-actions[bot] 2 months ago

7.5.0 (2024-08-11)

Features

  • validation: add support for TypeBox library (#228) (8476997), closes #225
next-safe-action - v7.4.3

Published by github-actions[bot] 3 months ago

7.4.3 (2024-07-25)

Bug Fixes

  • hooks: pass onExecute callback to handler in useAction (0ced081)
next-safe-action - v7.4.2

Published by github-actions[bot] 3 months ago

7.4.2 (2024-07-22)

Performance improvements

  • hooks: use setTimeout instead of flushSync to update state (8207452)
next-safe-action - v7.4.1

Published by github-actions[bot] 3 months ago

7.4.1 (2024-07-22)

Build System

  • make Yup an optional peer dependency (a71e64b)
next-safe-action - v7.4.0

Published by github-actions[bot] 3 months ago

7.4.0 (2024-07-22)

Features

  • add action throwValidationErrors and throwServerError util props (#208) (c9d02e0)
next-safe-action - v7.4.0-beta.1

Published by github-actions[bot] 3 months ago

7.4.0-beta.1 (2024-07-22)

Features

  • implement throwValidationErrors and throwServerError at the action level (2e6aaf9)
next-safe-action - v7.3.1-beta.1

Published by github-actions[bot] 3 months ago

7.3.1-beta.1 (2024-07-21)

Refactors

  • rename SafeActionCallbacks type to SafeActionUtils (8195fb7)
next-safe-action - v7.3.0

Published by github-actions[bot] 3 months ago

7.3.0 (2024-07-21)

Features