Skip to content

Releases: kbss-cvut/jopa

2.1.0

16 Oct 13:40
72c16eb
Compare
Choose a tag to compare
  • Add support for RDF containers (Task #52). Wiki contains info on collection mapping in general.
  • Add support for Jena TDB2 storage (Enhancement #261).
  • Dependency updates: Jena 5.2.0, OWL API 5.5.1, SLF4J 2.0.16.

2.0.5

03 Sep 12:05
4c400cd
Compare
Choose a tag to compare
  • Modify query setup so that RDF4J driver does not spam log with warning about setting query ontology (use only query hints to set query ontology).

2.0.4

16 Aug 08:22
515e038
Compare
Choose a tag to compare
  • Fix an issue with cloning instances of AbstractImmutableMap (produced by Map.of) (Bug #264).
  • Ensure changes done by @PreUpdate callback inherited by entity class from ancestor are propagated to repository (Bug #265).
  • Dependency updates: RDF4J 5.0.2.

2.0.3

29 Jul 07:39
b2c6d9e
Compare
Choose a tag to compare
  • Fix an issue with generating static metamodel under JDK 21 (Bug #257).
  • Support using URI/URL as data property values (as RDF simple literal) (Enhancement #256).
  • Support target ontology query hint (Enhancement #245).
  • Dependency updates: Jena 5.1.0, RDF4J 5.0.1.

2.0.2

24 Jun 14:47
9e024c7
Compare
Choose a tag to compare
  • Fix a NPX when calling EntityManager.isInferred with lazy loading proxy (Bug #252).
  • Allow using multiple values for a query parameter that is written into SPARQL VALUES clause (Bug #246).
  • Dependency updates: RDF4J 5.0.0.

2.0.1

18 Jun 14:51
5e18493
Compare
Choose a tag to compare
  • Proper implementation of EntityManager.getReference after 2.0.0 rewrite (Enhancement #233).
  • Log JOPA version and build date on persistence unit startup (Enhancement #243).
  • Prevent AssertionError on EntityManager.flush calls (Bug #240).
  • Fix incorrect SOQL to SPARQL translation when traversing reference and using identifier (Bug #234).
  • Fix issues with interaction of lazy loading with cascading (Bug #248).
  • Dependency updates: RDF4J 4.3.12.

2.0.0

27 May 14:14
b551f41
Compare
Choose a tag to compare

This is a big release containing potentially breaking changes.

In summary: AspectJ is no longer needed to build projects using JOPA. Java 17 is the minimum required Java version.

Changes:

  • Rewrote change tracking and lazy loading to not require AspectJ and use generated proxy classes and change calculation on commit (Enhancement #145, #231). See the wiki for details. This should significantly simplify adoption of JOPA in projects.
  • Added support for RDF collections (Enhancement #51).

(Potentially) Breaking changes:

  • Modified generation of classes and constants in OWL2Java, using ontology prefixes to disambiguate terms with the same label (Enhancement #85).
  • Internal APIs were moved from jopa-api to jopa-impl, so that they can be changed without bumping version major (Enhancement #146).
  • Java 17 is now minimum Java version (Task #147).
  • Updated to Jena 5.0.0, RDF4J 4.3.11.
  • Removals of deprecated APIs.
  • EntityManager and EntityManagerFactory are now AutoCloseable (in alignment with JPA).

1.2.2

30 Jan 15:31
ca1036a
Compare
Choose a tag to compare
  • Modify DefaultClasspathScanner to handle Spring Boot nested JAR introduced in 3.2.0 (Bug #227).

1.2.1

22 Jan 12:01
5b51de1
Compare
Choose a tag to compare
  • Unwrap IndirectMultilingualString instances when owner entity is detached from the persistence context.

1.2.0

20 Dec 16:37
a3ee2f3
Compare
Choose a tag to compare
  • Support data properties for referenced list values (Enhancement #209).
  • Support using multilingual string as referenced list values (Enhancement #216).
  • Fix inconsistent license information (GH #214).
  • Dependency updates: Jena 4.10.0, RDF4J 4.3.8.