Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Releases: CryptoMonitorASW-SPE/authentication

1.2.1

03 Mar 09:38
8eac3ee

Choose a tag to compare

1.2.1 (2025-03-03)

Documentation

Build and continuous integration

  • change cleanBuild task type from NpmTask to Delete (4223419)
  • handle 422 error case for branch delete rules (61cd763)
  • refine workflows (fdc207d)
  • update Dockerfile and Gradle configuration for production build and dependency management (d2dcfde)
  • update Node.js version to 22.13.1 in workflows (a5c9f09)

General maintenance

  • downgrade Node.js version to 22.13.1 in build configuration (10c1806)
  • fix node version (939158f)
  • update Node.js version to 22.13.1 and adjust dependencies (4ae9539)

Refactoring

  • use environment variables for MongoDB connection configuration (27f302c)

1.2.0

28 Feb 15:23
79d9c84

Choose a tag to compare

1.2.0 (2025-02-28)

Features

  • add doc generation task to build automation (633cf63)
  • add registration and login use case ports and implementations (5d8bf1a)
  • add tasks for dependency installation and build process (9c8798c)
  • update build tasks and Node.js configuration (a8607d8)

Documentation

  • add detailed documentation for use case interfaces and token service methods (80dfd1a)

Tests

  • add hexagonal architecture tests (7ca34c1)
  • add unit tests for JwtTokenService methods (530bee4)
  • update AuthAdapter test to include RegistrationUseCase (95d4b7b)

Build and continuous integration

  • update release workflow to include TypeDoc documentation generation and deployment (79d9c84)

General maintenance

  • add TypeDoc configuration and update package dependencies for documentation generation (3da28e5)
  • update .gitignore to exclude docs directory (90aac12)

Refactoring

  • implement authentication use cases and adapters with dependency injection (da29e1c)
  • update directory structure and directory names (8a236bc)

1.1.1

07 Feb 07:53
30907eb

Choose a tag to compare

1.1.1 (2025-02-07)

Documentation

1.1.0

06 Feb 21:04
7f5e56d

Choose a tag to compare

1.1.0 (2025-02-06)

Features

  • add axios for creating a copy in user microservice (d98f864)
  • make shutdown faster (fa10e93)

Bug Fixes

  • adapt endpoint from env to have correct method name (7f5e56d)

1.0.0

30 Jan 15:23
b171089

Choose a tag to compare

1.0.0 (2025-01-30)

⚠ BREAKING CHANGES

  • Authentication now relies on HttpOnly cookies.

Features

  • add /refresh endpoint for token refreshing (1e4ddf4)
  • add healthcheck (4c4d6ce)
  • add refresh token (5316235)
  • add validate token functionality (084ba6f)
  • implement cookie-based authentication with HttpOnly cookies and add logout endpoint (07d7d2a)

Dependency updates

  • core-deps: update dependency lint-staged to v15.4.3 (#20) (897f6e4)
  • core-deps: update dependency typescript-eslint to v8.22.0 (#24) (8ead0c5)
  • core-deps: update eslint monorepo to v9.19.0 (#18) (66df587)
  • deps: update dependency nodemon to v3.1.9 (#13) (229cb9e)
  • deps: update plugin org.danilopianini.git-sensitive-semantic-versioning to v4 (#23) (b171089)

Bug Fixes

  • add curl to docker image (6046325)
  • add jti claim with random UUID to JWT tokens (52225c7)
  • make authadapter to return status code when validating (4436a64)

Tests

  • enhance AuthAdapter tests to verify cookie handling for auth and refresh tokens (7fe9741)
  • make test to run methods on authadapter (ac33060)
  • refactor tests to cover refresh token logic and use Sinon (ad08c52)

General maintenance

  • add cookie-parser and its types to dependencies (43639d6)
  • add Sinon to package.json (ce1b01a)

Refactoring

  • change any type to a ValidationTokenPayload (3cb63d1)
  • include userId and email in refresh token response (ac4612e)

0.2.1

24 Jan 16:39
c4e1b31

Choose a tag to compare

0.2.1 (2025-01-24)

Bug Fixes

  • fix sign method of jwt after update (5b18f17)

Tests

  • done test for auth controller (808ef75)

General maintenance

Refactoring

  • better respect the hexagonal architecture (4aec6c0)
  • respect linter advices (c4e1b31)

0.2.0

24 Jan 15:40
46f8a0e

Choose a tag to compare

0.2.0 (2025-01-24)

Features

  • add mongo connection (6bfb1cd)
  • make simple authentication process with dummy database (d68b4e4)
  • make simple authentication process, to do in api (8c0ebd4)
  • update app to use mongo connection in docker (e764dc4)

Dependency updates

  • core-deps: update node.js to v22.13.1 (#2) (552071c)
  • deps: update dependency @types/jsonwebtoken to v9.0.8 (#7) (3a4f62b)
  • deps: update dependency @types/jsonwebtoken to v9.0.8 (#7) (2545723)
  • deps: update dependency gradle to v8.12.1 (#9) (71a92dd)

Bug Fixes

  • correct errors from linter (7a0da0e)

Tests

  • add configuration for mocha and an example test (624cd0c)

Build and continuous integration

  • update code quality action (46f8a0e)

General maintenance

Refactoring

  • correct with linter advices (cabb55b)
  • make code better for linter (c424504)
  • refactored code using more authcontroller (a37dd53)