Skip to content

Releases: RustForWeb/floating-ui

v0.6.0

04 Nov 15:21
2ce6ae8

Choose a tag to compare

What's Changed

  • chore(deps): update rust crate serde_json to v1.0.145 by @renovate[bot] in #202
  • fix(deps): update rust crate tempfile to v3.22.0 by @renovate[bot] in #205
  • chore(deps): update rust crate serde to v1.0.223 by @renovate[bot] in #201
  • fix(deps): update rust crate semver to v1.0.27 by @renovate[bot] in #203
  • fix(deps): update rust crate octocrab to 0.45.0 by @renovate[bot] in #204
  • chore(deps): update rust crate serde to v1.0.226 by @renovate[bot] in #207
  • fix(deps): update rust crate toml to v0.9.7 by @renovate[bot] in #209
  • chore(deps): update rust crate wasm-bindgen-test to v0.3.53 by @renovate[bot] in #208
  • chore(deps): update leptos monorepo to v0.8.9 by @renovate[bot] in #206
  • chore(deps): update pre-commit hook embarkstudios/cargo-deny to v0.18.5 by @renovate[bot] in #210
  • chore(deps): update dependency tailwindcss to v3.4.18 by @renovate[bot] in #212
  • fix(deps): update rust crate octocrab to 0.47.0 by @renovate[bot] in #211
  • chore(deps): update rust crate serde to v1.0.228 by @renovate[bot] in #214
  • chore(deps): update rust crate tempfile to v3.23.0 by @renovate[bot] in #217
  • chore(deps): update rust crate toml to v0.9.8 by @renovate[bot] in #215
  • chore(deps): update rust crate wasm-bindgen-test to v0.3.54 by @renovate[bot] in #216
  • chore(deps): update leptos monorepo to v0.8.10 by @renovate[bot] in #213
  • chore(deps): update rust crate cfg-if to v1.0.4 by @renovate[bot] in #218
  • chore(deps): update rust crate tokio to v1.48.0 by @renovate[bot] in #220
  • chore(deps): update actions/setup-node action to v6 by @renovate[bot] in #221
  • chore(deps): update pre-commit hook prettier-plugin-tailwindcss to ^0.7.0 by @renovate[bot] in #219
  • chore(deps): update leptos monorepo to v0.8.11 by @renovate[bot] in #222
  • chore(deps): update github artifact actions (major) - autoclosed by @renovate[bot] in #223
  • chore(deps): update rust crate wasm-bindgen-test to v0.3.55 by @renovate[bot] in #225
  • chore(deps): update rust crate leptos to v0.8.12 by @renovate[bot] in #224
  • chore(deps): update rust crate dioxus to 0.7.0 by @renovate[bot] in #226

Full Changelog: v0.5.1...v0.6.0

v0.5.1

08 Sep 17:06
cb8c55b

Choose a tag to compare

What's Changed

  • chore(deps): update dependency prettier to v3.6.0 by @renovate[bot] in #158
  • chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.13 by @renovate[bot] in #157
  • feat: update to upstream @floating-ui/utils@0.2.10 by @github-actions[bot] in #161
  • feat: update to upstream @floating-ui/core@1.7.2 by @github-actions[bot] in #159
  • feat: update to upstream @floating-ui/dom@1.7.2 by @github-actions[bot] in #160
  • feat: update to upstream @floating-ui/vue@1.1.7 by @github-actions[bot] in #162
  • chore(deps): update dependency prettier to v3.6.2 by @renovate[bot] in #163
  • fix(deps): update rust crate tokio to v1.46.1 by @renovate[bot] in #164
  • chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.14 by @renovate[bot] in #165
  • chore(deps): update leptos monorepo to v0.8.3 by @renovate[bot] in #166
  • fix(deps): update rust crate toml to 0.9.0 by @renovate[bot] in #167
  • chore: add explicit languages to pre-commit for Renovate by @DanielleHuisman in #168
  • chore(deps): update rust crate serde_json to v1.0.141 by @renovate[bot] in #170
  • chore(deps): update leptos monorepo to v0.8.4 by @renovate[bot] in #169
  • fix(deps): update rust crate strum to v0.27.2 by @renovate[bot] in #171
  • chore(deps): update leptos monorepo to v0.8.6 by @renovate[bot] in #172
  • fix(deps): update rust crate tokio to v1.47.0 by @renovate[bot] in #173
  • feat: update to upstream @floating-ui/core@1.7.3 by @github-actions[bot] in #174
  • feat: update to upstream @floating-ui/dom@1.7.3 by @github-actions[bot] in #175
  • feat: update to upstream @floating-ui/vue@1.1.8 by @github-actions[bot] in #176
  • fix(deps): update rust crate tokio to v1.47.1 by @renovate[bot] in #179
  • chore(deps): update rust crate serde_json to v1.0.142 by @renovate[bot] in #178
  • fix(deps): update rust crate toml to v0.9.4 by @renovate[bot] in #180
  • fix: resolve Clippy issues by @DanielleHuisman in #181
  • chore(deps): update actions/download-artifact action to v5 by @renovate[bot] in #184
  • chore(deps): update actions/checkout action to v5 by @renovate[bot] in #183
  • fix(deps): update rust crate toml to v0.9.5 by @renovate[bot] in #182
  • chore(deps): update rust crate cfg-if to v1.0.3 by @renovate[bot] in #187
  • fix(deps): update rust crate tempfile to v3.21.0 by @renovate[bot] in #189
  • chore(deps): update rust crate serde_json to v1.0.143 by @renovate[bot] in #188
  • chore(deps): update actions/upload-pages-artifact action to v4 by @renovate[bot] in #190
  • ci: add workflow permissions by @DanielleHuisman in #191
  • ci: use locked dependencies by @DanielleHuisman in #192
  • ci: improve workflows by @DanielleHuisman in #193
  • docs: update organization description by @DanielleHuisman in #194
  • feat: update to upstream @floating-ui/dom@1.7.4 by @github-actions[bot] in #185
  • feat: update to upstream @floating-ui/vue@1.1.9 by @github-actions[bot] in #186
  • fix(deps): update rust crate tracing-subscriber to 0.3.20 by @DanielleHuisman in #200
  • chore(deps): update pre-commit hook devinr528/cargo-sort to v2.0.2 by @renovate[bot] in #196
  • chore(deps): update actions/setup-node action to v5 by @renovate[bot] in #199
  • chore(deps): update rust crate wasm-bindgen-test to v0.3.51 by @renovate[bot] in #197
  • fix(deps): update rust crate log to v0.4.28 by @renovate[bot] in #198
  • chore(deps): update leptos monorepo to v0.8.8 by @renovate[bot] in #195

