You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/types/CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,22 @@ For prereleases:
19
19
- Pre-release versions (x.x.x-pre.x) are unstable releases for the designated API version. These contain work-in-progress types and annotations. Pre-release versions are not meant to be used except for trying out new API interfaces and giving feedback, and may change without prior programmatic or verbal notice. Pre-release versions are meant to be used with new builds from the `dev` branch of the base extension repo.
20
20
- Release candidates (x.x.x-rc.x) are stable previews for the designated API version. These contain types that are more or less finalized for the designated release. Breaking changes should not be expected, both in type signature and functionality, but will always be highlighted in the changelog if necessary. This is also meant for feedback, but only for more subtle feedback before releasing that version such that it simply just contains bug fixes and very minor changes.
21
21
22
+
## 1.0.0-pre.15
23
+
24
+
### Added
25
+
26
+
- There are now some new helper functions exported from `./utils`, similar the `defineAction` helper:
27
+
-`defineValidator` for defining a validator (sync or async).
28
+
-`defineHandler` for defining a handler.
29
+
-`defineCancelEvent` for defining a cancel event generator.
30
+
-`defineCancelEventInitializer` for defining an object with arguments to construct a cancel event class.
31
+
-`defineEventInfoArray` for defining an array where the first element is a `vscode.Event` interface, and the second element is a predicate.
32
+
-`defineEventPredicate` for defining a predicate for a cancel event (sync and async).
33
+
-`definePromptGenerator` for defining a Copilot prompt generator.
34
+
-`defineReasonGenerator` for defining a cancel event reason generator.
35
+
-`defineSetupHook` for defining a context setup hook.
36
+
- Note that these are meant to be used standalone, so you can get type hints if you want to reuse these components across actions. If you're already defining an action via `defineAction` and don't need to reuse those components across actions, you shouldn't need to use these helper functions (and is discouraged since it can overcomplicate type checking).
0 commit comments