Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Latest commit

 

History

History
244 lines (201 loc) · 11.2 KB

File metadata and controls

244 lines (201 loc) · 11.2 KB

Changelog

Tags:

  • [New Feature]
  • [Bug Fix]
  • [Documentation]
  • [Internal]
  • [Polish]
  • [Change]

5.0.0

  • New Feature
    • Support Babel 7

4.2.1

  • Bug Fix
    • Fix literal detection with TemplateLiterals

4.1.1

  • Bug Fix
    • Fix self-closing elements with skip attribute
  • Polish
    • Move key assignment and static's key assignment into statements before the element call.

4.1.0

  • New Feature
    • Add basic support for skip via special attribute
    • Identify iDOM.patch calls a JSX roots
    • Eagerly evaluate attributes that could mutate a key, instead of throwing error
    • Add UUID Prefix option
  • Bug Fix
    • Support JSXElement as direct child of JSXAttribute
    • Fix a bug with deferred callbacks where branches have different argument lengths
    • requireStaticsKey = false will keep attributes in correct order
  • Polish
    • Attempt to generate similar wrapper parameter names.
    • Attempt to generate similar key variable names.

4.0.2

  • Polish
    • Attempt to generate similar statics hoist names, to aid debugging
    • Fall back to element tag when generating hoist names

4.0.1

  • Polish
    • Attempt to generate similar hoist names, to aid debugging

4.0.0

  • New Feature
    • Add moduleSource option to auto import needed iDOM methods
    • Add runtimeModuleSource option to auto import needed runtime methods
    • Add spreadAttribute runtime method
    • Defer calling functions until wrapper executes
  • Bug Fix
    • Forbid error caused by mutating key after referencing in another attribute
    • Ensure logical expressions do not call iDOM methods
    • Ensure conditional expressions do not call iDOM methods
  • Polish
    • Convert "special" literals (numbers, undefined, null) to strings
    • Template strings no longer require a renderArbitrary call
    • Unwrap a child expression's sequence to avoid unneeded renderArbitrary calls
    • Use more performant jsxWrapper
    • Speed up transform
  • Change
    • Rename to babel-plugin-transform-incremental-dom
    • hoist is now standard behavior
    • Using static attributes will generate a UUID key by default
    • Remove prefix option in favor of moduleSource
    • Remove runtime option in favor of runtimeModuleSource

3.4.0

  • New Feature
    • Optimize conditional children expressions
    • Enable fastRoot option in inline comments
  • Bug Fix
    • Transpile JSX Elements outside functions
    • Memoize key expressions
  • Internal
    • Add babel-plugin-syntax-jsx dependency

3.3.0

  • New Feature
    • Add a Fast path for JSX under the Root node
    • Add support for Attribute Namespaces
    • forceStatics option now generates a UUID key for key-less nodes

3.2.1

  • Bug Fix
    • Support importing iDOM methods

3.2.0

  • New Feature
    • Allow forcing the use of statics when there are constant attributes
  • Bug Fix
    • Only use statics when there is a key

3.1.0

  • New Feature
    • Pass Components by reference
    • Inline JSX Expressions
  • Bug Fix
    • Assign eager variable keys to statics array

3.0.3

  • Bug Fix
    • Fix whitespace cleaning around inline elements

3.0.2

  • Bug Fix
    • Support multiple returned root nodes
    • Do not try to recursively render arbitrary DOM element
  • Internal

3.0.1

  • Bug Fix
    • Properly wrap non-returned elements that are the "root" of their function

3.0.0

  • New Feature
    • Upgraded to Babel 6
    • Common Runtime support
  • Internal
    • Massive internal rewrite to support stateless transforms
    • Split apart massive single feature tests into multiple small tests

2.2.0

  • New Feature
    • Add optional Static Attribute hoisting.
  • Bug Fix
    • Fixes detection of root JSX Element in sub-render functions.
    • Supports JSX Elements implicitly returned by arrow functions.
    • Fixes use of JSX Elements inside Sequence Expressions.

2.1.0

  • New Feature
    • Add an optional function prefix to Incremental DOM functions.

2.0.1

  • New Feature
    • Throw an compile-time error when there is an unused JSX Element.
      • Before, these would be silently removed from the output.
  • Bug Fix
    • Properly detect the whether the current JSX Element is the "root" element of the render function.
      • Before, any JSX Element that appeared laster in the same file would be "root". Now, only elements that appear later in the current function or it's contianing functions are roots.
  • Internal
    • Test that compile-errors are thrown.

2.0.0

  • New Feature
    • Support rendering arbitrary children expressions:
      1. "Textual" expressions, including numbers and strings.
      2. Other JSX Elements.
      3. Arrays or Objects containing #1, #2, or #3.
    • Throw an compile-time error when using JSX Namespaces.
  • Internal
    • A massive rewrite to support full JSX compatibility.

1.X

  • Initial implementation.