|
2 | 2 |
|
3 | 3 | ## Development
|
4 | 4 |
|
5 |
| -[Commits](https://github.com/wycats/handlebars.js/compare/v4.5.2...master) |
| 5 | +[Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...master) |
| 6 | + |
| 7 | +## v4.5.3 - November 18th, 2019 |
| 8 | +Bugfixes: |
| 9 | + |
| 10 | +- fix: add "no-prototype-builtins" eslint-rule and fix all occurences - f7f05d7 |
| 11 | +- fix: add more properties required to be enumerable - 1988878 |
| 12 | + |
| 13 | +Chores / Build: |
| 14 | +- fix: use !== 0 instead of != 0 - c02b05f |
| 15 | +- add chai and dirty-chai and sinon, for cleaner test-assertions and spies, |
| 16 | + deprecate old assertion-methods - 93e284e, 886ba86, 0817dad, 93516a0 |
| 17 | + |
| 18 | +Security: |
| 19 | + |
| 20 | +- The properties `__proto__`, `__defineGetter__`, `__defineSetter__` and `__lookupGetter__` |
| 21 | + have been added to the list of "properties that must be enumerable". |
| 22 | + If a property by that name is found and not enumerable on its parent, |
| 23 | + it will silently evaluate to `undefined`. This is done in both the compiled template and the "lookup"-helper. |
| 24 | + This will prevent new Remote-Code-Execution exploits that have been |
| 25 | + published recently. |
| 26 | + |
| 27 | +Compatibility notes: |
| 28 | + |
| 29 | +- Due to the security-fixes. The semantics of the templates using |
| 30 | + `__proto__`, `__defineGetter__`, `__defineSetter__` and `__lookupGetter__` in the respect that those expression now return |
| 31 | + `undefined` rather than their actual value from the proto. |
| 32 | +- The semantics have not changed in cases where the properties are enumerable, as in: |
| 33 | + |
| 34 | +```js |
| 35 | +{ |
| 36 | + __proto__: 'some string' |
| 37 | +} |
| 38 | +``` |
| 39 | + |
| 40 | +- The change may be breaking in that respect, but we still only |
| 41 | + increase the patch-version, because the incompatible use-cases |
| 42 | + are not intended, undocumented and far less important than fixing |
| 43 | + Remote-Code-Execution exploits on existing systems. |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | +[Commits](https://github.com/wycats/handlebars.js/compare/v4.5.2...v4.5.3) |
6 | 48 |
|
7 | 49 | ## v4.5.2 - November 13th, 2019
|
8 | 50 | # Bugfixes
|
|
0 commit comments