Skip to content

Releases: jacob-8/sveltefirets

v0.0.42

21 Mar 03:52
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.0.41

20 Mar 09:43
Compare
Choose a tag to compare

   🚀 Features

  • Add awaitableDocStore that will wait for initial document load before returning a store that continues to listen to realtime updates -  by @jacob-8
    View changes on GitHub

v0.0.39

19 Mar 09:17
Compare
Choose a tag to compare

   🐞 Bug Fixes

  • Restore Firestore helper types to being able to use field values like timestamp  -  by @jacob-8 (ae0c6)
    View changes on GitHub

v0.0.38

19 Mar 08:58
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

  • Update peerDependencies to include Svelte 4 and Firebase 10
    View changes on GitHub

Changelog prior to v0.0.38

0.0.36 - 5/4/2023

  • update to latest SvelteKit 1.0+ package, update Firebase to 9.21.0
  • [breaking] if you want type intellisense for deep imports (import { loadScriptOnce } from 'sveltefirets/helpers/loader';) then update to typescript version 5 and set moduleResolution to bundler in your tsconfig.json as described in https://kit.svelte.dev/docs/packaging#typescript.

0.0.32

  • authState is set to undefined until onAuthStateChanged() either returns null or a Firebase User object enabling $authState !== undefined to be used to detect if auth has finished loading

0.0.31

  • make all options except startWith on Doc and Collection components reactive

0.0.29

    • Breaking: Switched from adding a firebaseConfig.ts file manually and passing config to sveltefirets in the root layout (client) and hooks (server) to just placing it in the PUBLIC_FIREBASE_CONFIG .env variable. firebaseConfig values are not accessed by importing from sveltefirets as the library automatically reads the .env variables now.

0.0.28

    • loadScriptOnce and loadStylesOnce dont mark script/style loaded until after it completes

0.0.27

    • Fix broken Firestore Lite methods by getting correct Firestore Lite instance

0.0.26

    • Using providerIds array instead of signInMethod on user object

0.0.25

    • Fix: User store will initialize immediately after firebase config set. v0.0.24 introduced a bug whereby the User store wouldn't initialize until something else called Firebase into action.
    • Deprecated updateUserData() in favor of saveUserData() which accepts entire authResult object from FirebaseUi for Web to add signInMethod and emailVerified fields to the base user object. Correspondingly deprecated the updateuserdata event in favor of authresult for FirebaseUiAuth.svelte.

0.0.24

    • Add continueUrl prop to FirebaseUiAuth.svelte to make passwordless email authentication feasible using a landing page in single-page apps that conditionally load FirebaseUiAuth

0.0.21

    • First version where installed package version successfully works from both server and client side when installed in another project.

0.0.19

    • Removed need to pass Firebase config to FirebaseUiAuth.svelte component (and code optimizations)

0.0.18

    • Inited firebaseApp no longer needs passed into data retrieving functions server side. Instead, Firebase config must be passed to SvelteFireTS in the root __layout.svelte load client side and in hooks.ts server side.