All Versions
19
Latest Version
Avg Release Cycle
63 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v0.7.1 Changes
August 01, 2019- ๐ Fix: Due to a bug in Scala DOM Builder, it would make mistakes tracking ReactiveElements' children when Laminar was reordering them e.g. using
children <-- X
. This would then result in "cannot readnextSibling
of null" errors and potentially other inconsistencies.- I fixed the issue in Scala DOM Builder v0.9.2, and added another reordering test for this particular scenario in Laminar
- Thanks to @gabrielgiussi for reporting, and nailing the test case!
- ๐ New: Use DOM Props to set Reflected Attributes.
- Better performance than setting HTML attributes
- I do not expect a change in behaviour due to the largely symmetrical nature of reflected attributes. At least not when using reflected attributes for writing values. Reading might yield subtle differences as mentioned in the link above.
- This change is also potentially breaking because the types of identifiers like
href
changed fromReactiveHtmlAttr
toReactiveProp
. Unless you reference those types or their non-common ancestors in your code you should be fine.
- API: Return
EventStream
type fordocumentEvents
andwindowEvents
props, not the unnecessarily specificDomEventStream
.- Note: small chance of breakage if you rely on
DomEventStream
type in your code
- Note: small chance of breakage if you rely on
- ๐ New:
maybe
method for keys. You can now doattr.maybe(optionOfValue)
instead ofoptionOfValue.map(attr := _)
- ๐ New:
emptyNode
to make an emptyNode
(implemented as a comment node) - ๐ New:
WriteBus.contracomposeWriter
and other improvements from Airstream v0.7.1 - API: Use
Child
/Children
/ChildrenCommand
types more consistently internally; expose aliases in Laminar.scala - ๐ Misc: Move code examples from main into test fixtures to remove them from the JS bundle
- Misc: Bump Scala DOM Types to v0.9.4
- ๐ Fix: Due to a bug in Scala DOM Builder, it would make mistakes tracking ReactiveElements' children when Laminar was reordering them e.g. using
-
v0.7 Changes
April 28, 2019- ๐ New: Airstream v0.5.1 -> v0.7 โ
split
,composeChanges
,flatMap
, etc.- See Laminar docs for using
split
to efficiently render dynamic lists of children
- See Laminar docs for using
- API: Hide
ancestorMountEvents
andthisNodeMountEvents
(#42)- Migration: use
mountEvents
,maybeParentSignal
orparentChangeEvents
instead
- Migration: use
- ๐ New: Airstream v0.5.1 -> v0.7 โ
-
v0.6 Changes
December 30, 2018- ๐ New: Airstream v0.4 -> v0.5.1 โ improved Vars, no more State, etc.
- Big update, see Airstream changelog for details and migration guide
- ๐ New: Airstream v0.4 -> v0.5.1 โ improved Vars, no more State, etc.
-
v0.5.1 Changes
December 17, 2018- ๐ Fix: Bump Airstream to v0.4.1 to fix NPE in error handling
-
v0.5 Changes
November 04, 2018- ๐ New: Airstream v0.4 โ now with error handling (see Airstream changelog)
- ๐ Build: Drop Scala 2.11 support
- ๐ New: window and document event streams now available via
windowEvents
anddocumentEvents
objects - ๐ New:
unsafeWindowOwner
that never kills its possessions (careful there, see docs) - API:
api/Laminar
/api/L
object no longer includes event props fromWindowOnlyEventProps
-
v0.4 Changes
September 27, 2018- ๐ New: Airstream v0.3 โ integration with Futures and other improvements (see Airstream changelog)
- Naming: Match naming changes in Airstream v0.3 (
mapTo
->mapToValue
, newmapTo
method)- Migration note: check every usage of
mapTo
methods, the change appears to be source compatible but the new method accepts its parameter by name
- Migration note: check every usage of
- API: Add currying to
subscribe*
methods onReactiveElement
, rename some of those tosubscribeO
- ๐ New: Special handling of
cls
,role
,rel
, and other composite attributes (#22) - โฌ๏ธ Misc: Upgrade to Scala DOM Types and Scala DOM Builder v0.9
- ๐ New:
subscribe
and-->
methods can now accept anonNext
function in addition toObserver
- ๐ New: Better type inference for arguments of
-->
andsubscribe*
methods - ๐ Misc: Move
-->
methods fromReactiveProp
toEventPropTransformation
- ๐ Docs: Add Changelog
-
v0.3 Changes
April 30, 2018- Switch to Airstream for reactive layer (previously XStream.js)
- Rework event system and subscription logic and API
- ๐ฆ Organize required imports under
api
package - ๐ Write more documentation and publish laminar-examples
-
v0.2 Changes
December 18, 2017- Multiple API improvements for a smoother developer experience
-
v0.1 Changes
October 03, 2017๐ Initial release.