Skip to content

Commit 9d3b3ee

Browse files
committed
Fix polymorphic renderBackend in Scala 3
Closes #951
1 parent b000469 commit 9d3b3ee

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

doc/changelog/2.0.0.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,16 @@ You can run the script in the Migration section at the bottom of the page to aut
335335
* `ModStateWithPropsFn`
336336
* `TimerSupport.install` had an infinite loop
337337
* `TriStateCheckbox`'s `onKeyDown` handler was calling `event.preventDefault()` on unhandled keys
338+
* Fix the Scala 3 version of `renderBackend` to support polymorphic backends
339+
*(e.g. `renderBackend[Backend[X]]` where `X` is a type already in scope)*
340+
338341
* `TriStateCheckbox` now accepts an optional `Reusable[TagMod]` in its `Props` that will be applied to the `<input>`
339342
340343
* Upgrade deps
341344
* Cats-effect to 3.2.2
342345
* Scala.js to 1.7.0
343-
* Microlibs to 3.0
344-
* UnivEq to 1.5.0
346+
* Microlibs to 3.0.1
347+
* UnivEq to 1.6.0
345348
346349
347350
# Thanks

project/Dependencies.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ object Dependencies {
1111
// Externally observable
1212
val cats = "2.6.1"
1313
val catsEffect = "3.2.2"
14-
val microlibs = "3.0"
14+
val microlibs = "3.0.1"
1515
val monocle2 = "2.1.0"
1616
val monocle3 = "3.0.0"
1717
val scala2 = "2.13.6"

0 commit comments

Comments
 (0)