Full Changelog: v0.5.0...v0.5.1

v0.5.0

18 Jun 06:24
36c5c76

Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.5.0

v0.4.1

02 Jun 18:15
be68707

Choose a tag to compare

What's Changed

  • chore: change organisation name capitalisation by @DanielleHuisman in #145
  • fix(deps): update rust crate tokio to v1.45.1 by @renovate in #146
  • chore(deps): update dependency prettier-plugin-tailwindcss to v0.6.12 by @renovate in #147
  • feat: update to upstream @floating-ui/core@1.7.1 by @github-actions in #148
  • feat: update to upstream @floating-ui/dom@1.7.1 by @github-actions in #149

Full Changelog: v0.4.0...v0.4.1

v0.4.0

12 May 17:22
c1885c2

Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.4.0

v0.3.1

04 May 19:11
790e4f8

Choose a tag to compare

What's Changed

  • fix(deps): update rust crate toml to v0.8.21 by @renovate in #134
  • Update to upstream @floating-ui/core@1.7.0 by @github-actions in #135
  • Update to upstream @floating-ui/dom@1.7.0 by @github-actions in #136

Full Changelog: v0.2.2...v0.3.1

v0.3.0

16 Apr 19:59
bfd69aa

Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.3.0

v0.2.2

16 Apr 20:06
bfd69aa

Choose a tag to compare

Yanked due to SemVer breakage, see v0.3.0 instead.

v0.2.1

08 Jan 10:21
c857d62

Choose a tag to compare

What's Changed

  • Update dependency prettier to v3.4.2 by @renovate in #74
  • Update dependency tailwindcss to v3.4.16 by @renovate in #75
  • Update Rust crate tokio to v1.42.0 - autoclosed by @renovate in #76
  • Update Rust crate semver to v1.0.24 by @renovate in #77
  • Update Rust crate serde to v1.0.216 by @renovate in #78
  • Update dependency tailwindcss to v3.4.17 by @renovate in #84
  • Update Rust crate env_logger to v0.11.6 by @renovate in #80
  • Update Rust crate serde_json to v1.0.134 - autoclosed by @renovate in #83
  • Update Rust crate leptos_router to v0.7.2 by @renovate in #82
  • Update Rust crate leptos to v0.7.2 - autoclosed by @renovate in #81
  • Update Rust crate serde to v1.0.217 by @renovate in #85
  • Update Rust crate tempfile to v3.15.0 by @renovate in #87
  • Update leptos monorepo to v0.7.3 by @renovate in #86
  • Update to upstream @floating-ui/utils@0.2.9 by @github-actions in #90
  • Update to upstream @floating-ui/core@1.6.9 by @github-actions in #88
  • Update to upstream @floating-ui/dom@1.6.13 by @github-actions in #89
  • Update to upstream @floating-ui/vue@1.1.6 by @github-actions in #91

Full Changelog: v0.2.0...v0.2.1

v0.2.0

07 Dec 19:11

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.3...v0.2.0

Upgrade to Leptos v0.7

Node References

Install leptos-node-ref and replace the node references with AnyNodeRef:

- let reference_ref = NodeRef<Div>::new();
- let floating_ref = NodeRef<Div>::new();
- let arrow_ref = NodeRef<Div>::new();
+ use leptos_node_ref::AnyNodeRef;
+ 
+ let reference_ref = AnyNodeRef::new();
+ let floating_ref = AnyNodeRef::new();
+ let arrow_ref = AnyNodeRef::new();

Reference

Remove .into_reference() from use_floating calls:

  use_floating(
-     reference_ref.into_reference(),
+     reference_ref,
      floating_ref,
      UseFloatingOptions::default(),
  )

Middleware

Install send_wrapper and wrap the middleware vector in SendWrapper:

+ use send_wrapper::SendWrapper;

  let middleware: MiddlewareVec = vec![/* ... */];
  
  use_floating(
      reference_ref,
      floating_ref,
      UseFloatingOptions::default()
-          .middleware(middleware.into()),
+          .middleware(SendWrapper::new(middleware).into()),
  )