devpul 1.0.0
devpul: ^1.0.0 copied to clipboard
Stream HTTP calls, errors and custom events from a running Dart or Flutter app to a browser UI over the Dart VM service. Debug builds only.
1.0.0 #
- Stable: event envelope
v1, handshakeprotocol1 and plugin API 1. - Removed
curl,shellQuote,normalizeBody,normalizeHeaders,truncatedKey,DevpulConfig.ignores,DevpulForm.flatten,DevpulParam.readandDevpulParam.toJsonfrom the public API. - The UI waits between reconnect attempts with the connection closed.
1.0.0-dev.1 #
- Requires Dart 3.8.
- Events carry their fields in
data:{v, session, seq, ts, tags?, data}. The UI asks apps on older versions to update. - Removed
Devpul.sessionIdandDevpul.schemaVersion. - The app prints a link to the DevPul tab of DevTools, connected to it.
DevpulConfig.uiUrllinks another page with#connect=,printLink: falseturns it off. - Ships the UI as a DevTools extension.
ext.devpul.infohandshake with the protocol version, actions, plugins and limits;app.infoevents replaceapp.actions.Devpul.actiontakesparams(DevpulParam.text,number,flag,choice); the callback receives their values.Devpul.limitmutes or rate-limits a kind; the UI can set limits throughext.devpul.limit.Devpul.pluginoffers a browser plugin to the UI under its plugin id; the handshake lists its origin, description and the SHA-256 of its source.Devpul.included: true in debug builds and in native profile builds compiled with--dart-define=DEVPUL_PROFILE=true, false in every other build.Devpul.handleanswers plugin and agent requests throughext.devpul.call; the handshake lists handlers with theirdescription. Awrites: truehandler runs only while Allow writes is on in the UI; agents reachwritesandsensitive: truehandlers only throughcall_plugin_write.Devpul.logtakes any object: a closure is called only when DevPul is enabled, other values log theirtoString().DevpulConfig.ansiColorsis nullable;nullfollowsDevpul.ansiColorsByDefault.
0.2.0 #
Devpul.logfor the Logs tab.Devpul.actionadds buttons to the UI's Actions menu that run code in the app.Devpul.errortakesinformationandsilent.DevpulHttpCall.responsetakesfinalUrl.- The backlog always includes the latest session and actions.
0.1.0 #
- Initial release.
