-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
fix: communication.callsignVhf not set properly in baseDeltas.json #1832
Conversation
This PR is breaking. I already depend on the old (incorrect) behaviour. I know know about it, but maybe placing a warning in the release notes about this breaking change might be useful for others. |
Noticed the same issues. Old value object structure was changed to nested value, which breaks plugins using old format. @sbender9 @tkurki Would this PR be OK to fix the issue? |
You're essentially proposing to revert this PR? |
I think we need to get plugin authors to change, since this is not a value object in the spec. |
Ok, then it is clear violation against to the specs. This is kind of breaking change. Current format, as it is now, have been there quite long time. Is it easier to change specs than plugins, databases, apps, etc... |
Also an observation, these deltas have a an empty path rather than "communication"
…________________________________
From: Karl-Erik Gustafsson ***@***.***>
Sent: Friday, December 6, 2024 6:06:15 AM
To: SignalK/signalk-server ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [SignalK/signalk-server] fix: communication.callsignVhf not set properly in baseDeltas.json (PR #1832)
Ok, then it is clear violation against to the specs.
This is kind of breaking change. Current format, as it is now, have been there quite long time. Is it easier to change specs than plugins, databases, apps, etc...
—
Reply to this email directly, view it on GitHub<#1832 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJF4C5LV3DIOVEAMMPYZ7PD2ECTK7AVCNFSM6AAAAABSHIBLJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRRGI2DANZSGU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
What do you mean? |
@tkurki what do you think? This is a tough one. In general, I would not want to make breaking changes to the spec either. I would also much rather this was not a value object. |
I think this has been reference for callSign rather than specs. No path, but only value object. Good notice! |
And of course, n2k-signalk does it per the spec. https://github.com/SignalK/n2k-signalk/blob/3b0401af0738c3fd8097ac661e060cdf4b9296cc/pgns/129794.js#L53 |
Given that any plugins, etc. that use it are already broken for n2k sources, I think we should stick with the current spec and fix 0183. |
Thats clear then. Nmea0183 and the rest using value object need to be updated. Just to be clear, this is now correct format?
|
Yes, that's the correct format. Unless @tkurki has a date in mind, we don't have any target. We can definitely coordinate the releases. |
Oh, I missed this discussion and started digging into this from scratch in #1842 rather than continue in a merged PR. |
Was: Fixes SignalK/n2k-signalk#277
See #1842.