This repository was archived by the owner on Mar 17, 2025. It is now read-only.
Releases: FirebaseExtended/angularfire
Releases · FirebaseExtended/angularfire
v1.1.1
- Fixed bug where
$firebaseArray.$loaded()
was resolved before the data was actually available.
v1.1.0
- Improved performance (and fixed some timing bugs) by replacing custom internal batching logic with Angular's
$evalAsync()
. - The
$$added()
,$$updated()
,$$moved()
, and$$removed()
methods on$firebaseArray
can now optionally return a promise (thanks to @jamestalmage). - The
new
keyword is now optional for services which use$extend()
to add functionality to$firebaseArray
and$firebaseObject
. - Removed unnecessary debug logging in
$firebaseArray.$destroy()
. $waitForAuth()
and$requireAuth()
now properly detect authentication state changes.- Fixed cases where
$$error()
was being called onnull
objects. - Resolved inconsistent argument validation in
$changeEmail()
(thanks to @whitneyit).
v1.0.0
- Read carefully! There are several breaking changes in this release.
- The API is now official! Future 1.x.x releases will remain backwards-compatible with the current API contract.
- We have a migration guide here.
- Upgraded Firebase dependency to 2.2.x.
- Enhanced performance of
$bindTo()
(thanks @jamestalmage). - Added support for CommonJS (thanks @bendrucker).
$firebase
has been removed; see the migration guide for alternatives.$inst()
was removed; use$ref()
to get to the underlying Firebase reference.- The previously deprecated ability to pass in credentials to the user management methods of
$firebaseAuth
as individual arguments has been removed in favor of a single credentials argument. - The previously deprecated
$sendPasswordResetEmail()
method has been removed; use the equivalent$resetPassword()
method instead. $asArray()
has been replaced by calling the$firebaseArray
service directly.$asObject()
has been replaced by calling the$firebaseObject
service directly.$FirebaseArray
renamed to $firebaseArray.
$FirebaseObject
renamed to$firebaseObject
.$extendFactory()
has been renamed to$extend()
and has been simplified; see the migration guide for details.A warning message is now displayed when trying to sync to array-like data, since this is error-prone.
Upgraded Angular dependency to 1.3.x and 1.4.x (Angular 1.2.x should still work but it is no longer officially supported).
$value
is now removed when data changes from a primitive to an object with child keys (thanks @jamestalmage).
v0.9.2
- Fixed bug which caused
$FirebaseObject.$remove()
to not actually remove the object from Firebase and, in some cases, caused aPERMISSION_DENIED
error.
v0.9.1
- Added
$firebaseAuth.$changeEmail()
to change the email address associated with an existing account. $firebaseAuth.$createUser()
is now fulfilled with a user object which contains the created user'suid
.- Added several minor performance improvements implemented by @jamestalmage.
$firebaseAuth.$onAuth()
now properly fires a digest loop upon changes in authentication state.- Fixed an issue with
$firebaseAuth.$offAuth()
which prevented the callback from actually being unbound (thanks to @jamestalmage). - Fixed a bug in
$firebase.$remove()
when deleting a Firebase query reference (thanks to @jamestalmage). - Passing in credentials to the user management methods of
$firebaseAuth
as individual arguments has been deprecated in favor of a single credentials argument. - Deprecated
$firebaseAuth.$sendPasswordResetEmail()
in favor of the functionally equivalent$firebaseAuth.$resetPassword()
.
v0.9.0
- AngularFire support for Simple Login has been removed in favor of the new authentication methods introduced in Firebase 1.1.0.
- AngularFire is now available on npm as
angularfire
. - Upgraded Firebase dependency to 2.0.x.
- Added
$waitForAuth()
and$requireAuth()
methods to easily retrieve and require authentication state in Angular routers. - Added
$remove()
method to$FirebaseObject
to remove an entire object from Firebase. - Simplified the code required to extend the
$FirebaseArray
and$FirebaseObject
factories. - Added automatic session persistence for all authentication methods.
- Added a standardized
authData
returned for all authentication providers. - The
$firebaseSimpleLogin
service has been replaced with$firebaseAuth
, which supports the new Firebase authentication methods introduced in Firebase 1.1.0. $login()
has been replaced with the functionally equivalent$authWith*()
methods.$logout()
has been renamed to$unauth()
.- The API for the user management methods have changed slightly.
- The
user
property has been removed from the authentication service. You can now use$getAuth()
to synchronously retrieve a client's authentication state.
v0.8.2
- Fixed issue with
bower install angularfire
caused by the 0.8.1 release.
v0.8.1
- Optimized our
$bindTo()
code base. - Improved saving deeply nested data structures to Firebase (resolved invalid
$$hashKey
errors inng-repeat
). - Can now use
$$defaults
to set local, default values on synchronized objects. - Fixed bug which caused
$bindTo()
to not work with inputs (cursor jumped to end). - Changing
$priority
and$value
when using$bindTo()
now cause the server properly update (they are now stored as_id
,_value
, and_priority
, which trigger updates for$watch()
). $
fields no longer show up when looping over$asObject()
.- Modified
$add()
to accept$priority
and$value
meta fields. $save()
method now notifies listeners registered with$watch()
.
v0.8.0
NOTE: this release introduces several breaking changes as we work towards a stable 1.0.0 release.
- Introduced synchronized arrays (
$FirebaseArray
) for handling collections. - Added support for extending the prototype of synchronized objects and arrays (via
$extendObject()
). - The
$firebase
object is now a utility for obtaining synchronized objects/arrays and for calling Firebase write operations. A lot of previous functionality on$firebase
has been moved to the new$FirebaseObject
. $on("loaded")
has been replaced with$loaded()
(which now also returns a promise).$child()
no longer exists. The data already exists in the parent object and creating additional synchronized children is not efficient and discouraged. Use data transformations, flatten your data, or drop down to the Firebase SDK and use itschild()
method.$on()
and$off()
no longer exist. Similar functionality can be obtained with$watch()
but should be discouraged for trying to manually manage server events (manipulation should be done with data transformations through$extendFactory()
instead).- Renamed
$bind()
to$bindTo()
(which now exists on$FirebaseObject
). orderByPriority
was removed (is no longer needed since the new$FirebaseArray
creates ordered arrays).- Almost all methods in the library now return a promise.
- Miscellaneous bug fixes.
- Created complete suite of unit tests and end-to-end tests for all API methods.
- New enhanced docs and guides on firebase.com!
- Note:
$firebaseSimpleLogin
remained unchanged.
A big thanks to our contributors, @bendrucker and @thomasweiser, as well as our alpha testers, Josh Bowdoin, Giles Tamplin, Jonathan El-Bizri, and dozens of contributions and ideas from our users! Thanks for being such an amazing community!
v0.7.1
- Added a
MockFirebase
and some rudimentary unit tests (more to come). - Upgraded to Firebase Simple Login version 1.3.0.
$transaction()
now returns a promise (previously returned nothing, so not an API breaking change).$getIndex()
now works inside of$bind()
.- Fixed issue with the
value
event when using$on()
.