Skip to content

Releases: sulu/web-js

Release v2.4.1 (2022-04-27)

27 Apr 13:58
Compare
Choose a tag to compare

Full Changelog

Release 2.4.0 (2021-10-28)

28 Oct 14:19
Compare
Choose a tag to compare

Full Changelog

Release v2.3.0 (2021-10-11)

11 Oct 10:00
Compare
Choose a tag to compare

Release v2.2.0 (2021-10-04)

04 Oct 14:55
Compare
Choose a tag to compare

Full Changelog

Release 2.1.1 (2021-08-25)

25 Aug 08:04
Compare
Choose a tag to compare

Full Changelog

Release 2.1.0 (2021-08-18)

18 Aug 17:54
Compare
Choose a tag to compare

Full Changelog

Release 2.0.0 (2020-06-21)

21 Jun 12:41
Compare
Choose a tag to compare

2.0.0 (2020-06-21)

Full Changelog

Merged pull requests:

Release 2.0.0-RC3 (2018-05-15)

15 May 10:56
Compare
Choose a tag to compare
Pre-release

2.0.0-RC3 (2019-05-15)

Full Changelog

Merged pull requests:

Release 2.0.0-RC2 (2018-05-10)

10 May 09:00
Compare
Choose a tag to compare
Pre-release

2.0.0-RC2 (2019-05-10)

Full Changelog

Implemented enhancements:

Fixed bugs:

Merged pull requests:

Release 2.0.0-RC1 (2018-03-15)

15 Mar 14:15
Compare
Choose a tag to compare
Pre-release

2.0.0-rc1 (2019-03-15)

Full Changelog

Implemented enhancements:

Upgrade

jQuery removed from web component

Web component initialize method will not longer get a jQuery Element
instead it will get a basic javascript HTMLElement. This allows
to use web-js without jQuery and detect which components really need
jQuery as there dependency.

Before

initialize($el) {

}

// or

initialize($el, options) {

}

After

initialize(el) {
    var $el = el;
}

// or

initialize($el, options) {
    var $el = el;
}

Api service dataType changed

The api service will now use json dataType instead of html.
So if HTML should be returned, you should use $.ajax instead.

Multiple call service arguments

Its now possible to provide multiple arguments to a service call for this
exist service calls need to be changed.

Before

 web.callServices([{name: 'service', func: 'method', args: 'argument'}])

or when using web component twig extension:

{{ call_service('service', 'method', 'argument') }}

After

 web.callServices([{name: 'service', func: 'method', args: ['argument']}])

or when using twig:

{{ call_service('service', 'method', ['argument']) }}

Folder renamed

The src folder has been renamed to js so you need to ugprade your imports.

Before

var Expand = require('massive-web/src/components/expand');
import ContainerLink from  'massive-web/src/components/expand';

After

var Expand = require('massive-web/js/components/expand');
import ContainerLink from  'massive-web/js/components/expand';