Skip to content

flatconfig 0.1.4

Choose a tag to compare

@grumpypixel grumpypixel released this 18 Oct 15:51
· 91 commits to main since this release

Added

  • Web/WASM Stubs: Added includes_stub.dart and io_stub.dart to safely
    throw UnsupportedError on non-IO platforms. The package now loads cleanly
    in Flutter Web / WASM projects (core parsing remains available).

Changed

  • Barrel Exports: Simplified conditional exports — the full units for
    io.dart and includes.dart are exported so that all extensions are
    visible on IO platforms.
  • README & Example: Updated to use the recommended path-based helpers:
    parseFlatFile, parseFlatFileSync, parseFileWithIncludes,
    writeFlat, writeFlatSync (no more src/ imports).
    File-based extensions remain available as ergonomic sugar.

Fixed

  • Pub.dev analysis warning: Missing lints dependency in example/ package.
  • Web/WASM analysis: no longer fails due to missing dart:io references.

Notes

  • This release is non-breaking (0.1.x → 0.1.4).

Full Changelog: v0.1.3...v0.1.4