- Update supported
@angular
packages to include 4.x
- Remove
reflect-metadata
as dependency as it is not used anymore
- Rename package to
angular-carbonldp
. All imports need to be renamed as well.
- Complete #14 - Change peer dependencies so they allow any
@angular
2.x version
- Make the library AoT compliant
- Update
carbonldp
package to^0.42.0
(latest AoT compatible version) - Update
@angular
packages to latest 2+ stable release (2.4.9
)
- Update
carbonldp
package to^0.40.0
(latest semi-stable version) - Fix build task
- Update
@angular
packages to stable release (2.0.2)
- Fix #6
- Make the injection of dependencies asynchronous
- Add
watch
gulp task - Update
README
with latest initialization example
- Add signature to Auth.Service register function to allow a slug parameter to define the agent id.
- Implement new Auth.Service register signature to send the optional slug when creating the agent.
- Fix
@angular
packages versions
- Update
carbonldp
to0.37.0
- Update
angular2
to RC5
- Decorators no longer exist. Instead the following classes will take their place:
Authenticated
is nowAuthenticatedGuard
NotAuthenticated
is nowNotAuthenticatedGuard
RequiresActiveContext
is nowActiveContextResolver
- Instead of decorating your view, now you need to setup
guards
orresolvers
in your routing table. Forresolvers
you need to define the route the user should be redirected when an error occurs on thedata.onError
property.guards
also need a route to redirect the user to when the guard failed on thedata.onReject
property. Example:const appRoutes:Routes = [ { path: "home", component: HomeView, resolve: { activeContext: ActiveContextResolver }, data: { onError: [ "/error" ], } }, { path: "secured", component: SecuredView, canActivate: [ AuthenticatedGuard ], data: { onReject: [ "/login" ], onError: [ "/error" ], } } ];
- Add
SecurityAnnotation
to abstract behaviour
- Fix error with
RequiresActiveContext
due to an uncaught rejected promise
- Update carbonldp to 0.36.0
- Fix supported
@angular
versions inpackage.json
- Fix minor compilation error
- Update @angular to RC.3
- Restructured project so that only
dist
is published to npm
- Definition file
dist/index.d.ts
doesn't exist anymore. To use the package configure"moduleResolution": "node"
intsconfig.json
- Changed the authentication to handle invalid tokens instead of throwing an error
- Added
authChanged$
toAuthService
- Added
loggedInEmitter
andloggedOutEmitter
toAuthService
- Added JSPM dist directory
- Fixed node and JSPM file resolution
- Updated carbonldp dependency
- Initial release