@interopio/browser 4.5.0 → 5.0.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/browser.d.ts +349 -87
- package/changelog.md +28 -0
- package/dist/browser.es.js +16252 -11282
- package/dist/browser.es.js.map +1 -1
- package/package.json +16 -12
- package/dist/browser.umd.js +0 -20268
- package/dist/browser.umd.js.map +0 -1
- package/dist/browser.umd.min.js +0 -14
package/changelog.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
5.0.0
|
|
2
|
+
feat: G4E-8793 add support for io.Insights traces
|
|
3
|
+
feat: G4E-8793 let Browser apps publish custom and trace-derived io.Insights metrics
|
|
4
|
+
fix: apps restored from a Global Layout are now linked to their layout component, so saving the layout again updates each existing component (keeping its `instanceId` and saved settings) instead of replacing it with a new one
|
|
5
|
+
feat!: G4E-10982 restoring a Global Layout now invokes the onClosing handlers of the windows, iframes and frames to be closed. If any of them prevents, one dialog in the window that called the restore asks the user whether to close them anyway. The restore rejects without closing anything if the user declines, the dialog cannot be shown (modal windows aren't configured in the platform or dialogs aren't enabled in the app displaying it) or it was turned off with the new `showDialog: false` restore option. Restores initiated by apps using a version of `@interopio/browser` earlier than 5.0 keep the previous behavior. The new `allowPrevent: false` restore option forces the restore - the onClosing handlers are still invoked, but cannot prevent it. While the dialog of a restore waits for the user, any other restore that closes windows or frames is rejected, unless it is forced (allowPrevent: false) - a forced restore closes the dialog, which rejects the restore waiting for the user
|
|
6
|
+
feat: G4E-10376 add `showDialog` close option to `WebWindow.close()` for prompting the user to confirm or cancel when a window's close is prevented (requires `allowPrevent`)
|
|
7
|
+
feat: G4E-11240 Expose 'intent' in `FilterHandlersResult` returned from `io.intents.filterHandlers()` method
|
|
8
|
+
feat!: G4E-9221 changed the type of the `info` parameter of `channels.add()` from `ChannelDefinition` to `ChannelContext` to align with io.CD.
|
|
9
|
+
feat: G4E-11250 Add optional `handlers` property to `HandlerFilter` for `io.intents.filterHandlers()`, allowing the filter criteria to be applied over a specific set of Intent handlers instead of all discovered ones
|
|
10
|
+
feat: G4E-11122 add `closeHandlers` options to the app definitions
|
|
11
|
+
feat!: G4E-10525 add preventable window close via `onClosing` / `allowPrevent` and change the `close()` method return value from `Promise<WebWindow>` to `Promise<boolean>`
|
|
12
|
+
feat: G4E-11074 add support for publishing FDC3 metadata through the Channels API and retrieving it as `data.fdc3Metadata` with `get()`, `getMy()`, `getMyChannels()`, `subscribe()`, and `subscribeFor()`. Added the `isChannelsMetadataSupported` system method for backward compatibility.
|
|
13
|
+
feat!: G4E-10167 changed the type of `AppPreferences.lastUpdate` from `string` to `Date`
|
|
14
|
+
feat: G4E-10766 add per-click notification close option that takes precedence over the platform clearNotificationOnClick configuration
|
|
15
|
+
feat!: G4E-10960 remove deprecated 'workspacesSandbox' prop from AppManager.DefinitionDetails typings in favor of 'iframeSandbox'
|
|
16
|
+
feat!: G4E-11070 remove deprecated `addIntentListener()` method from the Intents API; Rename `AddIntentListenerRequest` type to `RegisterIntentRequest`
|
|
17
|
+
feat!: G4E-10761 make channels.onChannelsChanged() immediately replay all currently joined Channels when a window subscribes.
|
|
18
|
+
feat!: G4E-10760 make channels.onChanged() immediately replay the currently joined channel when a window subscribes.
|
|
19
|
+
feat: G4E-11069 Add Intents metadata support - extend `IntentRequest` and callback passed to `register` args with `metadata` field
|
|
20
|
+
fix!: G4E-11020 corrected the incorrectly declared type of the `channel` parameter in the `channels.onChanged` callback from `string` to `string | undefined` (no runtime behavior change, type-only change)
|
|
21
|
+
fix!: G4E-11021 corrected the incorrectly declared type of the `channel` parameter in the `channels.changed` callback from `string` to `string | undefined` (no runtime behavior change, type-only change)
|
|
22
|
+
fix!: G4E-11055 corrected the incorrectly declared return types of `channels.my()` and `channels.current()` from `string` to `string | undefined` (no runtime behavior change, type-only change)
|
|
23
|
+
fix!: G4E-8926 corrected the incorrectly declared return type of `interop.unregister()` from `void` to `Promise<void>` (no runtime behavior change, type-only change)
|
|
24
|
+
fix: G4E-11071 Corrected the check for `appHello` operation support in the Channels controller
|
|
25
|
+
fix: G4E-11032 discover interop methods as intents only when they have both the `Tick42.FDC3.Intents.` prefix and the `flags.intent` metadata
|
|
26
|
+
chore!: G4E-11488 ship the package as an ES module only - removed the UMD bundles (`browser.umd.js`, `browser.umd.min.js`), added `"type": "module"` and an `exports` map that exposes only the package root and `package.json`
|
|
27
|
+
4.6.0
|
|
28
|
+
feat: G4E-11120 add `isChannelsMetadataSupported` system method to check if Channels API supports `metadata`.
|
|
1
29
|
4.5.0
|
|
2
30
|
feat: G4E-10515 add support for iframes-api
|
|
3
31
|
feat: G4E-10030 Add a layouts API method that returns lists of applications, workspaces and workspace windows
|