Changelog of @hackage/ephemeral-pg 0.2.0.0

Changelog

0.2.0.0

Breaking Changes

  • Remove Hungarian-style field prefixes from all record types using NoFieldSelectors, DuplicateRecordFields, and OverloadedRecordDot
    • Config: configPortport, configDatabaseNamedatabaseName, etc.
    • Database: dbPortport, dbDataDirectorydataDirectory, etc.
    • PostgresProcess: postgresProcessprocess, postgresPidpid
    • DumpOptions: dumpFormatformat, dumpCreateDbcreateDb, etc.
    • Snapshot: snapshotPathpath, snapshotTemporarytemporary
    • CacheKey: cacheKeyPgVersionpgVersion, cacheKeyConfigHashconfigHash
    • CacheConfig: cacheConfigRootroot, cacheConfigCowcow, cacheConfigEnabledenabled
    • Error types: all prefixed fields renamed similarly
  • Remove accessor functions from Database module (dataDirectory, socketDirectory, port, databaseName, user); use dot syntax instead (e.g., db.port)
  • Database is now exported with (..) from EphemeralPg for HasField resolution
  • Consumers should enable OverloadedRecordDot to access record fields

0.1.0.0

  • Initial release
  • Core functionality: with, withConfig, start, stop
  • Hasql integration via connectionSettings
  • initdb caching support
  • Copy-on-write support for macOS and Linux
  • Snapshot support