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

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

     [ https://issues.apache.org/jira/browse/NIFI-11254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard resolved NIFI-11254.
-----------------------------------
    Fix Version/s: 2.0.0
                   1.21.0
       Resolution: Fixed

> 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
>            Assignee: David Handermann
>            Priority: Major
>             Fix For: 2.0.0, 1.21.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)