@kalamazoo/analytics-namespaced-context
4.1.10
Patch Changes
- [patch]ae4f336a3a:
FABDODGEM-13 Editor Damask Release - Internal post
BREAKING CHANGES
- Media: Removed deprecated "context" property from media components in favor of "mediaClientConfig". This affects all public media UI components.
- Tasks & Decisions: Removed containerAri for task-decisions components.
- Renderer: Adapts to task-decision changes.
- Editor Mobile Bridge: Adapts to task-decision changes.
- Util Data Test: Adapts to task-decision changes.
Affected Editor Components:
tables, media, mobile, emoji, tasks & decisions, analytics
Editor
- Support nested actions in stage-0 schema; Change DOM representation of actions
- Updated i18n translations
- Improved analytics & crash reporting (via a new error boundary)
- Improvements to heading anchor links.
- Copy/Paste improvements
- Fixes for the selection state of Smart links.
- Improvements for table resizing & column creation.
Mobile
- GASv3 Analytics Events are now relayed from the web to the native context, ready for dispatching.
- Hybrid Renderer Recycler view now handles invalid ADF nodes gracefully.
Media
- Improved analytics
- Added shouldOpenMediaViewer property to renderer
- Implemented analytics for file copy
- New
media-viewedevent dispatched when media is interacted with via the media card or viewer. - Support for
alttext attribute on media image elements.
i18n-tools
Bumped dependencies.
4.1.9
Patch Changes
[patch]35d2229b2a:
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
4.1.8
Patch Changes
[patch]a2d0043716:
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
4.1.7
Patch Changes
[patch]097b696613:
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
4.1.6
Patch Changes
[patch]ecca4d1dbb:
Upgraded Typescript to 3.3.x
4.1.5
Patch Changes
[patch]926b43142b:
Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.
Breaking changes
withAnalyticsForSumTypePropsalias has been removed, please usewithAnalyticsEventsAnalyticsContextWrappedCompalias has been removed, please usewithAnalyticsContext
Breaking changes to TypeScript annotations
withAnalyticsEventsnow infers proptypes automatically, consumers no longer need to provide props as a generic type.withAnalyticsContextnow infers proptypes automatically, consumers no longer need to provide props as a generic type.- Type
WithAnalyticsEventPropshas been renamed toWithAnalyticsEventsPropsto match source code - Type
CreateUIAnalyticsEventSignaturehas been renamed toCreateUIAnalyticsEventto match source code - Type
UIAnalyticsEventHandlerSignaturehas been renamed toUIAnalyticsEventHandlerto match source code - Type
AnalyticsEventsPayloadhas been renamed toAnalyticsEventPayload - Type
ObjectTypehas been removed, please useRecord<string, any>or[key: string]: any - Type
UIAnalyticsEventInterfacehas been removed, please useUIAnalyticsEvent - Type
AnalyticsEventInterfacehas been removed, please useAnalyticsEvent - Type
CreateAndFireEventFunctionremoved and should now be inferred by TypeScript - Type
AnalyticsEventUpdaterremoved and should now be inferred by TypeScript
4.1.4
Patch Changes
[patch]9f8ab1084b:
Consume analytics-next ts type definitions as an ambient declaration.
4.1.3
Patch Changes
[patch]bbff8a7d87:
Fixes bug, missing version.json file
4.1.2
Patch Changes
[patch]18dfac7332:
In this PR, we are:
4.1.1
Patch Changes
[patch]d0db01b410:
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.
Before:
withAnalyticsEvents()(Button) as ComponentClass<Props>;After:
withAnalyticsEvents<Props>()(Button);
4.1.0
[minor]f53003a5ed:
- ED-6741 Add 'appearance' to all editor analytics events
4.0.0
[major]7c17b35107:
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.
3.0.3
[patch]0a4ccaafae:
- Bump tslib
3.0.2
[patch]3f28e6443c:
- @kalamazoo/analytics-next-types is deprecated. Now you can use types for @kalamazoo/analytics-next supplied from itself.
3.0.1
[patch]1bcaa1b991:
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
3.0.0
[major]9d5cc39394:
- Dropped ES5 distributables from the typescript packages
2.2.1
- Updated dependencies 76299208e6:
2.2.0
[minor]8c65a38bfc:
- enable noImplicitAny for elements analytics packages. Fix related issues.
2.1.5
- Updated dependencies 58b84fa:
2.1.4
- [patch] Analytics event's 'source' field from GasPayload type is now optional. In most cases, the 'source' field is expected to be set by the integrator through AnalyticsContext. Thus it's recommended that components do not set it to avoid overriding the one provided by the integrating product. Analytics listeners are handling the case where the 'source' field couldn't be found by setting the default value "unknown" before sending the event through the client. 1c0ea95
2.1.3
- [patch] fixed imports, docs and made GasPayload package attributes optional 6be5eed
- [patch] use createAndFire function from analytics-next 095f356
- [patch] Fixed TS errors and code improvements b290312
- [patch] enable analytics-next TDs on analytics-listeners and analytics-namespaced-context e65f377
2.1.2
- [patch] Updated dependencies 90ba6bd
2.1.1
- [patch] Updated dependencies dfa100e
2.1.0
- [minor] Add NavigationContext component that provides context to events fired on the navigation channel 89225ce
- [patch] Updated dependencies 808b55b
- [none] Updated dependencies 89225ce
2.0.3
2.0.2
- [patch] Updated dependencies acd86a1
2.0.1
- [patch] fixes problem with modules not being exported 80e90ed
2.0.0
- [major] Updates to React ^16.4.0 7edb866
- [major] Updated dependencies 563a7eb
- [major] Updated dependencies 7edb866
1.0.3
- [patch] Move the tests under src and club the tests under unit, integration and visual regression f1a9069
- [none] Updated dependencies f1a9069
1.0.2
[patch] Add missing dependencies to packages to get the website to build 9c32280
[none] Updated dependencies 99446e3
- [none] Updated dependencies 9bac948
1.0.1
- [patch] wrapper for analytics-next AnalyticsContext to add a namespace 91e5997