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

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

    [ https://issues.apache.org/jira/browse/NIFI-11254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704555#comment-17704555 ] 

ASF subversion and git services commented on NIFI-11254:
--------------------------------------------------------

Commit 2698000a8570bc616f3361a519bf01b40f623fae in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=2698000a85 ]

NIFI-11254 Upgraded SnakeYAML from 1.33 to 2.0

- Updated MiNiFi and EasyRules references to use required arguments

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #7084.


> 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
>          Time Spent: 10m
>  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)