Releases: deptyped/vue-telegram
Releases · deptyped/vue-telegram
0.8.0
0.7.0
What's Changed
-
Added support for Bot API 7.7 in #28
- Added
isVerticalSwipesEnabled
,enableVerticalSwipes
,disableVerticalSwipes
to useWebAppViewport. - Added
onScanQrPopupClosed
to useWebAppQrScanner. - ExpandedViewport component in force-mode now also disables vertical swipes.
- Added
-
Added
isFeatureSupported
helper to useWebApp in #32Usage example:
<script lang="ts" setup> import { useWebApp, useWebAppViewport } from 'vue-tg' const { isFeatureSupported } = useWebApp() const { disableVerticalSwipes } = useWebAppViewport() if (isFeatureSupported('DisableVerticalSwipes')) { disableVerticalSwipes() } else { // some kind of fallback or alert } </script>
ClosingConfirmation
,CloudStorage
,RequestWriteAccess
,RequestContact
,SettingsButton
,BiometricManager
,DisableVerticalSwipes
features are available to check. -
Improved types for
isPlatform
helper, added type hints for all official Telegram apps. -
Added Nuxt 3 setup to docs by @IAMSDR in #24
- Available in the documentation: https://vue-tg.deptyped.com/installation.html#using-with-nuxt-3
-
Breaking Change: Removed default export for plugin, use named import for
VueTelegramPlugin
:-import VueTelegramPlugin from 'vue-tg' +import { VueTelegramPlugin } from 'vue-tg'
Full Changelog: 0.6.1...0.7.0
0.6.1
Full Changelog: 0.6.0...0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
Full Changelog: https://github.com/deptyped/vue-telegram/commits/0.2.0