pulse_logger 0.2.1
pulse_logger: ^0.2.1 copied to clipboard
Dart-first operational event logger for sending sanitized app events to Console and Slack transports.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased #
Planned #
- Rate limiting.
- Offline buffering.
- Dedupe windows.
- Flutter-specific helpers.
- Additional transports.
0.2.1 - 2026-05-11 #
Documentation #
- Documented this release in
CHANGELOG.mdto matchpubspec.yamlfor pub.dev validation. - Aligned install example in
README.mdwith0.2.1.
0.2.0 - 2026-05-11 #
Added #
- Added optional long-form event messages that Slack and console transports can render separately from the event title.
- Added dynamic property enrichment through
PulseConfig.resolveProperties, allowing host apps to attach current user/session context without couplingpulse_loggerto Flutter. - Added runtime platform context collection behind
PulseConfig.includePlatformContext. - Added fragment-aware sensitive key matching through
PulseConfig.redactKeysBySubstring.
Changed #
PulseLoggernow applies the existing silent failure andonErrorpolicy to event preparation failures as well as transport failures.- Isolated the default Slack HTTP client behind platform-specific internals so web consumers can compile when they provide the
postoverride. - Updated README and example coverage for migration from an app-specific Slack logger, Flutter Web transport overrides, and richer event context.
0.1.1 - 2026-05-03 #
Changed #
- Replaced the Slack transport runtime dependency on
package:httpwith adart:ioimplementation based onHttpClient. - Tightened publish readiness for pub.dev by keeping generated and local-only artifacts out of the published archive.
- Added project-level release guidance in
AGENTS.md, including the requirement to updateCHANGELOG.mdbefore each new published version.
Documentation #
- Added the package logo to the README.
- Expanded release and workflow documentation for CI, tagging, and pub.dev publishing.
0.1.0 - 2026-05-02 #
Added #
- Initial public release of
pulse_logger. - Immutable core models:
LogLevel,LogEvent, andPulseConfig. Transportabstraction for custom destinations.ConsoleTransportfor local development.SlackPayloadBuilderandSlackTransportfor Slack Incoming Webhooks.PulseMultiTransportfor multi-channel delivery.PulseLoggerfacade withtrack,debug,info,warning,error, andcritical.- Built-in sensitive-key sanitization with custom key support.
- Level filtering, default properties, app/session metadata, silent failures, and
onError. - Unit tests for models, sanitization, transports, facade behavior, and failure handling.