@tylertech/forge-ai 0.16.0-dev.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/MIGRATION.md CHANGED
@@ -156,7 +156,7 @@ User-facing strings that referred to a "chatbot" now use neutral wording, becaus
156
156
 
157
157
  `renderMarkdown` and `renderInlineMarkdown` (and the components that use them) now harden media handling.
158
158
 
159
- - Images from any origin other than the one serving forge-ai render as links instead of images. `data:image/*` and same-origin images still render inline.
159
+ - Images from any origin other than the one serving forge-ai render as links instead of images. `data:image/*` and images from the origin serving forge-ai's JavaScript still render inline. This is usually your page's origin, but if you load forge-ai from a CDN or embed it in a widget, it is that server's origin. Images from your page's origin then render as links, and relative image paths resolve against the serving origin instead of your page.
160
160
  - `<video>`/`<audio>` in rendered markdown render as links instead of players.
161
161
  - Inline `style` attributes are stripped, as are `srcset`, `poster` and `background` attributes.
162
162
  - `picture`, `source`, `track`, svg `image`/`feImage` and `mglyph` elements are removed.