Skip to content

Commit

Permalink
chore: prepare for next development iteration v4.1.0 (#689)
Browse files Browse the repository at this point in the history
* Update dependencies

* Update NEWS

* [maven-release-plugin] prepare branch release/v4.0

* [maven-release-plugin] prepare for next development iteration

* Update to snapshots
  • Loading branch information
psmagin authored Nov 1, 2024
1 parent b39e0dd commit c63c2df
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 13 deletions.
40 changes: 35 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
## v4.0.0 YYYY-mm-DD
## v4.1.0 YYYY-mm-DD
### Breaking changes
* Implement new re-index flow for instance records
* Description ([ISSUE](https://folio-org.atlassian.net/browse/ISSUE))

### New APIs versions
* Provides `API_NAME vX.Y`
* Requires `API_NAME vX.Y`

### Features
* Description ([ISSUE](https://folio-org.atlassian.net/browse/ISSUE))

### Bug fixes
* Description ([ISSUE](https://folio-org.atlassian.net/browse/ISSUE))

### Tech Dept
* Description ([ISSUE](https://folio-org.atlassian.net/browse/ISSUE))

### Dependencies
* Bump `LIB_NAME` from `OLD_VERSION` to `NEW_VERSION`
* Add `LIB_NAME VERSION`
* Remove `LIB_NAME`

---

## v4.0.0 2024-11-01
### Breaking changes
* Implement new re-index flow for instance records. Old re-index endpoint doesn't support instance indexing.
* Permission changes in `consortium-search` API:
* Endpoint `GET /search/consortium/batch/items` requires `consortium-search.items.batch.collection.get` permission
* Endpoint `GET /search/consortium/batch/holdings` requires `consortium-search.holdings.batch.collection.get` permission
Expand Down Expand Up @@ -71,9 +95,15 @@
* Update permissions for consortium-search interface ([MSEARCH-836](https://folio-org.atlassian.net/browse/MSEARCH-836))

### Dependencies
* Bump `LIB_NAME` from `OLD_VERSION` to `NEW_VERSION`
* Add `LIB_NAME` `2.7.4`
* Remove `LIB_NAME`
* Bump `spring-boot` from `3.2.3` to `3.3.5`
* Bump `folio-spring-support` from `8.1.0` to `8.2.1`
* Bump `folio-service-tools` from `4.0.1` to `4.1.1`
* Bump `folio-cql2pgjson` from `35.2.0` to `35.3.0`
* Bump `opensearch` from `2.12.0` to `2.17.1`
* Bump `mapstruct` from `1.5.5.Final` to `1.6.2`
* Bump `apache-commons-io` from `2.15.1` to `2.17.0`
* Bump `lombok` from `1.18.32` to `1.18.34`
* Bump `streamex` from `0.8.2` to `0.8.3`

---

Expand Down
9 changes: 4 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<name>mod-search</name>
<groupId>org.folio</groupId>
<artifactId>mod-search</artifactId>
<version>4.0.0-SNAPSHOT</version>
<version>4.1.0-SNAPSHOT</version>
<description>FOLIO search service</description>
<packaging>jar</packaging>

Expand All @@ -34,8 +34,8 @@
src/main/java/org/folio/search/configuration/properties/**
</sonar.exclusions>

<folio-spring-support.version>8.2.0</folio-spring-support.version>
<folio-service-tools.version>4.1.1</folio-service-tools.version>
<folio-spring-support.version>8.3.0-SNAPSHOT</folio-spring-support.version>
<folio-service-tools.version>4.2.0-SNAPSHOT</folio-service-tools.version>
<folio-isbn-utils.version>1.7.0-SNAPSHOT</folio-isbn-utils.version>
<folio-cql2pgjson.version>35.3.0</folio-cql2pgjson.version>
<opensearch.version>2.17.1</opensearch.version>
Expand All @@ -46,7 +46,6 @@
<lombok.version>1.18.34</lombok.version>
<lombok.mapstruct-binding.version>0.2.0</lombok.mapstruct-binding.version>
<streamex.version>0.8.3</streamex.version>
<jackson-bom.version>2.16.0</jackson-bom.version>

<!-- Plugins versions -->
<folio-module-descriptor-validator.version>1.0.0</folio-module-descriptor-validator.version>
Expand All @@ -60,7 +59,7 @@
<maven-surefire-plugin.version>3.5.1</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.5.1</maven-failsafe-plugin.version>
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
<checkstyle.version>10.19.0</checkstyle.version>
<checkstyle.version>10.20.0</checkstyle.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void responseContainsOnlyBasicInstanceProperties() {

var actual = parseResponse(response, InstanceSearchResult.class);

Assertions.assertThat(actual).usingRecursiveComparison().isEqualTo(expected);
Assertions.assertThat(actual).usingRecursiveComparison().ignoringCollectionOrder().isEqualTo(expected);
}

private static void setTenant(InstanceSearchResult expected) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void responseContainsOnlyBasicInstanceProperties() {

var actual = parseResponse(response, InstanceSearchResult.class);

Assertions.assertThat(actual).usingRecursiveComparison().isEqualTo(expected);
Assertions.assertThat(actual).usingRecursiveComparison().ignoringCollectionOrder().isEqualTo(expected);
}

@Test
Expand All @@ -132,7 +132,7 @@ void responseContainsAllInstanceProperties() {

var actual = parseResponse(response, InstanceSearchResult.class);

Assertions.assertThat(actual).usingRecursiveComparison().isEqualTo(expected);
Assertions.assertThat(actual).usingRecursiveComparison().ignoringCollectionOrder().isEqualTo(expected);
}

private static Stream<Arguments> testDataProvider() {
Expand Down

0 comments on commit c63c2df

Please sign in to comment.