Skip to content

Latest commit

 

History

History
214 lines (171 loc) · 5.83 KB

File metadata and controls

214 lines (171 loc) · 5.83 KB

@e280/sly changelog

  • 🟥 breaking change
  • 🔶 deprecation or possible breaking change
  • 🍏 harmless addition, fix, or enhancement
  • 🎉 wonderful



v0.3

v0.3.7

  • 🔶 deprecate useOp in favor of useWait

v0.3.6

  • 🍏 add spinner system
  • 🔶 deprecate loaders in favor of new spinner system
  • 🔶 deprecate op in favor of @e280/strata's wait system

v0.3.5

  • 🍏 fix bug where views under shadow views wouldn't unmount

v0.3.4

  • 🔶 rename useLife to useLifecycle

v0.3.3

  • 🍏 update dependencies and improve readme spa docs

v0.3.2

  • 🍏 add hashSignal helper fn

v0.3.1

  • 🍏 allow hashNav fn params

v0.3.0

  • 🍏🎉 all-new view system featuring light and shadow with new hooks system
  • 🟥 deleted legacy view system!
  • 🟥 completely rewritten spa system!
  • 🟥 deleted base element system!
  • 🟥 rename @e280/sly/loaders to @e280/sly/loader
  • 🟥 rename @e280/sly/ops to @e280/sly/op
  • 🟥 cssReset is no longer wrapped in a @layer rule



v0.2

v0.2.5

  • 🍏 fix subview mount/unmount

v0.2.4

  • 🍏 fix a bug in use.life hooks

v0.2.3

  • 🔶 reimplement behavior of loot.outsideCurrentTarget to fix a bug
  • 🍏 added Life<V> type and asLife and asLifeFn helpers
  • 🍏 allow ShadowRoot in dom.in(shadow)
  • 🍏 add doc comments to Use methods

v0.2.2

  • 🍏 add "naked" views, which are for advanced custom integrations and adapters
  • 🍏 update deps

v0.2.1

  • 🍏 update deps

v0.2.0

  • 🍏 subpackage exports
    • @e280/sly
    • @e280/sly/dom
    • @e280/sly/loaders
    • @e280/sly/loot
    • @e280/sly/ops
    • @e280/sly/spa
    • @e280/sly/ui
  • 🍏 add new BaseElement
  • 🍏 add new loot drag-and-drop system
  • 🍏 add new tool dom.events for attaching dom events
  • 🍏 add new tool dom.el for making a dom element
  • 🍏 add new tool dom.mk for making a dom element with lit templates
  • 🍏 add new tool dom.elmer for making a dom element with a fluent chain
  • 🍏 add new spa hash routing tools
  • 🍏 add new use.events tool
  • 🍏 add new use.states tool, export States too
  • 🟥 dom multitool changes
    • dom(element) replaced by dom.in(element)
    • dom.in(element).attrs() replaced by dom.in(element).attrs (now a getter)
  • 🟥 moved all loaders exports under loaders namespace
    • makeLoader() -> loaders.make()
    • anims -> loaders.anims
    • etc
  • 🟥 rework view rendering syntax
    • 😡 old bad
      CoolView
        .attr("class", "hero")
        .children(html`<em>spongebob</em>`)
        .props("hello")
    • 🤗 new good
      CoolView.props("hello")
        .attr("class", "hero")
        .children(html`<em>spongebob</em>`)
        .render()
  • 🟥 rename view.view to view.render
    • 😡 old bad
      view.settings(s).view(fn)
    • 🤗 new good
      view.settings(s).render(fn)
  • 🟥 rework view conversions into components
    • 😡 old bad
      MyView.component(a)
    • 🤗 new good
      MyView
        .component()
        .props(() => [a])
  • 🟥 replaced onAttrChange(el, fn) with dom.attrs(el).on(fn)
  • 🟥 renames on use.attrs and dom.attrs
    • 🧐 also did some renames
      • .string.whatever -> .strings.whatever
      • .number.whatever -> .numbers.whatever
      • .boolean.whatever -> .booleans.whatever
  • 🟥 upgraded to strata v0.2.0 (see strata changelog
    • 🟥 using new signals integration
    • 🍏 added use hooks:
      • use.derived(f)
      • use.lazy(f)
      • use.signal.derived(f)
      • use.signal.lazy(f)
  • 🟥 replace $ multitool with new dom tool
    • 🟥 rename Container type to Renderable
  • 🟥 renames in ops
    • 🟥 rename Op.fn type to Op.load
    • 🟥 rename op.fn type to op.load
    • 🟥 rename use.op.fn type to use.op.load



v0.1

v0.1.1

  • 🍏 make stz and strata regular dependencies (they used to be peer dependencies), because those packages can tolerate your runtime having multiple version of those libraries.. however lit is still a peer dependency, because it apparently cannot tolerate mixing among multiple copies of the library
  • 🍏 update dependencies

v0.1.0

  • 🍏 moving to version range that allows non-breaking patches
  • 🍏 update dependencies



v0.0

v0.0.1

  • 🍏 add alias use.css for use.styles

v0.0.0

  • 🍏 update dependencies
  • 🔶 adapt to new strata tracker which is incompatible with the old one

v0.0.0-9

  • 🍏 fix use.op.fn type
  • 🍏 improve readme

v0.0.0-8

  • 🍏 add use.wake
  • 🍏 add use.attrs and attributes and onAttrChange
  • 🍏 fix await op.wait and make await op equivalent
  • 🍏 add use.op(f) as alias to use.op.fn(f)
  • 🟥 use.render() is now debounced (and the new use.renderNow() is not)
  • 🟥 op.morph now returns a pod, not an op
  • 🟥 op.all now returns a pod, not an op

v0.0.0-7

  • 🍏 implement web components via view.component

v0.0.0-6

  • 🟥 rework some loader anims, see new loaders on the testing page

v0.0.0-5

  • 🟥 rename pod to podium
  • 🍏 add: op.morph, Op.all, podium.morph, podium.all
  • 🍏 add: makeLoader and loader anims
  • 🍏 add: use.render
  • 🍏 improve: Op ergonomics
    • add type arg to Op.loading<V>() and Op.error<V>(e)
    • add getters op.isLoading, op.isReady, op.isError
    • add error getter, (also pod.error)

v0.0.0-4

  • 🍏 fix: view types, view .children takes rest param for multiple children
  • 🍏 add: use.life
  • 🍏 add: $.render(element, content)

v0.0.0-3

  • 🍏 initial release