From e62a0ca2d9bf1fa6a03f8bf4a8815f6570d19abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Thu, 20 Jan 2022 12:02:38 +0100 Subject: [PATCH] [DOC] update changelog (add browser removal to changes) --- CHANGELOG.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 18cb660d..3455852c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -85,6 +85,7 @@ All changes are documented here in no particular order. - breaking: `env` is now frozen ([details](#28-env-is-now-frozen)) - breaking: `renderToString` function on qweb has been removed ([details](#32-rendertostring-on-qweb-has-been-removed)) - breaking: `debounce` utility function has been removed ([details](#34-debounce-utility-function-has-been-removed)) +- breaking: `browser` object has been removed ([details](#browser-object-has-been-removed)) ## Details/Rationale/Migration @@ -753,4 +754,12 @@ Otherwise, it will be escaped (just like `t-esc`). Migration: replace all `t-raw` uses by `t-out`, and uses the `markup` function to mark all the js values. -Documentation: [Outputting data](doc/reference/templates.md#outputting-data) \ No newline at end of file +Documentation: [Outputting data](doc/reference/templates.md#outputting-data) + +## 39. `browser` object has been removed + +Rationale: the `browser` object caused more trouble than it was worth. Also, it +seems like this should be done in user space, not at the framework level. + +Migration: code should just be adapted to either use another browser object, +or to use native browser function (and then, just mock them directly). \ No newline at end of file