Skip to content

Commit

Permalink
[SDK-4559] Merge Beta to prepare for v4 GA Release (#935)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Sep 14, 2023
2 parents a9cb47e + c557474 commit 56614a4
Show file tree
Hide file tree
Showing 1,357 changed files with 89,234 additions and 242,431 deletions.
7 changes: 7 additions & 0 deletions .c8rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"reporter": ["text-summary", "lcov"],
"sourceMap": false,
"instrument": true,
"all": true,
"src": ["./src"]
}
33 changes: 15 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,36 @@
version: 2.1
orbs:
ship: auth0/ship@0.3.1
ship: auth0/ship@0.7.8
codecov: codecov/codecov@3
jobs:
build-and-test:
parameters:
node-version:
type: string
default: "14.20"
default: "18.17"
docker:
- image: cimg/node:<< parameters.node-version >>
resource_class: xlarge
environment:
LANG: en_US.UTF-8
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
key: yarn-packages-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: yarn install --ignore-engines
- save_cache:
name: Save Yarn Package Cache
key: yarn-packages-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- ship/node-install-packages
- run:
name: ESLint
command: yarn lint
command: npm run lint
- run:
name: Build
command: npm run build
- run:
name: Lint package
command: npm run lint:package
- run:
name: Tests
command: yarn test:ci
command: npm run test:ci
- when:
condition:
equal: [ "14.20", << parameters.node-version >> ]
equal: [ "18.17", << parameters.node-version >> ]
steps:
- codecov/upload
workflows:
Expand All @@ -42,9 +39,9 @@ workflows:
- build-and-test:
matrix:
parameters:
node-version: ["14.20", "16.18", "18.12"]
node-version: ["18.17", "20.3"]
- ship/node-publish:
pkg-manager: yarn
publish-command: npm run build && npm publish
requires:
- build-and-test
context:
Expand Down
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
!.mocharc.js
docs
out
29 changes: 29 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
module.exports = {
env: {
node: true,
commonjs: true,
es2017: true,
mocha: true,
},
ignorePatterns: ['**/*.mjs', '**/*.js'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:promise/recommended',
'plugin:prettier/recommended',
],
plugins: ['@typescript-eslint', 'import'],
parserOptions: {
ecmaVersion: 9,
},
rules: {
'@typescript-eslint/no-empty-interface': 'warn',
'@typescript-eslint/no-explicit-any': 'off',
'promise/catch-or-return': 'off',
'promise/always-return': 'off',
'import/no-default-export': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'import/extensions': ['error', 'always'],
},
};
56 changes: 0 additions & 56 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Bug Report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 🐞 Report a bug
description: Have you found a bug or issue? Create a bug report for this library
labels: ["bug"]
labels: ['bug']

body:
- type: markdown
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Feature Request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 🧩 Feature request
description: Suggest an idea or a feature for this library
labels: ["feature request"]
labels: ['feature request']

body:
- type: checkboxes
Expand Down
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ node_modules
# IntelliJ IDEA
.idea

# VS Code
.vscode
settings.json

build
**/.env
out/
test-results.xml
.nyc_output


# npm
package-lock.json
dist/
24 changes: 0 additions & 24 deletions .jsdoc.json

This file was deleted.

7 changes: 0 additions & 7 deletions .nycrc

This file was deleted.

5 changes: 4 additions & 1 deletion .shiprc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"postbump": "node scripts/jsdocs.js"
"files": {
"src/version.ts": []
},
"postbump": "npm run docs"
}
108 changes: 108 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## [v4.0.0-beta.10](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.10) (2023-09-12)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.9...v4.0.0-beta.10)

**Fixed**

