Skip to content

Release 2.0.0

Compare
Choose a tag to compare
@jsamr jsamr released this 08 Oct 12:37
· 62 commits to master since this release

2.0.0 (2020-10-08)

This is a major release with a good amount of breaking changes, but also many exciting new features. We commit to having much less breaking releases in the future. We also have a brand new website.

Code Refactoring

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

Features

  • support sending messages from shell to Web (a76d3b4)
  • support for multiple handlers in a single feature (9313f07)
  • new methods for WebjsContext interface (bfdc409)
  • new webshellStrictMode prop to raise errors on inconsistencies (81273be)
  • new useAutoheight hook (dc9842d)
  • new Web feature ForceElementSizeFeature (f715b5f)
  • new Web feature ForceResponsiveViewportFeature (25ed358)
  • new Web feature HandleElementCSSBoxFeature (873d646)
  • new Web feature HandleHashChangeFeature (9b7c47a)
  • new Web feature HandleHTMLDimensionsFeature (7a158d9)
  • new Web feature HandleLinkPressFeature (6da2358)
  • new Web HandleVisualViewportFeature (0577cbf)