Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and

## [Unreleased]

## [1.2.2] - 2026-08-14

### Fixed

- Removed a stray `@Component` annotation from `LoggedAspect`, which caused a `BeanCreationException: No default constructor found` startup failure in any consuming application whose own component-scanning happens to cover `com.fayupable.logged.spring.aspect` (for example an application with `com.fayupable` as its own base package). `LoggedAspect` was already correctly constructed and registered exclusively by `LoggedAutoConfiguration`'s `@Bean` method, guarded by `@ConditionalOnMissingBean(LoggedAspect.class)`; the stray `@Component` let component-scanning register an earlier, under-specified bean definition for the same type first, causing that guard to back off and Spring to fail resolving which of `LoggedAspect`'s two constructors to use.

## [1.2.0] - 2026-08-04

### Added
Expand Down Expand Up @@ -55,7 +61,8 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
- `logged-benchmarks`: internal JMH benchmarks measuring the aspect's overhead against a direct, uninstrumented call.
- Quality gates: Pitest mutation testing (`logged-core` 100%, `logged-spring` 98%) and Checkstyle (0 violations), both enforced via `mvn verify`.

[Unreleased]: https://github.com/fayupable/logged-lib/compare/v1.2.0...HEAD
[Unreleased]: https://github.com/fayupable/logged-lib/compare/v1.2.2...HEAD
[1.2.2]: https://github.com/fayupable/logged-lib/compare/v1.2.0...v1.2.2
[1.2.0]: https://github.com/fayupable/logged-lib/compare/v1.1.0...v1.2.0
[1.1.0]: https://github.com/fayupable/logged-lib/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/fayupable/logged-lib/releases/tag/v1.0.0
2 changes: 1 addition & 1 deletion logged-benchmarks/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>logged-lib</artifactId>
<groupId>com.fayupable</groupId>
<version>1.2.0</version>
<version>1.2.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>logged-benchmarks</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion logged-benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.fayupable</groupId>
<artifactId>logged-lib</artifactId>
<version>1.2.0</version>
<version>1.2.2</version>
</parent>

<artifactId>logged-benchmarks</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion logged-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.fayupable</groupId>
<artifactId>logged-lib</artifactId>
<version>1.2.0</version>
<version>1.2.2</version>
</parent>

<artifactId>logged-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion logged-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.fayupable</groupId>
<artifactId>logged-lib</artifactId>
<version>1.2.0</version>
<version>1.2.2</version>
</parent>

<artifactId>logged-spring</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import org.aspectj.lang.reflect.MethodSignature;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import java.lang.reflect.Method;
import java.time.Instant;
Expand Down Expand Up @@ -107,7 +106,6 @@
* {@code MDC.put}/{@code MDC.remove} calls on a very hot path.
*/
@Aspect
@Component
public class LoggedAspect {

private static final Logger log = LoggerFactory.getLogger(LoggedAspect.class);
Expand Down
2 changes: 1 addition & 1 deletion logged-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.fayupable</groupId>
<artifactId>logged-lib</artifactId>
<version>1.2.0</version>
<version>1.2.2</version>
</parent>

<artifactId>logged-test</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.fayupable</groupId>
<artifactId>logged-lib</artifactId>
<version>1.2.0</version>
<version>1.2.2</version>
<packaging>pom</packaging>

<name>logged-lib</name>
Expand Down
Loading