Skip to content

Latest commit

 

History

History
116 lines (74 loc) · 7.66 KB

CHANGELOG.md

File metadata and controls

116 lines (74 loc) · 7.66 KB

2.0.0-beta.5 (2016-09-15)

Bug Fixes

  • docs: Remove @next install (5984a99)
  • docs: typos (197026a)
  • docs: Update for beta.4 (f2d5ba5)
  • docs: Update for beta.4 (b347e16)
  • firebase_*_factory.js: Fix calls to off() which inadvertently cancel all listeners on the path (#469) (b4fb281), closes #443
  • package: Version number (986685a)

Features

BREAKING CHANGES

The way this project is packaged has changed to be consistent with other Angular packages. Previously:

  • The project just consisted of CommonJS modules, with angularfire2.js as the main entry point.
  • The project provided an es6 directory which contained es2015 modules and es2015 JS
  • Package.json included main and jsnext:main fields, pointing to angularfire2.js and es6/angularfire2.js, respectively.

Now:

  • The project ships ES2015 modules with ES5 JS at the root, as well as an ES5 UMD bundle at bundles/angulafire2.umd.js
  • The main field of package.json points to bundles/angularfire2.umd.js.
  • Instead of jsnext:main, we're using the module field of package.json to point to index.js.
  • Instead of angularfire2.js being the main entry point, an index.js has been added (though angulafire2.js hasn't changed significantly).

If you're using Rollup or Webpack, they should just work with this new setup (please open issues if not). If using SystemJS, you should be able to add format: 'esm' inside of the packages configuration, and it should load and parse the es2015 modules correctly.

The addition of the umd bundle will also make it possible to use AngularFire2 in a <script> tag, such as in a plunker or JSBin. The library is exported on a global called angularFire2.

2.0.0-beta.4 (2016-08-22)

Bug Fixes

  • auth: add scheduler to schedule onAuth events through Angular zone (#368) (3615318), closes #354
  • auth: Auth config for initializeApp (#428) (a2ee25d)
  • auth: check protocol before calling getRedirectResult (#271) (f38e9d7), closes #243
  • auth: make statically analyzable x2 (#427) (ab80954)
  • auth: providerData issue (#420) (1ebb726)
  • list: FirebaseListObservable shape (#321) (35e8583)
  • providers: make AoT compile friendly (#410) (6219ac1)

Features

BREAKING CHANGES

  • Previously, es modules were published to the es6/ directory inside the npm package. This change publishes them to the esm directory to be consistent with other angular packages. Currently, the es6 directory is still published in the npm package, but will be removed in a future release.
  • auth: The AngularFireAuth class has changed the order of its constructor arguments. Since this is usually instantiated automatically via dependency injection, it shouldn't affect common usage of the library. However, if manually instantiating AngularFireAuth in tests or in an application, the order of arguments is now: (AuthBackend, WindowLocation[, AuthConfiguration]).

2.0.0-beta.2 (2016-06-22)

Bug Fixes

  • auth: check for null user before attempting to transform (981f0f5), closes #251
  • auth: correctly emit anonymous auth state (51c8caa)
  • auth: make sure onAuth runs in Angular zone (d9a6ae7), closes #231
  • build: downgrade to stable TS version to fix d.ts (664a156), closes #250

AngularFire2 2.0.0-beta.1

This release updates AngularFire to the Firebase 3 SDK. There are a few breaking changes, most notably in how apps are configured, and how third-party oauth tokens are handled.

Breaking Changes:

AngularFire2 2.0.0-beta.0

Features

  • Declarative Querying Commit
  • Upgrade to Angular RC.1 Commit

Bug Fixes

  • FirebaseListFactory: prevent first item being duplicated when it Commit

Docs

Breaking Changes:

  • Web Worker support has been temporarily removed due to Angular 2 RC.0 not yet supporting Web Workers