Releases: toolisticon/SPI-Annotation-Processor
Removed legacy Serrvice and Services annotations
The Service and Services annotations have been removed.
Please make sure that you switch to SpiService and SpiServices annotations after upgrading to this release.
Artifacts compiled with previous versions are still 100% compatible with generated ServiceLocators, since configuration will be extracted from generated properties and are taken from annotations just in the case if properties aren't present.
Those properties reside in jars /META-INF/spiap folder
Renamed Service Annotations
Services and Service annotations have been renamed to SpiServices and SpiService to prevent name collision with Sping Service.
This release will break your build!
To resolve this, please do one of the following:
- Bind spiap-legacy-api instead of spiap-api - it contains the old annotations and has the new ones as transitive dependency
- Switch to use SpiServices and SpiService annotation - the spiap-legacy-api dependency must be present in provided scope, otherwise the ServiceLocators can't be compiled properly.
The old Service annotations Service and Services will be removed with version 0.11.0
Dropped Java 7 support
Extended Java 7 support ends in July 2022. So Java 7 finally reaches EOL.
That's why Java 7 support was dropped with this release.
Additionally the ServiceLocator has been reworked.