Skip to content

Commit

Permalink
0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Jun 28, 2024
1 parent 11bc53b commit ee2db92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.10.0]

- Removed deprecated `createNextCMS` and `createCMS` from the `alinea` package
root. Instead use the `createCMS` function from `alinea/core` or
`alinea/next`.

## [0.9.14]

- Avoid importing the 'next' package if we're not using next
Expand Down
12 changes: 0 additions & 12 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,3 @@ export * as Edit from './core/Edit.js'
export {Query} from './core/Query.js'
export * as Field from './field.js'
export * from './types.js'

// Next CMS constructor - deprecated
import {createNextCMS as _createNextCMS} from 'alinea/core/driver/NextDriver'
export {createNextCMS}
/** @deprecated Use import {createCMS} from 'alinea/next' instead */
const createNextCMS = _createNextCMS

// Default CMS constructor - deprecated
import {createCMS as _createCMS} from 'alinea/core/driver/DefaultDriver'
export {createCMS}
/** @deprecated Use import {createCMS} from 'alinea/core' instead */
const createCMS = _createCMS

0 comments on commit ee2db92

Please sign in to comment.