Skip to content

Commit b365ea5

Browse files
committed
[REL] v2.5.3
# v2.5.3 - [IMP] tools: expose template compiler as npm command - [IMP] compiler: add prop suffix name in the error message
1 parent b31fa81 commit b365ea5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/owl.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4644,7 +4644,7 @@ class CodeGenerator {
46444644
case "translate":
46454645
break;
46464646
default:
4647-
throw new OwlError("Invalid prop suffix");
4647+
throw new OwlError(`Invalid prop suffix: ${suffix}`);
46484648
}
46494649
}
46504650
name = /^[a-z_]+$/i.test(name) ? name : `'${name}'`;
@@ -5620,7 +5620,7 @@ function compile(template, options = {
56205620
}
56215621

56225622
// do not modify manually. This file is generated by the release script.
5623-
const version = "2.5.2";
5623+
const version = "2.5.3";
56245624

56255625
// -----------------------------------------------------------------------------
56265626
// Scheduler
@@ -6098,6 +6098,6 @@ TemplateSet.prototype._compileTemplate = function _compileTemplate(name, templat
60986098
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 };
60996099

61006100

6101-
__info__.date = '2024-12-02T15:51:07.157Z';
6102-
__info__.hash = '1c5b6f2';
6101+
__info__.date = '2025-01-10T10:10:53.709Z';
6102+
__info__.hash = 'b31fa81';
61036103
__info__.url = 'https://github.com/odoo/owl';

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@odoo/owl",
3-
"version": "2.5.2",
3+
"version": "2.5.3",
44
"description": "Odoo Web Library (OWL)",
55
"main": "dist/owl.cjs.js",
66
"module": "dist/owl.es.js",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// do not modify manually. This file is generated by the release script.
2-
export const version = "2.5.2";
2+
export const version = "2.5.3";

0 commit comments

Comments
 (0)