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
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 setmoduleResolution
tobundler
in yourtsconfig.json
as described in https://kit.svelte.dev/docs/packaging#typescript.
0.0.32
authState
is set toundefined
untilonAuthStateChanged()
either returnsnull
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
onDoc
andCollection
components reactive
0.0.29
-
- Breaking: Switched from adding a
firebaseConfig.ts
file manually and passing config tosveltefirets
in the root layout (client) and hooks (server) to just placing it in thePUBLIC_FIREBASE_CONFIG
.env variable.firebaseConfig
values are not accessed by importing fromsveltefirets
as the library automatically reads the .env variables now.
- Breaking: Switched from adding a
0.0.28
-
loadScriptOnce
andloadStylesOnce
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 ofsignInMethod
on 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 addsignInMethod
andemailVerified
fields to the base user object. Correspondingly deprecated theupdateuserdata
event in favor ofauthresult
forFirebaseUiAuth.svelte
.
0.0.24
-
- Add
continueUrl
prop toFirebaseUiAuth.svelte
to 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.svelte
component (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.svelte
load client side and inhooks.ts
server side.
- Inited firebaseApp no longer needs passed into data retrieving functions server side. Instead, Firebase config must be passed to SvelteFireTS in the root