0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/lib/pretty_text
David Taylor e4507ffb27
FIX: Deprecation warning banners for boot-time deprecations (#42346)
We were only setting up the listener during the service initialization,
which meant that we missed any deprecations which were thrown before
that (e.g. hbs-extension).

This commit adds a new `registerUniversalDeprecationHandler` API which
supports replaying any deprecations which fired before the handler is
registered. Similar pattern to browser APIs like
`PerformanceObserver.observe(..., {buffered: true})`
2026-08-05 12:30:13 +01:00
..
helpers.rb DEV: Enable Style/RedundantParentheses rubocop rule (#40095) 2026-05-19 15:48:09 +02:00
shims.js
vendor-shims.js FIX: Deprecation warning banners for boot-time deprecations (#42346) 2026-08-05 12:30:13 +01:00