Skip to content

Commit

Permalink
Merge pull request #14 from jqassistant-plugin/readme
Browse files Browse the repository at this point in the history
Readme
  • Loading branch information
DirkMahler authored Jul 3, 2024
2 parents ab35dbe + ba9f00e commit 3c1a12e
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 58 deletions.
57 changes: 57 additions & 0 deletions readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,60 @@ jqassistant:
<1> Dependency to the Spring plugin
<2> Activates the group "spring-boot:Strict".

== Changelog

=== 2.0.0

- Moved Plugin from com.buschmais.jqassistant.plugin (core-Distribution) to org.jqassistant.plugin
- Added concept `spring-security:ConfigurationComponent` to label classes annotated by `@EnableGlobalAuthentication`, `@EnableGlobalMethodSecurity`,
`@EnableReactiveMethodSecurity`, `@EnableWebSecurity`, `@EnableWebFluxSecurity` and `@EnableWebMvcSecurity` as `:Spring:Configuration:Component`
- Extended concepts `spring-transaction:TransactionalClass` and `spring-transaction:TransactionalMethod` to accept JEE/JTA annotation `javax.transaction.@Transactional`

=== 1.12.1

- Removed redundant result columns from constraints `spring-injection:BeanProducerMustNotBeInvokedDirectly` and `spring-injection:InjectablesShouldBeHeldInFinalFields`


=== 1.12.0

- Added concepts `spring-mvc:ControllerAdvice` and `spring-mvc:RestControllerAdvice`
- Improved the constraints `spring-component:ControllerMustOnlyDependOnServicesRepositories`, `spring-component:ServiceMustOnlyDependOnServicesRepositories` and `spring-component:RepositoryMustOnlyDependOnRepositories` to report one row per invalid dependency (https://github.com/jQAssistant/jqa-spring-plugin/issues/42[issue])
- Fixed false positives for constraint `spring-injection:InjectablesMustOnlyBeHeldInInjectables` for inner classes (https://github.com/jQAssistant/jqa-spring-plugin/issues/41[issue])
- Improved constraint `spring-injection:InjectablesShouldBeHeldInFinalFields` to return the `Type` declaring the `Field` and `InjectedType` as the injected field type.

=== 1.10.0

- Added constraint `spring-injection:BeanProducerMustNotBeInvokedDirectly`
- Allow dependencies from any Spring component to `@Component` annotated beans
- Defined primary columns for constraint results for better matching in SonarQube
- Excluded generated Java types from Spring constraints, therefore the projects needs to extend the concept `java:GeneratedType`
- Excluded classes in test artifacts from constraint `spring-injection:InjectablesMustOnlyBeHeldInInjectables`

=== 1.9.0

- fixed false-positive constraint violations for constraint `InjectablesMustNotBeInstantiated` for constructors invoking constructors from their super class
- the constraint `spring-injection:FieldsOfInjectablesMustNotBeManipulated` now allows manipulating fields from lifecycle callbacks (`@PostConstruct` and `@PreDestroy`)

=== 1.8.0

- Added meta-annotated Spring annotations to concepts, e.g. `@SpringBootApplication` will be also labeled with `Configuration
- Relaxed the constraint `spring-injection:InjectablesMustNotBeInstantiated` such that instantiation is allowed from either bean producer methods declared by injectables or non-injectables (https://github.com/jQAssistant/jqa-spring-plugin/issues/25[issue])
- Relaxed the constraint `spring-injection:FieldsOfInjectablesMustNotBeManipulated` such that only fields of injectable types are checked for being written by non-constructor methods (https://github.com/jQAssistant/jqa-spring-plugin/issues/19[issue])
- The constraints `spring-injection:FieldsOfInjectablesMustNotBeManipulated`, `spring-injection:InjectablesMustNotBeHeldInStaticVariables` and `spring-injection:InjectablesMustNotBeAccessedStatically` are improved such that also fields are considered where injectable types are injected by interfaces or super classes.

=== 1.7.0

- Renamed relation representing virtual dependencies between components
from DEPENDS_ON to VIRTUAL_DEPENDS_ON (https://github.com/buschmais/jqa-spring-plugin/issues/26[issue])

=== 1.5.0

- Ignore synthetic fields (e.g. generated by Groovy) for injection related constraints

=== 1.4

- Initial checkin




58 changes: 0 additions & 58 deletions src/main/asciidoc/release-notes.adoc

This file was deleted.

0 comments on commit 3c1a12e

Please sign in to comment.