Releases: shadaj/slinky
Releases · shadaj/slinky
v0.7.4
v0.7.3
Highlights 🎉
- Includes the core set of changes required to make Slinky work well with Next.js (including module splitting). The Slinky docs site now is built with Next.js! (PR #588)
Breaking Changes ⚠️
- Slinky now requires Scala.js 1.9.0 or higher, but libraries published against older versions of Slinky should continue to work (PR #588)
- The interface to
createPortal
has changed, but libraries should not be affected since this is typically intended for end-users (PR #594)
Bug Fixes 🐛
v0.7.2
v0.7.1 (cancelled)
v0.7.0
Highlights 🎉
- Added preliminary Scala 3 support PR #494
- no
@react
/Props
-apply
sugar - expected to require
-source:3.0-migration
and produce warnings - may not encode the same props in the same way as Scala 2 version due to different encoder generation mechanism.
- no
Breaking Changes ⚠️
- Dropped Scala.js 0.6 and upgraded 1.x line to 1.6.0 to simplify building with Scala 3 PR #494
- Updated scalajs-dom to v2.0.0 which is cross-published for Scala 3 PR #511
Bug Fixes 🐛
v0.6.8
v0.6.7
Highlights 🎉
- The IntelliJ support plugin has now been extracted into an independent plugin on the JetBrains Marketplace, making installation much more consistent
- Add support for native
useWindowDimensions
hook PR #422
Bug Fixes 🐛
- Add missing inherited props to native
FlatList
component PR #422
v0.6.6
Highlights 🎉
- Updated
scalajs-dom
to 1.0.0 PR #362 - Add facades for the
React.Profiler
component PR #372 - Add facades for the
act
funcion inreact-test-renderer
PR #376
Bug Fixes 🐛
- Fix compilation errors on Scala 2.13 when
Any
is involved inProps
/State
types PR #388 - Allow exporting external component definitions as instances of
ReactComponentClass
PR #377 - Update prop type definitions for the React Native
Image
component to support local images PR #411
Breaking Changes ⚠️
- Due to the update of scalajs-dom to 1.0.0 a support for
dd
anddt
tags has been dropped.
v0.6.5
v0.6.4
Highlights 🎉
- Add slinky-react-router and slinky-history as separate subprojects, to provide interfaces to react-router and the html5 history api PR #305
- Add apply method for constructing CustomTag and CustomAttributes PR #318
- Rewrite the class component logic to patch the component definition once to handle JS data instead of on every initialization PR #321
Bug Fixes 🐛
- Add ARIA role attribute PR #309
- Support className and role attributes for SVG PR #314
- Add novalidate attribute to form PR #315
- Fix types for the useCallback hook and fix its reference equality behavior PR #302
- Use js.Object instead of js.Dynamics on attribute style PR #322
- Add missing inherited props to native ScrollView component PR #326
Internal Infrastructure
- Fix project build in Windows OS and add automated testing in Windows to CI workflow. You can now build Slinky and run tests in Windows PR #308