Releases: jacob-8/sveltefirets
Releases · jacob-8/sveltefirets
v0.0.42
v0.0.41
v0.0.39
🐞 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
🚀 Features
- Add startWith option to createUserStore - by @jacob-8 (6f114)
- Incremental-collection-store - by @jacob-8 (31e0a)
🐞 Bug Fixes
- Update
peerDependenciesto 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 setmoduleResolutiontobundlerin yourtsconfig.jsonas described in https://kit.svelte.dev/docs/packaging#typescript.
0.0.32
authStateis set toundefineduntilonAuthStateChanged()either returnsnullor a Firebase User object enabling$authState !== undefinedto be used to detect if auth has finished loading
0.0.31
- make all options except
startWithonDocandCollectioncomponents reactive
0.0.29
-
- Breaking: Switched from adding a
firebaseConfig.tsfile manually and passing config tosveltefiretsin the root layout (client) and hooks (server) to just placing it in thePUBLIC_FIREBASE_CONFIG.env variable.firebaseConfigvalues are not accessed by importing fromsveltefiretsas the library automatically reads the .env variables now.
- Breaking: Switched from adding a
0.0.28
-
loadScriptOnceandloadStylesOncedont 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
providerIdsarray instead ofsignInMethodon user object
- Using
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 ofsaveUserData()which accepts entire authResult object from FirebaseUi for Web to addsignInMethodandemailVerifiedfields to the base user object. Correspondingly deprecated theupdateuserdataevent in favor ofauthresultforFirebaseUiAuth.svelte.
0.0.24
-
- Add
continueUrlprop toFirebaseUiAuth.svelteto make passwordless email authentication feasible using a landing page in single-page apps that conditionally loadFirebaseUiAuth
- Add
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.sveltecomponent (and code optimizations)
- Removed need to pass Firebase config to
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.svelteload client side and inhooks.tsserver side.
- Inited firebaseApp no longer needs passed into data retrieving functions server side. Instead, Firebase config must be passed to SvelteFireTS in the root