tftsr-devops_investigation/node_modules/smart-buffer/docs/CHANGELOG.md
Shaun Arman 8839075805 feat: initial implementation of TFTSR IT Triage & RCA application
Implements Phases 1-8 of the TFTSR implementation plan.

Rust backend (Tauri 2.x, src-tauri/):
- Multi-provider AI: OpenAI-compatible, Anthropic, Gemini, Mistral, Ollama
- PII detection engine: 11 regex patterns with overlap resolution
- SQLCipher AES-256 encrypted database with 10 versioned migrations
- 28 Tauri IPC commands for triage, analysis, document, and system ops
- Ollama: hardware probe, model recommendations, pull/delete with events
- RCA and blameless post-mortem Markdown document generators
- PDF export via printpdf
- Audit log: SHA-256 hash of every external data send
- Integration stubs for Confluence, ServiceNow, Azure DevOps (v0.2)

Frontend (React 18 + TypeScript + Vite, src/):
- 9 pages: full triage workflow NewIssue→LogUpload→Triage→Resolution→RCA→Postmortem→History+Settings
- 7 components: ChatWindow, TriageProgress, PiiDiffViewer, DocEditor, HardwareReport, ModelSelector, UI primitives
- 3 Zustand stores: session, settings (persisted), history
- Type-safe tauriCommands.ts matching Rust backend types exactly
- 8 IT domain system prompts (Linux, Windows, Network, K8s, DB, Virt, HW, Obs)

DevOps:
- .woodpecker/test.yml: rustfmt, clippy, cargo test, tsc, vitest on every push
- .woodpecker/release.yml: linux/amd64 + linux/arm64 builds, Gogs release upload

Verified:
- cargo check: zero errors
- tsc --noEmit: zero errors
- vitest run: 13/13 unit tests passing

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 22:36:25 -05:00

2.2 KiB

Change Log

4.1.0

Released 07/24/2019

  • Adds int64 support for node v12+
  • Drops support for node v4

4.0

Released 10/21/2017

  • Major breaking changes arriving in v4.

New Features

  • Ability to read data from a specific offset. ex: readInt8(5)
  • Ability to write over data when an offset is given (see breaking changes) ex: writeInt8(5, 0);
  • Ability to set internal read and write offsets.

Breaking Changes

  • Old constructor patterns have been completely removed. It's now required to use the SmartBuffer.fromXXX() factory constructors. Read more on the v4 docs.
  • rewind(), skip(), moveTo() have been removed.
  • Internal private properties are now prefixed with underscores (_).
  • All writeXXX() methods that are given an offset will now overwrite data instead of insert
  • insertXXX() methods have been added for when you want to insert data at a specific offset (this replaces the old behavior of writeXXX() when an offset was provided)

Other Changes

  • Standardizd error messaging
  • Standardized offset/length bounds and sanity checking
  • General overall cleanup of code.

3.0.3

Released 02/19/2017

  • Adds missing type definitions for some internal functions.

3.0.2

Released 02/17/2017

Bug Fixes

  • Fixes a bug where using readString with a length of zero resulted in reading the remaining data instead of returning an empty string. (Fixed by Seldszar)

3.0.1

Released 02/15/2017

Bug Fixes

  • Fixes a bug leftover from the TypeScript refactor where .readIntXXX() resulted in .readUIntXXX() being called by mistake.

3.0

Released 02/12/2017

Bug Fixes

  • readUIntXXXX() methods will now throw an exception if they attempt to read beyond the bounds of the valid buffer data available.
    • Note This is technically a breaking change, so version is bumped to 3.x.

2.0

Relased 01/30/2017

New Features:

  • Entire package re-written in TypeScript (2.1)
  • Backwards compatibility is preserved for now
  • New factory methods for creating SmartBuffer instances
    • SmartBuffer.fromSize()
    • SmartBuffer.fromBuffer()
    • SmartBuffer.fromOptions()
  • New SmartBufferOptions constructor options
  • Added additional tests

Bug Fixes:

  • Fixes a bug where reading null terminated strings may result in an exception.