Skip to content

feat: Upgrade core dependencies and regenerate documentation#856

Merged
gyaneshgouraw-okta merged 12 commits intomainfrom
dependency-update
Jul 17, 2025
Merged

feat: Upgrade core dependencies and regenerate documentation#856
gyaneshgouraw-okta merged 12 commits intomainfrom
dependency-update

Conversation

@subhankarmaiti
Copy link
Contributor

Key Changes:

  • Dependency Upgrades: Core packages have been updated to their latest versions, including:

    • @auth0/auth0-spa-js to ^2.2.0
    • typescript to ^5.8.3
    • typedoc to ^0.28.7
    • react and react-dom to ^19.1.0
    • Testing libraries like jest and @testing-library/*
    • Linting tools like @typescript-eslint/* to ^8.x
  • Documentation Regeneration: As a result of the typedoc upgrade, the entire /docs directory has been regenerated. This brings in a modern theme, an improved structure, and new features like a hierarchy view for better API exploration.

  • Enhanced Type Safety: The project's tsconfig.json has been configured with stricter type-checking rules, including exactOptionalPropertyTypes and noUncheckedIndexedAccess. The codebase has been updated to conform to these rules, leading to more precise and safer type definitions.

  • Code Modernization: The codebase has been refactored to use modern JavaScript syntax, such as nullish coalescing (??) and optional chaining (?.).

  • Test Suite Improvements:

    • Comprehensive unit tests have been added for an internal utility function.
    • Asynchronous tests have been updated to correctly use await act(), ensuring more stable and reliable test execution.

@subhankarmaiti subhankarmaiti marked this pull request as ready for review July 11, 2025 07:28
@subhankarmaiti subhankarmaiti requested a review from a team as a code owner July 11, 2025 07:28
@gyaneshgouraw-okta gyaneshgouraw-okta merged commit ff74518 into main Jul 17, 2025
10 of 11 checks passed
@gyaneshgouraw-okta gyaneshgouraw-okta deleted the dependency-update branch July 17, 2025 09:55
gyaneshgouraw-okta pushed a commit that referenced this pull request Sep 17, 2025
### Key Changes:

* **Dependency Upgrades:** Core packages have been updated to their
latest versions, including:
    *   `@auth0/auth0-spa-js` to `^2.2.0`
    *   `typescript` to `^5.8.3`
    *   `typedoc` to `^0.28.7`
    *   `react` and `react-dom` to `^19.1.0`
    *   Testing libraries like `jest` and `@testing-library/*`
    *   Linting tools like `@typescript-eslint/*` to `^8.x`

* **Documentation Regeneration:** As a result of the `typedoc` upgrade,
the entire `/docs` directory has been regenerated. This brings in a
modern theme, an improved structure, and new features like a hierarchy
view for better API exploration.

* **Enhanced Type Safety:** The project's `tsconfig.json` has been
configured with stricter type-checking rules, including
`exactOptionalPropertyTypes` and `noUncheckedIndexedAccess`. The
codebase has been updated to conform to these rules, leading to more
precise and safer type definitions.

* **Code Modernization:** The codebase has been refactored to use modern
JavaScript syntax, such as nullish coalescing (`??`) and optional
chaining (`?.`).

*   **Test Suite Improvements:**
* Comprehensive unit tests have been added for an internal utility
function.
* Asynchronous tests have been updated to correctly use `await act()`,
ensuring more stable and reliable test execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants