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

[bug] Version 3.3.0 breaks float parsing #187

Closed
cwrau opened this issue Apr 15, 2024 · 2 comments
Closed

[bug] Version 3.3.0 breaks float parsing #187

cwrau opened this issue Apr 15, 2024 · 2 comments

Comments

@cwrau
Copy link

cwrau commented Apr 15, 2024

The following yaml:

test: 0.0004

Results in the following json with yq 3.2.3:

{
  "a": 0.0004
}

and the following with yq 3.3.0:

{
  "a": "0.0004"
}

See the added quotes, meaning the floating number is now a string

@kislyuk
Copy link
Owner

kislyuk commented Apr 15, 2024

Thanks for reporting. Fix released in v3.3.1.

@kislyuk kislyuk closed this as completed Apr 15, 2024
@cwrau
Copy link
Author

cwrau commented Apr 16, 2024

Thanks for reporting. Fix released in v3.3.1.

Amazing! Thanks for the quick fix!

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

No branches or pull requests

2 participants