From ee2db92b5f5c927f08a4a92f0ba08a5409a9891c Mon Sep 17 00:00:00 2001 From: Ben Merckx Date: Fri, 28 Jun 2024 13:24:55 +0200 Subject: [PATCH] 0.10.0 --- changelog.md | 6 ++++++ src/index.ts | 12 ------------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/changelog.md b/changelog.md index 658a0610..a557c824 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/src/index.ts b/src/index.ts index 48c0db9c..0b1ae02a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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