Removed CaseConversion annotation in Jmix 2.1

Trying to migrate an add-on providing a (data transfer) entity model from Jmix 2.0.2 to 2.1.1 failed because the entity annotation io.jmix.core.entity.annotation.CaseConversion disappeared.

I could not find anything mentioned about that in the documentation: https://docs.jmix.io/jmix/whats-new/index.html#breaking-changes

Environment:

  • idea Ultimate 2023.3.1 (Linux x86_64)
  • Jmix plugin: 2.1.1-233
  • Jmix BOM: 2.1.1

Hi!

This annotation was removed in release 2.1. It was not used anywhere in the Jmix Framework.
There is the related issue: Remove CaseConversion annotation · Issue #1972 · jmix-framework/jmix · GitHub

Regards,
Dmitriy

@d.kremnev Does that mean, the annotation was not for public use?

I can change the implementation without using this specific annotation. But I wonder how to maintain code in the future without deprecation warnings.

Is there a way to stay informed about such removals?

It’s an unusual case because the annotation didn’t have any effect since v.2.0, we should have removed it earlier.

But it’s our fault that we didn’t mention this removal in the docs. We’ll try to be more accurate in the future.

Regards,
Konstantin