v0.0.3-alpha.58
github-actions
released this
23 Jan 02:34
·
28 commits
to main
since this release
🚨 Breaking Changes
- Split entry points into client / node - by @enzonotario (298c9)
The entry points have been split into client and node. This means that you will need to update your imports to use the correct entry point.
useSidebar
and usePaths
are now available in the node entry point:
import { useSidebar, usePaths } from 'vitepress-openapi'
All other functions are available in the client entry point:
import { theme, useTheme, useOpenapi } from 'vitepress-openapi/client'
- Remove isDark prop and take it from VueUse - by @enzonotario (97d75)
The isDark
prop has been removed and is now taken from VueUse. This means that you will need to remove the isDark
prop from OAOperation
and OASpec
components.
-<OAOperation :isDark="isDark" :operation="operation" />
+<OAOperation :operation-id="operationId" />
-<OASpec :isDark="isDark" :spec="spec" />
+<OASpec :spec="spec" />
🐞 Bug Fixes
- Safe access to localStorage and window - by @enzonotario in #155 (5a9bf)