Skip to content

Latest commit

 

History

History
552 lines (497 loc) · 21.7 KB

CHANGELOG.md

File metadata and controls

552 lines (497 loc) · 21.7 KB

Okta Node SDK Changelog

4.5.0

Features

  • #231 Adds TypeScript type definitions

4.4.0

  • #218

    • Uses req.url as key to cache response
    • Adds json() function to the default cache middleware response
  • #217 Upgrade dependencies to latest versions, include node 14 into CI test platforms

4.3.1

Bug Fixes

  • #213 Fixes off-by-one error in Collection iterator

4.3.0

Features

  • #210
    • Adds properties RefreshToken and Jwks to OpenIdConnectApplicationSettingsClient model
    • Adds models:
      • OpenIdConnectApplicationSettingsClientKeys
      • OpenIdConnectApplicationSettingsRefreshToken
      • OpenIdConnectRefreshTokenRotationType

4.2.0

  • #190 #194 Updates tests

  • #196 Updates dependency "flat"

  • #203 Upgrade isomorphic-fetch for security vuln

  • #205

    • Supports required params validation
    • Adds models:
      • AcsEndpoint
      • CustomHotpUserFactor
      • CustomHotpUserFactorProfile

4.1.2

  • #203 Upgrade isomorphic-fetch for security vuln

  • #206 Updates dependency "flat"

4.1.1

  • #191 Fixes for...of iteration bug in collection module

  • #180 Fix generated url encoding issue for expirePasswordAndGetTemporaryPassword

4.1.0

4.0.0

  • #167 Drop support for Node 8

  • #147 Major release to update APIs with latest @okta/openapi (v2.0.0) that includes new endpoints and changed method names. Please see list below for detailed information:

    • Fixes
      • Fix model constructor when initialize property models
      • Pass proper headers for http request
    • Factory changes
      • Change FactorFactory to UserFactorFactory
    • Model changes
      • Add ActivateFactorRequest
      • Add AppAndInstanceConditionEvaluatorAppOrInstance
      • Add AppAndInstancePolicyRuleCondition
      • Add AppInstancePolicyRuleCondition
      • Application
        • Add method initializtion
        • Add method generateCsr
        • Add method getCsr
        • Add method revokeCsr
        • Add method listCsrs
        • Add method publishCerCert
        • Add method publishBinaryCerCert
        • Add method publishDerCert
        • Add method publishBinaryDerCert
        • Add methodpublishBinaryPemCert
        • Add method listOAuth2Tokens
        • Add methodrevokeOAuth2TokenForApplication
        • Add method getOAuth2Token
        • Add method revokeOAuth2Tokens
        • Add method listScopeConsentGrants
        • Add method grantConsentToScope
        • Add method revokeScopeConsentGrant
        • Add method getScopeConsentGrant
      • Add ApplicationCredentialsSigningUse
      • Add AssignRoleRequest
      • Add AuthorizationServer
      • Add AuthorizationServerCredentials
      • Add AuthorizationServerCredentialsRotationMode
      • Add AuthorizationServerCredentialsSigningConfig
      • Add AuthorizationServerCredentialsUse
      • Add BeforeScheduledActionPolicyRuleCondition
      • Add Csr
      • Add CsrMetadata
      • Add CsrMetadataSubject
      • Add CsrMetadataSubjectAltNames
      • Change CallFactor to CallUserFactor
      • Change CallFactorProfile to CallUserFactorProfile
      • Add CatalogApplication
      • Add CatalogApplicationStatus
      • Add ClientPolicyCondition
      • Add ContextPolicyRuleCondition
      • Add CreateUserRequest
      • Add DevicePolicyRuleCondition
      • Add DevicePolicyRuleConditionPlatform
      • Add Duration
      • Remove EmailAddress
      • Remove EmailStatus
      • Remove EmailType
      • Change EmailFactor to EmailUserFactor
      • Change EmailFactorProfile to EmailUserFactorProfile
      • Add EnabledStatus
      • Add EventHook
      • Add EventHookChannel
      • Add EventHookChannelConfig
      • Add EventHookChannelConfigAuthScheme
      • Add EventHookChannelConfigAuthSchemeType
      • Add EventHookChannelConfigHeader
      • Add EventSubscriptions
      • Change Factor to UserFactor
      • Add Feature
      • Add FeatureStage
      • Add FeatureStageState
      • Add FeatureStageValue
      • Add FeatureType
      • Add GrantTypePolicyRuleCondition
      • Group
        • Add method listApplications
        • Add method assignRole
      • Add GroupPolicyRuleCondition
      • GroupRule
        • Add method delete
      • Add GroupType
      • Remove GroupStats
      • Change HardwareFactor to HardwareUserFactor
      • Change HardwareFactorProfile to HardwareUserFactorProfile
      • Add IdentityProvider
      • Add IdentityProviderApplicationUser
      • Add IdentityProviderCredentials
      • Add IdentityProviderCredentialsClient
      • Add IdentityProviderCredentialsSigning
      • Add IdentityProviderCredentialsTrust
      • Add IdentityProviderPolicy
      • Add IdentityProviderPolicyRuleCondition
      • Add InactivityPolicyRuleCondition
      • Add InlineHook
      • Add InlineHookChannel
      • Add InlineHookChannelConfig
      • Add InlineHookChannelConfigAuthScheme
      • Add InlineHookChannelConfigHeaders
      • Add InlineHookPayload
      • Add InlineHookResponse
      • Add InlineHookResponseCommandValue
      • Add InlineHookResponseCommands
      • Add InlineHookStatus
      • Add InlineHookType
      • Add IonField
      • Add IonForm
      • Add JwkUse
      • Add LifecycleExpirationPolicyRuleCondition
      • Add LinkedObject
      • Add LinkedObjectDetails
      • Add LinkedObjectDetailsType
      • Add MDMEnrollmentPolicyRuleCondition
      • Add OAuth2Actor
      • Add OAuth2Claim
      • Add OAuth2ClaimConditions
      • Add OAuth2Client
      • Add OAuth2Actor
      • Add OAuth2Scope
      • Add OAuth2ScopeConsentGrant
      • Add OAuth2ScopeConsentGrantSource
      • Add OAuth2ScopeConsentGrantStatus
      • Add OAuth2ScopesMediationPolicyRuleCondition
      • Add OAuth2Token
      • Add OAuthAuthorizationPolicy
      • Add OpenIdConnectApplicationIssuerMode
      • PasswordCredential
        • Add property hash
        • Add property hook
      • Add PasswordCredentialHash
      • Add PasswordCredentialHashAlgorithm
      • Add PasswordCredentialHook
      • Add PasswordExpirationPolicyRuleCondition
      • Add PlatformConditionEvaluatorPlatform
      • Add PlatformConditionEvaluatorPlatformOperatingSystem
      • Add PlatformConditionEvaluatorPlatformOperatingSystemVersion
      • Add PlatformPolicyRuleCondition
      • Policy
        • Add method createRule
      • Add PolicyAccountLink
      • Add PolicyAccountLinkFilter
      • Add PolicyAccountLinkFilterGroups
      • Add PolicyRuleConditions
      • Add PolicySubject
      • Add PolicySubjectMatchType
      • Add PolicyUserNameTemplate
      • Add Protocol
      • Add ProtocolAlgorithmType
      • Add ProtocolAlgorithmTypeSignature
      • Add ProtocolAlgorithms
      • Add ProtocolEndpoint
      • Add ProtocolEndpoints
      • Add ProtocolRelayState
      • Add ProtocolRelayStateFormat
      • Add ProtocolSettings
      • Add Provisioning
      • Add ProvisioningConditions
      • Add ProvisioningDeprovisionedCondition
      • Add ProvisioningGroups
      • Add ProvisioningSuspendedCondition
      • Change PushFactor to PushUserFactor
      • Change PushFactorProfile to PushUserFactorProfile
      • Add ResponseLinks
      • Add RiskPolicyRuleCondition
      • Add RiskScorePolicyRuleCondition
      • Role
        • Add method addAdminGroupTarget
        • Add method addAppInstanceTargetToAdminRole
        • Add method addAppTargetToAdminRole
        • Add method addAllAppsAsTargetToRole
        • Add method addAppTargetToAppAdminRoleForUser
        • Add method addAppTargetToAdminRoleForUser
      • Add RoleAssignmentType
      • Add RoleType
      • Add ScheduledUserLifecycleAction
      • Add Scope
      • Add ScopeType
      • Change SecurityQuestionFactor to SecurityQuestionUserFactor
      • Change SecurityQuestionFactorProfile to SecurityQuestionUserFactorProfile
      • Add SmsTemplate
      • Add SmsTemplateTranslations
      • Add SmsTemplateType
      • Change SmsFactor to SmsUserFactor
      • Change SmsFactorProfile to SmsUserFactorProfile
      • Add SocialAuthToken
      • Change TokenFactor to TokenUserFactor
      • Change TokenFactorProfile to TokenUserFactorProfile
      • Change TotpFactor to TotpUserFactor
      • Change TotpFactorProfile to TotpUserFactorProfile
      • Add TrustedOrigin
      • Change U2fFactor to U2fUserFactor
      • Change U2fFactorProfile to U2fUserFactorProfile
      • User
        • Add property type
        • Change method endAllSessions to clearSessions
        • Remove param queryParameters from listAppLinks
        • Remove method forgotPassword
        • Add method forgotPasswordSetNewPassword
        • Add method forgotPasswordGenerateOneTimeToken
        • Change method addRole to assignRole
        • Change method listGroupTargetsForRole to listGroupTargets
        • Change method removeGroupTargetFromRole to removeGroupTarget
        • Change method addGroupTargetToRole to addGroupTarget
        • Add method listAssignedRoles
        • Add method addAllAppsAsTarget
        • Remove param queryParameters from listGroups
        • Add method listGrants
        • Add method revokeGrants
        • Add method revokeGrant
        • Add method revokeGrantsForUserAndClient
        • Add method listRefreshTokensForUserAndClient
        • Add method revokeTokenForUserAndClient
        • Add method getRefreshTokenForUserAndClient
        • Add method revokeTokensForUserAndClient
        • Add method listClients
        • Add method reactivate
        • Remove param queryParameters from expirePassword
        • Add method expirePasswordAndGetTemporaryPassword
        • Add method deleteFactor
        • Change method addFactor to enrollFactor
        • Add method setLinkedObject
        • Add method listIdentityProviders
        • Add method getLinkedObjects
        • Add method removeLinkedObject
      • Add UserIdentifierConditionEvaluatorPattern
      • Add UserIdentifierPolicyRuleCondition
      • Add UserIdentityProviderLinkRequest
      • Add UserLifecycleAttributePolicyRuleCondition
      • Add UserPolicyRuleCondition
      • Add UserStatusPolicyRuleCondition
      • Add UserType
      • Remove Verify
      • Change VerifyFactorResponse to VerifyUserFactorResponse
      • Add WebAuthnUserFactor
      • Add WebAuthnUserFactorProfile
      • Change WebFactor to WebUserFactor
      • Change WebFactorProfile to WebUserFactorProfile
    • Client changes
      • Add method listCsrsForApplication
      • Add method generateCsrForApplication
      • Add method revokeCsrFromApplication
      • Add method getCsrForApplication
      • Add method publishCerCert
      • Add method publishBinaryCerCert
      • Add method publishDerCert
      • Add method publishBinaryDerCert
      • Add method publishBinaryPemCert
      • Add method generateApplicationKey
      • Add method listScopeConsentGrants
      • Add method grantConsentToScope
      • Add method revokeScopeConsentGrant
      • Add method getScopeConsentGrant
      • Add method revokeOAuth2TokensForApplication
      • Add method listOAuth2TokensForApplication
      • Add method revokeOAuth2TokenForApplication
      • Add method getOAuth2TokenForApplication
      • Add method listAuthorizationServers
      • Add method createAuthorizationServer
      • Add method deleteAuthorizationServer
      • Add method getAuthorizationServer
      • Add method updateAuthorizationServer
      • Add method listOAuth2Claims
      • Add method createOAuth2Claim
      • Add method deleteOAuth2Claim
      • Add method getOAuth2Claim
      • Add method updateOAuth2Claim
      • Add method listOAuth2ClientsForAuthorizationServer
      • Add method revokeRefreshTokensForAuthorizationServerAndClient
      • Add method listRefreshTokensForAuthorizationServerAndClient
      • Add method revokeRefreshTokenForAuthorizationServerAndClient
      • Add method getRefreshTokenForAuthorizationServerAndClient
      • Add method listAuthorizationServerKeys
      • Add method rotateAuthorizationServerKeys
      • Add method activateAuthorizationServer
      • Add method deactivateAuthorizationServer
      • Add method listAuthorizationServerPolicies
      • Add method createAuthorizationServerPolicy
      • Add method deleteAuthorizationServerPolicy
      • Add method getAuthorizationServerPolicy
      • Add method updateAuthorizationServerPolicy
      • Add method listOAuth2Scopes
      • Add method createOAuth2Scope
      • Add method deleteOAuth2Scope
      • Add method getOAuth2Scope
      • Add method updateOAuth2Scope
      • Add method listEventHooks
      • Add method createEventHook
      • Add method deleteEventHook
      • Add method getEventHook
      • Add method updateEventHook
      • Add method activateEventHook
      • Add method deactivateEventHook
      • Add method verifyEventHook
      • Add method listFeatures
      • Add method getFeature
      • Add method listFeatureDependencies
      • Add method listFeatureDependents
      • Add method updateFeatureLifecycle
      • Change listRules to listGroupRules
      • Change createRule to createGroupRule
      • Change deleteRule to deleteGroupRule
      • Change getRule to getGroupRule
      • Change updateRule to updateGroupRule
      • Change activateRule to activateGroupRule
      • Change deactivateRule to deactivateGroupRule
      • Add method listAssignedApplicationsForGroup
      • Add method listGroupAssignedRoles
      • Add method assignRoleToGroup
      • Add method removeRoleFromGroup
      • Add method getRole
      • Add method listApplicationTargetsForApplicationAdministratorRoleForGroup
      • Add method removeApplicationTargetFromApplicationAdministratorRoleGivenToGroup
      • Add method addApplicationTargetToAdminRoleGivenToGroup
      • Add method removeApplicationTargetFromAdministratorRoleGivenToGroup
      • Add method addApplicationInstanceTargetToAppAdminRoleGivenToGroup
      • Add method listGroupTargetsForGroupRole
      • Add method removeGroupTargetFromGroupAdministratorRoleGivenToGroup
      • Add method addGroupTargetToGroupAdministratorRoleForGroup
      • Change removeGroupUser to removeUserFromGroup
      • Add method listIdentityProviders
      • Add method createIdentityProvider
      • Add method listIdentityProviderKeys
      • Add method createIdentityProviderKey
      • Add method deleteIdentityProviderKey
      • Add method getIdentityProviderKey
      • Add method deleteIdentityProvider
      • Add method getIdentityProvider
      • Add method updateIdentityProvider
      • Add method listCsrsForIdentityProvider
      • Add method generateCsrForIdentityProvider
      • Add method revokeCsrForIdentityProvider
      • Add method getCsrForIdentityProvider
      • Add method publishCerCertForIdentityProvider
      • Add method publishBinaryCerCertForIdentityProvider
      • Add method publishDerCertForIdentityProvider
      • Add method publishBinaryDerCertForIdentityProvider
      • Add method publishBinaryPemCertForIdentityProvider
      • Add method listIdentityProviderSigningKeys
      • Add method generateIdentityProviderSigningKey
      • Add method getIdentityProviderSigningKey
      • Add method cloneIdentityProviderKey
      • Add method activateIdentityProvider
      • Add method deactivateIdentityProvider
      • Add method listIdentityProviderApplicationUsers
      • Add method unlinkUserFromIdentityProvider
      • Add method getIdentityProviderApplicationUser
      • Add method linkUserToIdentityProvider
      • Add method listSocialAuthTokens
      • Add method listInlineHooks
      • Add method createInlineHook
      • Add method deleteInlineHook
      • Add method getInlineHook
      • Add method updateInlineHook
      • Add method executeInlineHook
      • Add method activateInlineHook
      • Add method deactivateInlineHook
      • Add method listLinkedObjectDefinitions
      • Add method addLinkedObjectDefinition
      • Add method deleteLinkedObjectDefinition
      • Add method getLinkedObjectDefinition
      • Add method listUserTypes
      • Add method createUserType
      • Add method deleteUserType
      • Add method getUserType
      • Add method updateUserType
      • Add method replaceUserType
      • Change addPolicyRule to createPolicyRule
      • Add method listSmsTemplates
      • Add method createSmsTemplate
      • Add method deleteSmsTemplate
      • Add method getSmsTemplate
      • Add method partialUpdateSmsTemplate
      • Add method updateSmsTemplate
      • Add method listOrigins
      • Add method createOrigin
      • Add method deleteOrigin
      • Add method getOrigin
      • Add method updateOrigin
      • Add method activateOrigin
      • Add method deactivateOrigin
      • Add method setLinkedObjectForUser
      • Add method partialUpdateUser
      • Remove param queryParameters from listAppLinks
      • Add method listUserClients
      • Add method revokeGrantsForUserAndClient
      • Add method listGrantsForUserAndClient
      • Add method revokeTokensForUserAndClient
      • Add method listRefreshTokensForUserAndClient
      • Add method revokeTokenForUserAndClient
      • Add method getRefreshTokenForUserAndClient
      • Remove method forgotPassword
      • Add method forgotPasswordGenerateOneTimeToken
      • Add method forgotPasswordSetNewPassword
      • Change addFactor to enrollFactor
      • Add method getFactorTransactionStatus
      • Add method revokeUserGrants
      • Add method listUserGrants
      • Add method revokeUserGrant
      • Add method getUserGrant
      • Remove param queryParameters from listUserGroups
      • Add method listUserIdentityProviders
      • Remove param queryParameters from expirePassword
      • Add method expirePasswordAndGetTemporaryPassword
      • Add method reactivateUser
      • Change resetAllFactors to resetFactors
      • Add method removeLinkedObjectForUser
      • Add method getLinkedObjectsForUser
      • Change listAssignedRoles to listAssignedRolesForUser
      • Change addRoleToUser to assignRoleToUser
      • Add method listApplicationTargetsForApplicationAdministratorRoleForUser
      • Add method addAllAppsAsTargetToRole
      • Add method removeApplicationTargetFromApplicationAdministratorRoleForUser
      • Add method addApplicationTargetToAdminRoleForUser
      • Add method removeApplicationTargetFromAdministratorRoleForUser
      • Add method addApplicationTargetToAppAdminRoleForUser
      • Change endAllUserSessions to clearUserSessions

