# Changelog

## Score

- CAI 43 → 43 (+0.0)

## Lenses

- Code Health 76 → 76 (+0.0)
- Architecture 83 → 83 (+0.0)
- Maturity 40 → 40 (+0.0)
- Readiness 35 → 35 (+0.0)
- Security 45 → 45 (+0.0)

## Resolved (5)

- Inconsistent language for property names. 'Preco' (Portuguese) is used for price, while 'PathImage' (English) is used for the image path. This mixes Portuguese and English in the domain and DTOs.
- Inconsistent naming for retrieving a book by its author. Some methods use 'Author' (English) while others use 'Autor' (Portuguese/Italian/Spanish). Additionally, 'GetByAuthor' and 'GetByName' are used interchangeably for the same concept of searching by author, while 'FindByAutor' uses a different verb prefix.
- The property 'Autor' is used in both the Entity and DTO, which is Portuguese for 'Author'. This is inconsistent with the English-based naming of other properties like 'PathImage' and 'Isbn'.
- The property 'Nome' (Portuguese for 'Name') is used instead of the English 'Name' or 'Title'.
- Typo in method name: 'Beetwen' is used instead of 'Between'. This typo is consistently present across the interface, implementation, and controller, but it is still a spelling error that should be corrected.

## New (4)

- Inconsistent naming for price. The entity and DTO use 'Preco' (Portuguese), while the service/DTO might expect 'Price' (English) or 'Cost'.
- Inconsistent naming for publication date. The entity and DTO use 'DataPublicacao' (Portuguese), while the service/DTO might expect 'PublicationDate' (English).
- Inconsistent naming for the author field. The entity uses 'Autor' (Portuguese) while the DTO also uses 'Autor'. However, the interface and service methods use 'Author' (English) or 'Name' for books. This creates a mismatch between the domain model and the service/DTO layer.
- Inconsistent spelling of 'Author' and 'Between' in method names. 'Autor' (Portuguese) is used in some places, while 'Author' (English) is used in others. Similarly, 'Beetwen' (typo) is used instead of 'Between'.

## API surface

- Unchanged — 10 HTTP endpoints
