Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@Pavel910 Pavel910 released this 27 Nov 12:34

v1.1.0 (2017-11-27)

This release introduces tons of fixes and features:

Changes

  • Renamed Login config from 2FactorAuth to ValidateDevice.

Fixes

  • [#5] QueryContainer can now accept both Filter and Sorter using the same add() method since they extend the same base class.
  • Expired authorization token no longer prevents requests from being executed (caused troubles with public API methods where token is not required).
  • required validator is no longer triggered for 0 value.
  • Fixed comparison of validate prop when a function is passed as a component validator.
  • Fixed styles and validation state when input value is cleared.
  • Fixed error/success styles for File input
  • ComponentWrapper now creates a new defaultStyles object each time it is configured to reflect styles changes.
  • Added missing query condition for app notifications.
  • Fixed styles and validation state when input value is cleared.

Features

  • Added onGetFiles prop to override built-in file selection.
  • Added a CLI plugin to install development apps from given git repo URL
  • You can now configure devMiddleware options by defining cli.plugins.develop.devMiddleware object inside webiny.json.
  • Added a Cli class accessible via WebinyTrait to communicate with webiny-cli.
  • Added optional noIp parameter to url validator to explicitly disallow IP address as a URL.
  • Added defaultValidate prop to FormComponent and getValidators() method which handles string and array validators.
  • New Wizard UI component.
  • Webiny.Api.Endpoint can now receive a full URL - enables support for endpoints located on different domains.
  • While bootstrapping JS apps, if app meta data is missing, an exception will the thrown.
  • Added {model, inputs} parameter to custom input validators to be able to access current form model.
  • Added neq JS validator.
  • Added extendProps static method to abstract component classes.
  • Added API cli plugin to expose cli plugins via HTTP.

Improvements

  • Webiny.Core is always added to the build if it hasn't yet been built since it is the main dependency for all other apps.
  • Adjusted top margin on marketplace login so we don't have a scroll on smaller screens.
  • In development, a check is performed to determine if dev build is running. If not, a view with instructions is rendered.
  • Updated ReleaseArchive CLI plugin with app selection to explicitly select apps you want in the release archive.
  • Wizard component now uses css modules. (+ css cleanup)
  • Added environment and host to webiny.json to improve handling of different platform specifics.
  • Windows hosts now use webpack polling. Watch options are configurable via webiny.json.
  • Modal.Header now hides the close button if onClose is _.noop or falsy.
  • Updated all cli plugins to use Webiny dispatcher for plugin hooks.