packages feed

dap 0.6.0.0 → 0.7.0.0

raw patch · 4 files changed

+9/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- DAP.Types: SetExceptionBreakpointsArguments :: [Text] -> Maybe ExceptionFilterOptions -> Maybe ExceptionOptions -> SetExceptionBreakpointsArguments
+ DAP.Types: SetExceptionBreakpointsArguments :: [Text] -> Maybe ExceptionFilterOptions -> Maybe [ExceptionOptions] -> SetExceptionBreakpointsArguments
- DAP.Types: [setExceptionBreakpointsArgumentsExceptionOptions] :: SetExceptionBreakpointsArguments -> Maybe ExceptionOptions
+ DAP.Types: [setExceptionBreakpointsArgumentsExceptionOptions] :: SetExceptionBreakpointsArguments -> Maybe [ExceptionOptions]

Files

CHANGELOG.md view
@@ -1,5 +1,11 @@ # Revision history for dap +## 0.7.0.0 -- 2026-05-20++* Fix exceptionOptions DAP conformance: it should be a list+* Fix reverse request: don't include response seq number which trips up some+  DAP clients+ ## 0.6.0.0 -- 2026-05-04  * Keep track of the client capabilities reported by the Initialize request in
dap.cabal view
@@ -1,5 +1,5 @@ name:               dap-version:            0.6.0.0+version:            0.7.0.0 description:        A library for the Debug Adaptor Protocol (DAP) synopsis:           A debug adaptor protocol library bug-reports:        https://github.com/haskell-debugger/dap/issues
src/DAP/Adaptor.hs view
@@ -306,7 +306,7 @@   :: ReverseCommand   -> Adaptor app Request () sendReverseRequest rcmd = send $ do-  setField "type" MessageTypeRequest+  setType MessageTypeRequest   setField "command" rcmd ---------------------------------------------------------------------------- -- | Send runInTerminal reverse request
src/DAP/Types.hs view
@@ -3172,7 +3172,7 @@     -- corresponding capability `supportsExceptionFilterOptions` is true. The     -- `filter` and `filterOptions` sets are additive.     ---  , setExceptionBreakpointsArgumentsExceptionOptions :: Maybe ExceptionOptions+  , setExceptionBreakpointsArgumentsExceptionOptions :: Maybe [ExceptionOptions]    -- ^    -- Configuration options for selected exceptions.    -- The attribute is only honored by a debug adapter if the corresponding