tauri-specta

Completely typesafe Tauri commands

MIT License

Downloads
56.4K
Stars
311
Committers
3

Bot releases are hidden (Show)

tauri-specta - v2.0.0-rc.19 - Tauri `2.0.0-rc.9` Latest Release

Published by oscartbeaumont about 1 month ago

Changes:

  • Upgrade to Tauri 2.0.0-rc.9
tauri-specta - v2.0.0-rc.18 - Tauri `2.0.0-rc.8`

Published by oscartbeaumont about 2 months ago

tauri-specta - v2.0.0-rc.17 - Tauri `2.0.0-rc.3`

Published by oscartbeaumont 2 months ago

tauri-specta - v2.0.0-rc.16 - Tauri `2.0.0-rc.2` and more

Published by oscartbeaumont 2 months ago

Changes:

  • Improved documentation - Thanks to @kareemmahlees
  • Support for generic events
  • Bump Tauri version - Thanks to @anatawa12
  • Introduce ErrorHandlingMode - Thanks to @anatawa12
tauri-specta - v2.0.0-rc.15 - Fix tailing comma's in macros

Published by oscartbeaumont 3 months ago

Changes:

  • Upgrade Specta to v2.0.0-rc.20
  • Fix trailing commas in macros
tauri-specta - v2.0.0-rc.14 - tauri-rc.0

Published by oscartbeaumont 3 months ago

Changes:

  • Upgrade to Tauri-rc.0
  • Fix events when used in plugin and app - Thanks to @Brendonovich
tauri-specta - v2.0.0-rc.12 - New syntax

Published by oscartbeaumont 3 months ago

Changes:

  • Support for the latest Tauri (=2.0.0-beta.25) and Specta (=2.0.0-rc.18)
  • Completly new builder syntax. Refer to docs for how to upgrade your project.
  • Expemental support for Tauri Channel behind the UNSTABLE_channels feature (waiting on #10435 for stabilization.
  • Convert collect_commands from a proc macro to a macro_rules
  • The tauri_specta::Event macro now requires the derive feature to be enabled.
tauri-specta - v2.0.0-rc.11 - Tauri beta 22 + export constants

Published by oscartbeaumont 5 months ago

Changes:

  • Upgrade to Tauri 2.0.0-beta.22 and Tauri Build 2.0.0-beta.17
  • Support for exporting constants - closes #95
  • Automatically add a newline between the file header and Tauri Specta runtime
tauri-specta - v2.0.0-rc.10 - Tauri beta 19

Published by oscartbeaumont 5 months ago

Fixes some bugs people have observed with Tauri beta 17.

For now Tauri Specta hardcodes the linked Tauri version to ensure we are protected from any breaking changes that are made upstream so we need to manually update it on all releases.

tauri-specta - v2.0.0-rc.9 - Fix bug in enum handling

Published by oscartbeaumont 5 months ago

tauri-specta - v2.0.0-rc.5 - Tauri 2

Published by oscartbeaumont 6 months ago

This release comes with a handful of fixes and the much anticipated support for Tauri 2.

Changes:

  • Support for Tauri v2
  • Export deprecated attribute - #55
  • Support exporting types that don't appear in commands - #74
  • Rename __Result__ to Result in exported bindings - #69
  • Remove the plugin from apps. This setup had some unintended sideeffects, checkout the v2 docs for upgrading.
  • misalignment of Event emit_to args - #68

Thanks to @Brendonovich, @linden-dg, @tbrockman and @amrbashir for contributing or helping with this release.

Checkout the v2 docs for how to get started with Tauri v2!

tauri-specta - v2.0.0-rc.4

Published by oscartbeaumont 11 months ago

Support Specta v2.0.0-rc.7

tauri-specta - 2.0.0-rc.3

Published by oscartbeaumont 12 months ago

tauri-specta - 2.0.0-rc.2 - General fixes

Published by oscartbeaumont about 1 year ago

Upgrades to the latest Specta release to fix some issues compiling with certain sets of features enabled.

tauri-specta - 2.0.0-rc.1 - Typesafe events

Published by oscartbeaumont about 1 year ago

This update comes with a major refactor to the way Tauri Specta works but it also allows for typeafe events which is super cool.

Huge thanks to @Brendonovich who put together these new changes.

tauri-specta - v1.0.2

Published by oscartbeaumont over 1 year ago

tauri-specta - v1.0.0

Published by oscartbeaumont over 1 year ago

An update to Tauri Specta to make use of the latest Specta update.

Upgrading

specta = "1.0.0"
tauri-specta = { version = "1.0.0", features = ["typescript", "javascript"] }

You will also want to rename tauri_specta::collate_types to specta::collect_types.

Package Rankings
Top 19.09% on Crates.io