Releases: bigskysoftware/idiomorph
Releases · bigskysoftware/idiomorph
v0.7.3
Fixed:
- Fixed an error when morphing elements with numeric IDs. (@botandrose, @ksbrooksjr)
- Fixed issue with
outerHTML
morphing an IDed node that gets moved. (@botandrose, @MichaelWest22) - Fixed incorrect return value when the root element gets moved or replaced in an
outerHTML
morph. (@botandrose, @MichaelWest22)
Full Changelog: v0.7.2...v0.7.3
v0.7.2
Fixed:
- Restored direct imports and added named export for ESM htmx extension. (@botandrose, @MichaelWest22)
- Updated the license key in
package.json
to match theLICENSE
file. (@MichaelWest22) - Prevented unnecessary selection restoration when it wasn't actually lost. (@MichaelWest22)
- Prevented focus & selection loss in more situations. (@MichaelWest22)
Full Changelog: v0.7.1...v0.7.2
v0.7.1
Removed:
- Remove
twoPass
option. There is only one single morphing algorithm now, which is more correct than both previous versions. (@botandrose, @MichaelWest22) - Remove
beforeNodePantried
callback option. This addition in v0.4.0 was an unfortunate necessity of the oldtwoPass
mode, but is no longer needed with the new algorithm. (@botandrose)
Added:
- New on-by-default
restoreFocus
option. On older browsers, moving the focused element (or one of its parents) can result in loss of focus and selection state. This option restores this state for IDed elements, at the cost of firing extrafocus
andselection
events. (@botandrose)
Fixed:
- Boolean attributes are now correctly set to
""
instead of"true"
. https://developer.mozilla.org/en-US/docs/Glossary/Boolean/HTML (@MichaelWest22)
Full Changelog: v0.4.0...v0.7.1
v0.4.0
What's Changed
- README: fix
morphstyle
case by @akx in #30 - Exclude
document.body
when morphing withignoreActiveValue: true
by @seanpdoyle in #34 - Advertising the ESM file with the "module" key by @weaverryan in #35
- Fix isInlineSwap on defineExtension by @CharlesTaylor7 in #32
- Fixed typo by @rskuipers in #36
- Update README.md with usage by @delaneyj in #45
- Fix license short identifier in package.json by @yardenshoham in #37
- Fix failing test by @seanpdoyle in #48
- Rebuild
dist/
by @seanpdoyle in #47 - Add JSDoc types and definitions by @mkarajohn in #25
- Improve morph support for
<template>
elements by @seanpdoyle in #49 - Mention Turbo under usages by @radanskoric in #62
- Set up GitHub Actions for CI by @botandrose in #63
- Fix typo in readme by @andersmurphy in #68
- Get CI green, fix config deep merging bug by @botandrose in #69
- Fix type errors by @dz4k in #66
- bugfix: fix htmx integration when innerHTML swap strategy is used by @marcobeierer in #65
- Overhaul testing framework by @botandrose in #71
- Fix early return by @botandrose in #70
- Add tests to cover hooks, and fix extraneous hook call by @botandrose in #73
- Test suite improvements by @botandrose in #74
- Add
--fail-only
option to fail the test suite in CI when anit.only
is left in by @botandrose in #76 - Show individual test runs in addition summary by @botandrose in #77
- Add coverage for untested code paths and features; rm test noise by @botandrose in #80
- Iterating over the NamedNodeMap returned by Element.prototype.attributes is unsafe and vulnerable to race conditions by @botandrose in #79
- Fix persistent ids being softMatched when they shouldn't by @MichaelWest22 in #75
- improve softMatch to not retain state on morph if oldNode has id by @MichaelWest22 in #82
- Add
twoPass
option for additional state retention by @botandrose in #72 - Add prettier to normalize code style by @botandrose in #81
New Contributors
- @akx made their first contribution in #30
- @seanpdoyle made their first contribution in #34
- @weaverryan made their first contribution in #35
- @CharlesTaylor7 made their first contribution in #32
- @rskuipers made their first contribution in #36
- @delaneyj made their first contribution in #45
- @yardenshoham made their first contribution in #37
- @mkarajohn made their first contribution in #25
- @radanskoric made their first contribution in #62
- @botandrose made their first contribution in #63
- @andersmurphy made their first contribution in #68
- @dz4k made their first contribution in #66
- @marcobeierer made their first contribution in #65
- @MichaelWest22 made their first contribution in #75
Full Changelog: v0.3.0...v0.4.0