Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release v1.0.0 #127

Open
wants to merge 76 commits into
base: main
Choose a base branch
from
Open

release v1.0.0 #127

wants to merge 76 commits into from

Conversation

HectorMRC
Copy link
Member

@HectorMRC HectorMRC commented Aug 12, 2023

A new release is baking in the oven.

About

The motivation behind this new release is to make the application more flexible to meet the particular requirements of each client. This means not only adding new features, but also enhancing the current ones to make them more usable.

⚠️ Backward compatibility

Since v1.0.0 will contain breaking changes at all layers (infrastructure, application, and domain), the backward compatibility of it, as a library or service, is going to be broken.

Changelog

  • feat: Send traces to the desired collector using the otlp and gRPC.
  • feat: The password field becomes optional to proceed with the email verification. But stills mandatory to complete the signup.
  • feat: The Time-based Once Time Password may be retrieved via email or using a thid-party application. The strategy pattern is used to allow clients to add its own implementations.
  • feat: A new email template is needed for retrieving Once Time Passwords (otp/totp).
  • chore: Passwords are salted and hashed through the argon2 crate.
  • chore: The new secret kind salt has been added. Representing the salt been used for a password.
  • chore: The secret kind totp is renamed as otp.
  • chore: A new secret salt has been added. Which represents the salt part of the password of its owner.
  • chore: The totp secret is not stored in the database till it is confirmed by the user. Instead it is temporally stored in the cache.
  • refactor(postgres): The User's Postgres repository depends on the methods from the Secret's Postgres repository in order to select, save and delete the salt part of the corresponding password.
  • refactor(crate): Add new and redefine current Cargo features to keep the core as lightweight as possible.
  • refactor: Remove the name field from Secrets. Use the SecretKind enumerator to tell Secrets apart.
  • refactor: A generic Cache trait is included as well as a Redis implementation for it. This new Cache trait is the one to be consumed by the application layer.
  • refactor: The Metadata entity is removed since the system does not need it anymore.
  • refactor(postgres): No postgres repository will require an instance of MetadataRepository anymore. MetadataRepository is removed.
  • refactor: The Smtp structure becomes generic and constant. Each module must declare its own flavor to make it match to the corresponding traits.
  • refactor: EventBus, TokenApplication and Mailers are named as services.
  • refactor: Each module has its own Result type and Error enum.

This list is subject to change based on current developments and the rise of new requirements.

dependabot bot and others added 17 commits July 17, 2023 11:45
Updates the requirements on [sqlx](https://github.com/launchbadge/sqlx) to permit the latest version.
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](launchbadge/sqlx@v0.6.3...v0.7.1)

---
updated-dependencies:
- dependency-name: sqlx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.0.5 to 37.4.0.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](tj-actions/changed-files@v37.0.5...v37.4.0)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
feat: send traces to a collector using the otlp and grpc
@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Attention: Patch coverage is 84.24376% with 499 lines in your changes are missing coverage. Please review.

Project coverage is 84.24%. Comparing base (7cac505) to head (3bd1598).

Current head 3bd1598 differs from pull request most recent head 368d4bc

Please upload reports for the commit 368d4bc to get more accurate results.

Files Patch % Lines
tykhe/src/multi_factor/strategy/third_party_app.rs 0.00% 80 Missing ⚠️
tykhe/src/user/application/multi_factor.rs 89.10% 55 Missing ⚠️
tykhe/src/token/service.rs 25.39% 47 Missing ⚠️
tykhe/src/multi_factor/strategy/email.rs 0.00% 42 Missing ⚠️
tykhe/src/user/application/signup.rs 93.22% 37 Missing ⚠️
tykhe/src/multi_factor/service.rs 32.00% 34 Missing ⚠️
tykhe/src/user/application/delete.rs 91.66% 30 Missing ⚠️
tykhe/src/user/application/mod.rs 66.66% 25 Missing ⚠️
tykhe/src/secret/service.rs 17.24% 24 Missing ⚠️
tykhe/src/user/application/reset.rs 91.78% 24 Missing ⚠️
... and 17 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #127      +/-   ##
==========================================
+ Coverage   80.49%   84.24%   +3.74%     
==========================================
  Files          18       30      +12     
  Lines        1933     3167    +1234     
==========================================
+ Hits         1556     2668    +1112     
- Misses        377      499     +122     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

HectorMRC and others added 30 commits September 20, 2023 09:38
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.

None yet

1 participant