diff --git a/.github/workflows/docs-prs.yml b/.github/workflows/docs-prs.yml index 3452e7f4..3e5a4231 100644 --- a/.github/workflows/docs-prs.yml +++ b/.github/workflows/docs-prs.yml @@ -19,7 +19,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - name: Install dependencies diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 722d3e4b..98127880 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,7 +21,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - name: Install dependencies diff --git a/CHANGELOG.md b/CHANGELOG.md index c20aaab3..e3c03ab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## [3.2.2](https://github.com/vuejs/vuefire/compare/v3.2.1...v3.2.2) (2025-07-20) + +### Features + +- support Firebase 12 ([#1629](https://github.com/vuejs/vuefire/issues/1629)) ([3b2405f](https://github.com/vuejs/vuefire/commit/3b2405f027e17902044d4be5887d811c9dc39f7c)) + +## [3.2.1](https://github.com/vuejs/vuefire/compare/v3.2.1-beta.0...v3.2.1) (2024-12-18) + +### Features + +- support latest firebase ([062c044](https://github.com/vuejs/vuefire/commit/062c0441903d3b8f9b6467e292a896ff4aed0cd1)) + # [3.2.0](https://github.com/vuejs/vuefire/compare/vuefire@3.1.24...vuefire@3.2.0) (2024-08-16) ### Bug Fixes diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index dd11a29f..5a4345a9 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -280,7 +280,10 @@ function sidebarApi(): SidebarGroup { text: 'API Reference', items: [ { text: 'Package List', link: '/api/' }, - { text: 'nuxt-vuefire', link: '/api/modules/nuxt_vuefire.html' }, + { + text: 'nuxt-vuefire', + link: '/api/modules/packages_nuxt_src_module.html', + }, { text: 'vuefire', link: '/api/modules/vuefire.html' }, ], } diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index 8a4a44f1..513e3ba6 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -38,7 +38,7 @@ Most of the time, you should gather collection references in one of your files a ```js import { initializeApp } from 'firebase/app' -import { getDatabase, dbRef } from 'firebase/database' +import { getDatabase, ref as dbRef } from 'firebase/database' // ... other firebase imports export const firebaseApp = initializeApp({ diff --git a/docs/guide/storage.md b/docs/guide/storage.md index 7e641d30..bdfbb805 100644 --- a/docs/guide/storage.md +++ b/docs/guide/storage.md @@ -1,6 +1,6 @@ # Firebase Storage -[Firebase Storage](https://firebase.google.com/docs/storage/web/start) is a cloud storage service for Firebase. It allows you to store and serve user-generated content like images, audio, video, and other files. While most of the APIs can be used as you would normally do with Firebase, VueFire exposes a few composables to integrate better with Vue that not only give you access to reactive variables but also to some actions like `upload()` to update a file while keeping the reactive variable up to date at the same time. +[Firebase Storage](https://firebase.google.com/docs/storage/web/start) is a cloud storage service for Firebase. It allows you to store and serve user-generated content like images, audio, video, and other files. While most of the APIs can be used as you would normally do with Firebase, VueFire exposes a few composables to integrate better with Vue. These not only give you access to reactive variables, but also to some actions like `upload()` which updates a file while also keeping the reactive variable up to date. ## Installation @@ -10,9 +10,9 @@ You can access the Firebase Storage from within any component with the composabl ## Uploading Files -You can upload and monitor the progress of a file upload with the `useStorageFile()` composable. This also exposes the URL of the file once it's uploaded and its metadata, let's start with a full example of a form upload: +To upload and monitor the upload progress of a file, use the `useStorageFile()` composable. This will expose the URL and metadata of the file once it's uploaded. Here's a full example of a form upload: -```vue +```vue{5,18}