Skip to content

Commit

Permalink
[REL] v2.5.1
Browse files Browse the repository at this point in the history
# v2.5.1

 - [FIX] compiler: multiple modifiers on t-custom
  • Loading branch information
rfr-odoo committed Nov 26, 2024
1 parent 7fc552e commit cd9b721
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions docs/owl.js
Original file line number Diff line number Diff line change
Expand Up @@ -4934,10 +4934,10 @@ function parseTCustom(node, ctx) {
throw new OwlError(`Custom directive "${directiveName}" is not defined`);
}
const value = node.getAttribute(attr);
const modifier = attr.split(".").length > 1 ? attr.split(".")[1] : undefined;
const modifiers = attr.split(".").slice(1);
node.removeAttribute(attr);
try {
customDirective(node, value, modifier);
customDirective(node, value, modifiers);
}
catch (error) {
throw new OwlError(`Custom directive "${directiveName}" throw the following error: ${error}`);
Expand Down Expand Up @@ -5604,7 +5604,7 @@ function compile(template, options = {
}

// do not modify manually. This file is generated by the release script.
const version = "2.5.0";
const version = "2.5.1";

// -----------------------------------------------------------------------------
// Scheduler
Expand Down Expand Up @@ -6082,6 +6082,6 @@ TemplateSet.prototype._compileTemplate = function _compileTemplate(name, templat
export { App, Component, EventBus, OwlError, __info__, batched, blockDom, loadFile, markRaw, markup, mount, onError, onMounted, onPatched, onRendered, onWillDestroy, onWillPatch, onWillRender, onWillStart, onWillUnmount, onWillUpdateProps, reactive, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, validate, validateType, whenReady, xml };


__info__.date = '2024-11-25T09:30:45.930Z';
__info__.hash = '6b24864';
__info__.date = '2024-11-26T08:42:41.633Z';
__info__.hash = '7fc552e';
__info__.url = 'https://github.com/odoo/owl';
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@odoo/owl",
"version": "2.5.0",
"version": "2.5.1",
"description": "Odoo Web Library (OWL)",
"main": "dist/owl.cjs.js",
"module": "dist/owl.es.js",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// do not modify manually. This file is generated by the release script.
export const version = "2.5.0";
export const version = "2.5.1";

0 comments on commit cd9b721

Please sign in to comment.