Skip to content

@langchain/core@1.2.6

Choose a tag to compare

@github-actions github-actions released this 12 Aug 21:24
b0a61cf

Patch Changes

  • #11344 f08e0c6 Thanks @hntrl! - fix: apply [Symbol.hasInstance] method to all comparable properties using .isInstance()

    We have some internal schemas that rely on z.instanceof(). This uses a strict instanceof check which can conflict if there are multiple versions of core installed. This overrides the Symbol.hasInstance method to use the same logic as .isInstance() to compare objects at runtime.