You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2023/03/06 17:13:00 UTC

[jira] [Created] (NIFI-11254) Upgrade SnakeYAML to 2.0

David Handermann created NIFI-11254:
---------------------------------------

             Summary: Upgrade SnakeYAML to 2.0
                 Key: NIFI-11254
                 URL: https://issues.apache.org/jira/browse/NIFI-11254
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: David Handermann


MiNiFi and multiple extension components have a dependency on SnakeYAML for parsing YAML files.

[SnakeYAML 2.0|https://bitbucket.org/snakeyaml/snakeyaml/wiki/Changes] introduced several changes that are not backward compatible, including removal of deprecated methods and changes to the Yaml.loadAs() method signature. Version 2.0 supports Java 7 or higher at runtime.

Upgrading to SnakeYAML 2.0 requires evaluating all direct and transitive dependencies on SnakeYAML. Direct dependencies may require code changes, while transitive dependencies may not be suitable for upgrading. The current main branch sets the managed dependency version in the root Maven configuration, but modules with transitive dependencies may require overrides to retain compatibility until those modules can be upgraded.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)