- [SDK-4548] Support optional responses [\#928](https://github.com/auth0/node-auth0/pull/928) ([adamjmcgrath](https://github.com/adamjmcgrath))
- mark user_id as required for grants.deleteByUserId [\#930](https://github.com/auth0/node-auth0/pull/930) ([frederikprijck](https://github.com/frederikprijck))
- add fields and include_fields to organization.getMembers [\#929](https://github.com/auth0/node-auth0/pull/929) ([frederikprijck](https://github.com/frederikprijck))
- add pagination overloads to `client.getAll()` [\#931](https://github.com/auth0/node-auth0/pull/931) ([frederikprijck](https://github.com/frederikprijck))

## [v3.7.1](https://github.com/auth0/node-auth0/tree/v3.7.1) (2023-09-11)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.7.0...v3.7.1)
Expand All @@ -8,6 +19,19 @@

- fix: ManagementTokenProvider should also respect the keepAlive config option [\#927](https://github.com/auth0/node-auth0/pull/927) ([alaczi](https://github.com/alaczi))

## [v4.0.0-beta.9](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.9) (2023-09-06)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.8...v4.0.0-beta.9)

**⚠️ BREAKING CHANGES**

- Rename fetch option, add request examples [\#923](https://github.com/auth0/node-auth0/pull/923) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Change client id params to client_id [\#924](https://github.com/auth0/node-auth0/pull/924) ([adamjmcgrath](https://github.com/adamjmcgrath))

**Fixed**

- Avoid optional properties on responses where possible [\#921](https://github.com/auth0/node-auth0/pull/921) ([frederikprijck](https://github.com/frederikprijck))

## [v3.7.0](https://github.com/auth0/node-auth0/tree/v3.7.0) (2023-08-29)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.6.0...v3.7.0)
Expand All @@ -24,6 +48,49 @@

- Support providing Organization when resetting password [\#892](https://github.com/auth0/node-auth0/pull/892) ([frederikprijck](https://github.com/frederikprijck))

## [v4.0.0-beta.8](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.8) (2023-08-22)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.7...v4.0.0-beta.8)

**Fixed**

- Update AttackProtection response and general types [\#911](https://github.com/auth0/node-auth0/pull/911) ([frederikprijck](https://github.com/frederikprijck))
- Fix default condition should be the last one [\#915](https://github.com/auth0/node-auth0/pull/915) ([frederikprijck](https://github.com/frederikprijck))
- Fix trigger_id types for actions [\#914](https://github.com/auth0/node-auth0/pull/914) ([frederikprijck](https://github.com/frederikprijck))

## [v4.0.0-beta.7](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.7) (2023-08-16)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.6...v4.0.0-beta.7)

**⚠️ BREAKING CHANGES**

- [SDK-4485] Use native fetch, drop Node 16 support [\#906](https://github.com/auth0/node-auth0/pull/906) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Do not expose a grant method [\#904](https://github.com/auth0/node-auth0/pull/904) ([frederikprijck](https://github.com/frederikprijck))
- Only allow confidential clients [\#905](https://github.com/auth0/node-auth0/pull/905) ([frederikprijck](https://github.com/frederikprijck))

**Added**

- Support providing Organization when resetting password [\#893](https://github.com/auth0/node-auth0/pull/893) ([frederikprijck](https://github.com/frederikprijck))

**Fixed**

- Improve ESM and CJS support [\#902](https://github.com/auth0/node-auth0/pull/902) ([frederikprijck](https://github.com/frederikprijck))

## [v4.0.0-beta.6](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.6) (2023-07-19)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.5...v4.0.0-beta.6)

**Changed**

- Update managers [\#883](https://github.com/auth0/node-auth0/pull/883) ([frederikprijck](https://github.com/frederikprijck))
- Handle duplicate user sign up [\#886](https://github.com/auth0/node-auth0/pull/886) ([frederikprijck](https://github.com/frederikprijck))

**Added**

- Support Organization Name [\#885](https://github.com/auth0/node-auth0/pull/885) ([frederikprijck](https://github.com/frederikprijck))
- Add support for userinfo endpoint [\#872](https://github.com/auth0/node-auth0/pull/872) ([frederikprijck](https://github.com/frederikprijck))
- Support custom parameters with Authorization Code and Refresh Token Grants [\#889](https://github.com/auth0/node-auth0/pull/889) ([frederikprijck](https://github.com/frederikprijck))

## [v3.6.0](https://github.com/auth0/node-auth0/tree/v3.6.0) (2023-07-18)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.5.0...v3.6.0)
Expand All @@ -36,6 +103,22 @@

- Do not lowercase org_name claim [\#887](https://github.com/auth0/node-auth0/pull/887) ([frederikprijck](https://github.com/frederikprijck))

## [v4.0.0-beta.5](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.5) (2023-06-28)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.4...v4.0.0-beta.5)

**Fixed**

- Fix issue with TS rewriting fetch dynamic imports [\#878](https://github.com/auth0/node-auth0/pull/878) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v4.0.0-beta.4](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.4) (2023-06-28)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.3...v4.0.0-beta.4)

**Added**

- Upgrade to fetch 3 [\#876](https://github.com/auth0/node-auth0/pull/876) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v3.5.0](https://github.com/auth0/node-auth0/tree/v3.5.0) (2023-06-26)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.4.0...v3.5.0)
Expand All @@ -44,6 +127,31 @@

- Add option to pass x-request-language header for passwordless [\#873](https://github.com/auth0/node-auth0/pull/873) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v4.0.0-beta.3](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.3) (2023-05-19)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.2...v4.0.0-beta.3)

**Fixed**

- Fix void responses in Beta types [\#864](https://github.com/auth0/node-auth0/pull/864) ([adamjmcgrath](https://github.com/adamjmcgrath))
- Fix: add missing endpoint and model properties [\#866](https://github.com/auth0/node-auth0/pull/866) ([frederikprijck](https://github.com/frederikprijck))

## [v4.0.0-beta.2](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.2) (2023-05-18)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v4.0.0-beta.1...v4.0.0-beta.2)

**Fixed**

- Fix types exports [\#860](https://github.com/auth0/node-auth0/pull/860) ([adamjmcgrath](https://github.com/adamjmcgrath))

## [v4.0.0-beta.1](https://github.com/auth0/node-auth0/tree/v4.0.0-beta.1) (2023-05-15)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.4.0...v4.0.0-beta.1)

- Rewritten from the ground up in TypeScript
- Full TypeScript coverage of methods, request paramters, bodies, errors and responses
- Customisable modern networking stack

## [v3.4.0](https://github.com/auth0/node-auth0/tree/v3.4.0) (2023-05-05)

[Full Changelog](https://github.com/auth0/node-auth0/compare/v3.3.0...v3.4.0)
Expand Down
Loading

0 comments on commit 56614a4

Please sign in to comment.