From fbd4c8428aea593bae47cf805f3fe227fa9aa74d Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sat, 23 Mar 2024 17:17:12 +1100 Subject: [PATCH] Remove old JSON warning --- cmd/utils.go | 4 ---- release_notes.txt | 2 ++ 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/utils.go b/cmd/utils.go index 7bd96a28..534615d5 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -75,10 +75,6 @@ func initCommand(cmd *cobra.Command, args []string) (string, []string, error) { outputFormat = "yaml" } } else if isAutomaticOutputFormat() { - // automatic input worked, we can do it for output too unless specified - if inputFormat == "json" { - yqlib.GetLogger().Warning("JSON file output is now JSON by default (instead of yaml). Use '-oy' or '--output-format=yaml' for yaml output") - } outputFormat = inputFormat } } else if isAutomaticOutputFormat() { diff --git a/release_notes.txt b/release_notes.txt index ebf0d0db..7226cf89 100644 --- a/release_notes.txt +++ b/release_notes.txt @@ -1,7 +1,9 @@ 4.43.1: (not released yet) + - Added omit operator #1989 thanks @mbenson! - Added tostring #72 - Added string interpolation #1149 - Can specify parent(n) levels #1970 + - Can now multiply strings by numbers #1988 thanks @mbenson! - Fixed CSV line break issue #1974 - Adding a EvaluateAll function to StringEvaluator #1966 - yqlib, default to colors off when using yaml library #1964