Skip to content

Releases: KaioFelps/samambaia-api

[email protected]

22 Dec 00:18
34887f5
Compare
Choose a tag to compare

Added

  • introduced Announcements domain;
    • DB model, entity and domain entity;
    • CRUD services;
    • Sea Repository;
    • CRUD services factories;
    • DTOs, presenter and controller;
  • added CI automated tests + lint checks.

Changed

  • added SeaMapper trait that defines the 4 most common methods a SEA-ORM mapper might have;
  • implemented SeaMapper for every mapper and fixed repositories broken method calls due to the mappers changes;
  • made Sea repositories constructors synchronous;
  • made services factories synchronous;
  • move repositories dependencies out of Box in every service;
  • group services by domain;
  • group factories by domain;
  • rename the system to Samambaia.

Changed

  • database performance has been improved by 92%:
    • database connection are now created only once at the application bootstrap;
    • repositories now holds a reference for the database connection, instead of an owned connection;
    • factories now requires a reference to a SeaService (database connection) in order to instantiate the
      repositories, and thus the services;
    • controllers can now retrieve a reference to the SeaService struct by using the actix_web::web::Data
      extractor; they must use it for executing the services factories.

[email protected]

23 Aug 22:14
b1456b9
Compare
Choose a tag to compare

[email protected]

  • Updates outdated dependencies and fixed breaking changes
    • Updated Validator crate and fixed new regex path format at dtos/create-user and dtos/update-user.rs
    • Changed from_fn import from actix_web_lab to actix_web crate on every controller & authentication middleware
    • Added a full authentication middleware (that does not require from_fn)

[email protected]

29 Jul 23:42
ea4b7aa
Compare
Choose a tag to compare

[email protected]

  • Fixes update method from free badges controller

[email protected]

29 Jul 23:33
85273fe
Compare
Choose a tag to compare

[email protected]

  • adds free badges table at the database + orm entities + domain entity;
  • adds free badges services (create, edit, delete, fetch many);
  • adds free badges dtos (create and update);
  • adds free badges controller + routes;
  • registers free badges controller to api routes.

[email protected]

21 Jul 18:36
bb31472
Compare
Choose a tag to compare

[email protected]

  • adds Article Tags DTOs
  • adds Article Tags Presenter
  • adds Article Tags Controller
  • registers article tags controller to api routes

[email protected]

21 Jul 05:27
09406c1
Compare
Choose a tag to compare

First release

Starts using releases for managing the fansite versioning.

Features

This release is launching the following features of the fansite system:

  • Users CRUD
  • Team roles CRUD
  • Team users CRUD
  • Article tags CRUD
  • Articles CRUD
  • Comments CRUD
  • Comment reports CRUD