Skip to content

Conversation

@danny-beton-lrn
Copy link
Contributor

@danny-beton-lrn danny-beton-lrn commented Dec 19, 2025

This PR adds a built-in UUID generation utility (Learnosity.Uuid.generate()) to the Node.js SDK, achieving feature parity with the Python SDK. While the implementation is a lightweight wrapper around the existing uuid dependency, it provides consistency across Learnosity SDKs, allowing developers to use the same API patterns regardless of language. All documentation and examples have been updated to use the new SDK utility instead of requiring the external uuid package directly. This is a non-breaking, purely additive change that simplifies the developer experience for new users following tutorials while maintaining backward compatibility for existing implementations.

Copy link

@breier breier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested local. LGTM

Copy link
Contributor

@michael-linnane-lrn michael-linnane-lrn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM. Thanks for updating the docs and adding tests too 🙌

Only note I have is that it might be good to add these changes to the Unreleased changelog items: https://github.com/Learnosity/learnosity-sdk-nodejs/blob/master/ChangeLog.md

But happy to have that done in a separate PR if you'd prefer

@danny-beton-lrn danny-beton-lrn merged commit 07ee7b0 into master Jan 6, 2026
1 check passed
@danny-beton-lrn danny-beton-lrn deleted the LRN-49162/feature/add_uuid_util branch January 6, 2026 15:16
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

Successfully merging this pull request may close these issues.

4 participants