Skip to content

Latest commit

 

History

History
675 lines (410 loc) · 12.3 KB

CHANGELOG.md

File metadata and controls

675 lines (410 loc) · 12.3 KB

@ai-sdk/react

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

  • e117b54: chore (ui): remove deprecated useChat roundtrip options
  • 8bf5756: chore: remove legacy function/tool calling
  • d3ae4f6: chore (ui/react): remove useObject setInput helper
  • 68d30e9: chore (ui/react): remove experimental_addToolResult
  • 7814c4b: chore (ui): remove streamMode setting from useChat & useCompletion
  • ca3e586: chore (ui): remove experimental_useAssistant export
  • fe4f109: chore (ui): set default value of useChat keepLastMessageOnError to true
  • 84edae5: chore (release): bump ui package versions for 4.0 release

Patch Changes

  • 79c6dd9: fix (ui): remove unnecessary calls to mutateStreamData in useChat
  • 04d3747: chore (ui-utils): restructure processAssistantMessage
  • Updated dependencies [8bf5756]
  • Updated dependencies [b469a7e]
  • Updated dependencies [9f81e66]
  • Updated dependencies [70f28f6]
  • Updated dependencies [dce4158]
  • Updated dependencies [7814c4b]
  • Updated dependencies [fe4f109]
  • Updated dependencies [b1da952]
  • Updated dependencies [04d3747]
  • Updated dependencies [dce4158]
  • Updated dependencies [7e89ccb]
  • Updated dependencies [8426f55]
  • Updated dependencies [db46ce5]
  • Updated dependencies [b053413]

1.0.0-canary.9

Patch Changes

  • 79c6dd9: fix (ui): remove unnecessary calls to mutateStreamData in useChat
  • 04d3747: chore (ui-utils): restructure processAssistantMessage
  • Updated dependencies [04d3747]

1.0.0-canary.8

Patch Changes

1.0.0-canary.7

Major Changes

  • fe4f109: chore (ui): set default value of useChat keepLastMessageOnError to true

Patch Changes

1.0.0-canary.6

Patch Changes

1.0.0-canary.5

Major Changes

  • d3ae4f6: chore (ui/react): remove useObject setInput helper

Patch Changes

1.0.0-canary.4

Major Changes

  • ca3e586: chore (ui): remove experimental_useAssistant export

Patch Changes

1.0.0-canary.3

Major Changes

  • 68d30e9: chore (ui/react): remove experimental_addToolResult

Patch Changes

1.0.0-canary.2

Major Changes

  • e117b54: chore (ui): remove deprecated useChat roundtrip options
  • 7814c4b: chore (ui): remove streamMode setting from useChat & useCompletion

Patch Changes

1.0.0-canary.1

Major Changes

  • 8bf5756: chore: remove legacy function/tool calling

Patch Changes

1.0.0-canary.0

Major Changes

  • 84edae5: chore (release): bump ui package versions for 4.0 release

Patch Changes

0.0.70

Patch Changes

  • 2dfb93e: feat (ui/react): introduce experimental_throttle in useChat, useCompletion

0.0.69

Patch Changes

0.0.68

Patch Changes

  • 8301e41: fix (ai/react): update React peer dependency version to allow rc releases.

0.0.67

Patch Changes

0.0.66

Patch Changes

  • aa98cdb: chore: more flexible dependency versioning
  • Updated dependencies [aa98cdb]
  • Updated dependencies [7b937c5]
  • Updated dependencies [811a317]

0.0.65

Patch Changes

0.0.64

Patch Changes

  • 98a3b08: fix (ui/react): fix callback dependency

0.0.63

Patch Changes

  • caedcda: feat (ai/ui): add setData helper to useChat

0.0.62

Patch Changes

0.0.61

Patch Changes

0.0.60

Patch Changes

  • 7e7104f: feat (ai/react): add headers option to useObject

0.0.59

Patch Changes

0.0.58

Patch Changes

  • 54862e4: fix (react): restore sending annotations with during submission
  • Updated dependencies [1f590ef]

0.0.57

Patch Changes

0.0.56

Patch Changes

  • a0403d6: feat (react): support sending attachments using append

0.0.55

Patch Changes

0.0.54

Patch Changes

  • 4ab883f: fix (ai/react): useObject error handling

0.0.53

Patch Changes

0.0.52

Patch Changes

0.0.51

Patch Changes

0.0.50

Patch Changes

0.0.49

Patch Changes

0.0.48

Patch Changes

0.0.47

Patch Changes

0.0.46

Patch Changes

  • b6c1dee: fix (ui/react): allow sending empty messages with attachments

0.0.45

Patch Changes

0.0.44

Patch Changes

0.0.43

Patch Changes

0.0.42

