Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

Updates Node.js dependencies to latest stable versions and prepares v0.39.1 patch release with serialization fix for dictionary of unknown types.

Changes

  • Core submodule: Updated to SHA b8d34c9df from weidongxu-microsoft/typespec@http-client-java_bug-fix-serialization-dict-of-unknown branch for serialization fix
  • Dependencies: Updated to latest versions:
    • @microsoft/api-extractor: 7.56.2 → 7.56.3
    • @types/node: 25.2.1 → 25.2.2
    • ESLint: Kept at 9.39.2 (10.0.0 has breaking changes with @typescript-eslint ecosystem)
  • Version: Bumped to 0.39.1 in package.json files
  • Changelog: Added 0.39.1 release entry (2026-02-09)
  • Tests: Synced via SyncTests.ps1

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 9, 2026 07:17
…es for 0.39.1 release

Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Node.js dependencies to latest release Update dependencies and prepare v0.39.1 patch release Feb 9, 2026
github-merge-queue bot pushed a commit to microsoft/typespec that referenced this pull request Feb 10, 2026
fix #9638

Turns out the problem is in the mock data, we should use JSON string
with double quote
```
            .withUnknown(BinaryData.fromBytes("\"dataxmqci\"".getBytes(StandardCharsets.UTF_8)))
            .withUnknownDict(
                mapOf("gdtopbobjogh", BinaryData.fromBytes("\"datavhkhixu\"".getBytes(StandardCharsets.UTF_8))))
            .withUnknownArray(Arrays.asList(BinaryData.fromBytes("\"dataw\"".getBytes(StandardCharsets.UTF_8))))
            .withUnknownDictArray(Arrays
                .asList(mapOf("hrzayvvtpgvdf", BinaryData.fromBytes("\"dataa\"".getBytes(StandardCharsets.UTF_8)))));
```

So, the change to `element.writeTo` is not strictly necessary. However.
the change should improve better performance, as it no longer require
another conversions to Object.

---

downstream
Azure/autorest.java#3283

[sdk sync on
dev](Azure/azure-sdk-for-java#47941)
@weidongxu-microsoft weidongxu-microsoft merged commit d77038a into main Feb 10, 2026
5 checks passed
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.

3 participants