Incompatible changes deprecated

Release 1.3.0

Removed some filters from the default implementation

Filters that can easily be implemented in the middleware, have been removed from frontend code. Those attributes are not used to filter the list of active ads any longer:

  • capabilities
  • active

In order to add custom support this, use the io.ox/ads extension point and implement a custom filter method.

ext.point('io.ox/ads').extend({
    filter: function (baton) {
        baton.activeAds = baton.activeAds.filter(function(conf) {
            return conf.active && capabilities.has(conf.capabilities);
        });
    }
});