Get startedPropertiesEventsStylingPluginsConfigurationAdditionalGuides & tipsContributingChangelog321Initial commit

Changelog

3

3.5

2020-08-20
Direflow v3.5 Release Notes

Added

  • Support for direflow-config.json. See the documentation here
  • Ability to include additional static files in build #157
  • Support for serialized data via attributes #127
  • Parsing boolean values from attributes #125

Changed

  • A new DireflowPromiseAlike is returned from DireflowComponent.create.

Deprecated

These are now supported as part of direflow-config.json

  • Passing { filename, chunkFilename, react, reactDOM } to webpack config function
  • Using --split and --vendor as CLI arguments
  • polyfill-loader plugin

3.4

2020-03-13
Direflow v3.4 Release Notes

Added

  • Split Direflow Components into multiple bundles #53
  • Configure Direflow Components using defaultProps and @DireflowConfiguration decorator #57
  • Create NPM-ready boilerplate #56
  • Option to use async when using external-loader plugin #58
  • Build a regular React component library from Direflow Setup.
  • Ability to provide custom CDN for React and ReactDOM modules, thus ability to disable lazyloading.
  • Added useExternalSource hook #137
  • Added ability to choose where to inject styles
  • Optionally disable scoped styled #52

Changed

  • New structure for configuring a Direflow Component
  • Added new package: direflow-scripts. Moved everything webpack and build-related to this package.

Fixed

  • Issues with Material UI #106 and #105
  • Styled Components version 5> not rendering #94
  • Path not resolving properly on Windows OS #92, #138 and #134

3.3

2020-02-28

Added

  • Cypress test suits #48
  • Material-UI handled as plugin #89 and #93

Changed

  • React bundles are lazyloaded #30

3.2

2020-01-22

Added

  • Add a custom filename for bundle in webpac.direflow.js #47
  • Choosing .eslint while creating a new setup #45

Removed

  • Option to create a 'Direflow Project'

3.1

2020-01-19

Added

  • Using slotted as part of the Web Component standard

3.0

2020-01-12

Added

  • Configurable polyfills #18
  • Support for .sass files
  • New plugin: polyfill-loader

Changed

  • New structure for configuring a Direflow Component
  • Web Components polyfills are lazyloaded

Fixed

  • Property with value false getting ignored

2

2.2

2020-01-06

Added

  • New custom implementation of handling event retargeting
    Fixes a range of common bugs with event propagation and support for IE
  • Properties take precedence over attributes if both are set #31

Fixed

  • Import modules from without the ./src folder #24
  • Issue with reattaching Shadow Root #27
  • Multiple components added to the same shadow DOM #28

2.1

2019-12-22

Changed

  • Both attributes and properties are now derived from the same object
    The separation is made implicit - the attribute field and setAttribute() method
    can now be omitted on the Direflow configuration

2.0

2019-12-14

Added

  • Creating multiple custom elements from the same setup

Changed

  • Registration of properties and attributes becomes optional

Deprecated

  • Option to create a 'Direflow Project'

Fixed

  • Multiple Web Components referenes the same property object (#12)

1

1.1

2019-12-03

Added

  • Support for Styled Components
  • Using npm run build --vendor to chunk build into a vender.js and a direflowBundle.js file

Initial commit

2019-11-01