@atlaskit/editor-plugin-image-upload
Version:
Image upload plugin for @atlaskit/editor-core
528 lines (311 loc) • 12.3 kB
Markdown
# @atlaskit/editor-plugin-image-upload
## 10.0.0
### Patch Changes
- Updated dependencies
## 9.0.0
### Patch Changes
- Updated dependencies
## 8.0.2
### Patch Changes
- [`14803a836f641`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14803a836f641) -
Update README.md and 0-intro.tsx
## 8.0.1
### Patch Changes
- [`5892e575833a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5892e575833a1) -
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
- Updated dependencies
## 8.0.0
### Patch Changes
- Updated dependencies
## 7.0.0
### Patch Changes
- Updated dependencies
## 6.0.2
### Patch Changes
- [`55920a92e882a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55920a92e882a) -
tsignores added for help-center local consumpton removed
- Updated dependencies
## 6.0.1
### Patch Changes
- [`4d676bbdb3ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d676bbdb3ce6) -
ts-ignore added temporarily to unblock local consumption for help-center, will be removed once
project refs are setup
- Updated dependencies
## 6.0.0
### Patch Changes
- Updated dependencies
## 5.0.0
### Patch Changes
- Updated dependencies
## 4.0.0
### Patch Changes
- Updated dependencies
## 3.0.1
### Patch Changes
- [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
Sorted type and interface props to improve Atlaskit docs
## 3.0.0
### Major Changes
- [#181024](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/181024)
[`8e80c487ca307`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e80c487ca307) - ##
Make `@atlaskit/editor-common` a peer dependency
**WHAT:** `@atlaskit/editor-common` has been moved from `dependencies` to `peerDependencies` in
all editor plugin packages.
**WHY:** This change ensures that only a single version of `@atlaskit/editor-common` is used in
consuming applications, preventing issues caused by multiple versions of singleton libraries (such
as context mismatches or duplicated state). This is especially important for packages that rely on
shared context or singletons.
**HOW TO ADJUST:**
- Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
any of these editor plugins.
- Ensure the version you install matches the version required by the plugins.
- You can use the
[`check-peer-dependencies`](https://www.npmjs.com/package/check-peer-dependencies) package to
verify that all required peer dependencies are installed and compatible.
- Example install command:
```
npm install @atlaskit/editor-common
```
or
```
yarn add @atlaskit/editor-common
```
**Note:** This is a breaking change. If `@atlaskit/editor-common` is not installed at the
application level, you may see errors or unexpected behavior.
### Patch Changes
- Updated dependencies
## 2.0.7
### Patch Changes
- Updated dependencies
## 2.0.6
### Patch Changes
- Updated dependencies
## 2.0.5
### Patch Changes
- Updated dependencies
## 2.0.4
### Patch Changes
- Updated dependencies
## 2.0.3
### Patch Changes
- Updated dependencies
## 2.0.2
### Patch Changes
- Updated dependencies
## 2.0.1
### Patch Changes
- Updated dependencies
## 2.0.0
### Major Changes
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/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
- Updated dependencies
## 1.4.0
### Minor Changes
- [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
[`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
Bumped editor-prosemirror version to 7.0.0
### Patch Changes
- Updated dependencies
## 1.3.0
### Minor Changes
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
Update `React` from v16 to v18
### Patch Changes
- Updated dependencies
## 1.2.17
### Patch Changes
- Updated dependencies
## 1.2.16
### Patch Changes
- [#96689](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96689)
[`8645e341567ea`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8645e341567ea) -
updated image upload plugin to EES003
## 1.2.15
### Patch Changes
- Updated dependencies
## 1.2.14
### Patch Changes
- Updated dependencies
## 1.2.13
### Patch Changes
- Updated dependencies
## 1.2.12
### Patch Changes
- Updated dependencies
## 1.2.11
### Patch Changes
- [#155735](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155735)
[`1beeeda29023a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1beeeda29023a) -
Upgrades editor packages to react 18
## 1.2.10
### Patch Changes
- Updated dependencies
## 1.2.9
### Patch Changes
- Updated dependencies
## 1.2.8
### Patch Changes
- Updated dependencies
## 1.2.7
### Patch Changes
- Updated dependencies
## 1.2.6
### Patch Changes
- Updated dependencies
## 1.2.5
### Patch Changes
- [#139334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139334)
[`30793649657c0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30793649657c0) -
[HOT-111629] We had an incident where the last character disappears when hitting the enter key on
windows OS for Korean characters. Bumping to prosemirror-view@1.34.2 for the fix.
## 1.2.4
### Patch Changes
- Updated dependencies
## 1.2.3
### Patch Changes
- [#138118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138118)
[`5e4d9eb1aefe4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e4d9eb1aefe4) -
NOISSUE: Upgrades editor React peer dependencies to v18
- Updated dependencies
## 1.2.2
### Patch Changes
- Updated dependencies
## 1.2.1
### Patch Changes
- Updated dependencies
## 1.2.0
### Minor Changes
- [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209)
[`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) -
bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0
### Patch Changes
- Updated dependencies
## 1.1.9
### Patch Changes
- Updated dependencies
## 1.1.8
### Patch Changes
- Updated dependencies
## 1.1.7
### Patch Changes
- Updated dependencies
## 1.1.6
### Patch Changes
- Updated dependencies
## 1.1.5
### Patch Changes
- Updated dependencies
## 1.1.4
### Patch Changes
- Updated dependencies
## 1.1.3
### Patch Changes
- Updated dependencies
## 1.1.2
### Patch Changes
- [#97698](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97698)
[`1c7b378c0d3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1c7b378c0d3b) -
[HOT-108999] We had an incident where the cursor jumps back a character in table headers for any
language triggering composition on an empty line.This was fixed in a patch bump of
prosemirror-view. https://github.com/ProseMirror/prosemirror-view/compare/1.33.4...1.33.5
## 1.1.1
### Patch Changes
- Updated dependencies
## 1.1.0
### Minor Changes
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934)
[`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) -
bumped editor-prosemirror version to 4.0.0
### Patch Changes
- Updated dependencies
## 1.0.3
### Patch Changes
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
Upgrade Typescript from `4.9.5` to `5.4.2`
## 1.0.2
### Patch Changes
- [#75482](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75482)
[`18b5a6fb910a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18b5a6fb910a) - #
MAJOR CHANGE to `@atlaskit/prosemirror-input-rules` package.
## WHY?
Removing editor-common dependencies from prosemirror-input-rules package.
This makes it easier for editor updates because it simplifies our dependency graph.
## WHAT and HOW?
These are no longer available via `@atlaskit/prosemirror-input-rules` but are available from
`@atlaskit/editor-common/types`:
- InputRuleWrapper
- InputRuleHandler
- OnHandlerApply
- createRule
These have changed from a `SafePlugin` to a `SafePluginSpec`. In order to update your code you
need to instantiate a `SafePlugin` (ie. `new SafePlugin(createPlugin( ... ))`).
`SafePlugin` exists in `@atlaskit/editor-common/safe-plugin`.
- createPlugin
- createInputRulePlugin
- Updated dependencies
## 1.0.1
### Patch Changes
- Updated dependencies
## 1.0.0
### Major Changes
- [#72386](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72386)
[`0c52b0be40c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0c52b0be40c1) -
This changeset exists to bump all editor plugins that currently don't have a major version. This
is to address an issue with Jira plugin consumption.
## 0.2.4
### Patch Changes
- [#68572](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68572)
[`15d407fe5143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/15d407fe5143) -
Upgrading @atlaskit/editor-prosemirror dependency
## 0.2.3
### Patch Changes
- Updated dependencies
## 0.2.2
### Patch Changes
- Updated dependencies
## 0.2.1
### Patch Changes
- Updated dependencies
## 0.2.0
### Minor Changes
- [#39325](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39325)
[`ad3c5c21079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad3c5c21079) - Updating
all plugins with minor version to correct issue with semver.
## 0.1.2
### Patch Changes
- [#39010](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39010)
[`8467bdcdf4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8467bdcdf4f) - Removing
`dependencies` prop from PluginInjectionAPI and changing signature of `NextEditorPlugin`.
Previously a `NextEditorPlugin` would be consumed as so:
```ts
const plugin: NextEditorPlugin< ... > = (config, api) => {
// Can use api like so:
api.dependencies.core.actions.execute( ... )
return { ... }
}
```
Now these have become named parameters like so and the `pluginInjectionAPI` is used without the
`dependencies` prop:
```ts
const plugin: NextEditorPlugin< ... > = ({ config, api }) => {
// Can use api like so:
api.core.actions.execute( ... )
return { ... }
}
```
- Updated dependencies
## 0.1.1
### Patch Changes
- [#39177](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39177)
[`24e27147cbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/24e27147cbd) - Added
atlaskit docs to all existing plugins.