-
Notifications
You must be signed in to change notification settings - Fork 220
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
More RS/ASCII updates: clearer update method #1621
Conversation
"ascii_esc": ASCII_ESC, | ||
"ascii_etx_char": ASCII_ETX, | ||
"ascii_fs": ASCII_FS, | ||
"ascii_gs": ASCII_GS, | ||
"ascii_null_char": ASCII_NULL, | ||
"ascii_rs": ASCII_RS, | ||
"ascii_soh_char": ASCII_SOH, | ||
"ascii_stx_char": ASCII_STX, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! But isn't the deprecated old values mapping missing?
Something like this?
"ascii_esc": ASCII_ESC,
"ascii_etx": "\\x04", // deprecated
"ascii_etx_char": ASCII_ETX,
"ascii_fs": ASCII_FS,
"ascii_gs": ASCII_GS,
"ascii_null": "\\x01", // deprecated
"ascii_null_char": ASCII_NULL,
"ascii_rs": ASCII_RS,
"ascii_soh": "\\x02", // deprecated
"ascii_soh_char": ASCII_SOH,
"ascii_stx": "\\x03", // deprecated
"ascii_stx_char": ASCII_STX,
Sorry I should make a pr but I'm using another machine and it's a bit cumbersome from this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GlassGruber TBH I'd rather surface a hard error if someone uses an old mapping that's wrong -- then they can fix their pipelines ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it can print a warning for the next release, then, old syntax goes away in the release after? I.e. a deprecation cycle ...
I definitely do not want to keep misnamed values around forever ..... :|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally makes sense!
I think for this case, it is better to break backwards compatibility and highlight clearly in ReleaseNotes. It is very unlikely for someone to use Renaming makes them verbose (extra Also the old name does not cause miller to fail but take them literally.
|
@balki I like that! @GlassGruber what do you think? |
I think it makes sense, especially this
it's just what I did! |
Thanks @balki @GlassGruber -- I'll close this & tag 6.13.0. |
Implements #1618 (reply in thread)