Skip to content

Latest commit

 

History

History
912 lines (553 loc) · 15 KB

CHANGELOG.md

File metadata and controls

912 lines (553 loc) · 15 KB

@ai-sdk/svelte

2.1.3

Patch Changes

2.1.2

Patch Changes

  • d92fa29: feat: add credentials support to experimental useObject and StructuredObject

2.1.1

Patch Changes

2.1.0

Minor Changes

  • 5bc638d: AI SDK 4.2

Patch Changes

2.0.4

Patch Changes

2.0.3

Patch Changes

  • 62b327e: fix: Use instance-specific generateId for user messages

2.0.2

Patch Changes

  • d1ea22e: fix(ui/svelte): Allow class instances to be created as deriveds

2.0.1

Patch Changes

2.0.0

Major Changes

  • 9e2cb6f: feat (ui/svelte): Modern Svelte 5 (breaking change)

1.1.24

Patch Changes

1.1.23

Patch Changes

1.1.22

Patch Changes

  • 57cf070: fix: Remove hard-cast causing Readable to be treated as Writable

1.1.21

Patch Changes

1.1.20

Patch Changes

  • 30e6ebd: feat (provider/svelte): support Svelte 5

1.1.19

Patch Changes

1.1.18

Patch Changes

1.1.17

Patch Changes

  • 60c3220: fix (ui): set status to ready after stream was aborted

1.1.16

Patch Changes

  • c43df41: feat (ui): add useChat status

1.1.15

Patch Changes

1.1.14

Patch Changes

1.1.13

Patch Changes

1.1.12

Patch Changes

1.1.11

Patch Changes

  • bcc61d4: feat (ui): introduce message parts for useChat
  • Updated dependencies [bcc61d4]

1.1.10

Patch Changes

1.1.9

Patch Changes

1.1.8

Patch Changes

  • 0d2d9bf: fix (ui): empty submits (with allowEmptySubmit) create user messages
  • 0d2d9bf: fix (ui): single assistant message with multiple tool steps
  • Updated dependencies [0d2d9bf]

1.1.7

Patch Changes

  • 5d7a3b6: feat (ui/svelte): experimental attachment support

1.1.6

Patch Changes

1.1.5

Patch Changes

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

  • 62ba5ad: release: AI SDK 4.1

Patch Changes

1.0.13

Patch Changes

1.0.12

Patch Changes

1.0.11

Patch Changes

  • 37f4510: feat (ui): expose useChat id and send it to the server
  • Updated dependencies [37f4510]

1.0.10

Patch Changes

  • Updated dependencies [2495973]
  • Updated dependencies [2495973]

1.0.9

Patch Changes

1.0.8

Patch Changes

1.0.7

Patch Changes

1.0.6

Patch Changes

1.0.5

Patch Changes

1.0.4

Patch Changes

  • Updated dependencies [953469c]
  • Updated dependencies [a3dd2ed]

1.0.3

Patch Changes

  • 630ac31: fix (ui): set tool invocation state to "result" when calling addToolResult

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
  • 7814c4b: chore (ui): remove streamMode setting from useChat & useCompletion
  • 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

Patch Changes

1.0.0-canary.4

Patch Changes

1.0.0-canary.3

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.57

Patch Changes

0.0.56

Patch Changes

  • d92fd9f: feat (ui/svelte): support Svelte 5 peer dependency

0.0.55

Patch Changes

0.0.54

Patch Changes

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

0.0.53

Patch Changes

0.0.52

Patch Changes

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

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

0.0.45

Patch Changes

0.0.44

Patch Changes

0.0.43

Patch Changes

0.0.42

Patch Changes

0.0.41

Patch Changes

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

0.0.35

Patch Changes

0.0.34

Patch Changes

0.0.33

Patch Changes

0.0.32

Patch Changes

0.0.31

Patch Changes

0.0.30

Patch Changes

0.0.29

Patch Changes

0.0.28

Patch Changes

0.0.27

Patch Changes

0.0.26

Patch Changes

  • b694f2f9: feat (ai/svelte): add tool calling support to useChat

0.0.25

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.24

Patch Changes

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

0.0.23

Patch Changes

0.0.22

Patch Changes

0.0.21

Patch Changes

0.0.20

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.19

Patch Changes

0.0.18

Patch Changes

0.0.17

Patch Changes

0.0.16

Patch Changes

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

0.0.15

Patch Changes

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

0.0.14

Patch Changes

0.0.13

Patch Changes

0.0.12

Patch Changes

0.0.11

Patch Changes

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

0.0.10

Patch Changes

0.0.9

Patch Changes

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

0.0.8

Patch Changes

  • 82d9c8de: feat (ai/ui): make event in useAssistant submitMessage optional

0.0.7

Patch Changes

0.0.6

Patch Changes

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

0.0.5

Patch Changes

0.0.4

Patch Changes

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]