-
Notifications
You must be signed in to change notification settings - Fork 28
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
alexa-utterances v2 thoughts #7
Comments
for completeness here's the link to the Amazon developer docs describing the new features and migration steps https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/migrating-to-the-improved-built-in-and-custom-slot-types |
@matt-kruse any thoughts on this? I split alexa-utterances out from your module to make this re-usable across projects but given yours is the primary use case, do you see any issues with what is outlined above? |
I agree that the dictionary is redundant now, and support for custom slots is needed. I don't mind the change to () but it would be ideal to keep backwards compatibility if possible. I've not used custom slot types yet, so I don't know any of the quirks of how to best represent all of this in the utterance syntax. |
This has been accomplished in the 1.0 branch, but I'm going to hold off publishing to npm for a little while. https://github.com/mreinstein/alexa-utterances/tree/1.0 This is a pretty massive breaking change, and the major consumer of this module is constructive feedback of any kind welcome. :) |
The list of things makes total sense. I think if you publish a major version of alexa-utterances and PR whatever we need to use it in alexa-app we can easily make a release of that with little delay to avoid breaking people. We also have a clear UPGRADING document now that should contain everything. |
@dblock I think there's some misunderstanding. I'll try to clarify.
While this is totally doable with semver, it is a pretty large change, especially if you maintain a lot of utterance files, or even 1 very large utterance file. Hence the lack of movement on this ticket. Hope this provides some clarification. |
That's exactly how I understood it. IMHO we shouldn't be afraid to move forward and make breaking changes and just properly document everything as you say. Most people don't update dependencies blindly and Amazon continues to make pretty substantial changes too (eg. LITERAL), the earlier we help people not use it the better off they will be. |
Cool, just wanted to be sure. 👍
I agree, but I also didn't want to dictate to @matt-kruse how to run his module. :) I'd rather favor stability over breaking change for the sake of change. To me (and I suspect to him) this hasn't been that big of an issue that it warranted making everyone update their utterances files to use the newest module version. That's why I was saying we should wait until the day where |
I think now is as good time as any. We (I) recently released 2.4.0 and we should do a 2.5.0 or even 3.0 if you think it's better. I'm here to help with alexa-app and its release. |
sorry for delay on this. There are several issues #2 #5 #6 that deal with changes related to Amazon Alexa's recent improved built-ins and custom slot types.
I've come to the conclusion that much of the functionality in this module is duplication of the new capabilities. There are the 2 bits that are still useful IMO:
Here are my thoughts on what might be done in 2.x:
LITERAL
slot typeNUMBER
,DATE
,TIME
, andDURATION
to theAMAZON.NUMBER
,AMAZON.DATE
, etc. equivalentsI haven't done any of this yet, just talking about next steps. Open for feedback, ideas, etc.
The text was updated successfully, but these errors were encountered: