Skip to content

Releases: folio-org/folio-spring-support

v10.0.0

Choose a tag to compare

@psmagin psmagin released this 06 Apr 11:30

Breaking Changes:

  • Migrated from OpenFeign to Spring HTTP Service Clients
  • Updated to Spring Boot 4.0.0
  • Updated to Jackson 3.x (package changed from com.fasterxml.jackson to tools.jackson)

Migration Guide: See SPRING_BOOT_4_MIGRATION_GUIDE.md for complete step-by-step migration instructions.

Breaking change, new default: A CQL search in a String field ignores case (= is case insensitive) and ignores accents by default; this is for consistency with RMB based modules. Use the annotations @RespectCase and/or @RespectAccents in the entity class to change this new default. Update database indices accordingly, for example:

DROP INDEX IF EXISTS idx_medreq_requester_barcode;
CREATE INDEX idx_medreq_requester_barcode ON ${database.defaultSchemaName}.mediated_request(lower(f_unaccent(requester_barcode)));

folio-spring-base

folio-spring-cql

folio-spring-i18n

  • FOLSPRINGS-198 Add support for searching multiple translation directories

folio-spring-system-user

folio-spring-tenant-settings

  • FOLSPRINGS-210 Add tenant-settings submodule for managing tenant-specific configuration

folio-spring-testing

  • FOLSPRINGS-218 Update Kafka and MinIO container images to latest versions

v9.0.3

Choose a tag to compare

@julianladisch julianladisch released this 17 Mar 10:12

v9.0.2

Choose a tag to compare

@pfilippov-epam pfilippov-epam released this 18 Nov 17:49

folio-spring-base

v8.2.4

Choose a tag to compare

@pfilippov-epam pfilippov-epam released this 18 Nov 17:38

folio-spring-base

v8.2.3

Choose a tag to compare

@julianladisch julianladisch released this 23 Apr 15:10

cql submodule

  • FOLSPRINGS-185 Implement case insensitive accents ignoring CQL queries - backport, opt in only. To opt in call Cql2JpaCriteria.setCaseAccentsHandlingEnabled(true). Then a CQL search in a String field ignores case (= is case insensitive) and ignores accents by default; this is for consistency with RMB based modules. Use the annotations @RespectCase and/or @RespectAccents in the entity class to change this new default.

When enabling case insensitive and/or accents ignoring CQL queries update database indices accordingly, for example:

DROP INDEX IF EXISTS idx_medreq_requester_barcode;
CREATE INDEX idx_medreq_requester_barcode ON ${database.defaultSchemaName}.mediated_request(lower(f_unaccent(requester_barcode)));

v9.0.1

Choose a tag to compare

@julianladisch julianladisch released this 20 Mar 17:47

cql submodule

  • FOLSPRINGS-185 Implement case insensitive accents ignoring CQL queries - backport, opt in only. To opt in call Cql2JpaCriteria.setCaseAccentsHandlingEnabled(true). Then a CQL search in a String field ignores case (= is case insensitive) and ignores accents by default; this is for consistency with RMB based modules. Use the annotations @RespectCase and/or @RespectAccents in the entity class to change this new default.

When enabling case insensitive and/or accents ignoring CQL queries you need to update database indices accordingly,
for example:

DROP INDEX IF EXISTS idx_medreq_requester_barcode;
CREATE INDEX idx_medreq_requester_barcode ON ${database.defaultSchemaName}.mediated_request(lower(f_unaccent(requester_barcode)));

For test code that executes SQL you may need to add f_unaccent database method. Example: jpa-cql-general-it-schema.sql, @Sql

v9.0.0

Choose a tag to compare

@psmagin psmagin released this 28 Feb 10:40

folio-spring-system-user

  • FOLSPRINGS-180 Token expiration off by 1 minute in test
  • FOLSPRINGS-183 Improve resiliency of system user operations; auto-reactivate inactive system users; automatically refresh system user tokens on RTR expiration

Upgrade instructions

In the module descriptor add users.item.put to the modulePermissions list of the POST /_/tenant endpoint (FOLSPRINGS-183).

v8.2.2

Choose a tag to compare

@julianladisch julianladisch released this 11 Dec 18:40
  • FOLSPRINGS-174 x-okapi-tenant header duplication
  • FOLSPRINGS-178 spring-cloud-starter-openfeign 4.1.4 fixing spring-security-crypto Authorization Bypass
  • FOLSPRINGS-181 Upgrade Spring Boot from 3.3.4 to 3.3.6 fixing vulns

folio-spring-system-user

  • FOLSPRINGS-179 Fix error message: Cannot retrieve okapi token for tenant: <username>

v8.2.1

Choose a tag to compare

@psmagin psmagin released this 31 Oct 21:44
  • FOLSPRINGS-171 i18n Use concurrent maps and synchronized methods where necessary

v8.2.0

Choose a tag to compare

@psmagin psmagin released this 11 Oct 10:01

Common

Testing submodule

System user submodule

  • FOLSPRINGS-157 Add missing property to authn client, to allow for fail-on-unknown-properties in consuming modules

i18n submodule

  • FOLSPRINGB-160 Make translation service accept multiple keys
  • FOLSPRINGS-163 Wrong Locale in TranslationService and TranslationMap
  • FOLSPRINGS-169 Add additional convenience methods for providing locales, timezones, and using non-predefined templates