discourse/app
Jarek Radosz 7b8343d482
FIX: Support getters in hbr #each context (#28941)
There is a risk of overriding and then deleting a prop of the context in case of a naming clash between localName and that prop, e.g.

```js
class Test {
  item = "foo";
  items = [1, 2];
}

const template = `
  {{#each items as |item|}}
    {{item}}
  {{/each}}
`;
const compiledTemplate = compile(template);

const object = new Test();
// object.item === "foo"
const output = compiledTemplate(object, RUNTIME_OPTIONS);
// object.item === undefined
```

…but I think we can accept this risk and just be careful.`#each` isn't widely used in hbr anyway (as proven by the other long-standing and recently fixed bug) and hbr is on its way out anyway.
2024-09-17 12:07:07 +02:00
..
assets FIX: Support getters in hbr #each context (#28941) 2024-09-17 12:07:07 +02:00
controllers FEATURE: Add ability to dismiss admin notices (#28916) 2024-09-17 14:43:34 +08:00
helpers DEV: Drop WithServiceHelper 2024-09-05 09:58:20 +02:00
jobs DEV: Remove old problem check system - Part 1 (#28772) 2024-09-06 17:00:25 +08:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models DEV: Drop unused column translation_overrides.compiled_js 2024-09-17 09:58:10 +02:00
policies DEV: Refactor suspend/silence user services 2024-09-12 10:28:48 +02:00
serializers FEATURE: Add ability to dismiss admin notices (#28916) 2024-09-17 14:43:34 +08:00
services FEATURE: Add ability to dismiss admin notices (#28916) 2024-09-17 14:43:34 +08:00
views DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00