-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Remove escapeExpression from @ember/template
#20627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove escapeExpression from @ember/template
#20627
Conversation
|
If it was private, shouldn't need to be in the RFC, I'd think |
|
May have been private but |
people using private apis should be used to what happens? 😅 🙃 idk, what's the process here? do we need a deprecation in this case? |
|
Do they know it is private if it is hanging out on If it is truly private, we need an intimate API deprecation (1 LTS cycle), but if it is public, we need an RFC + full deprecation. |
|
I know |
| type FunctionBasedHelperInstance, | ||
| } from './lib/helper'; | ||
| export { SafeString, escapeExpression, htmlSafe, isHTMLSafe } from './lib/utils/string'; | ||
| export { SafeString, htmlSafe, isHTMLSafe } from './lib/utils/string'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why escapeExpression was removed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
21f9465 to
b46fd5f
Compare
|
I've now rebased this PR, as I forgot about it 😅 |
|
Some test failures |
4aa0355 to
4821460
Compare
Development AssetsDiff --- main/out.txt 2025-05-26 18:18:28.000000000 +0000
+++ pr/./pr-15477160240/out.txt 2025-06-05 21:00:28.000000000 +0000
@@ -1,5 +1,5 @@
2.2M └─┬ .
-1015K ├─┬ @ember
+1014K ├─┬ @ember
205K │ ├─┬ -internals
69K │ │ ├─┬ views
64K │ │ │ └─┬ lib
@@ -17,7 +17,7 @@
9.4K │ │ ├── deprecations
7.4K │ │ ├── metal
7.0K │ │ ├── string
- 5.1K │ │ ├── glimmer
+ 5.0K │ │ ├── glimmer
4.9K │ │ ├── utils
4.9K │ │ ├── routing
4.5K │ │ ├── error-handling
@@ -63,7 +63,7 @@
4.2K │ ├── deprecated-features
4.1K │ ├── template-factory
4.1K │ └── version
- 709K ├── shared-chunks
+ 708K ├── shared-chunks
384K ├─┬ @glimmer
166K │ ├── runtime
60K │ ├── opcode-compilerDetails
|
Co-Authored-By: @chriskrycho
Rebase of: #20360
This also gets a mention here: emberjs/rfcs#1003 😅 (for migration docs)