Patch Changes

  • e9c891d: feat (ai/react): useObject supports non-Zod schemas
  • Updated dependencies [e9c891d]
  • Updated dependencies [4bd27a9]
  • Updated dependencies [845754b]

0.0.41

Patch Changes

  • e5b58f3: fix (ai/ui): forward streaming errors in useChat
  • Updated dependencies [e5b58f3]

0.0.40

Patch Changes

0.0.39

Patch Changes

0.0.38

Patch Changes

0.0.37

Patch Changes

0.0.36

Patch Changes

  • 5be25124: fix (ai/ui): useChat messages have stable ids with streamProtocol: "text"
  • Updated dependencies [5be25124]

0.0.35

Patch Changes

  • a147d040: feat (ai/react): useObject clears object when loading new result

0.0.34

Patch Changes

  • b68fae4f: feat (ai/ui): add onFinish callback to useObject

0.0.33

Patch Changes

0.0.32

Patch Changes

0.0.31

Patch Changes

  • c450fcf7: feat (ui): invoke useChat onFinish with finishReason and tokens
  • e4a1719f: chore (ai/ui): rename streamMode to streamProtocol
  • Updated dependencies [c450fcf7]
  • Updated dependencies [e4a1719f]

0.0.30

Patch Changes

  • b2bee4c5: fix (ai/ui): send data, body, headers in useChat().reload

0.0.29

Patch Changes

0.0.28

Patch Changes

0.0.27

Patch Changes

0.0.26

Patch Changes

  • f63829fe: feat (ai/ui): add allowEmptySubmit flag to handleSubmit
  • 4b2c09d9: feat (ai/ui): add mutator function support to useChat / setMessages
  • Updated dependencies [f63829fe]

0.0.25

Patch Changes

  • 5b7b3bbe: fix (ai/ui): tool call streaming
  • Updated dependencies [5b7b3bbe]

0.0.24

Patch Changes

  • 19c3d50f: fix (ai/ui): add missing createdAt

0.0.23

Patch Changes

0.0.22

Patch Changes

  • 99ddbb74: feat (ai/react): add experimental support for managing attachments to useChat
  • Updated dependencies [99ddbb74]

0.0.21

Patch Changes

  • a6cb2c8b: feat (ai/ui): add keepLastMessageOnError option to useChat
  • Updated dependencies [a6cb2c8b]

0.0.20

Patch Changes

  • 56bbc2a7: feat (ai/ui): set body and headers directly on options for handleSubmit and append
  • Updated dependencies [56bbc2a7]

0.0.19

Patch Changes

0.0.18

Patch Changes

  • 70d18003: add setThreadId helper to switch between threads for useAssistant

0.0.17

Patch Changes

  • 6a11cfaa: feat (ai/ui): add onError handler to useObject
  • 3db90c3d: allow empty handleSubmit submissions for useChat
  • Updated dependencies [d481729f]

0.0.16

Patch Changes

  • 3f756a6b: fix (ai/react): include fetch parameter as part of useChat

0.0.15

Patch Changes

  • 6c99581e: fix (ai/react): stop() on useObject does not throw error and clears isLoading

0.0.14

Patch Changes

  • 9b50003d: fix (ai/react): useObject stop & isLoading reset at end of stream
  • 1894f811: feat (ai/ui): allow JSONValue as data in useChat handleSubmit
  • Updated dependencies [1894f811]

0.0.13

Patch Changes

  • d3100b9c: feat (ai/ui): support custom fetch function in useChat, useCompletion, useAssistant, useObject
  • Updated dependencies [d3100b9c]

0.0.12

Patch Changes

0.0.11

Patch Changes

  • 827ef450: feat (ai/ui): improve error handling in useAssistant

0.0.10

Patch Changes

  • 5b04204b: chore (ai/react): rename useChat setInput to submit
  • 8f482903: feat (ai/react): add stop() helper to useObject

0.0.9

Patch Changes

  • 321a7d0e: feat (ai/react): add isLoading to useObject

0.0.8

Patch Changes

  • 54bf4083: feat (ai/react): control request body in useChat
  • Updated dependencies [54bf4083]

0.0.7

Patch Changes

  • d42b8907: feat (ui): make event in handleSubmit optional

0.0.6

Patch Changes

  • 3cb103bc: fix (ai/react): prevent infinite tool call loop

0.0.5

Patch Changes

0.0.4

Patch Changes

  • 008725ec: feat (@ai-sdk/react): add experimental_useObject to @ai-sdk/react
  • Updated dependencies [008725ec]

0.0.3

Patch Changes

0.0.2

Patch Changes

0.0.1

Patch Changes

  • 85f209a4: chore: extracted ui library support into separate modules
  • Updated dependencies [85f209a4]