68.0.0
Major Changes
-
#117363
10a0f7f6c2027
-
This package's peerDependencies
have been adjusted for react
and/or react-dom
to reflect the
status of only supporting React 18 going forward. No explicit breaking change to React support has
been made in this release, but this is to signify going forward, breaking changes for React 16 or
React 17 may come via non-major semver releases.
Please refer this community post for more details:
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
Patch Changes
67.1.0
Minor Changes
Patch Changes
67.0.0
Major Changes
-
#157917
3a51e350e14ce
-
[ux] Property onUploadRejection
now also catches rejected empty files (zero byte).
You must ensure that the user gets the right feedback if your onUploadRejection
callback
overrides the default Error Flag (i.e. returns true).
The new callback parameter is of the type:
type UploadRejectionData = FileSizeLimitExceededData | FileEmptyData
Where:
type FileSizeLimitExceededData = {
reason: 'fileSizeLimitExceeded';
fileName: string;
limit: number;
}
type FileEmptyData = {
reason: 'fileEmpty';
fileName: string;
}
66.6.0
Minor Changes
Patch Changes
66.4.1
Patch Changes
- #88717
d92770eae702
-
Adding internal eslint opt outs for a new rule
@atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop
.
66.3.0
Minor Changes
- #70414
2125e318f970
-
Adding the option to use SHA256 for file uploads to ensure Media is FedRAMP compliant. If not
specified the system will default to SHA1 to preserve backwards compatibiilty.
Patch Changes
66.2.7
Patch Changes
- #41659
a0c97a19dba
- Remove
unused utils and depreciated exports in mediaClient.
- Updated dependencies
66.2.4
Patch Changes
- #40009
dcef48fcb56
-
Dependency for @types/enzyme set as static as the following patch version contains a breaking
change
66.2.2
Patch Changes
- #38532
7b6a2c6671b
-
Introducing 'media-state' for handling media internal file state. Introducing 'media-client-react'
to provide hooks for seamless media-client integration with React. Introducing 'MediaCardV2' with
a feature flag to replace rxjs based fileState subscription with 'useFileState' hook. Removed
unused feature flags APIs from 'media-client' and its helper functions from 'media-common'.
- Updated dependencies
66.2.1
Patch Changes
- #39255
ede6ee7aaab
- Updated
tests, examples and moving towards /test-helper export in packages to prevent circular
dependancies
- Updated dependencies
66.2.0
Minor Changes
-
#39007
b06cd74349c
- # Media
Picker
Make Clipboard secured by adding container
and onPaste()
to config
prop
. These two params
address customer dissatisfaction when attachments are pasted duplicated, or to unwanted Jira
issues (https://product-fabric.atlassian.net/browse/MEX-2454).
Note for migration: The added container
parameter sets a boundary for copy-paste zone. This is
to filter out noise from existing practice that is problematic. To ensure the effectiveness of
this fix, please avoid using global document
as container
in best effort; please avoid
overlapped boundary in best effort.
When container
is not added, the behaviour falls back to legacy mechanism.
Media Common
Add feature toggle (securedClipboard
in MediaFeatureFlags
) to control the rollout of Secured
Clipboard (https://product-fabric.atlassian.net/browse/MEX-2454).
Editor Core
Add support of the Secured Clipboard (https://product-fabric.atlassian.net/browse/MEX-2454).
Use feature flag securedClipboard
to protect such change.
Patch Changes
66.1.0
Minor Changes
- #35735
8c7beee89c0
- Multiple
simultaneous uploads above 255 files are batched due to backend restrictions
Patch Changes
66.0.4
Patch Changes
- #35057
1add49b7bf7
- Updated
the babel config file extension to .cts to enable Parcel to support ts/tsx file extensions by
default through parcel.
66.0.3
Patch Changes
- #33728
48e4a655534
- Internal
change to enforce token usage for spacing properties. There is no expected visual or behaviour
change.
66.0.0
Major Changes
- #34814
a7281dbb78f
- Moved
onFileRejection prop to Upload params and added file-size-limit API changes to /upload endpoint
65.1.3
Patch Changes
- #34192
cc299ebb3b4
- Added
unhandled file statuses to the upload event emitter
9425ed86eb7
- File
size limit is now verified in the backend, no longer the frontend
e725edbb0d9
- Removed
fetchFileStateAfterUpload Feature Flag integration
- Updated dependencies
65.1.1
Patch Changes
- #33793
9d00501a414
- Ensure
legacy types are published for TS 4.5-4.8
- Updated dependencies
65.1.0
Minor Changes
- #33771
4a6a812a4d2
- [ux] Add
a user friendly error message when uploading a file that is over the file size limit
Patch Changes
1bd483e036d
- fix
missing fallback IntlProvider for UploadRejectionFlagGroup
- Updated dependencies
65.0.0
Minor Changes
Patch Changes
64.4.0
Minor Changes
Patch Changes
64.3.1
Patch Changes
- #32424
2e01c9c74b5
- DUMMY
remove before merging to master; dupe adf-schema via adf-utils
- Updated dependencies
64.2.4
Patch Changes
- #31299
b37723f2cfa
- The
component now logs the full provided feature flags object
- Updated dependencies
64.2.3
Patch Changes
- #31582
0e2981295ce
- Media
Picker passes feature flags object through Media Client upload method, overriding internal Media
Client flags
- Updated dependencies
64.2.0
Minor Changes
- #28932
2b3859896cc
- Added
new Feature Flag to control internal Media Client behaviour
Patch Changes
64.1.0
Minor Changes
- #28090
3d40d5e9b37
- Add
traceId for media picker when uploading file(s)
9ba2183f9e6
- Updated
Media-Picker documentation with new tab structure and simpler usage example
0bccac57db6
- remove
mediaUploadApiV2 Feature flag
Patch Changes
63.0.5
Patch Changes
- #24004
45b6d35ea96
-
[ME-1327] Added new upload methods to editor mobile bridge to support previews and progress for
media cards.
63.0.3
Patch Changes
- #23381
a332288b5ea
- Added
analytics for media-card memoryCacheLogging and added relevant featureFlag keys for media-common
package.
- Updated dependencies
63.0.2
Patch Changes
- #22642
e3d4c39b20c
- Remove
version.json file. Use injected package name and version from environment variable instead.
- Updated dependencies
63.0.0
Major Changes
Minor Changes
Patch Changes
c0f85687ea0
- Enabled
UFO logger for all examples for Media-Picker
c2ede50a80a
- Add
media region and environment returned from media API response into failed analytic events.
19899f3e100
- Make
emotion as dev dependency instead peer dependency
- Updated dependencies
62.0.0
Major Changes
Minor Changes
fe7a1aaddd6
- Attach
media environment to Media Picker UFO events
7dad7e0c299
-
[MEX-1413] Removed user auth from media-picker
Patch Changes
a5d25a077bc
- removed
duplicated module from Confluence's node_modules introduced with our components
e368c622418
- Updated
component names in UFO experiences
- Updated dependencies
61.0.0
Major Changes
- #20033
8f86bfe1961
-
[MEX-1389] Remove types & interfaces related to media-picker popup
675613ff0f4
-
[MEX-1390] Remove Media-picker popup as an export and remove useMediaPickerPopup flag
Minor Changes
eaf810b0560
-
[MEX-1398] Remove PopUp implementation from Media-picker
Patch Changes
a44c7c42fa7
- Added
payload publisher wrapper for logging ufo events in examples
065ae19cb44
- Enforced
"up to date" logged feature flags via type checks
- Updated dependencies
60.0.0
Minor Changes
-
#19618
acb60e0107d
-
Replicate Media Picker Reliability Events using UFO client library
-
fdc41ee7a0b
- Stop
exposing observableToPromise from media client API. mediaSubscribableToPromise is used internally.
-
f862d5ae7aa
- remove
RxJs peer dependency
-
118f3af101f
- Media
Client APIs has been updated to use MediaSubscribable which provides subscription functionality
(similar to RxJs observables). It exposes subscribe method that is called with MediaObserver as an
argument and returns MediaSubscription. MediaSubscription exposes unsubscribe method.
getFileState: The returned type of this function has changed from RxJs ReplaySubject to
MediaSubscribable.
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
const mediaClient = new MediaClient({ authProvider });
const fileStateSubscribable: MediaSubscribable<FileState> = mediaClient.file.getFileState(id);
const mediaObserver: MediaObserver<FileState> = {
next: (fileState) => {
nextCallback(fileState)
},
error: (error) => {
errorCallback(error)
},
};
const subscription: MediaSubscription = fileStateSubscribable.subscribe(mediaObserver);
subscription.unsubscribe();
upload: The returned type of this function has changed from RxJs ReplaySubject to
MediaSubscribable.
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
const mediaClient = new MediaClient({ authProvider });
const uploadFileSubscribable: MediaSubscribable<FileState> = mediaClient.file.upload(uploadableFile);
const mediaObserver: MediaObserver<FileState> = {
next: (fileState) => {
nextCallback(fileState)
},
error: (error) => {
errorCallback(error)
},
};
const subscription: MediaSubscription = uploadFileSubscribable.subscribe(mediaObserver);
subscription.unsubscribe();
getItems: The returned type of this function has changed from RxJs ReplaySubject to
MediaSubscribable.
import { MediaClient, MediaObserver, MediaSubscribable, MediaSubscription } from '@atlaskit/media-client';
const mediaClient = new MediaClient({ authProvider });
const collectionItemsSubscribable: MediaSubscribable<MediaCollectionItem[]> = mediaClient.collection.getItems(collectionName);
const mediaObserver: MediaObserver<MediaCollectionItem[]> = {
next: (items) => {
nextCallback(items)
},
error: (error) => {
errorCallback(error)
},
};
const subscription: MediaSubscription = collectionItemsSubscribable.subscribe(mediaObserver);
subscription.unsubscribe();
-
0573f4c51b9
-
[MEX-1388] Remove MediaPicker PopUp code from bundle
Patch Changes
59.1.0
Minor Changes
- #19019
8742dbe70bd
- MEX-1102
Removed lodash dependencies from media component and converted all to local functions (lightweight
helpers)
Patch Changes
b0e810b8a41
- Disable
clipboard paste event handler for input element.
- Updated dependencies
59.0.3
Patch Changes
- #18526
6d50e8c688e
- Flexible
UI: Add priority badge element
ef080793757
- stop
caching observable in UploadServiceImpl
- Updated dependencies
59.0.2
Patch Changes
- #16752
19d72473dfb
- Removed
Usage of "api-private." URL in Media Picker extensibility component
- Updated dependencies
59.0.0
Major Changes
-
#14810
47f58da5946
-
ED-13322, ED-13324, ED-13326, ED-13323, ED-13204: Upgrade and support react-intl@^5.18.1 including
breaking API changes, types and tests in atlassian-frontend packages
What changed: Upgraded our react-intl support from ^2.6.0 to ^5.18.1. This means editor packages
now rely on consumers installing ^5.18.1, otherwise editor usage of react-intl will mismatch with
actual installed react-intl APIs. Why change was made: As part of a coordinated upgrade effort
across AF packages, as react-intl v2 is quite dated. How consumer should update their code: Ensure
react-intl ^5.18.1 is installed in consuming applications.
Upgrade guide: To consume atlassian-frontend packages that use react-intl5 setup a second provider
for the new version, using an npm alias
"react-intl": "^2.6.0",
"react-intl-next": "npm:react-intl@^5.18.1",
import { IntlProvider } from 'react-intl';
import { IntlProvider as IntlNextProvider } from 'react-intl-next';
return (
<IntlProvider
key={locale}
data-test-language={locale}
locale={locale}
defaultLocale={DEFAULT_LOCALE}
messages={messages}
>
<IntlNextProvider
key={locale}
data-test-language={locale}
locale={locale}
defaultLocale={DEFAULT_LOCALE}
messages={messages}
>
{children}
</IntlNextProvider>
</IntlProvider>
);
Patch Changes
58.1.3
Patch Changes
- #15998
89aa3e3f314
- Update
dependency of dropdown menu to the lite mode version. Update all usages to cater to the new API.
The padding within dropdown menu items is 8px more, which makes the menu look bigger.
- Updated dependencies
58.1.0
Minor Changes
- #13864
5e6fa1c70a5
- fix unit
tests for modal dialog
9c0241362a6
- [ux]
Upgrade to the latest version of @atlaskit/modal-dialog. This change includes shifting the primary
button in the footer of the modal to be on the right instead of the left.
Patch Changes
57.5.0
Minor Changes
- #11113
f7ff2c84451
- bump
json-ld-types from 2.2.2 to ^2.3.0"
2fd50f55028
- Updating
documentation to inform users that soon picker popup will no longer be available and also getting
rid of picker popup references in examples and all the associated dependencies
f7f652aaefb
- [ux]
Removing sidebar items (googledrive/dropbox/giphy) from popup as popup is being deprecated
Patch Changes
3cd9ee2d15b
- Added
RxJS compatiblity notice in Media docs
fc415b7d346
- Removing
deprecated documentation about mediapicker popup (authProvider)
faaf4d29687
- Fixed
Media Picker's Browser component not refreshing upload collection on props change
- Updated dependencies
57.4.0
Minor Changes
Patch Changes
e1a0b97f790
- Exported
missing types for Media Picker
- Updated dependencies
57.3.4
Patch Changes
- #10230
277ed9667b2
- Fixed
media bundle names following atlassian-frontend linting rules
- Updated dependencies
57.3.2
Patch Changes
- #9510
abc38bc9990
- Added
request metadata to failed frontend SLIs
- Updated dependencies
57.3.1
Patch Changes
- #9083
d6b31d9713d
- Fixed
uncaught exceptions when uploading MP4/HEVC
- Updated dependencies
57.3.0
Minor Changes
- #8644
0476f13a5ef
-
Refactored media-picker analytics according to SLO streams standards
Patch Changes
7a0612cfe72
- Added
filter for FF returned in some Media Picker GASv3 events payloads
9b356d9ff91
-
Refactored Media Picker failReasons to reflect actual operation, logging caught error in "error"
attribute
e62066560fb
- Removed
fileSource attributes from operational SLIs
- Updated dependencies
57.2.0
Minor Changes
- #7762
52013ecdd24
- Add an
ability to create Browser component with children using render props pattern to avoid passing
state around in parent components.
Patch Changes
57.1.2
Patch Changes
- #7170
7c44d1e585
- Fixed
cards with non web-friendly MP4/MOV videos not mounting
- Updated dependencies
57.1.0
Minor Changes
Patch Changes
57.0.1
Patch Changes
- #5857
d3265f19be
- Transpile
packages using babel rather than tsc
- Updated dependencies
57.0.0
Patch Changes
- #5860
d152b2062a
- Changing
ineffective usage of data-testid on internal uploadButton to testId
- Updated dependencies
56.0.4
Patch Changes
- #5516
52b1353be9
- BMT-611
Added integration test for Giphy cloud files
3f0dd38c9d
- BMPT-626
Fixed fetching remote preview for non-supported documents in classic Media Card experience
bf98a47a0f
- Enhance
polling strategy to limit to finite attempts with timing backoff
- Updated dependencies
56.0.3
Patch Changes
- #5497
5f58283e1f
- Export
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
versions here: https://atlaskit.atlassian.com/get-started Also add typescript
to
devDependencies
to denote version that the package was built with.
- Updated dependencies
56.0.1
Patch Changes
- #5164
2ac834240e
- Undo
analytics-next file restructure to allow external ts definitions to continue working
56.0.0
Minor Changes
- #4749
df3bf7f77f
- Added
support for uploading files from MediaPicker. Additionally, added support for browser detection.
96ab8c45fc
- Changing
the text in the picker in the UI so that users now know they can drag&drop folders
7d831363d9
- Migrated
to declarative entry points
b3e730ddde
- When a
folder is uploaded, we are now tracking this and firing analytics for this event
Patch Changes
55.1.2
Patch Changes
- #4769
8687140735
- [ux] Fix
for file processing blocking pages and tickets from saving.
- Updated dependencies
55.1.0
Minor Changes
Patch Changes
1434c4e094
- Fixed
cloud files rendering when publishing page in CF
506fb78f08
- Bug-fix:
emit upload-error on errors thrown in importFiles middleware
- Updated dependencies
55.0.4
Patch Changes
-
#3885
6c525a8229
- Upgraded
to TypeScript 3.9.6 and tslib to 2.0.0
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
upgrade to prevent duplicates of tslib being bundled.
55.0.2
Patch Changes
- #3823
6262f382de
- Use the
'lodash' package instead of single-function 'lodash.*' packages
fa6fb5dfbb
- Removing
unused code to be published
caf46c7c45
- Improved
remote preview functionality for media-card redesign. Breaking change: renamed type of argument
"SourceFile" to "CopySourceFile" in the method "copyFile" of media-client.
9dd7f8aa2e
- Fixed
media-picker not sending upload-end with Giphy images
b8695823e3
- Fixed
Giphy images display as plain text when inserted into Editor
87459b57ba
- Fixed
insertion failure of processing file from recent files into Editor
- Updated dependencies
55.0.0
Major Changes
- #3335
87f4720f27
- Officially
dropping IE11 support, from this version onwards there are no warranties of the package working in
IE11. For more information see:
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
Patch Changes
54.2.3
Patch Changes
- #2763
dfd656e4ec
- MPT-503:
fixed dragndrop of non-natively supported files in editor
- Updated dependencies
54.2.2
Patch Changes
- #2979
81c6a2fcb2
- Fixed
potential exception when synchronously accessing uninitialized RxJS subscription.
54.2.0
Minor Changes
Patch Changes
51aa5587ef
- bump
media-client: Remove stack traces from media analytic events
996e045cc4
- EDM-776:
add platform prop to @atlaskit/smart-card for rendering fallback on mobile (embed -> block)
b6e45d27f0
- EDM-679:
fixed 403 occurring when uploading a TIFF/HEIC image into media-picker
- Updated dependencies
54.1.4
Patch Changes
- #2137
a2ffde361d
- MPT-131:
fetch remote preview for files not supported by the browser
54d82b49f0
- Remove
unused dependencies
fce18ac290
- adding
createdAt
field for analytics upload event when user inserts a file'
2d2012a993
- Adding
mediaRegion
payload into analytics events payload
98f462e2aa
- Bumping
use the latest version of @atlaskit/spinner
- Updated dependencies
54.1.1
Patch Changes
-
[patch]9b295386e7:
Moved location of file-added
event to fire only after an upload has succeeded- Updated
dependencies 3b776be426:
-
Updated dependencies
bf7a09790f:
-
Updated dependencies
4d8d550d69:
-
Updated dependencies
9e4b195732:
-
Updated dependencies
dc3bade5f1:
-
Updated dependencies
6b8e60827e:
-
Updated dependencies
449ef134b3:
-
Updated dependencies
acc12dba75:
-
Updated dependencies
9a534d6a74:
-
Updated dependencies
57c0487a02:
-
Updated dependencies
68ff159118:
-
Updated dependencies
1b3a41f3ea:
-
Updated dependencies
6efb12e06d:
-
Updated dependencies
fd41d77c29:
-
Updated dependencies
7a2540821c:
- @atlaskit/media-ui@12.2.0
- @atlaskit/flag@12.3.11
- @atlaskit/media-card@67.2.1
- @atlaskit/toggle@8.1.7
- @atlaskit/button@13.3.11
- @atlaskit/icon@20.1.1
- @atlaskit/select@11.0.10
- @atlaskit/modal-dialog@10.5.7
- @atlaskit/checkbox@10.1.11
- @atlaskit/webdriver-runner@0.3.4
- @atlaskit/dropdown-menu@9.0.3
54.1.0
Minor Changes
-
[minor]fb2b3c8a3b:
Use Forge plugins for cloud providers in MediaPicker when useForgePlugins=true.
When integrators initialize MediaPicker and pass useForgePlugins: true, MediaPicker will fetch
the cloud providers coming from Forge instead of using the built-in ones (Google, Dropbox, Giphy)
Patch Changes
54.0.0
Minor Changes
-
[minor]81684c1847:
Expose MediaPicker plugin system
Allow integrators to pass plugins to MediaPicker, which will appear on the MediaPicker Sidebar and
their content will be rendered as part of MediaPicker
import {MediaPicker, MediaPickerPlugin, PluginItemPayload} from '@atlaskit/media-picker'
interface MyPluginMetadata {
customPluginProperty: string;
}
class PluginView extends React.Component {
}
const customPlugin: MediaPickerPlugin = {
name: 'my plugin',
icon: <div>Some Icon</div>,
render: (actions, selectedItems) => (
<PluginView actions={actions} selectedItems={selectedItems} />
),
};
const popup = MediaPicker(mediaClientConfig, {
plugins: [customPlugin],
});
popup.on('plugin-items-inserted', (items: PluginItemPayload[]) => {
items.map(item => {
const { pluginName } = item;
if (pluginName === 'my plugin') {
const metadata = item.pluginFile.metadata as MyPluginMetadata;
return {
src: metadata.customPluginProperty,
};
}
});
});
```- [minor] [13a0e50f38](https://bitbucket.org/atlassian/atlassian-frontend/commits/13a0e50f38):
# Expose useForgePlugins in media props
You can pass `useForgePlugins: true` to make MediaPicker use the Forge plugins instead of the built-in ones.
MediaPicker example:
```typescript
import { MediaPicker } from '@atlaskit/media-picker';
const picker = MediaPicker(config, {
useForgePlugins: true,
});
Editor example:
import { Editor } from '@atlaskit/editor-core';
<Editor
media={{
useForgePlugins: true,
}}
/>;
```- [minor] [6dcad31e41](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dcad31e41):
- Added Stargate integration to MediaPicker popup.
- Added `useMediaPickerPopup` option to Editor which enables using MediaPicker popup even when userAuthProvider is not provided.
### Using Stargate Integration
Stargate integration is enabled by default as long as an `userAuthProvider` is not provided to `MediaClient`.
By default it uses the current domain as base URL. If you need to use a different base URL you can provide a `stargateBaseUrl` configuration:
import { MediaClient } from '@atlaskit/media-client'; const mediaClient = new MediaClient({
authProvider, stargateBaseUrl: 'http://stargate-url' });
_Note_: Editor default behaviour is falling back to native file upload when `userAuthProvider` is not provided.
In order to avoid that, and being able to use Stargate, you need to set Media option `useMediaPickerPopup` to true.
Patch Changes
- Updated dependencies
eb962d2c36:
- Updated dependencies
ac70ced922:
- Updated dependencies
9d2da865dd:
- Updated dependencies
4d3749c9e6:
- Updated dependencies
dae900bf82:
- Updated dependencies
f83b67a761:
- Updated dependencies
70b68943d1:
- Updated dependencies
9a93eff8e6:
- Updated dependencies
d49ebd7c7a:
- Updated dependencies
6dcad31e41:
- Updated dependencies
8c9e4f1ec6:
- Updated dependencies
4955ff3d36:
- Updated dependencies
3cbc8a49a2:
- @atlaskit/media-client@6.0.0
- @atlaskit/media-viewer@44.3.0
- @atlaskit/media-card@67.1.1
- @atlaskit/modal-dialog@10.5.5
- @atlaskit/build-utils@2.6.4
- @atlaskit/media-ui@12.0.1
- @atlaskit/media-test-helpers@27.1.0
- @atlaskit/media-core@31.1.0
- @atlaskit/docs@8.5.0
- @atlaskit/media-integration-test-helpers@1.1.1
- @atlaskit/media-editor@37.0.9
53.0.0
Major Changes
Minor Changes
Patch Changes
-
[patch]dda84ee26d:
The Mediapicker did not give feedback before when there was a network error (Dropbox/Googledrive)
but now it gives an error message for cloud fetching-
[patch]fe9d471b88:
fix wrong Button import in MediaPicker-
[patch]d7ed7b1513:
Remove export * from media components-
[patch]832fd6f4f7:
Remove proxy from media-picker. Internal implementation detail change- Updated dependencies
b408e050ab:
-
Updated dependencies
66dcced7a0:
-
Updated dependencies
dda84ee26d:
-
Updated dependencies
fd5292fd5a:
-
Updated dependencies
196500df34:
-
Updated dependencies
64fb94fb1e:
-
Updated dependencies
77474b6821:
-
Updated dependencies
be57ca3829:
-
Updated dependencies
d7ed7b1513:
-
Updated dependencies
41a2496393:
-
Updated dependencies
39ee28797d:
-
Updated dependencies
4dbce7330c:
-
Updated dependencies
fd5292fd5a:
-
Updated dependencies
bbf5eb8824:
-
Updated dependencies
eea5e9bd8c:
-
Updated dependencies
695e1c1c31:
-
Updated dependencies
6b06a7baa9:
-
Updated dependencies
fd5292fd5a:
-
Updated dependencies
109c1a2c0a:
-
Updated dependencies
c57bb32f6d:
-
Updated dependencies
8b34c7371d:
-
Updated dependencies
ef105eb49f:
- @atlaskit/media-client@5.0.2
- @atlaskit/docs@8.4.0
- @atlaskit/media-ui@12.0.0
- @atlaskit/icon@20.1.0
- @atlaskit/media-test-helpers@27.0.0
- @atlaskit/webdriver-runner@0.3.0
- @atlaskit/media-card@67.1.0
- @atlaskit/media-viewer@44.2.0
- @atlaskit/media-integration-test-helpers@1.1.0
- @atlaskit/media-editor@37.0.8
- @atlaskit/media-core@31.0.5
- @atlaskit/button@13.3.9
- @atlaskit/dropdown-menu@9.0.2
- @atlaskit/flag@12.3.10
- @atlaskit/modal-dialog@10.5.4
- @atlaskit/select@11.0.9
- @atlaskit/spinner@12.1.6
- @atlaskit/textfield@3.1.9
- @atlaskit/toggle@8.1.6
52.0.4
Patch Changes
- Updated dependencies
e3f01787dd:
- @atlaskit/webdriver-runner@0.2.0
- @atlaskit/button@13.3.8
- @atlaskit/dropdown-menu@9.0.1
- @atlaskit/flag@12.3.9
- @atlaskit/modal-dialog@10.5.3
- @atlaskit/select@11.0.8
- @atlaskit/spinner@12.1.5
- @atlaskit/textfield@3.1.8
- @atlaskit/toggle@8.1.5
- @atlaskit/media-card@67.0.5
- @atlaskit/media-viewer@44.1.5
52.0.3
Patch Changes
- Updated dependencies
8c7f68d911:
- Updated dependencies
f709e92247:
- Updated dependencies
0e562f2a4a:
- Updated dependencies
9e87af4685:
- Updated dependencies
5ecbbaadb3:
- Updated dependencies
eeaa647c31:
- Updated dependencies
0603860c07:
- Updated dependencies
91a1eb05db:
- Updated dependencies
c1992227dc:
- @atlaskit/media-ui@11.9.0
- @atlaskit/dropdown-menu@9.0.0
- @atlaskit/flag@12.3.8
- @atlaskit/media-card@67.0.4
- @atlaskit/icon@20.0.2
- @atlaskit/textfield@3.1.7
- @atlaskit/analytics-listeners@6.2.4
- @atlaskit/media-test-helpers@26.1.2
52.0.1
Patch Changes
-
[patch]16b4549bdd:
Fix layout issue for user with specific scrollbar OS settings-
[patch]28edbccc0a:
Fix layout issue for particular Mac OS scrollbar setting- Updated dependencies
fe4eaf06fc:
-
Updated dependencies
c0102a3ea2:
-
Updated dependencies
555818c33a:
- @atlaskit/media-test-helpers@26.1.0
- @atlaskit/icon@20.0.0
- @atlaskit/media-ui@11.8.2
- @atlaskit/dropdown-menu@8.2.3
- @atlaskit/flag@12.3.6
- @atlaskit/modal-dialog@10.5.1
- @atlaskit/media-card@67.0.2
- @atlaskit/media-editor@37.0.6
- @atlaskit/media-viewer@44.1.3
- @atlaskit/docs@8.3.1
- @atlaskit/button@13.3.6
- @atlaskit/select@11.0.6
- @atlaskit/textfield@3.1.5
52.0.0
Major Changes
-
[major]4794f8d527:
Removed the following from the Media Picker public API:
1.upload-status-update
2.onStatusUpdate
3.UploadStatusUpdateEventPayload
4.MediaProgress
This functionality is now achieved through getFileState()
:
import {getMediaClient} from '@atlaskit/media-client'
const mediaClient = getMediaClient({
mediaClientConfig: {
authProvider: () => Promise.resolve()
}
})
mediaClient.file.getFileState('file-id', {
next(state) {
console.log(state)
}
})
Patch Changes
-
[patch]6ee177aeb4:
Stream caches in media-client now use ReplaySubjects instead of Observables. For the most part,
this is just the interface that's being updated, as under the hood ReplaySubject was already
getting used. ReplaySubjects better suit our use case because they track 1 version of history of
the file state. As a consumer, there shouldn't be any necessary code changes. ReplaySubjects
extend Observable, so the current usage should continue to work.- Updated dependencies
5504a7da8c:
-
Updated dependencies
966622bd45:
-
Updated dependencies
723c67cab5:
-
Updated dependencies
d2b8166208:
-
Updated dependencies
6ee177aeb4:
- @atlaskit/media-card@67.0.1
- @atlaskit/media-test-helpers@26.0.0
- @atlaskit/media-viewer@44.1.2
- @atlaskit/docs@8.3.0
- @atlaskit/media-client@5.0.0
- @atlaskit/media-core@31.0.3
- @atlaskit/media-editor@37.0.5
- @atlaskit/media-ui@11.8.1
51.0.0
Major Changes
Patch Changes
-
[patch]d60a382185:
(MS-2865) Fix race condition which caused upload-preview-update event to be sent twice, when it
was only meant to be sent once.-
[patch]8d2685f45c:
Media picker inserted file cards are now displayed with an error state when copy with token
requests fails-
[patch]eb50389200:
Replaces usages of the deprecated field-text component with textfield- Updated dependencies
8c7f8fcf92:
-
Updated dependencies
6e55ab88df:
-
Updated dependencies
a47d750b5d:
- @atlaskit/media-client@4.3.0
- @atlaskit/select@11.0.5
- @atlaskit/media-test-helpers@25.2.7
50.0.5
Patch Changes
- Updated dependencies
28f8f0e089:
- Updated dependencies
6dccb16bfc:
- Updated dependencies
82747f2922:
- Updated dependencies
486a5aec29:
- Updated dependencies
03c917044e:
- Updated dependencies
d3f4c97f6a:
- Updated dependencies
149560f012:
- Updated dependencies
4a223473c5:
- @atlaskit/icon@19.1.0
- @atlaskit/toggle@8.1.3
- @atlaskit/theme@9.5.0
- @atlaskit/media-card@67.0.0
- @atlaskit/media-ui@11.8.0
- @atlaskit/button@13.3.5
- @atlaskit/flag@12.3.5
- @atlaskit/select@11.0.4
- @atlaskit/spinner@12.1.3
- @atlaskit/media-client@4.2.2
- @atlaskit/media-core@31.0.2
- @atlaskit/media-editor@37.0.4
- @atlaskit/media-test-helpers@25.2.6
- @atlaskit/media-viewer@44.1.1
- @atlaskit/dropdown-menu@8.2.2
50.0.3
Patch Changes
-
[patch]24865cfaff:
Browser should cleanup its value after close to allow picking the same file twice-
[patch]24865cfaff:
use safeUnsubscribe to safely unsubscribe from RXJS Subscriptions- Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
-
Updated dependencies
24865cfaff:
- @atlaskit/media-viewer@44.1.0
- @atlaskit/analytics-next@6.3.3
- @atlaskit/media-client@4.2.0
- @atlaskit/select@11.0.3
- @atlaskit/field-text@9.0.14
- @atlaskit/modal-dialog@10.5.0
- @atlaskit/media-card@66.1.2
- @atlaskit/media-ui@11.7.2
50.0.2
Patch Changes
-
[patch]4427e6c8cf:
bumping perf-marks to 1.5.0
-
[patch]df2280531d:
MS-2723 Adds source type into analytic event
-
[patch]7540cdff80:
fixing types for cloud analytics success and failure events
-
Updated dependencies
2e711adfa9:
-
Updated dependencies
c1d4898af5:
-
Updated dependencies
579779f5aa:
-
Updated dependencies
3c0f6feee5:
-
Updated dependencies
1b8e3a1412:
-
Updated dependencies
f9c291923c:
- @atlaskit/media-viewer@44.0.3
- @atlaskit/icon@19.0.11
- @atlaskit/media-client@4.1.1
- @atlaskit/theme@9.3.0
- @atlaskit/media-editor@37.0.3
49.0.0
Patch Changes
-
[patch]46718eff4c:
All components emit upload analytics events now, not only popup-
[patch]e5945305be:
adding user timing api to get operations spent time
-
Updated dependencies
24b8ea2667:
- @atlaskit/media-client@4.0.0
- @atlaskit/media-test-helpers@25.2.2
- @atlaskit/media-viewer@44.0.1
- @atlaskit/media-card@66.0.1
- @atlaskit/media-editor@37.0.1
- @atlaskit/media-core@31.0.0
Breaking change
remove deprecated "context" property from media components in favor of "mediaClientConfig"
This affects all public media UI components:
- Card
- Filmstrip
- SmartMediaEditor
- MediaImage
- Dropzone
- Clipboard
- Browser
- MediaPicker
- MediaViewer
Before:
import {ContextFactory} from '@atlaskit/media-core';
import {Card} from '@atlaskit/media-card'
import {SmartMediaEditor} from '@atlaskit/media-editor'
import {Filmstrip} from '@atlaskit/media-filmstrip'
import {MediaImage} from '@atlaskit/media-image'
import {MediaViewer} from '@atlaskit/media-viewer'
import {Dropzone, Clipboard, Browser, MediaPicker} from '@atlaskit/media-picker';
const context = ContextFactory.creat({
authProvider: () => Promise.resolve({})
})
const mediaPicker = MediaPicker(context);
<Card context={context}>
<SmartMediaEditor context={context}>
<Filmstrip context={context}>
<MediaImage context={context}>
<Dropzone context={context}>
<Clipboard context={context}>
<Browser context={context}>
<MediaViewer context={context}>
Now:
import {MediaClientConfig} from '@atlaskit/media-core';
import {Card} from '@atlaskit/media-card'
import {SmartMediaEditor} from '@atlaskit/media-editor'
import {Filmstrip} from '@atlaskit/media-filmstrip'
import {MediaImage} from '@atlaskit/media-image'
import {MediaViewer} from '@atlaskit/media-viewer'
import {Dropzone, Clipboard, Browser, MediaPicker} from '@atlaskit/media-picker';
const mediaClientConfig: MediaClientConfig = { authProvider: () => Promise.resolve({}) }
const mediaPicker = MediaPicker(mediaClientConfig);
<Card mediaClientConfig={mediaClientConfig}>
<SmartMediaEditor mediaClientConfig={mediaClientConfig}>
<Filmstrip mediaClientConfig={mediaClientConfig}>
<MediaImage mediaClientConfig={mediaClientConfig}>
<Dropzone mediaClientConfig={mediaClientConfig}>
<Clipboard mediaClientConfig={mediaClientConfig}>
<Browser mediaClientConfig={mediaClientConfig}>
<MediaViewer mediaClientConfig={mediaClientConfig}>
```
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.
- https://product-fabric.atlassian.net/browse/MS-2038
- Tasks & Decisions: Removed containerAri for task-decisions components.
- https://product-fabric.atlassian.net/browse/ED-7631
- 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
- https://product-fabric.atlassian.net/browse/ED-7674
- Updated i18n translations
- https://product-fabric.atlassian.net/browse/ED-7750
- Improved analytics & crash reporting (via a new error boundary)
- https://product-fabric.atlassian.net/browse/ED-7766
- https://product-fabric.atlassian.net/browse/ED-7806
- Improvements to heading anchor links.
- https://product-fabric.atlassian.net/browse/ED-7849
- https://product-fabric.atlassian.net/browse/ED-7860
- Copy/Paste improvements
- https://product-fabric.atlassian.net/browse/ED-7840
- https://product-fabric.atlassian.net/browse/ED-7849
- Fixes for the selection state of Smart links.
- https://product-fabric.atlassian.net/browse/ED-7602?src=confmacro
- Improvements for table resizing & column creation.
- https://product-fabric.atlassian.net/browse/ED-7698
- https://product-fabric.atlassian.net/browse/ED-7319
- https://product-fabric.atlassian.net/browse/ED-7799
Mobile
- GASv3 Analytics Events are now relayed from the web to the native context, ready for dispatching.
- https://product-fabric.atlassian.net/browse/FM-2502
- Hybrid Renderer Recycler view now handles invalid ADF nodes gracefully.
- https://product-fabric.atlassian.net/browse/FM-2370
Media
- Improved analytics
- https://product-fabric.atlassian.net/browse/MS-2036
- https://product-fabric.atlassian.net/browse/MS-2145
- https://product-fabric.atlassian.net/browse/MS-2416
- https://product-fabric.atlassian.net/browse/MS-2487
- Added shouldOpenMediaViewer property to renderer
- https://product-fabric.atlassian.net/browse/MS-2393
- Implemented analytics for file copy
- https://product-fabric.atlassian.net/browse/MS-2036
- New
media-viewed
event dispatched when media is interacted with via the media card or viewer.
- https://product-fabric.atlassian.net/browse/MS-2284
- Support for
alt
text attribute on media image elements.
- https://product-fabric.atlassian.net/browse/ED-7776
i18n-tools
Bumped dependencies.
Minor Changes
MS-2145: added GASv3 events for media browser & clipboard
Patch Changes
Fix media-picker dialog min-height when downsizing-
[patch]ee3d05ef82:
Adding provider for selected items in media-picker when inserting files
- Updated dependencies
e7b5c917de:
- @atlaskit/media-card@66.0.0
- @atlaskit/media-core@30.0.17
- @atlaskit/media-editor@37.0.0
- @atlaskit/media-store@12.0.14
- @atlaskit/media-test-helpers@25.2.0
- @atlaskit/media-viewer@44.0.0
- @atlaskit/media-client@3.0.0
47.1.7
Patch Changes
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
47.1.6
Patch Changes
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
47.1.5
Patch Changes
FABDODGEM-12 Editor Cashmere Release
Affected editor components:
tables, media, mobile, text color, emoji, copy/paste, analytics
Performance
- Async import for code blocks and task items on renderer
- https://product-fabric.atlassian.net/browse/ED-7155
Table
- Add support to sort tables that contains smart links
- https://product-fabric.atlassian.net/browse/ED-7449
- Scale table when changing to full width mode
- https://product-fabric.atlassian.net/browse/ED-7724
Text color
- Update text color toolbar with right color when text is inside a list, panel, etc.
- https://product-fabric.atlassian.net/browse/FM-1752
Mobile - Implement undo/redo interface on Hybrid Editor -
https://product-fabric.atlassian.net/browse/FM-2393
Copy and Paste
- Support copy & paste when missing context-id attr
- https://product-fabric.atlassian.net/browse/MS-2344
- Right click + copy image fails the second time that is pasted
- https://product-fabric.atlassian.net/browse/MS-2324
- Copying a never touched image for the first time from editor fails to paste
- https://product-fabric.atlassian.net/browse/MS-2338
- Implement analytics when a file is copied
- https://product-fabric.atlassian.net/browse/MS-2036
Media
- Add analytics events and error reporting [NEW BIG FEATURE]
- https://product-fabric.atlassian.net/browse/MS-2275
- https://product-fabric.atlassian.net/browse/MS-2329
- https://product-fabric.atlassian.net/browse/MS-2330
- https://product-fabric.atlassian.net/browse/MS-2331
- https://product-fabric.atlassian.net/browse/MS-2332
- https://product-fabric.atlassian.net/browse/MS-2390
- Fixed issue where we can’t insert same file from MediaPicker twice
- https://product-fabric.atlassian.net/browse/MS-2080
- Disable upload of external files to media
- https://product-fabric.atlassian.net/browse/MS-2372
Notable Bug Fixes
-
Implement consistent behaviour for rule and mediaSingle on insertion
- Feature Flag:
- allowNewInsertionBehaviour - [default: true]
- https://product-fabric.atlassian.net/browse/ED-7503
-
Fixed bug where we were showing table controls on mobile.
- https://product-fabric.atlassian.net/browse/ED-7690
-
Fixed bug where editor crashes after unmounting react component.
- https://product-fabric.atlassian.net/browse/ED-7318
-
Fixed bug where custom emojis are not been showed on the editor
- https://product-fabric.atlassian.net/browse/ED-7726
-
[patch]3addfe526a:
Adding provider for selected items in media-picker when inserting files
47.1.4
Patch Changes
Download max res image and prioritise existing preview over representations-
[patch]c1eba314f4:
MS-2080 Fix inserting same file twice by removing observable piping as it makes a client's file
observable emit new tenant's observable's events.-
[patch]d886971e8a:
Move objectToQueryString to media-client and use it from there
47.1.3
Patch Changes
Update all the theme imports in media to use multi entry points
47.1.2
- Updated dependencies
af72468517:
- @atlaskit/media-client@2.1.2
- @atlaskit/media-core@30.0.14
- @atlaskit/media-editor@36.3.1
- @atlaskit/media-store@12.0.12
- @atlaskit/media-test-helpers@25.1.1
- @atlaskit/media-viewer@43.4.1
- @atlaskit/media-card@65.0.0
- @atlaskit/analytics-listeners@6.2.0
47.1.1
Patch Changes
Emit processed state when file gets copied
Fixes CEMS-244:
Currently some properties are missing after a file get’s copied (inserted from MediaPicker) and when
the user tries to see on MediaViewer, the preview fails to load.
It happens for files that require artifacts, like documents or videos
47.1.0
Minor Changes
Prefix the legacy lifecycle methods with UNSAFE_* to avoid warning in React 16.9+
More information about the deprecation of lifecycles methods can be found here:
https://reactjs.org/blog/2018/03/29/react-v-16-3.html#component-lifecycle-changes
47.0.5
Patch Changes
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative
imports as relative imports
47.0.4
Patch Changes
Fixes type errors which were incompatible with TS 3.6
47.0.3
Patch Changes
Upgraded Typescript to 3.3.x
47.0.2
- Updated dependencies
3624730f44:
- @atlaskit/media-client@2.0.2
- @atlaskit/media-core@30.0.11
- @atlaskit/media-editor@36.2.10
- @atlaskit/media-store@12.0.9
- @atlaskit/media-test-helpers@25.0.2
- @atlaskit/media-viewer@43.3.2
- @atlaskit/media-card@64.0.0
47.0.1
Patch Changes
Changing async import to check for AnalyticsErrorBoundary integration
47.0.0
Major Changes
Removed public
property from Media Picker's upload-end
event. It has not been used by anything
anyway and it's a legacy from the times where we didn't have upfront id so is now redundant.
46.0.10
Patch Changes
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
withAnalyticsForSumTypeProps
alias has been removed, please use withAnalyticsEvents
AnalyticsContextWrappedComp
alias has been removed, please use withAnalyticsContext
Breaking changes to TypeScript annotations
withAnalyticsEvents
now infers proptypes automatically, consumers no longer need to provide
props as a generic type.
withAnalyticsContext
now infers proptypes automatically, consumers no longer need to provide
props as a generic type.
- Type
WithAnalyticsEventProps
has been renamed to WithAnalyticsEventsProps
to match source code
- Type
CreateUIAnalyticsEventSignature
has been renamed to CreateUIAnalyticsEvent
to match
source code
- Type
UIAnalyticsEventHandlerSignature
has been renamed to UIAnalyticsEventHandler
to match
source code
- Type
AnalyticsEventsPayload
has been renamed to AnalyticsEventPayload
- Type
ObjectType
has been removed, please use Record<string, any>
or [key: string]: any
- Type
UIAnalyticsEventInterface
has been removed, please use UIAnalyticsEvent
- Type
AnalyticsEventInterface
has been removed, please use AnalyticsEvent
- Type
CreateAndFireEventFunction
removed and should now be inferred by TypeScript
- Type
AnalyticsEventUpdater
removed and should now be inferred by TypeScript
46.0.9
- Updated dependencies
69586b5353:
- @atlaskit/media-card@63.3.11
- @atlaskit/media-client@2.0.1
- @atlaskit/media-core@30.0.10
- @atlaskit/media-editor@36.2.9
- @atlaskit/media-store@12.0.8
- @atlaskit/media-viewer@43.2.10
- @atlaskit/media-ui@11.5.2
- @atlaskit/media-test-helpers@25.0.0
46.0.8
Patch Changes
Adding error boundary in media picker dropzone
46.0.7
Patch Changes
Fix media picker's dropzone analytics event by including the necessary eventType key
46.0.6
Patch Changes
Fix issue where popup media-picker doesn't throw upload-end event
46.0.5
Patch Changes
Move @types/bricks.js from dependencies to devDependencies.
46.0.4
Patch Changes
Instrument analytics for media-picker's dropzone draggedInto, draggedOut and droppedInto actions
46.0.3
- Updated dependencies
ee804f3eeb:
- @atlaskit/media-card@63.3.9
- @atlaskit/media-core@30.0.9
- @atlaskit/media-editor@36.2.7
- @atlaskit/media-store@12.0.6
- @atlaskit/media-test-helpers@24.3.5
- @atlaskit/media-viewer@43.2.8
- @atlaskit/media-client@2.0.0
46.0.2
Patch Changes
Bump media-picker to fix the master bbranch where bitbucket and npm are out of sync.
46.0.1
Patch Changes
Adding dispatch for failure errors in media picker
46.0.0
Major Changes
Remove three fields from MediaFile interface: upfrontId, userUpfrontId and userOccurrenceKey.
45.0.9
Patch Changes
Fixes various TypeScript errors which were previously failing silently
45.0.8
Patch Changes
Fix analytics for insert files button and annotate file button
45.0.7
Patch Changes
update docs to latest component state (React + Popup), improve information
45.0.6
- Updated dependencies
7e9d653278:
- @atlaskit/media-card@63.3.7
- @atlaskit/toggle@8.0.0
45.0.5
Patch Changes
Consume analytics-next ts type definitions as an ambient declaration.
45.0.4
Patch Changes
bugfix, fixes missing version.json file
45.0.3
Patch Changes
In this PR, we are:
- Re-introducing dist build folders
- Adding back cjs
- Replacing es5 by cjs and es2015 by esm
- Creating folders at the root for entry-points
- Removing the generation of the entry-points at the root Please see this
ticket or this
page
for further details
45.0.2
Patch Changes
Fixing analytics for upload handlers in media-picker-
[patch]50d3fb94a6:
Fixing analytics for upload handlers in @atlaskit/media-picker
45.0.1
- Updated dependencies
790e66bece:
- @atlaskit/button@13.0.11
- @atlaskit/modal-dialog@10.0.10
- @atlaskit/media-test-helpers@24.3.1
- @atlaskit/select@10.0.0
45.0.0
Major Changes
Media Picker Dropone component is now migrated to React.
// instantiation
const dropzone = await new MediaPicker('dropzone', context, pickerConfig).init();
// subscribe to upload events
dropzone.on('uploads-start', onUploadsStart);
dropzone.on('upload-preview-update', onUploadPreviewUpdate);
dropzone.on('upload-status-update', onUploadStatusUpdate);
dropzone.on('upload-processing', onUploadProcessing);
dropzone.on('upload-end', onUploadEnd);
dropzone.on('upload-error', onUploadError);
// activate/deactivate dropone dropzone.activate(); dropzone.deactivate();
// cancel ongoing upload dropzone.cancel(uploadId);
// when we want to dispose the component dropzone.teardown();
- New React API:
class DropzoneConsumer extends React.Component { render() { return ( <Dropzone
config={config}
context={context}
onProcessing={onProcessing}
onError={onError}
onPreviewUpdate={onPreviewUpdate}
/> ) } }
Notes on new API:
- old `MediaPicker` constructor does not recieve `pickerType` as first parameter anymore, since the only component left to migrate to react is `popup`.
Meaning that if before we were doing:
new MediaPicker('popup', context, config)
now we will need to just do
new MediaPicker(context, config)
- No need to explicitly teardown the component. Unmounting the component will do the work
- `onCancelFn` is a workaround to cancel an ongoing upload. Refer to its type definitions for more info. Before we were saving a ref and calling `ref.cancel()`.
Basically if we render `Dropzone` component in isolation (meaning, not inside another react component), we will need to do something like:
const saveCancelUploadFn = (cancel) => this.cancelUpload = cancel;
...
<Dropzone onCancelFn={(cancel) => saveCancelUploadFn(cancel)} config={config} context={context}
onProcessing={onProcessing} onError={onError} onPreviewUpdate={onPreviewUpdate} />
At a later point we will just need to call `this.cancelUpload` function in that example, in order to cancel an ongoing upload if needed.
44.0.1
- Updated dependencies 06326ef3f7:
- @atlaskit/docs@8.1.3
- @atlaskit/button@13.0.9
- @atlaskit/dropdown-menu@8.0.8
- @atlaskit/flag@12.0.10
- @atlaskit/modal-dialog@10.0.7
- @atlaskit/select@9.1.8
- @atlaskit/toggle@7.0.3
- @atlaskit/media-card@63.3.1
- @atlaskit/media-editor@36.2.1
- @atlaskit/media-test-helpers@24.1.2
- @atlaskit/media-ui@11.4.1
- @atlaskit/media-viewer@43.1.3
- @atlaskit/icon@19.0.0
44.0.0
Major Changes
Media Picker Browser component is now migrated to React.
// instantiation const browser = await new MediaPicker('browser', context, pickerConfig).init();
// subscribe to upload events this.mpBrowser.on('uploads-start', onUploadsStart);
this.mpBrowser.on('upload-preview-update', onUploadPreviewUpdate);
this.mpBrowser.on('upload-status-update', onUploadStatusUpdate);
this.mpBrowser.on('upload-processing', onUploadProcessing); this.mpBrowser.on('upload-end',
onUploadEnd); this.mpBrowser.on('upload-error', onUploadError);
// open the native file browser browser.browse();
// cancel ongoing upload browse.cancel(uploadId);
// when we want to dispose the component browser.teardown();
class BrowserConsumer etends React.Component { render() { return ( <Browser
isOpen={this.props.isOpen}
config={config}
context={context}
onProcessing={onProcessing}
onError={onError}
onPreviewUpdate={onPreviewUpdate}
/> ) } }
Notes on new API:
- No need to explicitly teardown the component. Unmounting the component will do the work
onBrowseFn
and onCancelFn
are workarounds to open the file browser and cancel an ongoing upload. Refer to its type definitions for more info.
Before we were saving a ref and call ref.browse()
or ref.cancel()
.
- In some cases you will need to provide either
onBrowserFn
or onCancelFn
in order to open the file browser or to cancel an ongoing upload programatically.
Typically this will be needed when this component is being rendered outside a react component, and we cannot take advantage of using isOpen
directly.
A good example of this can be seen in -> https://bitbucket.org/atlassian/atlaskit-mk-2/src/d7a2e4a8fb8e35b841d751f5ecccff188c955c7a/packages/editor/editor-core/src/plugins/media/index.tsx#lines-178 where BrowserMediaPickerWrapper
is rendered.
Basically if we render Browser
component in isolation (meaning, not inside another react component), we will need to do something like:
const saveOpenBrowserFunction = (browse) => this.openBrowser = browse;
...
<Browser onBrowseFn={(browse) => saveOpenBrowserFunction(browse)} config={config} context={context}
onProcessing={onProcessing} onError={onError} onPreviewUpdate={onPreviewUpdate} />
At a later point we will just need to call this.openBrowser
function in that example, in order to open the native File browser. Same applies to onCancelFn
.
43.1.2
Patch Changes
Emit event in globalMediaEventListener as well
43.1.1
- Updated dependencies cfc3c8adb3:
- @atlaskit/docs@8.1.2
- @atlaskit/button@13.0.8
- @atlaskit/dropdown-menu@8.0.4
- @atlaskit/flag@12.0.4
- @atlaskit/modal-dialog@10.0.4
- @atlaskit/select@9.1.5
- @atlaskit/toggle@7.0.1
- @atlaskit/media-card@63.1.5
- @atlaskit/media-editor@36.1.1
- @atlaskit/media-test-helpers@24.0.3
- @atlaskit/media-ui@11.2.8
- @atlaskit/media-viewer@43.1.1
- @atlaskit/icon@18.0.0
43.1.0
Minor Changes
MediaPicker constuctro suports mediaClientConfig as second argument
43.0.2
- Updated dependencies 215688984e:
- Updated dependencies 06c5cccf9d:
- Updated dependencies 9ecfef12ac:
- Updated dependencies 9cbd059bfa:
- @atlaskit/button@13.0.4
- @atlaskit/flag@12.0.2
- @atlaskit/select@9.1.2
- @atlaskit/media-card@63.1.0
- @atlaskit/media-editor@36.0.0
- @atlaskit/media-ui@11.2.5
- @atlaskit/media-viewer@43.0.2
- @atlaskit/spinner@12.0.0
- @atlaskit/icon@17.1.2
- @atlaskit/modal-dialog@10.0.0
- @atlaskit/media-core@30.0.3
- @atlaskit/media-store@12.0.2
- @atlaskit/media-test-helpers@24.0.0
43.0.1
- Updated dependencies 238b65171f:
- @atlaskit/flag@12.0.0
43.0.0
These changes provide a new React api for Clipboard component. First one to be delivered, coming next we are going to ship Browser, Dropzone and Popup.
Previous plain javascript API usage:
// instanciate MediaPicker clipboard
const clipboardMediaPicker = await new MediaPicker(
'clipboard'
context,
config,
);
// usage
clipboardMediaPicker.on('uploads-start', onUploadsStart);
clipboardMediaPicker.on('upload-preview-update', onUploadPreviewUpdate);
clipboardMediaPicker.on('upload-status-update', onUploadStatusUpdate);
clipboardMediaPicker.on('upload-processing', onUploadProcessing);
clipboardMediaPicker.on('upload-end', onUploadEnd);
clipboardMediaPicker.on('upload-error', onUploadError);
// activation / deactivation programatically
clipboardMediaPicker.activate();
clipboardMediaPicker.deactivate();
With the new React API we benefit from:
- No need to programatically activate/deactivate. We will just render the Clipboard component or
not.
- Event handlers are provided by react props
- We don't need to use a MediaPicker constructor and specifiy which flavour we want (in this case
'clipboard'). We can basically
import { Clipboard } from '@atlaskit/media-picker'
directly and
use it right away.
Example of new API:
import { Clipboard } from '@atlaskit/media-picker';
<Clipboard
context={context}
config={config}
onError={handleUploadError}
onPreviewUpdate={handleUploadPreviewUpdate}
onProcessing={handleReady}
/>;
This is the first component we migrate fully and integrates seamlessly with the Editor. Follow up on
this ticket to see what will be the next steps on this new API:
https://product-fabric.atlassian.net/browse/MS-1942
42.0.2
-
[patch]168df43047:
- Fix clipboard component deactivation logic when used in multiple contexts.
42.0.1
- Updated dependencies
ed3f034232:
- @atlaskit/media-card@63.0.2
- @atlaskit/media-core@30.0.1
- @atlaskit/media-editor@35.0.1
- @atlaskit/media-store@12.0.1
- @atlaskit/media-ui@11.1.1
- @atlaskit/media-viewer@43.0.1
- @atlaskit/media-test-helpers@23.0.0
42.0.0
-
[major]59cce82fd1:
- Remove Binary component from MediaPicker
If you want to upload a file (string or blob) to media, you should instead use
context.file.upload from @atlaskit/media-core
import { ContextFactory } from '@atlaskit/media-core';
const mediaContext = ContextFactory.create();
mediaContext.file.upload({
content: 'some-external-url',
name: 'some-file-name.png',
collection: 'destination-collection',
});
For more info check atlaskit-mk-2/packages/media/media-client/src/client/file-fetcher.ts
41.0.1
-
[patch]5cfa2ddf93:
- add clipboard support to MediaPicker
39.0.0
- Updated dependencies
e7292ab444:
- @atlaskit/media-card@61.0.0
- @atlaskit/media-editor@33.0.0
- @atlaskit/media-viewer@41.0.0
- @atlaskit/media-store@11.1.0
- @atlaskit/media-test-helpers@21.3.0
- @atlaskit/media-core@29.2.0
38.1.6
- Updated dependencies
9c0b4744be:
- @atlaskit/docs@7.0.3
- @atlaskit/button@12.0.3
- @atlaskit/dropdown-menu@7.0.6
- @atlaskit/field-text@8.0.3
- @atlaskit/flag@10.0.6
- @atlaskit/icon@16.0.9
- @atlaskit/modal-dialog@8.0.7
- @atlaskit/select@8.1.1
- @atlaskit/spinner@10.0.7
- @atlaskit/toggle@6.0.4
- @atlaskit/media-card@60.0.3
- @atlaskit/media-editor@32.0.6
- @atlaskit/media-ui@10.1.5
- @atlaskit/media-viewer@40.1.10
- @atlaskit/theme@8.1.7
38.1.5
-
[patch]3f28e6443c:
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
supplied from itself.
38.1.4
- Updated dependencies
1e826b2966:
- @atlaskit/docs@7.0.2
- @atlaskit/analytics-next@4.0.3
- @atlaskit/dropdown-menu@7.0.4
- @atlaskit/field-text@8.0.2
- @atlaskit/flag@10.0.5
- @atlaskit/icon@16.0.8
- @atlaskit/modal-dialog@8.0.6
- @atlaskit/select@8.0.5
- @atlaskit/spinner@10.0.5
- @atlaskit/theme@8.1.6
- @atlaskit/toggle@6.0.3
- @atlaskit/analytics-listeners@5.0.3
- @atlaskit/media-card@60.0.1
- @atlaskit/media-core@29.1.4
- @atlaskit/media-editor@32.0.5
- @atlaskit/media-store@11.0.7
- @atlaskit/media-ui@10.1.3
- @atlaskit/media-viewer@40.1.5
- @atlaskit/button@12.0.0
38.1.3
-
[patch]0ff405bd0f:
- Removed CardView and CardViewLoader from public APIs and replaced it with light-weight and
stateless CardLoading and CardError components. Handling of external images is now done by Card
component itself using ExternalImageIdentifier interface.
If you’ve been using CardView for loading:
<CardView status="loading" mediaItemType="file" dimensions={cardDimensions} />
Now you can use new component:
<CardLoading dimensions={cardDimensions} />
If you were using CardView to show an error
<CardView status="error" mediaItemType={type} dimensions={cardDimensions} />
Now you can use new component:
<CardError dimensions={cardDimensions} />
In case you were using CardView to show image with known external URI:
<CardView status="complete" dataURI={dataURI} metadata={metadata} />
You will have to find a way to switch to using Card component using ExternalImageIdentifier
interface:
<Card identifier={identifier} context={context} />
38.1.2
-
[patch]d13fad66df:
- Enable esModuleInterop for typescript, this allows correct use of default exports
38.1.1
-
[patch]60a89f843f:
- cleanup DOM elements on teardown and deactivate
38.0.0
- Updated dependencies
c2c36de22b:
- @atlaskit/media-card@59.0.0
- @atlaskit/media-editor@32.0.0
- @atlaskit/media-viewer@40.0.0
- @atlaskit/media-store@11.0.3
- @atlaskit/media-test-helpers@21.1.0
- @atlaskit/media-core@29.1.0
37.0.3
- Updated dependencies
9c316bd8aa:
- @atlaskit/media-core@29.0.2
- @atlaskit/media-editor@31.0.3
- @atlaskit/media-store@11.0.2
- @atlaskit/media-test-helpers@21.0.3
- @atlaskit/media-viewer@39.0.2
- @atlaskit/media-card@58.0.0
37.0.1
-
[patch]1bcaa1b991:
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
36.0.0
- Updated dependencies
7ab3e93996:
- @atlaskit/media-card@56.0.0
- @atlaskit/media-editor@30.0.0
- @atlaskit/media-test-helpers@20.1.8
- @atlaskit/media-viewer@38.0.0
- @atlaskit/media-core@28.0.0
- @atlaskit/media-store@10.0.0
35.0.2
-
[patch]ff3f40bc38:
- Fix remove from cache function, which fixes issue when user is deleting recent image in media
picker
35.0.1
- Updated dependencies
76299208e6:
- @atlaskit/button@10.1.3
- @atlaskit/icon@16.0.4
- @atlaskit/analytics-gas-types@3.2.5
- @atlaskit/analytics-listeners@4.2.1
- @atlaskit/media-card@55.0.2
- @atlaskit/media-core@27.2.3
- @atlaskit/media-editor@29.1.2
- @atlaskit/media-store@9.2.1
- @atlaskit/media-ui@9.2.1
- @atlaskit/media-viewer@37.0.1
- @atlaskit/media-test-helpers@20.1.7
- @atlaskit/docs@7.0.0
- @atlaskit/analytics-next@4.0.0
- @atlaskit/dropdown-menu@7.0.0
- @atlaskit/field-text@8.0.0
- @atlaskit/flag@10.0.0
- @atlaskit/modal-dialog@8.0.0
- @atlaskit/select@8.0.0
- @atlaskit/spinner@10.0.0
- @atlaskit/theme@8.0.0
- @atlaskit/toggle@6.0.0
34.1.0
-
[minor]f1b46bcb42:
- ED-6259 Enable stricter types for media packages
34.0.0
-
[patch]2e676676ba:
- Use Identifier from media-core instead of media-card
-
Updated dependencies
6e49c7c418:
-
Updated dependencies
fc6164c8c2:
-
Updated dependencies
190c4b7bd3:
- @atlaskit/media-viewer@36.0.0
- @atlaskit/media-card@54.0.0
- @atlaskit/media-editor@28.0.0
- @atlaskit/media-store@9.1.7
- @atlaskit/media-test-helpers@20.1.5
- @atlaskit/media-core@27.1.0
33.0.4
- Updated dependencies
46dfcfbeca:
- @atlaskit/media-core@27.0.2
- @atlaskit/media-editor@27.0.4
- @atlaskit/media-store@9.1.6
- @atlaskit/media-test-helpers@20.1.4
- @atlaskit/media-viewer@35.2.1
- @atlaskit/media-card@53.0.0
33.0.3
- Updated dependencies
06713e0a0c:
- @atlaskit/media-test-helpers@20.1.3
- @atlaskit/modal-dialog@7.2.3
- @atlaskit/select@7.0.0
33.0.2
- Updated dependencies
d5bce1ea15:
- @atlaskit/media-card@52.0.4
- @atlaskit/media-editor@27.0.3
- @atlaskit/media-test-helpers@20.1.2
- @atlaskit/media-viewer@35.2.0
- @atlaskit/media-ui@9.0.0
33.0.1
-
[patch]ef469cbb0b:
- MS-357 replaced @atlaskit/util-shared-styles from media components by @atlaskit/theme
33.0.0
-
[major]65b73cc466:
- Code split media-picker: make MediaPicker factory async and make editor use it
31.0.2
-
[patch]07a187bb30:
- Fetch cloud accounts only on cloud folder opening
31.0.1
- Updated dependencies
d7ef59d432:
- @atlaskit/docs@6.0.1
- @atlaskit/button@10.1.2
- @atlaskit/dropdown-menu@6.1.26
- @atlaskit/flag@9.1.9
- @atlaskit/modal-dialog@7.2.1
- @atlaskit/select@6.1.19
- @atlaskit/toggle@5.0.15
- @atlaskit/media-card@51.0.1
- @atlaskit/media-editor@25.0.1
- @atlaskit/media-test-helpers@19.1.1
- @atlaskit/media-ui@8.2.5
- @atlaskit/media-viewer@34.0.1
- @atlaskit/icon@16.0.0
31.0.0
- Updated dependencies
85d5d168fd:
- @atlaskit/media-card@51.0.0
- @atlaskit/media-editor@25.0.0
- @atlaskit/media-viewer@34.0.0
- @atlaskit/media-store@9.1.3
- @atlaskit/media-test-helpers@19.1.0
- @atlaskit/media-core@26.2.0
30.0.0
-
[patch]6da174b:
- Implementation of MediaEditor is partially moved to media-editor
-
Updated dependencies dadef80:
-
Updated dependencies 3ad16f3:
-
Updated dependencies f9796df:
- @atlaskit/media-card@50.0.0
- @atlaskit/media-editor@24.0.0
- @atlaskit/media-viewer@33.0.0
- @atlaskit/media-store@9.1.2
- @atlaskit/media-test-helpers@19.0.0
- @atlaskit/media-core@26.1.0
- @atlaskit/media-ui@8.2.4
29.0.3
-
[patch]e6516fb:
- Move media mocks into right location to prevent them to be included in dist
29.0.2
-
[patch]a55e4e6:
- Remove Axios dependency from media-picker
29.0.1
-
[patch]c91adfe:
- remove customVideoPlayer featureFlag prop and enable by default
28.0.0
- Updated dependencies 72d37fb:
- @atlaskit/media-card@48.0.0
- @atlaskit/media-editor@22.0.0
- @atlaskit/media-core@25.0.0
- @atlaskit/media-store@9.1.0
- @atlaskit/media-test-helpers@18.9.0
27.0.5
-
[patch]8314694:
- Support uploading + processing files in MediaViewer
27.0.4
-
[patch]442821a:
- Fix the issue with being unable to save image inserted into the editor: pass collection to
tenant auth for file polling
27.0.3
-
[patch]b677631:
- Add new example and ensure occurrenceKey is set for all copy/withToken calls
27.0.2
- Updated dependencies 135ed00:
- @atlaskit/media-core@24.7.2
- @atlaskit/media-store@9.0.2
- @atlaskit/media-test-helpers@18.7.2
- @atlaskit/media-card@47.0.0
27.0.1
-
[patch]ca16fa9:
- Add SSR support to media components
26.0.0
- Updated dependencies 80f765b:
- @atlaskit/media-card@45.0.0
- @atlaskit/media-editor@20.0.0
- @atlaskit/media-store@8.5.1
- @atlaskit/media-test-helpers@18.6.2
- @atlaskit/media-core@24.6.0
25.0.8
-
[patch]ff8b31d:
- Pass uploadParams to createStore when initializing MediaPicker popup. This fixes an issue when
calling /copy/withToken endpoint
25.0.7
-
[patch]5f12909:
- remove tenant property from MediaPicker + make show() faster
25.0.6
- Updated dependencies 58b84fa:
- @atlaskit/analytics-next@3.1.2
- @atlaskit/button@10.1.1
- @atlaskit/dropdown-menu@6.1.25
- @atlaskit/field-text@7.0.18
- @atlaskit/flag@9.1.8
- @atlaskit/icon@15.0.2
- @atlaskit/modal-dialog@7.1.1
- @atlaskit/spinner@9.0.13
- @atlaskit/toggle@5.0.14
- @atlaskit/analytics-gas-types@3.2.3
- @atlaskit/analytics-listeners@4.1.4
- @atlaskit/media-card@44.1.3
- @atlaskit/media-core@24.5.2
- @atlaskit/media-editor@19.0.2
- @atlaskit/media-ui@8.1.2
- @atlaskit/docs@6.0.0
25.0.5
-
[patch]92a6240:
- Picking video file will now send dimensions same way as image would
25.0.4
- Updated dependencies 5de3574:
- @atlaskit/media-test-helpers@18.5.2
- @atlaskit/media-card@44.1.1
- @atlaskit/media-ui@8.0.0
25.0.3
- Updated dependencies ab9b69c:
- @atlaskit/docs@5.2.2
- @atlaskit/button@10.0.1
- @atlaskit/dropdown-menu@6.1.23
- @atlaskit/flag@9.1.6
- @atlaskit/modal-dialog@7.0.13
- @atlaskit/toggle@5.0.12
- @atlaskit/media-card@44.0.2
- @atlaskit/media-editor@19.0.1
- @atlaskit/media-test-helpers@18.3.1
- @atlaskit/media-ui@7.6.2
- @atlaskit/icon@15.0.0
25.0.2
- Updated dependencies 6998f11:
- @atlaskit/docs@5.2.1
- @atlaskit/analytics-next@3.1.1
- @atlaskit/dropdown-menu@6.1.22
- @atlaskit/field-text@7.0.15
- @atlaskit/flag@9.1.5
- @atlaskit/icon@14.6.1
- @atlaskit/modal-dialog@7.0.12
- @atlaskit/spinner@9.0.11
- @atlaskit/toggle@5.0.11
- @atlaskit/analytics-listeners@4.1.1
- @atlaskit/media-card@44.0.1
- @atlaskit/media-core@24.5.1
- @atlaskit/media-ui@7.6.1
- @atlaskit/button@10.0.0
- @atlaskit/analytics-next-types@3.1.2
25.0.1
-
[patch]b9d9e9a:
- Support advanced i18n mode in MediaPicker
24.0.1
-
[patch]e151c1a:
- Removes dependency on @atlaskit/layer-manager
As of component versions:
- `@atlaskit/modal-dialog@7.0.0`
- `@atlaskit/tooltip@12.0.2`
- `@atlaskit/flag@9.0.6`
- `@atlaskit/onboarding@6.0.0`
No component requires `LayerManager` to layer correctly.
You can safely remove this dependency and stop rendering `LayerManager` in your apps.
24.0.0
- Updated dependencies 2c21466:
- @atlaskit/media-card@43.0.0
- @atlaskit/media-editor@18.0.0
- @atlaskit/media-test-helpers@18.2.12
- @atlaskit/media-core@24.4.0
- @atlaskit/media-store@8.3.0
23.2.2
- Updated dependencies 04c7192:
- @atlaskit/media-core@24.3.1
- @atlaskit/media-test-helpers@18.2.11
- @atlaskit/media-card@42.0.0
23.2.1
- [patch] Updated dependencies
ced32d0
- @atlaskit/media-card@41.1.2
- @atlaskit/media-test-helpers@18.2.10
- @atlaskit/media-ui@7.0.0
23.2.0
- [minor] pass scaleFactor from media-picker upload-preview-update event
e23a078
23.1.0
- [minor] add scaleFactor to ImagePreview type
605eff0
23.0.0
- [major] Add i18n support to MediaPicker
9add3a4
22.0.0
- [major] Cleanup media + editor integration 🔥
2f9d14d
21.0.0
- [patch] Split Media + Editor cleanup part 1
b1ce691
- [major] Updated dependencies
b1ce691
- @atlaskit/media-card@41.0.0
- @atlaskit/media-editor@17.0.0
- @atlaskit/media-core@24.3.0
- @atlaskit/media-store@8.2.0
- @atlaskit/media-test-helpers@18.2.8
20.0.1
- [patch] Updated dependencies
6e510d8
- @atlaskit/media-core@24.2.2
- @atlaskit/media-test-helpers@18.2.7
- @atlaskit/media-card@40.0.0
20.0.0
- [major] Remove hardcoded 'source' field from all events which will avoid overriding the value
provided by integrating products. When upgrading, make sure you also upgrade the
analytics-listener package which is now responsible for setting the default 'source' value if not
set. 17afe04
19.0.0
- [major] Updated dependencies
2afa60d
- @atlaskit/media-card@39.0.0
- @atlaskit/media-editor@16.0.0
- @atlaskit/media-test-helpers@18.2.5
- @atlaskit/media-core@24.2.0
- @atlaskit/media-store@8.1.0
18.1.0
- [minor] Add pagination to recents view in MediaPicker
4b3c1f5
18.0.0
- [patch] Deprecate context.uploadFile & context.getFile. Instead context.file.upload &
context.file.getFileState should be used; media-store's uploadFile function now takes MediaStore
as a second argument, not MediaApiConfig
8b2c4d3
- [patch] Deprecate context.uploadFile & context.getFile. Instead context.file.upload &
context.file.getFileState should be used; media-store's uploadFile function now takes MediaStore
as a second argument, not MediaApiConfig
3302d51
- [major] Updated dependencies
8b2c4d3
- [major] Updated dependencies
3302d51
- @atlaskit/media-card@38.0.0
- @atlaskit/media-editor@15.0.0
- @atlaskit/media-core@24.1.0
- @atlaskit/media-store@8.0.0
- @atlaskit/media-test-helpers@18.2.3
17.0.4
- [patch] use Card instead of CardView in MediaPicker recents
081f4c6
17.0.3
- [patch] Updated dependencies
2d848cd
- @atlaskit/media-core@24.0.3
- @atlaskit/media-test-helpers@18.2.2
- @atlaskit/media-store@7.0.0
17.0.2
- [patch] Updated dependencies
65c6514
- @atlaskit/docs@5.0.8
- @atlaskit/button@9.0.13
- @atlaskit/dropdown-menu@6.1.17
- @atlaskit/flag@9.0.11
- @atlaskit/layer-manager@5.0.13
- @atlaskit/modal-dialog@7.0.2
- @atlaskit/toggle@5.0.9
- @atlaskit/media-card@37.0.1
- @atlaskit/media-editor@14.0.1
- @atlaskit/media-test-helpers@18.2.1
- @atlaskit/icon@14.0.0
17.0.1
- [patch] Updated dependencies
dae7792
- @atlaskit/media-core@24.0.2
- @atlaskit/media-card@37.0.0
- @atlaskit/media-test-helpers@18.2.0
17.0.0
- [major] Update RXJS dependency to ^5.5.0
927ae63
- [major] Updated dependencies
927ae63
- @atlaskit/media-card@36.0.0
- @atlaskit/media-editor@14.0.0
- @atlaskit/media-store@6.2.1
- @atlaskit/media-core@24.0.0
- @atlaskit/media-test-helpers@18.0.0
16.0.6
- [patch] Updated dependencies
1be4bb8
- @atlaskit/media-core@23.2.1
- @atlaskit/media-card@35.0.0
16.0.5
- [patch] Introduce media analytics listener
e7d7ab1
16.0.4
- [patch] Add className to headless dropzone
96be52e
16.0.3
- [patch] use context.collection.getItems in MediaPicker
1486ca4
16.0.2
- [patch] Use stricter tsconfig
3e3a10d
16.0.1
- [patch] Handle the fact that remoteUploadId may not exist and not break cloud uploads
c2317af
16.0.0
- [major] Updated dependencies
6e1d642
- @atlaskit/media-card@34.0.0
- @atlaskit/media-editor@13.0.0
- @atlaskit/media-core@23.2.0
- @atlaskit/media-store@6.2.0
- @atlaskit/media-test-helpers@17.1.0
15.1.2
- [patch] Update TS to 3.0 f68d367
- [none] Updated dependencies
f68d367
- @atlaskit/media-test-helpers@17.0.2
- @atlaskit/media-core@23.1.1
- @atlaskit/media-card@33.0.2
15.1.1
- [patch] Fix app not dispatching dropzone actions
34f69df
15.1.0
- [minor] Instrument media-picker with analytics
d5f093b
15.0.2
- [patch] Updated dependencies
d5a043a
- @atlaskit/icon@13.8.1
- @atlaskit/flag@9.0.10
- @atlaskit/modal-dialog@7.0.0
15.0.1
- [patch] Updated dependencies
9c66d4d
- @atlaskit/webdriver-runner@0.1.0
15.0.0
- [major] "userAuthProvider" property removed from all the media-picker configs; Optional
"shouldCopyFileToRecents" property added to all media-picker configs; "tenantUploadParams" is
removed since "uploadParams" is already a tenant one; "copyFileToRecents" is removed from
UploadParams; 048f488
14.0.1
- [patch] Append timestamp in image files for Clipboard component
da65dec
14.0.0
- [minor] Expose upfrontId in MediaPicker
7545979
- [major] Updated dependencies
7545979
- @atlaskit/media-card@33.0.0
- @atlaskit/media-editor@12.0.0
- @atlaskit/media-core@23.1.0
- @atlaskit/media-store@6.1.0
13.0.0
- [major] Remove new upload service feature flag (useNewUploadService). Now new upload service will
be used by default. 911a570
- [patch] Updated dependencies
911a570
- @atlaskit/media-test-helpers@17.0.0
- @atlaskit/media-store@6.0.1
- @atlaskit/media-editor@11.0.1
- @atlaskit/media-core@23.0.2
- @atlaskit/media-card@32.0.6
12.1.2
- [patch] Updated dependencies
b12f7e6
- @atlaskit/media-card@32.0.5
12.1.1
- [patch] Fix MediaPicker Dropzone UI on IE11
79f780a
12.1.0
- [minor] New option "singleSelect" allows to limit number of selected files to just 1.
4ac210e
12.0.1
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
a4bd557
- [none] Updated dependencies
a4bd557
- @atlaskit/media-card@32.0.1
- @atlaskit/modal-dialog@6.0.6
- @atlaskit/field-text@7.0.4
- @atlaskit/analytics-next@3.0.4
- @atlaskit/toggle@5.0.5
- @atlaskit/flag@9.0.4
- @atlaskit/button@9.0.5
- @atlaskit/spinner@9.0.5
- @atlaskit/icon@13.2.4
- @atlaskit/dropdown-menu@6.1.5
12.0.0
- [major] Synchronous property "serviceHost" as part of many Interfaces in media components (like
MediaApiConfig) is removed and replaced with asynchronous "baseUrl" as part of Auth object.
d02746f
- [major] Updated dependencies
d02746f
- @atlaskit/media-test-helpers@16.0.0
- @atlaskit/media-store@6.0.0
- @atlaskit/media-editor@11.0.0
- @atlaskit/media-core@23.0.0
- @atlaskit/media-card@32.0.0
11.2.2
- [patch] Updated dependencies
59ccb09
- @atlaskit/media-card@31.3.0
11.2.1
- [patch] Updated dependencies
acd86a1
- @atlaskit/media-card@31.2.1
- @atlaskit/flag@9.0.3
- @atlaskit/icon@13.2.2
- @atlaskit/media-editor@10.0.1
- @atlaskit/toggle@5.0.4
- @atlaskit/button@9.0.4
- @atlaskit/media-core@22.2.1
- @atlaskit/media-test-helpers@15.2.1
- @atlaskit/media-store@5.1.1
- @atlaskit/spinner@9.0.4
- @atlaskit/field-text@7.0.3
- @atlaskit/analytics-next@3.0.3
- @atlaskit/docs@5.0.2
- @atlaskit/dropdown-menu@6.1.4
- @atlaskit/modal-dialog@6.0.5
11.2.0
- [minor] MediaPicker Popup now supports passing of optional parent react context as a parameter
25ef2e4
11.1.2
- [patch] pass mimeType to files in uploads-start event in MediaPicker
3485c00
- [patch] Updated dependencies
3485c00
- @atlaskit/media-core@22.2.0
- @atlaskit/media-card@31.1.1
11.1.1
- [patch] use context.getFile in media-card
fad25ec
- [patch] Updated dependencies
fad25ec
- @atlaskit/media-test-helpers@15.2.0
- @atlaskit/media-store@5.1.0
- @atlaskit/media-core@22.1.0
- @atlaskit/media-card@31.1.0
11.1.0
- [patch] Updated dependencies
fa6f865
- @atlaskit/media-card@31.0.0
- @atlaskit/media-test-helpers@15.1.0
- [none] Updated dependencies
fdd03d8
- @atlaskit/media-card@31.0.0
- @atlaskit/media-test-helpers@15.1.0
- [patch] Updated dependencies
49c8425
- @atlaskit/media-card@31.0.0
- @atlaskit/media-test-helpers@15.1.0
- [minor] Updated dependencies
3476e01
- @atlaskit/media-card@31.0.0
11.0.0
- [major] Updates to React ^16.4.0
7edb866
- [major] Updated dependencies
563a7eb
- @atlaskit/media-card@30.0.0
- @atlaskit/modal-dialog@6.0.0
- @atlaskit/field-text@7.0.0
- @atlaskit/analytics-next@3.0.0
- @atlaskit/toggle@5.0.0
- @atlaskit/flag@9.0.0
- @atlaskit/button@9.0.0
- @atlaskit/media-core@22.0.0
- @atlaskit/media-test-helpers@15.0.0
- @atlaskit/media-store@5.0.0
- @atlaskit/media-editor@10.0.0
- @atlaskit/spinner@9.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/icon@13.0.0
- @atlaskit/dropdown-menu@6.0.0
- [major] Updated dependencies
7edb866
- @atlaskit/media-card@30.0.0
- @atlaskit/media-test-helpers@15.0.0
- @atlaskit/media-store@5.0.0
- @atlaskit/media-editor@10.0.0
- @atlaskit/media-core@22.0.0
- @atlaskit/modal-dialog@6.0.0
- @atlaskit/field-text@7.0.0
- @atlaskit/analytics-next@3.0.0
- @atlaskit/toggle@5.0.0
- @atlaskit/flag@9.0.0
- @atlaskit/button@9.0.0
- @atlaskit/spinner@9.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/icon@13.0.0
- @atlaskit/dropdown-menu@6.0.0
10.0.0
- [major] Remove old analytics client, context and tracker code
daf6227
9.0.1
- [patch][msw-847 ] Fix Safari issue with not selecting files in MediaPicker recents
6f51fdb
9.0.0
- [major] Use more strict type for MediaArtifacts
8c711bd
- [patch] Use media.tsconfig in MediaViewer
42ee1ea
- [patch] Updated dependencies
42ee1ea
- @atlaskit/media-test-helpers@14.0.6
- @atlaskit/media-editor@9.1.4
- @atlaskit/media-core@21.0.0
- @atlaskit/media-card@29.1.8
8.1.6
- [patch] Safely handle paste handler for clipboard to avoid error noise in unsupported browsers
8d5053e
8.1.5
- [patch] re-enable usage of file id upfront in new MediaPicker uploader
3fb464b
- [patch] Updated dependencies
3fb464b
- @atlaskit/media-store@4.2.1
8.1.4
- [patch] merge getFile and uploadFile + update MediaPicker NewUploadService + expose
UploadController from MediaStore
c57e9c1
- [patch] Updated dependencies
c57e9c1
- @atlaskit/media-store@4.2.0
- @atlaskit/media-test-helpers@14.0.4
- @atlaskit/media-editor@9.1.3
- @atlaskit/media-card@29.1.5
- @atlaskit/media-core@20.0.0
8.1.3
- [patch] Updated dependencies
cdba8b3
- @atlaskit/spinner@8.0.0
- @atlaskit/media-card@29.1.4
- @atlaskit/flag@8.1.3
- @atlaskit/button@8.2.3
8.1.2
- [patch] Clean Changelogs - remove duplicates and empty entries
e7756cd
- [none] Updated dependencies
e7756cd
- @atlaskit/media-card@29.1.2
- @atlaskit/media-test-helpers@14.0.3
- @atlaskit/media-store@4.1.1
- @atlaskit/media-editor@9.1.2
- @atlaskit/media-core@19.1.3
- @atlaskit/modal-dialog@5.2.2
- @atlaskit/field-text@6.0.4
- @atlaskit/button@8.1.2
- @atlaskit/toggle@4.0.3
- @atlaskit/spinner@7.0.2
- @atlaskit/flag@8.1.1
- @atlaskit/icon@12.1.2
- @atlaskit/dropdown-menu@5.0.4
8.1.1
- [patch] Update changelogs to remove duplicate
cc58e17
- [none] Updated dependencies
cc58e17
- @atlaskit/media-card@29.1.1
- @atlaskit/media-test-helpers@14.0.2
- @atlaskit/media-editor@9.1.1
- @atlaskit/media-core@19.1.2
- @atlaskit/spinner@7.0.1
- @atlaskit/modal-dialog@5.1.1
- @atlaskit/icon@12.1.1
- @atlaskit/analytics-next@2.1.8
- @atlaskit/dropdown-menu@5.0.3
- @atlaskit/button@8.1.1
- @atlaskit/docs@4.1.1
8.0.0
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
^3.2.6 1e80619
- [patch] Updated dependencies
1e80619
- @atlaskit/media-card@29.0.0
- @atlaskit/media-test-helpers@14.0.0
- @atlaskit/media-store@4.0.0
- @atlaskit/media-core@19.0.0
- @atlaskit/media-editor@9.0.0
- @atlaskit/modal-dialog@5.0.0
- @atlaskit/flag@8.0.0
- @atlaskit/icon@12.0.0
- @atlaskit/toggle@4.0.0
- @atlaskit/field-text@6.0.0
- @atlaskit/analytics-next@2.1.4
- @atlaskit/button@8.0.0
- @atlaskit/spinner@6.0.0
- @atlaskit/docs@4.0.0
- @atlaskit/dropdown-menu@5.0.0
7.0.6
- [patch] Updated dependencies
1c87e5a
- @atlaskit/media-card@28.0.6
7.0.5
- [patch] Updated dependencies
5ee48c4
- @atlaskit/media-store@3.1.1
- @atlaskit/media-core@18.1.2
- @atlaskit/media-editor@8.0.2
7.0.4
- [patch] add media mocks 1754450
- [none] Updated dependencies
1754450
- @atlaskit/media-test-helpers@13.1.0
- @atlaskit/media-store@3.1.0
7.0.3
- [patch]f87724e
- [none] Updated dependencies
f87724e
- @atlaskit/media-test-helpers@13.0.2
- @atlaskit/media-card@28.0.4
7.0.2
- [patch] remove browse + dropzone logic from UploadService
02a72e8
7.0.1
- [patch] Updated dependencies
bd26d3c
- @atlaskit/media-store@3.0.1
- @atlaskit/media-core@18.1.1
- @atlaskit/media-test-helpers@13.0.1
- @atlaskit/media-editor@8.0.1
- @atlaskit/media-card@28.0.1
7.0.0
- [major] media-picker: <All but popup picker>.emitUploadEnd second argument shape has changed from
MediaFileData to FileDetails;
upload-end
event payload body shape changed from MediaFileData to
FileDetails; All the media pickers config now have new property useNewUploadService: boolean
(false by default); popup media-picker .cancel can't be called with no argument, though types does
allow for it; File
is removed; --- media-store: MediaStore.createFile now has a required
argument of type MediaStoreCreateFileParams; MediaStore.copyFileWithToken new method; uploadFile
method result type has changed from just a promise to a UploadFileResult type; ---
media-test-helpers: mediaPickerAuthProvider argument has changed from a component instance to just
a boolean authEnvironment;
84f6f91
- [major] SUMMARY GOES HERE 9041d71
- [major] Updated dependencies
84f6f91
- @atlaskit/media-test-helpers@13.0.0
- @atlaskit/media-store@3.0.0
- @atlaskit/media-core@18.1.0
- @atlaskit/media-editor@8.0.0
- @atlaskit/media-card@28.0.0
- [major] Updated dependencies
9041d71
- @atlaskit/media-test-helpers@13.0.0
- @atlaskit/media-store@3.0.0
- @atlaskit/media-core@18.1.0
- @atlaskit/media-editor@8.0.0
- @atlaskit/media-card@28.0.0
6.0.6
- [patch] change media picker image src to static assets served on dt-static
a5a740b
6.0.5
- [patch] Updated dependencies
d662caa
- @atlaskit/icon@11.3.0
- @atlaskit/media-editor@7.0.2
- @atlaskit/media-card@27.1.4
- @atlaskit/toggle@3.0.2
- @atlaskit/modal-dialog@4.0.5
- @atlaskit/flag@7.0.3
- @atlaskit/field-text@5.0.3
- @atlaskit/media-test-helpers@12.0.4
- @atlaskit/media-core@18.0.3
- @atlaskit/analytics-next@2.1.1
- @atlaskit/dropdown-menu@4.0.3
- @atlaskit/button@7.2.5
- @atlaskit/spinner@5.0.2
- @atlaskit/docs@3.0.4
6.0.4
- [patch] Media Picker Popup modal dialog now has a fixed size unwanted wrapping behaviour of cards
in the Upload view and jumping of the dialog when switching to the GIPHY view.
814e505
6.0.2
- [patch] Add rating "PG" parameter to GIPHY url strings
9cb61d3
6.0.1
- [patch] Remove classnames + domready dependencies from MediaPicker
44f94f6
6.0.0
- [major] For media-picker: fetchMetadata and autoFinalize options are removed from UploadParams and
replaced with always "true" in the code. For editor-core: "unfinalized" status is removed from
MediaStateStatus and finalizeCb from MediaState.
a41759a
4.0.0
- [major] Use media-core context in MediaPicker constructor
6cc9f55
3.0.1
- [patch] Added missing dependencies and added lint rule to catch them all
0672503
3.0.0
- [major] Bump to React 16.3.
4251858
2.2.0
- [minor] show local previews for video files
6b24c51
2.1.6
- [patch] Show upload button during recents load in media picker. + Inprove caching for auth
provider used in examples 929731a
2.1.5
- [patch] Add "sideEffects: false" to AKM2 packages to allow consumer's to tree-shake
c3b018a
2.1.2
- [patch] Add analytics events for click and show actions of media-card
031d5da
2.1.0
- [minor] code split MediaEditor in MediaPicker
bdc395a
2.0.2
- [patch] add icon to annotate card action
e982c4b
2.0.0
- [major] icons are now assignable to card actions, which will cause media cards to render upto 2
icon buttons, or a dropdown menu if more than 2 actions are set
649871c
1.1.4
- [patch] Remove TS types that requires styled-components v3
836e53b
1.1.1
- [patch] Emit 100% upload progress when last file chunk has been uploaded
db24bed
1.1.0
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
ceccf30
1.0.10
- [patch] Bump Rusha version to 0.8.13
67a6312
1.0.7
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
1e57e5a
1.0.6
- [patch] Fix issue with having multiple Dropzone elements listening at the same time with Editor
and MediaPicker d37de20
1.0.5
- [patch] delay call to /recents and /accounts in MediaPicker and improve overall performance
8f2b541
1.0.4
- [patch] Move media provider and state manager to editor-core
0601da7
1.0.3
- [patch] Replaced heavy placeholder image for GIPHY view error state. This will reduce the page
weight of media-picker by ~160kb
e4cb2a0
1.0.2
- [patch] update link account handling redirect url from custom s3 location to media picker api
bd3e22f
1.0.0
- [major] make MediaPicker stable
fd3f3ec
0.2.2
- [patch] Migrate Navigation from Ak repo to ak mk 2 repo, Fixed flow typing inconsistencies in ak
mk 2 bdeef5b
0.2.0
- [minor] Added GIPHY file picking support to Media Picker Popup
d6be99c
0.1.2
- [patch] Fixed header styles in Popup
48555ce
0.1.1
- [patch] Fix data URI generation crashing/lagging the browser for large files. data URIs are only
generated for local uploaded files when the type of the file
2dd1728
0.1.0
- [minor] Add React 16 support.
12ea6e4
0.0.2
- [patch] Migrate MediaPicker into new repo
494c424