rest-expanders
4.15.0 (2024-03-28)
Fixed
- (REST-76) Replaced
sortby
parameter on GETlist endpoint with a string with pattern validation in the OpenAPI 3 specification.
Changed
- Updated dependencies:
net.democritus:base-components
:2024.1.1 > 2024.1.2
net.democritus:nsx-default-stack
:2024.3.3 > 2024.3.4
4.14.0 (2024-03-22)
Changed
- Updated dependencies:
net.democritus:Expanders
:7.0.2 > 7.0.4
net.democritus:nsx-default-stack
:2024.3.2 > 2024.3.3
- Updated dependencies:
- Jersey:
2.41 > 2.42
- Changes:
2.42
: https://github.com/eclipse-ee4j/jersey/releases/tag/2.42
- Changes:
- Swagger:
1.6.13 > 1.6.14
- Changes
1.6.14
: https://github.com/swagger-api/swagger-core/releases/tag/v1.6.14
- Changes
- Swagger2:
2.2.20 > 2.2.21
- Changes
2.2.21
: https://github.com/swagger-api/swagger-core/releases/tag/v2.2.21
- Changes
- Jersey:
4.13.1 (2024-03-19)
Fixed
- Updated dependencies:
net.democritus:base-components
:2024.1.0 > 2024.1.1
net.democritus:Expanders
:7.0.0 > 7.0.2
net.democritus:nsx-default-stack
:2024.3.0 > 2024.3.2
4.13.0 (2024-03-16)
Changed
- Switched from outdated JavaFaker to DataFaker library for integration tests.
- Updated dependencies in integration testing project.
- Updated dependencies:
net.democritus:base-components
:2024.0.0 > 2024.1.0
net.democritus:Expanders
:6.5.4 > 7.0.0
net.democritus:nsx-default-stack
:2024.1.0 > 2024.3.0
net.democritus:querysearch-expanders
:2.23.0 > 2.23.1
net.democritus.metamodel:prime-core
:2024.0.4 > 2024.1.0
- Jackson:
2.16.1 > 2.17.0
- Changes
2.16.2
: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.16.2 - Changes
2.17.0
: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.17.0
- Changes
- JSON:
20231013 > 20240303
- Changes
20240303
: https://github.com/stleary/JSON-java/releases/tag/20240303
- Changes
4.12.0 (2024-02-04)
Changed
- Rely on dynamically assigned default groupId instead of determining default value where used.
- Updated dependencies:
net.democritus:Expanders
:6.4.4 > 6.5.4
net.democritus:nsx-default-stack
:2024.0.1 > 2024.1.0
net.democritus:querysearch-expanders
:2.22.0 > 2.23.0
- Swagger:
1.6.12 > 1.6.13
- Changes
1.6.13
: https://github.com/swagger-api/swagger-core/releases/tag/v1.6.13
- Changes
4.11.0 (2024-01-26)
Fixed
- Updated default groupId following change in Expanders
6.4.3
.
Changed
- Updated dependencies:
net.democritus:Expanders
:6.4.1 > 6.4.4
4.10.0 (2024-01-22)
Changed
- Updated dependencies:
net.democritus:Expanders
:6.4.1 > 6.4.2
net.democritus:nsx-default-stack
:2024.0.0 > 2024.0.1
4.9.0 (2024-01-22)
Changed
- Updated groupId of modules in integration test project to be consistent with the new groupIds in the application. This
includes support for the
maven.groupId
option. - Updated dependencies:
net.democritus:Expanders
:6.2.2 > 6.4.1
net.democritus:nsx-default-stack
:2023.26.1 > 2024.0.0
net.democritus.metamodel:prime-core
:2023.12.0 > 2024.0.4
net.democritus:base-components
:2023.14.4 > 2024.0.0
- Jackson:
2.16.0 > 2.16.1
- Changes
2.16.1
: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.16.1
- Changes
- Swagger2:
2.2.19 > 2.2.20
- Changes
2.2.20
: https://github.com/swagger-api/swagger-core/releases/tag/v2.2.20
- Changes
- (REST-77) Allow
-
and.
characters in base path of API.
4.8.0 (2023-12-16)
Added
- Added links to the documentation for all option types.
Changed
- Updated dependencies:
- JSON Schema:
1.14.3 > 1.14.4
- Changes
1.14.4
: https://github.com/everit-org/json-schema/releases/tag/1.14.4
- Changes
- JSON Schema:
4.7.0 (2023-12-15)
Fixed
- The implicit metamodel was nog constructed correctly for applications that have multiple programs that use Component.
Changed
- Updated dependencies:
net.democritus:Expanders
:6.0.2 > 6.2.2
net.democritus:nsx-default-stack
:2023.24.2 > 2023.26.1
- (REST-74) Added support for new
audit.create.timestamp
andaudit.modify.timestamp
options that were introduced as an alternative to matching on the field namesenteredAt
andlastModifiedAt
. The behavior remains the same regardless of the field name in the DataElement.
4.6.0 (2023-12-05)
Fixed
- (REST-70) Transmutation to add a REST API to a DataElement would throw an exception in some scenarios.
- (REST-71) Synchronized authentication to avoid user being created twice by separate transactions.
- No longer use
getUserContext()
onAuthenticationResult
.
Changed
- Updated dependencies:
net.democritus:querysearch-expanders
:2.21.0 > 2.22.0
4.5.0 (2023-11-23)
Added
- (REST-68) Added option
jaxrs.querySearch.exposeFilter
to expose a QueryFilterField on theGETlist
endpoint. - (REST-68) Added model validation to ensure that
jaxrs.querySearch.exposeFilter
is used on filters of the correct QuerySearch. - Added description and additional information for several query parameters for OpenAPI 3:
- GETlist
page
parameter: description and minimum value - GETlist
pagesize
parameter: description, minimum and maximum value - GETlist
sortby
parameter: description, validation and an example - GETlist query filter parameters: description (from QueryFilterField)
- GETlist
Changed
- Marked
IllegalDBStateInterceptor
as deprecated and removed it from the default interceptors added inCustomCommandResultInterceptor
. - Marked
IllegalDBStateException
as deprecated as it was only thrown for diagnostics that were never in the default stack. - (REST-8) Fully reworked expanders for exception handling, now based on an implicit metamodel to retrain backwards compatibility while the model is being built out further for version 5 of rest-expanders.
SwaggerOIDCConfig
is now marked final.- Migrated all
javax
imports to the new import system to prepare for migration to JEE9+.
Removed
- Removed deprecated exception handler for
IllegalDBStateException
. - Removed deprecated errors
SE006
andSE009
fromServerError.java
andServerErrorMessages.properties
4.4.0 (2023-11-17)
Changed
- Updated dependencies:
net.democritus:Expanders
:6.0.0 > 6.0.2
net.democritus:nsx-default-stack
:2023.24.0 > 2023.24.2
- Jackson:
2.15.3 > 2.16.0
- Changes
2.16.0
: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.16.0
- Changes
4.3.0 (2023-11-15)
caution
This update breaks the API of the SortParameters
class. Though to fix the issue it had, a LinkedHashMap
could be
utilized and retain more compatibility, but since there was no good way of enforcing the use of this type without
breaking backwards compatibility, it was decided to refactor to a list of pairs instead. This may impact custom code
that uses SortParameters
.
Fixed
- When serializing sorting parameters, a
HashMap
was used instead of aLinkedHashMap
, which caused the loss of ordering when passing multiple sorting parameters through the GETlist endpoint.
Changed
- Updated dependencies:
- Swagger2:
2.2.18 > 2.2.19
- Changes
2.2.19
: https://github.com/swagger-api/swagger-core/releases/tag/v2.2.19
- Changes
- Swagger2:
SortParameters.getParameters()
now returnsList<ParameterOrder>
instead ofMap<String, SortOrder>
.SortParameters.setParameters()
now takes aList<ParameterOrder>
instead ofMap<String, SortOrder>
.net.democritus.jaxrs.MediaTypes
is now marked final.BaseUrlContext.from(Context)
now throwsContextGroupNotFoundException
instead ofIllegalStateException
if theBaseUrlContext
group was not found in the suppliedContext
object.
4.2.0 (2023-11-10)
Changed
- Updated dependencies:
net.democritus:Expanders
:5.39.0 > 6.0.0
net.democritus:nsx-default-stack
:2023.23.3 > 2023.24.0
4.1.0 (2023-11-09)
Fixed
- Removed
@Override
annotation fromvalidate()
method in Agent class.
Changed
- Updated dependencies:
net.democritus:Expanders
:5.38.0 > 5.39.0
net.democritus:base-components
:2023.14.3 > 2023.14.4
net.democritus:nsx-default-stack
:2023.22.1 > 2023.23.3
net.democritus:querysearch-expanders
:2.20.0 > 2.21.0
net.democritus.metamodel:prime-core
:2023.9.2 > 2023.9.3
- Updated Swagger UI:
4.18.1 > 5.9.2
Removed
- Removed upgrade transmutation for provisioning of DataCommand options for REST API based on the names of those
commands. (If still required, upgrade to
4.0.0
and run upgrade transmutation before upgrading to4.1.0
.)
4.0.0 (2023-11-07)
caution
This version contains breaking changes. Please refer to the migration guide in the documentation for more information about these changes and what code is affected.
Changed
- The transmutation to create a default REST API will now create a QuerySearch model for a DataElement if not present.
- The upgrade transmutation for the REST API will now create the explicit QuerySearch model.
- Updated dependencies:
net.democritus:Expanders
:5.37.2 > 5.38.0
net.democritus:base-components
:2023.14.2 > 2023.14.3
net.democritus:nsx-default-stack
:2023.21.1 > 2023.22.1
net.democritus:querysearch-expanders
:2.18.0 > 2.20.0
net.democritus.metamodel:prime-core
:2023.9.1 > 2023.9.2
- Updated dependencies:
- Jersey:
2.40 > 2.41
- Changes:
2.41
: https://github.com/eclipse-ee4j/jersey/releases/tag/2.41
- Changes:
- Swagger:
1.6.11 > 1.6.12
- Changes
1.6.12
: https://github.com/swagger-api/swagger-core/releases/tag/v1.6.12
- Changes
- Swagger2:
2.2.17 > 2.2.18
- Changes
2.2.18
: https://github.com/swagger-api/swagger-core/releases/tag/v2.2.18
- Changes
- JSON Schema:
1.14.2 > 1.14.3
- Changes
1.14.3
: https://github.com/everit-org/json-schema/releases/tag/1.14.3
- Changes
- Jersey:
Removed
- Removed implicit QuerySearch model created based on
includeJaxrsConnector
option. - Removed implicit provisioning of DataCommand options for the REST API.
- Removed model validation to check if the DataCommands are marked with options for JAX-RS.
3.33.0 (2023-10-15)
Changed
- Updated dependencies:
net.democritus:Expanders
:5.37.1 > 5.37.2
net.democritus:nsx-default-stack
:2023.21.0 > 2023.21.1
- Jackson:
2.15.2 > 2.15.3
- Changes
2.15.3
: https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.15.3
- Changes
- Swagger2:
2.2.16 > 2.2.17
- Changes
2.2.17
: https://github.com/swagger-api/swagger-core/releases/tag/v2.2.17
- Changes
- JSON:
20230618 > 20231013
- Changes
20231013
: https://github.com/stleary/JSON-java/releases/tag/20231013
- Changes
3.32.0 (2023-10-13)
Changed
- Updated dependencies:
net.democritus:Expanders
:5.37.1 > 5.37.2
net.democritus:nsx-default-stack
:2023.21.0 > 2023.21.1
3.31.0 (2023-10-12)
Changed
- The
DatabaseValidator
andInputValidation
classes are now final. - Updated dependencies:
net.democritus:Expanders
:5.36.7 > 5.37.1
net.democritus:base-components
:2023.13.0 > 2023.14.0
net.democritus.metamodel:prime-core
:2023.8.0 > 2023.9.1
net.democritus:nsx-default-stack
:2023.20.0 > 2023.21.0
3.30.0 (2023-10-11)
Changed
- Replaced uses of deprecated methods in expander templates:
net.palver.util.StringUtil.join()
net.palver.util.StringUtil.split()
- Updated dependencies:
net.democritus:Expanders
:5.36.1 > 5.36.7
net.democritus:nsx-default-stack
:2023.19.1 > 2023.20.0
net.democritus.metamodel:prime-core
:2023.7.0 > 2023.8.0
3.29.1 (2023-09-27)
Fixed
- Removed deprecated support for remote-only ejb policy, which is not supported by the stack.
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.19.0 > 2023.19.1
(deprecated options used in base-components)
3.29.0 (2023-09-23)
Changed
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.18.1 > 2023.19.0
- Updated expander dependencies (minimum version):
net.democritus:Expanders
:5.35.1 > 5.36.1
net.democritus.metamodel:prime-core
:2023.7.0 > 2023.8.0
3.28.1 (2023-09-22)
Fixed
- Updates to fix dependency on snapshot:
net.democritus:nsx-default-stack
:2023.17.1 > 2023.18.1
net.democritus:Expanders
:5.35.0 > 5.35.1
3.28.0 (2023-09-21)
Fixed
- Updated module dependency feature to use the new groupIds used by Expanders for the component modules.
Changed
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.15.2 > 2023.17.1
net.democritus:querysearch-expanders
:2.17.2 > 2.18.0
- Updated expander dependencies (minimum version):
net.democritus:base-components
:2023.10.0 > 2023.11.0
net.democritus:Expanders
:5.32.1 > 5.35.0
net.democritus.metamodel:prime-core
:2023.5.3 > 2023.7.0
net.democritus:querysearch-expanders
:2.17.2 > 2.18.0
- Updated dependencies:
- Swagger2:
2.2.15 > 2.2.16
- Changes
2.2.16
: https://github.com/swagger-api/swagger-core/releases/tag/v2.2.16
- Changes
- Swagger2:
3.27.0 (2023-08-30)
Changed
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.14.4 > 2023.15.2
- Updated expander dependencies (minimum version):
net.democritus:base-components
:2023.8.2 > 2023.10.0
net.democritus:Expanders
:5.30.5 > 5.32.1
3.26.0 (2023-08-09)
Fixed
- Reverted deprecation of
DataFacade
methods and re-added calls toDataFacade.findById()
andDataFacade.findDetailsById()
due to the new implementation not covering all functionality that was previously available.
Changed
- Updated dependencies:
- Snakeyaml:
2.0 > 2.1
- Snakeyaml:
- Updated expander dependencies (minimum version):
net.democritus:Expanders
:5.30.4 > 5.30.5
3.25.0 (2023-07-29)
Fixed
RemoveElementCommandExtension
now callsAgent.delete(DataRef)
instead of the deprecatedAgent.delete(Long)
.- Updated
since
value for deprecation notice on ResourceNotFoundException constructor to fully-qualified name of expansion resource. - Removed two imports of
net.palver.util.Options
that were left behind without any apparent uses.
Changed
- Replaced all code calling
DataFacade.findById()
and marked the method as deprecated for removal. - Replaced all code calling
DataFacade.findDetailsById()
and marked the method as deprecated for removal. - Marked the expanded
DataFacade
deprecated for removal as all expanded methods inside have been marked deprecated. This class will be removed in a future update. - Updated stack dependency:
net.democritus:nsx-default-stack
:2023.14.1 > 2023.14.4
net.democritus:querysearch-expanders
:2.16.0 > 2.17.2
- Updated expander dependencies (minimum version):
net.democritus:base-components
:2023.8.1 > 2023.8.2
net.democritus:Expanders
:5.30.1 > 5.30.4
net.democritus.metamodel:prime-core
:2023.5.2 > 2023.5.3
net.democritus:querysearch-expanders
:2.16.0 > 2.17.2
- (REST-66) Improved experimental support for sorting on Ln02
linkfields that have
exposeRestField
. Rows for which the link isnull
are no longer excluded.
3.24.0 (2023-07-16)
Fixed
- Improved code for checking result of
GET
call with the newSearchResult.getFirstResult()
method.
Changed
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.14.0 > 2023.14.1
- Updated expander dependencies (minimum version):
net.democritus:Expanders
:5.30.0 > 5.30.1
3.23.0 (2023-07-12)
Changed
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.13.0 > 2023.14.0
net.democritus:querysearch-expanders
:2.15.0 > 2.16.0
- Updated expander dependencies (minimum version):
net.democritus:base-components
:2023.7.0 > 2023.8.1
net.democritus:Expanders
:5.29.0 > 5.30.0
net.democritus:querysearch-expanders
:2.15.0 > 2.16.0
- Migrated expanded code for OIDC following breaking change in Expanders.
3.22.0 (2023-07-11)
Changed
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.12.0 > 2023.13.0
- Updated expander dependencies (minimum version):
net.democritus:base-components
:2023.6.0 > 2023.7.0
net.democritus:Expanders
:5.28.1 > 5.29.0
- Updated dependencies:
- Swagger2:
2.2.14 > 2.2.15
- Changes
2.2.15
: https://github.com/swagger-api/swagger-core/releases/tag/v2.2.15
- Changes
- Swagger2:
3.21.0 (2023-07-04)
Added
- Added SCM information.
Changed
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.11.0 > 2023.12.0
- Updated expander dependencies (minimum version):
net.democritus:base-components
:2023.4.0 > 2023.6.0
net.democritus:Expanders
:5.27.0 > 5.28.1
net.democritus.metamodel:prime-core
:2023.4.1 > 2023.5.2
- Updated dependencies:
- Swagger2:
2.2.13 > 2.2.14
- Changes
2.2.14
: https://github.com/swagger-api/swagger-core/releases/tag/v2.2.14
- Changes
- Swagger2:
3.20.0 (2023-06-26)
Changed
- Updated stack dependency:
net.democritus:nsx-default-stack
:2023.10.1 > 2023.11.0
- Updated expander dependencies (minimum version):
net.democritus:base-components
:2023.4.0 > 2023.5.0
net.democritus:Expanders
:5.26.1 > 5.27.0
- Replaced most uses of
SearchResult.getFirst()
withSearchResult.getFirstResult()
.