3.3.1

  • #138 Add strategy to handle access token refresh

3.2.0

  • #128 Adds support for OAuth

3.1.0

  • Updates the Okta Openapi to 1.11
  • Adds functionality for Okta Sign In Policy
  • Adds functionality for Password Policy
  • Adds U2F Factor
  • Provides options array to many models

3.0.0

  • Dropping node.js version support for anything less than 8.15

2.1.1

  • #109 Moves openapi to devdeps; fixes test lint
  • #108 Fixes app creation test failures
  • #102 Fixes for Application hyperlinks in jsdocs
  • #100 Some jsdocs fixes
  • #112 Upgrade lodash to 4.17.14

2.0.0

  • Drop support for Node 4
  • New behavior for expirationPoll option on MemoryStore. The expiration poll feature is now opt-in. By default there will be no memory scan to proactively remove key values. Passing a number or null for expirationPoll will behave as before. Passing a value of true will use a default of 15000ms.
  • The DefaultRequestExecutor is now used by default, if no request executor is provided.
  • Enable async iteration on any Collection (#93)
  • Set node support to 6.9.0 (#95)
  • Enable cache expiration polling only if a truthy value is specified (#89)
  • Fixes failing client create test (#80)

1.2.0

  • Adds a default request executor that will retry requests when rate limit exceptions have occurred. Please see the README for full documentation. This executor is opt-in for now, but will be used by default in the 2.0 release.

1.1.0

  • Add an HTTP cache for simple resources fetched by GET.
  • Add support for the System Log API, including a subscription interface on collections.
  • Fix: client.listUsers().each() executes once for query that returns an empty list (#12).

1.0.0

  • Where's 1.0.0?? Due to a nuance of our CD system, this one was skipped :)

0.4.0

  • Add support for Application and Session APIs

0.3.0

  • Internal update for package.json

0.2.0

  • Add support for Factors API

0.1.0

  • First release with support for User and Group APIs