Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency com.hazelcast:hazelcast-spring to v5.4.0 #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 5, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.hazelcast:hazelcast-spring (source) 5.2.4 -> 5.4.0 age adoption passing confidence

Release Notes

hazelcast/hazelcast (com.hazelcast:hazelcast-spring)

v5.4.0

Compare Source

This document lists the new features, enhancements, fixed issues and, removed or deprecated features for Hazelcast Platform 5.4.0 release. The numbers in the square brackets refer to the issues and pull requests in Hazelcast's GitHub repository.

[!CAUTION]
Starting with this release of Hazelcast Platform, the minimum supported Java version is 17.

New Features
  • Enterprise User Code Namespaces: Enable deployment and redeployment of your custom classes. See the User Code Namespaces documentation.
  • Enterprise CPMap: Added CPMap as a minimal key-value CP data structure. See CPMap documentation. [#​25802]
  • Enterprise Thread-Per-Core (TPC): TPC is now generally available. You can enable this feature on the clients and cluster members for improved performance. See the Thread-Per-Core (TPC) documentation.
Breaking Changes
  • The MergingValue interface within the SPI package now requires the getDeserializedValue() method to be defined within implementations, replacing the getValue() definition. [#​25942]
  • Moved the MongoDB connector to the extensions module, that is, its classes and related dependencies relocated;
    if you are using Maven to install the connector, you must add <classifier>jar-with-dependencies</classifier> to your pom.xml. Also removed the permissions for MongoDB connector. [#​25744], [#​25701]
  • Method names used as parameters in SecurityInterceptor checks were reviewed and unified into a single place - class com.hazelcast.security.SecurityInterceptorConstants. Some client messages have the method name changed to reflect their purpose better. Some client messages are newly covered by SecurityInterceptor checks now. [#​25020]
  • Renamed the service port for Hazelcast clusters deployed in Kubernetes environments to hazelcast.
    The previous name, hazelcast-service-port, caused member auto-discovery for embedded deployments to fail. [#​24834], [#​24705], [#​24688]
  • Fixed an issue where Hazelcast was not failing fast when a member is started with a blank public address. This has been fixed by introducing a configuration validation that might break any existing, but invalid, configuration. [#​24729]
Enhancements
SQL/Jet Engine
  • Removed the beta annotations from the data connection classes. [#​26000]
  • Replaced the user-defined types (UDTs) feature flag with the cyclic UDT feature flag, to prevent querying such type data. [#​25977]
  • Added support for loading and storing a single column as the value using the GenericMapStore. [#​25878]
  • Each Jet engine job was creating a client for connecting to the remote cluster, resulting in an excessive number of clients. This has been fixed by introducing a single data connection, which can be reused for all job instances. [#​25754], [#​25731]
  • Added support for resolving fields from Avro schemas in Kafka mappings. [#​25935]
  • Changed the exception type from CancellationException to CancellationByUserException when the user cancels a job before it is initialized. [#​25383]
  • Added nested field support for Avro serialization format. [#​25269]
  • Removed the redundant sort and merge operations in sorted index scans, for the computations where the index order is not needed, for example, aggregations. [#​25180]
  • Updated the data comparator to improve the performance of sorted index operations. [#​25196]
  • Added support for partition pruning for the __key filters. [#​25105]
  • Added support for partitioned edges in Jet engine's partition pruning. [#​25062]
  • Added a new mechanism to compute the required partitions to be scanned, if attribute partitioning strategy is applied. [#​25006]
  • Added the condition type to the EXPLAIN PLAN statement outputs for all physical joins. [#​24899]
  • Added support for nullable types when reading Avro files. [#​24840]
  • Added the ability to pass parameters for JDBC configuration, such as the fetch size for large tables. [#​24835]
  • Added support for partition pruning for SQL queries that have trivial filter predicates. [#​24813]
  • Reflected the change of javax.jms to jakarta.jms in Hazelcast distributions. [#​24804]
  • Added support for member pruning for Platform jobs to optimize a job's performance by picking up only the members required for the job. [#​24689]
  • Added the stream() method to the SQL service to return the stream of result rows. [#​24525]
  • Introduced a new configuration object to control the exact initial partition offsets when consuming records from Kafka via the Jet engine. [#​21546]
  • Aligned the behavior of hashCode() method of KeyedWindowResult with that of Map.Entry. #​697
  • Boxing of partitionId is now avoided in the getPartitionAssignment() method when the partition pruning is not used. #​486
  • Added the ability to limit the creation of objects through reflection. #​296
  • Added the ability to use reusable processor meta supplier for forceTotalParallelismOne () on random members without permissions. #​227
  • Added a comparator for the High-Density Memory Store's index entries. Previously, on-heap entries comparators were used which causes incorrect query outputs. #​52
Connectors
  • Implemented a new SQL mapping option to define the preferred local parallelism for connectors that support this configuration. Currently, only the Kafka connector supports this. See Creating a Kafka Mapping for example configurations. [#​26194]
  • Removed the beta annotations from the MongoDB classes. [#​25743]
  • Added TLS support for MongoDB data connections. [#​25301]
  • Added Oracle database support to the JDBC SQL connector. [#​25255]
  • Added support for inline Avro schemas for Kafka mappings. [#​25207]
  • Added support for DataSerializable serialization to Mongo connector. [#​25197]
  • Check for existing resources for Mongo connector is now done only once; previously, it was performed on every processor. [#​24953]
  • Hazelcast JDBC connector now supports Microsoft SQL server. [#​25071]
  • Added the ability to configure the pool size of a MongoDB data connection. See Creating a MongoDB Mapping. [#​25027]
Data Structures
  • Added check for negative positions on the collections' getItemAtPositionOrNull() method. [#​25672]
  • Introduced a cluster state check to improve the removal of expired map/cache entries from the cluster. The removal operation is no longer executed if the cluster is in passive state. [#​24808]
  • Added the IMap.localValues() and IMap.localValues(Predicate) methods for a faster access to locally owned values in maps. [#​24763]
  • Added the deleteAsync() for maps to asynchronously remove a provided map entry key. [#​23509]
  • Fixed the Javadoc for caches where it was referring incorrectly to statistics instead of management, for the setManagementEnabled() method. [#​22575]
  • Added the getCPObjectInfos() method to create a snapshot of all existing CP objects for a given service on the group leader. #​615
  • Added the getCPGroupIds() method to the CP Subsystem API to allow listing all data structures within a CP group. #​591
  • The "last update time" record of the map entries recovered from the disk persistence is not used anymore when calculating the entries' expiration times. #​233
  • Enterprise Added the ability to check whether the ADVANCED_CP feature is present in the Hazelcast Platform Enterprise license, to enable CPMap. #​157
Enterprise WAN Replication
  • Improved dead connection handling for WAN replication static IP discovery, by introducing health check to the discovery strategy. [#​25364]
  • Added support for the dynamic adding of WAN replication configurations using Java API. [#​25118]
  • Added support for evicting map and cache entries through WAN replication by introducing two new properties. When enabled, WAN replication events are fired when values are evicted from the map and cache objects. See Replicating IMap/ICache Evictions. [#​24941]
Enterprise Security
  • Added the ability to check map permissions before suggesting a schema. If a client has permission to read a map, then a suggestion with schema is sent. Otherwise a warning that no permissions to read maps have been set is generated. [#​26058]
  • Updated permission checks in CacheCreateConfig and GetSemaphoreType tasks. [#​25529]
  • Improved the permission checks in the file connectors by adding a method that returns the permissions required to resolve field names. [#​25348]
  • Added support for permission subtraction (deny permissions) in client connections. See Deny Permissions. [#​25154]
Storage
  • Improved the hit/miss cache statistics counter performance. [#​25146]
  • Enterprise Tiered Store can now be used with map loaders. [#​24827]
  • Added the ability to configure Tiered Store backed maps dynamically. #​670
  • Enterprise Added the ability to persist namespaces for Hot Restart. #​402
Networking
  • Added the ability to evaluate priorities while picking member addresses; when interfaces are not configured, the first possible IP address is no longer used. Instead, all addresses are evaluated and the one with the highest priority (IPv6 address) is selected. [#​25305]
  • Added the demoteLocalDataMember() method to convert members holding data to lite members, enabling a cluster to be alive while there is no data in it. [#​24617]
  • Improved the duration of joins by the clients to the cluster; the clients can now join instantaneously without waiting by internally delaying the migrations asynchronously. [#​17582]
Serialization
  • Added the ability to use consistent serialization service for ByKey plans. [#​25631]
  • Serialization service is not created anymore for light jobs as it creates overhead and generates garbage. #​235, #​449
Cloud
  • Enhanced the warning message shown in the cases of incorrect configurations when deploying a Hazelcast client on Amazon EKS. [#​25568]
  • Added the ability to retry DNS resolutions for the Kubernetes discovery plugin. #​445
Metrics and Logs
  • Disabled the log4j2 shutdown hook for cleaner shutdown logs after a Hazelcast Platform cluster deployed on Kubernetes is shutdown. [#​26006]
  • Enabled faster execution times and more efficient garbage collection by making method probes to use MethodHandle instead of reflection. [#​25279]
  • Improved the naming convention for CP Session, Lock, and Persistence metrics. [#​24843], [#​24836]
  • Added status and userCancelled flags to job metrics. [#​24716]
  • Added the size and sizeBytes metrics for CPMap. See CP Subsystem Metrics. #​6807
  • Added the connectionHealth and failedTransmitCount metrics to WAN Replication. See WAN Replication Metrics. #​848
  • Added metrics for the User Code Namespaces feature and set the prefix for these metrics as ucn. #​745, #​625
  • Removed the stack trace for WAN connection exception since its content was the same as the exception log itself. #​578
  • Added the ability to collect job execution metrics only from the members which run the job. #​194
Events and Listeners
  • Added the onCancel() method to the reliable message listener to trigger a notification when the listener is cancelled for any reason. #​286
REST API
  • Added the new RestConfig tag under the server Config; it allows configuration of the new REST API server. #​508
  • Added the health check endpoints for the new REST API; these include state of the members and cluster, and the member count. #​192
Distribution
  • Improved the binary scripts of Hazelcast Platform for Windows operating systems.
    • common.bat has been updated to not include excessive spaces in parameters.
    • hz-cli.bat and hz-start.bat have been updated to reference the common.bat script with correct paths.
    • hz-start.bat has been updated to remove double quote expansion for CLASSPATH.
      #​165
  • Updated the versions of following dependencies:
  • Upgraded the Hazelcast Platform's pom.xml to use JDK 17, as it requires at minimum JDK 17. #​436
  • Updated the copyright year to 2024 in the codebase. #​396
Enterprise Licensing
  • License keys are now masked in the license expiration notifications. [#​24800]
API Documentation
  • Detailed the existing partition aware interface description to explain the requirements when calculating the partition ID in case partition aware is implemented. See PartitionAware Javadocs. #​875
Fixes
  • Fixed an issue where sending internal Debezium messages was causing failures when connecting to databases. [#​26027]
  • Fixed an issue where the entry listeners for Replicated Maps were checking the Map permissions instead of the Replicated Map permissions. [#​25965]
  • Fixed an issue where the queries with indexes were producing duplicate results or failing. [#​25527]
  • Fixed an issue where the map entries' metadata, such as time-to-live and expiration, was not replicated correctly over WAN after updating existing entries. [#​25481]
  • Fixed an issue where the loading of compact-serialized generic records by the complex classloaders, such as JetClassLoader, were likely to cause deadlocks. [#​25379]
  • Fixed a memory leak issue happening in Hazelcast members and clients while destroying fenced locks. [#​25353]
  • Fixed an issue where the sorted index scans were hanging or producing duplicate values when there are multiple entries with the same key. [#​25328]
  • Fixed an issue where setting indexes in a different order, while dynamically adding a map configuration, was failing. [#​25234]
  • Fixed an issue where the diagnostic tool was showing the suggestion of enabling it, even it is already enabled. [#​25220]
  • Fixed an issue where clearing an inexistent map was resulting in an exception. [#​25202]
  • Fixed an issue where the mechanism to retrieve partitioning strategy on a client was ignoring the provided Hazelcast cluster properties. [#​25162]
  • Fixed an issue where ClientConfigXmlGenerator didn't support the hazelcast-cloud configuration. [#​25155]
  • Fixed an issue where the cache provider was not able to read the YAML configurations. [#​25137]
  • Fixed an issue where the getDistributedObjects() was returning inconsistent results when multiple members simultaneously join to the cluster. [#​25114]
  • Fixed an issue where zero-config compact serialization was not working on the objects that have a field of type java.util.UUID. [#​25073]
  • Fixed an issue where the retry mechanism for the communications between CP leader and followers was generating too many retries, due to incorrect backoff timeout reset behavior. [#​25055]
  • Fixed an issue where there was a difference between the elapsed clock time and elapsed total time when listening to migration events. [#​25028]
  • Fixed an issue where the transaction in the Kafka producer was not committed when a batch job finished. [#​25024]
  • Fixed an issue where data events were being fired through WAN replication after a split-brain, even when there were no changes in data. [#​24928]
  • Fixed an issue where the lite members were not reporting statistics for map operations. [#​24871]
  • Fixed an issue where the blacklisting was ignored after a split-brain scenario. [#​24830]
  • Fixed an issue where the Kinesis sink might lose data, when retrying on failures, during a terminal snapshot. [#​24779]
  • Fixed an issue where the member list was not updated after a cluster failover scenario. [#​24745]
  • Fixed an issue where the batches produced for write-behind queues did not have the expected size of entries. [#​24763]
  • Fixed an issue where the fused Jet vertex was ignoring the configured local parallelism and using the default parallelism instead. [#​24683]
  • Fixed an issue where Hazelcast was sending empty map interceptor information to the members that are newly joined to the cluster; it was causing eager map initializations. [#​24639]
  • Fixed an issue where the REST calls were failing for Hazelcast clusters with TLS v1.3 configured, and deployed on Kubernetes. [#​24616]
  • Fixed an issue where the predicates did not have managed context injection when the predicate is local or not serialized. [#​24463]
  • Fixed an issue where the results of the stream-to-stream join could not be inserted into the remote table connected via JDBC, causing an exception. [#​22459]
  • Fixed an issue where the combining step of AggregateOperations.maxBy() was not checking if the incoming element is null, which can happen if some members did not have any items to process. In this case, the comparator was invoked with the null value which was invalid. #​895
  • Fixed a race condition occurred when canceling Jet jobs during their initializations. #​889
  • Fixed an issue where the indexes added during the migration of partitions to newly joined members, were not persisted on these new members. Relatedly, the ability to persist dynamically added indexes, when the Hot Restart feature is enabled, has been implemented. #​829, #​596
  • Fixed an issue where the merge operations after a split-brain (with no changes in the entry values) were emitting WAN events for offloaded operations. #​734
  • Fixed an issue where replicating over WAN from a cluster to other clusters, when all clusters share the same cluster name, was failing. #​728
  • Fixed a race condition occurred when the execution of registration/deregistration operation for JobStatusListener is offloaded to the event striped executor; now, this offloading is waited to finish. #​673
  • Fixed an issue when querying JSON, elements that appear after an element containing nested JSON was not appearing in the query results. #​570
  • Fixed an issue where data was lost from the ICache data structure with NATIVE entries in a split-brain scenario. #​480
  • Fixed an issue where the ANALYZE INSERT INTO SQL statement did not generate metrics. #​444
  • Fixed an issue where map entries' metadata were replicated incorrectly over WAN after a merge, causing deserialization of values. #​225
  • Fixed an issue where the process of retrieving metrics for job executions was entering an infinite loop when a job execution is completed on a member, but continued on the other members.
  • Enterprise Fixed an issue where the map entries with time-to-live values were being removed as soon as the cluster with persistence enabled is restarted. #​233 With this fix, only the members on which the jobs have not been completed are queried for metrics; for completed jobs, the metrics are already retrieved from the completed jobs context. #​194
  • Fixed an issue where the attribute partitioning strategy was not working with Compact and Portable classes. #​127
Removed/Deprecated Features
  • The connector for Elasticsearch 6 is removed, as the Elasticsearch 6 module is removed from Hazelcast distributions. [#​24734]
  • The evaluation tool for IMDG 3.x users (Hazelcast 3 Connector) is removed. In the upcoming releases, a new tool for migrating data from 3.x versions will be introduced. [#​25051]
  • Transactions have been deprecated, and will be removed as of Hazelcast version 7.0. An improved version of this feature is under consideration. If you are already using transactions, get in touch and share your use case. Your feedback will help us to develop a solution that meets your needs.
  • Portable Serialization has been deprecated. We recommend you use Compact Serialization as Portable Serialization will be removed as of version 7.0.
  • The user code deployment API is deprecated, and will be removed in Hazelcast Platform version 6.0. #​223
Contributors

We would like to thank the contributors from our open source community who worked on this release:

v5.3.7

Compare Source

This document lists the enhancements, fixed issues, and removed or deprecated features for Hazelcast Platform 5.3.7 release. The numbers in the square brackets refer to the issues and pull requests in Hazelcast's GitHub repository.

Enhancements

  • Improved the time spent on the first partition migration, in case a new member joins a cluster with high partition count. [#​1201]
  • Updated the versions of following dependencies:

v5.3.6

Compare Source

This document lists the enhancements, fixed issues, and removed or deprecated features for Hazelcast Platform 5.3.6 release. The numbers in the square brackets refer to the issues and pull requests in Hazelcast's GitHub repository.

Fixes
  • Fixed a WAN replication failure - when using maps with WAN replication enabled, and BINARY or NATIVE in-memory formats for the entries, WAN replication was failing when an entry is updated with the same key/value pair, and the cluster members lack serialization information. [#​25899]

v5.3.5

This document lists the enhancements, fixed issues, and removed or deprecated features for Hazelcast Platform 5.3.5 release. The numbers in the square brackets refer to the issues and pull requests in Hazelcast's GitHub repository.

NOTE: Due to an error in the tooling, the Platform releases 5.3.3 and 5.3.4 needed to be skipped numerically.

Enhancements
  • Improved the permission checks by fixing the CVE-2023-45859 and CVE-2023-45860 vulnerabilities.
  • Changed the exception type from CancellationException to CancellationByUserException in case the user cancels a job before it is initialized. [#​25452]
  • Updated the versions of the following dependencies
  • Renamed the service port for Hazelcast clusters deployed in Kubernetes environments as hazelcast.
    Previously, the name was hazelcast-service-port causing the member auto-discovery (for embedded deployments) to fail. [#​24834]
Fixes
  • Fixed an issue where the map entries' metadata, such as time-to-live and expiration, was not replicated correctly over WAN after updating existing entries. [#​25505]
  • Fixed an issue where the member list was not updated after a cluster failover scenario. [#​25504]
  • Fixed a memory leak issue happening in Hazelcast members and clients while destroying fenced locks. [#​25421]
Removed/Deprecated Features
  • Removed the evaluation tool (to try out Platform 5.x features for IMDG 3.x users) and the relevant IMDG 3.x JAR libraries from Hazelcast Platform distributions. [#​25663]

v5.3.2

Compare Source

This document lists the enhancements and fixed issues for Hazelcast Platform 5.3.2 release. The numbers in the square brackets refer to the issues and pull requests in Hazelcast's GitHub repository.

Enhancements
  • Updated the Janino dependency version to 3.1.10. [#​25094]
Fixes
  • Renamed the service port for Hazelcast clusters deployed in Kubernetes environments as hazelcast.
    Previously, the name was hazelcast-service-port causing the member auto-discovery (for embedded deployments) to fail. [#​25228]
  • Fixed an issue where the getDistributedObjects() was returning inconsistent results when multiple members are simultaneously joining to the cluster. [#​25153]
  • Fixed an issue where the Hot Restart procedure was failing on Hazelcast Viridian, when the cluster is in the FROZEN state. [#​25081]
  • Fixed an issue where the retry mechanism for the communications between CP leader and followers was generating too many retries, due to incorrect backoff timeout reset behavior. [#​25074]

v5.3.1

Compare Source

This document lists the new features, enhancements, fixed issues and, removed or deprecated features for Hazelcast Platform 5.3.1 release. The numbers in the square brackets refer to the issues and pull requests in Hazelcast's GitHub repository.

Enhancements
  • Updated the version of jackson-core dependency to 2.15.2. [#​24727]
Fixes
  • Fixed an issue where submitting a job was failing when it is done using Hazelcast Command-Line Client (CLC). [#​24704]
  • Fixed an issue where the REST calls were failing for Hazelcast clusters with TLS v1.3 configured, and deployed on Kubernetes. [#​24623]
  • Fixed various issues in Health Monitor including incorrect metric names. [#​24636]

v5.3.0

Compare Source

This document lists the new features, enhancements, fixed issues and, removed or deprecated features for Hazelcast Platform 5.3.0 release. The numbers in the square brackets refer to the issues and pull requests in Hazelcast's GitHub repository.

WARNING: The minimal supported Java version is 11 starting with this release of Hazelcast Platform.

New Features
  • Connector for Kafka Connect source (BETA): Import data from an external system directly into a Hazelcast data pipeline without the need of a Kafka cluster.
  • Connector for MongoDB (BETA): Read and write from/to MongoDB via this connector and execute SQL queries on Mongo collections directly from Hazelcast.
  • Partition-Aware SQL Client: Send the SQL commands only to the members having the relevant data, which reduces the network hops and improves the query performances.
  • Data connection support in SQL: data connections and mappings using them can be managed using SQL commands.
Breaking Changes
  • Renamed the DataLinkFactory interface as DataConnection. [#​24224]
  • Removed the TO_ROW function as it is obsolete, you can use CAST (udtObj AS JSON) instead. [#​23808]
  • SQL mappings for internal maps (__sql.catalog and __jet.*) cannot be created anymore. [#​24282]
  • Changed the default cloud coordinator URL from coordinator.hazelcast.cloud to api.viridian.hazelcast.com.
    The default configuration now connects to https://viridian.hazelcast.com/sign-in?next=/ instead of Hazelcast Cloud.
    If you want to continue accessing your Hazelcast Cloud clusters, you need to set the hazelcast.client.cloud.url property to https://coordinator.hazelcast.cloud in your configuration. [#​23290]
Enhancements
Cloud
Storage
  • Added support of generating suggested Data Definition Language (DDL) for a map with High-Density Memory Store and having no indexes. [#​24054]
  • Disk tier option of Tiered Storage is now disabled by default. [#​23747]

NOTE: Tiered Storage feature is still in BETA stage.

Distribution
  • Hazelcast no longer depends on JRuby; the JRuby ScriptFactory dependency must be explicitly added to the application. [#​23355]
  • Added the Kafka Connect extension to the distribution. [#​23312]
  • Shaded dependencies for Hazelcast Platform have been combined in a dedicated package (com.hazelcast.shaded). [#​23124]
Networking
  • Added socket options for per-socket keep-alive configuration: keep-count, keep-idle-seconds, and keep-interval-seconds.
    You can set these options using either the advanced network configurations or Hazelcast system properties.
    See Configuring TCP Keep-Alive. [#​24050]
SQL Engine
  • The CREATE MAPPING statement for Compact Serialization now supports nullable primitives. [#​24300]
  • Added support of fault tolerance and processing guarantees for stream-to-stream JOINs. [#​22979], [#​23462]
  • Implemented the GET_DDL function. [#​23595]
  • Implemented the SHOW DATA CONNECTIONS and SHOW RESOURCES statements to show the connections and resources created by the CREATE CONNECTIONS statement. [#​24028], [#​23844]
  • Added support of providing declarative partitioning strategies based on attributes. These attributes represent specific partition keys for a map.
    You can also configure this strategy dynamically. [#​23535], [#​23954]
  • Added attributes and user_defined_types tables to information_schema. [#​23267]
  • Made all streaming SQL jobs to be suspending on failure. [#​23178]
  • Implemented the TO_CHAR function which is capable of formatting dates, timestamps, and numbers. [#​22529]
  • Implemented JSON=VARCHAR comparison. [#​22746]
  • Added support of configuring SQL Catalog persistence. [#​24383]
Jet Engine
  • Added support of modifying the job configuration of suspended jobs so that jobs can run without overflow failures by adding more resources. [#​23862]
  • Each Jet engine job was creating a client for connecting to the remote cluster, resulting in an excessive number of clients.
    This has been fixed by introducing a single data connection which can be reused for all job instances. [#​23472], [#​23849]
  • Added MongoDB read (source) and write (sink) processors. [#​23348]
  • Introduced JobStatusListener as an alternative to repeatedly retrieve a job status via the Job.getStatus() method. [#​23193]
  • Updated the https://docs.hazelcast.org/docs/{page-latest-supported-java-client}/javadoc/com/hazelcast/jet/Job.html#isUserCancelled-- to add the ability
    to distinguish the user-cancelled jobs from the failed ones. [#​22924]
  • Added flock to guard all the concurrent pip executions (upgrading pip and protobuf versions) in the Jet-to-Python script. [#​22829]
Security
  • Added the TLS configuration property keyMaterialDuration which allows using a configurable timeout for caching keyStores and trustStores.
    See [TLS Configuration] for the details on how to configure this property. [#​23307]
Serialization
  • Hazelcast now allows serializing unsupported types via [zero-configuration] provided that there is an explicit serializer implemented for the unsupported type. [#​23449]
  • Setting a generic record now fails if the value is not of the same type of generic record. [#​23522]
  • Introduced clearer exception messages for Generic MapStore, instead of UndefinedErrorCodeException. [#​22765]
WAN Replication
  • Added the REST endpoint /hazelcast/rest/wan/sync/progress which allows tracking the WAN synchronization progress. [#​22958]
Connectors
  • Added support of predicates in DML (Data Manipulation Language) in JDBC SQL connector. [#​24521]
  • Added the ability to provide host, username, password, and authDB when connecting to a MongoDB, as an alternative to specifying a connection string. [#​24238]
  • Added the ability to create a mapping with a MongoDB data connections that provides unbounded (streaming) results. [#​24356]
  • Added compound identifier for the externalName() method. [#​23772]
  • Added an option for the MongoDB source to perform reading with a single processor instance. Usually distributing the operations is a best practice; however,
    the $function aggregation method is not supported by the Atlas Serverless instances. In this case, this newly introduced option can be used to to query such instances in one processor. See the option's https://github.com/hazelcast/hazelcast/blob/master/hazelcast-sql/src/main/java/com/hazelcast/jet/sql/impl/connector/mongodb/Options.java#L77. [#​24198]
  • Added additional permission checks to JDBC connectors (source and sink). The previous checks in some cases used only the jdbc: name in ConnectorPermission.
    The newly introduced checks get the JDBC URL from existing connection metadata and check if the permission is granted. If want to grant a ConnectorPermission
    to all JDBC URLs, you may use wildcards, e.g., jdbc:*. [#​23716]
  • Added DataConnection for Kafka consumers and producers, and for MongoDB [#​23886], [#​23837]
  • Jet engine's connector for MongoDB is now a part of the Hazelcast Platform distribution. [#​22565]
  • Introduced a way to control the initial partitions offsets when consuming records from Kafka via the Jet engine: by passing an additional topics configuration object that contains definitions of initial offsets for specific partitions. [#​21546]
Metrics
  • Added name of the job to the [job specific metrics]. [#​23744]
  • Added Tiered Storage compactor metrics to be exposed by the tools and interfaces such as Management Center, JMX, and diagnostics. [#​23643]
  • Added a new tag to the CP Subsystem metrics to display the client names for CP sessions on Hazelcast Management Center. [#​23387]
  • Added entry eviction and expiration counts to local map statistics and metrics. [#​23318]
Other Enhancements
  • External Data Store references have been renamed as _Data Connections. This includes the renaming of the external-data-store configuration element as data-connection. [#​24224]
  • Added the ability to test whether the connection with a JDBC data link is valid (testConnection method for JdbcDataConnection). [#​23405]
  • Upgraded Apache Calcite to 1.32.0. [#​22849]
Fixes
  • Fixed an issue where map.clear() was timing out when the map is configured with a generic map store. [#​24534]
  • Fixed an issue where the SELECT COUNT(DISTINCT COLUMN) query for maps was producing incorrect results. [#​24464]
  • Fixed an issue where there was a memory leak when Jet engine metrics are enabled. [#​23492]
  • Fixed an issue where the DELETE FROM or UPDATE functions, when used with fully-qualified names, was failing in a JDBC table. [#​23476]
  • Fixed an issue where SQL statements were failing when a class (to determine the fields of a key/value pair) no longer exists but the mapping is still valid. [#​24003]
  • Fixed an issue where lastAccessTime and expirationTime was not updated when an entry is accessed via executeOnEntries. [#​23926]
  • Fixed an issue where the Hazelcast configuration was modified by the Jet engine, if the wildcard configuration is used and Jet is enabled; meaning the configurations
    made by the user was not being reflected. [#​23848]
  • Fixed an issue where Hazelcast was failing to connect to a database when using Debezium, and the key of a record is null. [#​23768]
  • Fixed an issue where the SELECT query was returning duplicated rows for the mappings in AWS S3 bucket. [#​23723]
  • Enabled smart client connectivity to Hazelcast clusters deployed on Kubernetes, when advanced network configuration is enabled. [#​23707]
  • Fixed an issue where Debezium connector for MongoDB could not keep the connection after some time. [#​23689]
  • Enhanced the handling of errors coming from the Kubernetes API:
    ** Not detecting the intent correctly whenever the cluster is shutdown, so the cluster was not restarted successfully.
    ** Extensive amount of Kubernetes API calls were being logged when Automatic State Management feature is enabled. [#​23538]
  • Fixed an issue where Hazelcast transaction manager was timing out before the timeout value set for the transaction commit. [#​23471]
  • Fixed an issue where the unordered mapUsingServiceAsync was losing items when there are no watermarks. [#​23271]
  • Fixed an issue where the state of a job was being corrupted if a member is forcefully shut down and the job is restarted from snapshot. [#​23201]
  • Fixed an issue where disabling metrics and JMX on a Hazelcast client was failing the members to start. [#​23360]
  • Fixed an issue where a JDBC related exception message was mentioning data source reference instead of the table name. [#​23122]
  • Fixed an issue where the beginning time of a job was being recorded after the job is submitted, which was causing a race condition. [#​23065]
  • Fixed an issue where the hz-cli shell script was failing to run in bash on Windows systems since it uses a colon-separated CLASSPATH
    where each path is a Linux-style path. However, Java on Windows expects a semicolon-separated CLASSPATH where each path is a Windows-style path.
    As a consequence, the hz-cli could not be used from bash on Windows. [#​22884]
  • Fixed a memory leak due to incomplete clean-up of backup replica sync operations. [#​22769]
  • Fixed an issue where a map was loading old values with map.set() when map store offloading is enabled. [#​22602]
  • Fixed an issue where a CP Subsystem object could be destroyed without a permission even the object has security and permission configurations enabled. [#​22475]
  • Fixed an issue where external data store configurations could not be added dynamically. [#​22450]
  • Fixed an issue where replication over WAN was failing on the source cluster members, when there are multiple batch publishers configured in a single WAN replication. [#​22437]
  • Fixed an issue where creating a JDBC SQL mapping without specifying the columns was causing the column order to be reversed compared to that in the remote source table (affecting statements such as SELECT * FROM ... and INSERT INTO <mapping> VALUES. [#​22410]
  • Fixed an issue where the map entries recovered from persistence were not expiring after their time-to-live durations. [#​22279]
  • Fixed an issue where Hazelcast members in a Spring Boot application could not establish a connection to each other when deployed
    in Kubernetes cluster with Istio Envoy Proxy enabled. [#​22256]
  • Eliminated the usage of ForkJoinPool#commonPool for internal Hazelcast code, improving stability and avoiding potential deadlocks. [#​18190]
Contributors

We would like to thank the contributors from our open source community
who worked on this release:

v5.2.5

Compare Source

This docume


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/hazelcast.version branch from 0272333 to 58ddd5d Compare April 4, 2024 18:02
@renovate renovate bot changed the title fix(deps): update dependency com.hazelcast:hazelcast-spring to v5.3.6 fix(deps): update dependency com.hazelcast:hazelcast-spring to v5.3.7 Apr 4, 2024
@renovate renovate bot changed the title fix(deps): update dependency com.hazelcast:hazelcast-spring to v5.3.7 Update dependency com.hazelcast:hazelcast-spring to v5.3.7 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/hazelcast.version branch from 58ddd5d to 0485258 Compare April 15, 2024 11:12
@renovate renovate bot changed the title Update dependency com.hazelcast:hazelcast-spring to v5.3.7 Update dependency com.hazelcast:hazelcast-spring to v5.4.0 Apr 15, 2024
@renovate renovate bot force-pushed the renovate/hazelcast.version branch from 0485258 to 42d7128 Compare April 16, 2024 08:54
Copy link

sonarcloud bot commented Apr 16, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants