Skip to content

Commit

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

 - [IMP] tools: expose template compiler as npm command
 - [IMP] compiler: add prop suffix name in the error message
  • Loading branch information
rfr-odoo committed Jan 10, 2025
1 parent b31fa81 commit b365ea5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/owl.js
Original file line number Diff line number Diff line change
Expand Up @@ -4644,7 +4644,7 @@ class CodeGenerator {
case "translate":
break;
default:
throw new OwlError("Invalid prop suffix");
throw new OwlError(`Invalid prop suffix: ${suffix}`);
}
}
name = /^[a-z_]+$/i.test(name) ? name : `'${name}'`;
Expand Down Expand Up @@ -5620,7 +5620,7 @@ function compile(template, options = {
}

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

// -----------------------------------------------------------------------------
// Scheduler
Expand Down Expand Up @@ -6098,6 +6098,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-12-02T15:51:07.157Z';
__info__.hash = '1c5b6f2';
__info__.date = '2025-01-10T10:10:53.709Z';
__info__.hash = 'b31fa81';
__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.2",
"version": "2.5.3",
"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.2";
export const version = "2.5.3";

0 comments on commit b365ea5

Please sign in to comment.