Skip to content

Releases: formidable-webview/webshell

Release 2.0.0-alpha.2

02 Oct 21:19
Compare
Choose a tag to compare
Release 2.0.0-alpha.2 Pre-release
Pre-release

2.0.0-alpha.2 (2020-10-02)

Code Refactoring

  • rename FeatureBuilder.withandlerProp to withShellHandler (65ea547)
  • rename FeatureConstructor to FeatureClass (8f64369)
  • rename PropsFromFeature to ExtractPropsFromFeature (e07e8f7)
  • rename FeatureInstanceOf type into ExtractFeatureFromClass (3f3eed3)
  • rename resetHeightOnViewportWidthChange to resetHeightOnViewportWidthChange (d6c777c)

Features

  • add webshellStrictMode prop to raise errors on inconsistencies (81273be)
  • custom typedoc theme (WIP) (1216e50)

BREAKING CHANGES

  • rename FeatureConstructor to FeatureClass
  • rename PropsFromFeature to ExtractPropsFromFeature
  • rename AutoheightParams.resetHeightOnViewportWidthChange to resetHeightOnViewportWidthChange
  • rename FeatureBuilder.withandlerProp to withShellHandler
  • rename FeatureInstanceOf type into ExtractFeatureFromClass

Release 2.0.0-alpha.1

30 Sep 21:32
Compare
Choose a tag to compare
Release 2.0.0-alpha.1 Pre-release
Pre-release

2.0.0-alpha.1 (2020-09-30)

Bug Fixes

  • bug causing feature loading to fail (83b716c)

Code Refactoring

  • move dom utils to a separate field in WebjsContext (4a0a291)
  • rename Feature.featureIdentifier to indentifier (8ffe989)
  • rename WebjsContext.postShellMessage to postMessageToShell (fd7bc00)
  • replace onDOMError with onWebFeatureError (2dacca5)

Features

  • support for multiple handlers in a single feature (9313f07)
  • support sending messages from shell to Web (a76d3b4)

BREAKING CHANGES

  • rename Feature.featureIdentifier to indentifier
  • replace onDOMError with onWebFeatureError
  • move dom utils to a separate field in WebjsContext
  • rename WebjsContext.postShellMessage to
    postMessageToShell
  • renamed FeatureBuilder.withHandlerEventProp to
    withHandlerProp to prepare for bilateral communication.

Release 2.0.0-alpha.0

26 Sep 14:03
Compare
Choose a tag to compare
Release 2.0.0-alpha.0 Pre-release
Pre-release

2.0.0-alpha.0 (2020-09-26)

Code Refactoring

  • features are now classes and must be built with FeatureBuilder (d028853)
  • makeWebshell now takes feature instances (ed28385)

Features

  • add new methods for WebjsContext interface (bfdc409)
  • add new useAutoheight hook (dc9842d)
  • features API v2 (WIP) (73d56c7)
  • new DOM feature ForceElementSizeFeature (f715b5f)
  • new DOM feature ForceResponsiveViewportFeature (25ed358)
  • new DOM feature HandleElementCSSBoxFeature (873d646)
  • new DOM feature HandleHashChangeFeature (9b7c47a)
  • new DOM feature HandleHTMLDimensionsFeature (7a158d9)
  • new DOM feature HandleLinkPressFeature (6da2358)
  • new DOM HandleVisualViewportFeature (0577cbf)

BREAKING CHANGES

  • handleLinkPressFeature has been replaced with
    HandleLinkPressFeature, its instanciable counterpart. Also, the shape of
    the sent message has changed, and is now an object with a variety of
    useful information. Finally, this implementation uses the element
    instance href field instead of the href attribute, which could contain
    relative paths. It is thus more accurate.
  • elementSizeFeature has been replaced with its
    instanciable counterpart, HandleElementCSSBoxFeature. If you need the
    whole document size, consider HandleHTMLDimensionsFeature.
  • makeWebshell now requires to provide a list of Feature
    instances instead of the result of feature assemble members.
  • makeFeature has been dropped in favor of
    FeatureBuilder. Also, feature bust now be instantiated instead of
    calling assemble member. All imports must be upper-cased.
    Implementing feature is documented here:
    https://formidable-webview.github.io/webshell/docs/implementing-features

Release 1.0.2

20 Aug 18:12
Compare
Choose a tag to compare

1.0.2 (2020-08-20)

Release 1.0.1

19 Aug 17:17
Compare
Choose a tag to compare

1.0.1 (2020-08-19)

Release 1.0.0

19 Aug 17:09
Compare
Choose a tag to compare

1.0.0 (2020-08-19)

Initial release.

Release 0.10.1-alpha.6

17 Aug 14:57
Compare
Choose a tag to compare
Pre-release

0.10.1-alpha.6 (2020-08-17)

Code Refactoring

  • cleaner Typescript typings for return type of makeWebshell (8f2bbe8)
  • rename handler props with onDOM prefix (596b23d)
  • WebshellProps now inherit WebViewProps (d685b2d)

Features

BREAKING CHANGES

  • for Typescript users, exported types have changed.
    You now only require 2 generic type params for makeWebshell and
    WebshellComponentOf.
  • the type signature of the returned component has
    slightly changed.
  • the webViewProps has disappeared. You should now use
    those props as Webshell props.
  • handlers props have been renamed.

Release 0.10.1-alpha.5

09 Aug 10:54
Compare
Choose a tag to compare
Pre-release

0.10.1-alpha.5 (2020-08-09)

Code Refactoring

  • rename a few typescript interfaces (784f523)

BREAKING CHANGES

  • for typescript users:
  • WebshellStaticProps renamed to WebshellInvariantProps
  • WebshellComponentProps renamed to WebshellProps

Release 0.10.1-alpha.4

07 Aug 18:15
Compare
Choose a tag to compare
Pre-release

0.10.1-alpha.4 (2020-08-07)

Release 0.10.1-alpha.3

07 Aug 18:03
Compare
Choose a tag to compare
Pre-release

0.10.1-alpha.3 (2020-08-07)