Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
release: 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongranick-okta committed Sep 2, 2020
1 parent b8f10c6 commit e291464
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
18 changes: 14 additions & 4 deletions packages/okta-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# Pending
# 3.0.0

### Features

[#778](https://github.com/okta/okta-oidc-js/pull/778) `OktaAuthService` inherits from the `OktaAuth` service exported by [@okta/okta-auth-js](https://github.com/okta/okta-auth-js) making the full [configuration](https://github.com/okta/okta-auth-js#configuration-reference) and [api](https://github.com/okta/okta-auth-js#api-reference) available on `OktaAuthService`

### Breaking Changes

[#778](https://github.com/okta/okta-oidc-js/pull/778) `@okta/okta-auth-js` is updated to version 4.0.0 and `@okta/configuration-validation` is updated to 1.0.0. These updates contain several breaking changes:

- Typescript definitions are now included. If you were providing your own definitions for `@okta/okta-auth-js` or `@okta/configuration-validation` you should remove these locally defined types in favor of the types exported by this library.

- onSessionExpired option has been removed. [TokenManager events](https://github.com/okta/okta-auth-js#tokenmanageronevent-callback-context) can be used to detect and handle token renewal errors.


### 2.2.0

Expand All @@ -17,9 +30,6 @@
### Features

[#776](https://github.com/okta/okta-oidc-js/pull/776) `OktaAuthGuard` now implements `canActivateChild`
# PENDING

[#778](https://github.com/okta/okta-oidc-js/pull/778) Exposes the internal [okta-auth-js](https://github.com/okta/okta-auth-js) instance.

# 2.0.0

Expand Down
4 changes: 3 additions & 1 deletion packages/okta-angular/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@ const oktaConfig = {

### `OktaAuthService`

In your components, your can take advantage of all of `okta-angular`'s features by importing the `OktaAuthService`. The example below shows connecting two buttons to handle **login** and **logout**:
In your components, your can take advantage of all of `okta-angular`'s features by importing the `OktaAuthService`. The `OktaAuthService` inherits from the `OktaAuth` service exported by [@okta/okta-auth-js](https://github.com/okta/okta-auth-js) making the full [configuration](https://github.com/okta/okta-auth-js#configuration-reference) and [api](https://github.com/okta/okta-auth-js#api-reference) available on `OktaAuthService`.

The example below shows connecting two buttons to handle **login** and **logout**:

```typescript
// sample.component.ts
Expand Down
2 changes: 1 addition & 1 deletion packages/okta-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@okta/okta-angular",
"private": true,
"version": "2.2.0",
"version": "3.0.0",
"description": "Angular support for Okta",
"main": "./bundles/okta-angular.umd.js",
"module": "./fesm5/okta-angular.js",
Expand Down

0 comments on commit e291464

Please sign in to comment.