Skip to content

Latest commit

 

History

History
1113 lines (634 loc) · 34.9 KB

CHANGELOG.md

File metadata and controls

1113 lines (634 loc) · 34.9 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

v4.0.0-rc.4

compare changes

🩹 Fixes

  • loader: Reload changed config files on Bun (d0d2129)

❤️ Contributors

  • Pooya Parsa (@pi0)

v4.0.0-rc.3

compare changes

🚀 Enhancements

  • Dedupe extended layers (#345)

🩹 Fixes

  • Dedupe repeated envName entries (da5a9f3)
  • updateConfig: Resolve dotted config names in .config dir like the loader (#352)
  • loader: Treat a null config or a config function returning nothing as empty (#349)
  • Handle layers resolving to null or undefined (#355)
  • loader: Keep null configs null so empty layers are skipped (e6ad3ad)
  • Apply env-specific config to overrides (#353)
  • dotenv: Resolve references against raw values so escaped literals stay literal (#348)
  • loader: Resolve export default null to an empty config instead of the module namespace (#357)

📖 Documentation

  • Link documentation references in v4 migration guide (#350)

✅ Tests

  • watch: Skip parent dir rename test on windows (9f8e54c)

❤️ Contributors

v4.0.0-rc.2

compare changes

🚀 Enhancements

  • dotenv: Support ${VAR:-default} fallback syntax (#337)
  • dotenv: Support custom parse option (c299035)
  • Support multiple env names in envName (7cd4a6d)
  • Add envMerger option for env-specific overrides (#341)
  • ⚠️ Use native node:fs watcher instead of chokidar (#342)
  • Support schema option for standard schema validation (#343)

🩹 Fixes

  • dotenv: Stop an unbraced $VAR reference at a : (#339)
  • watch: Handle replaced dirs, symlinks, hook errors and unwatch races (bf5c3c2)
  • Support non-extensible config objects (#323)

📖 Documentation

  • Note shared references between merged config and layers (eff5fe8)

🏡 Chore

⚠️ Breaking Changes

  • ⚠️ Use native node:fs watcher instead of chokidar (#342)

❤️ Contributors

v4.0.0-rc.1

compare changes

🚀 Enhancements

  • Read global rc from xdg config dir (#328)

🔥 Performance

  • Load pkg-types only when it is needed (#330)

🩹 Fixes

  • Install layer deps with --ignore-workspace (#318)
  • Normalize layer install option (72709ac)
  • Parse .json configs with JSON.parse (6a4dfc6)
  • Allow trailing commas in .jsonc configs (ef6eb78)

📖 Documentation

  • Document createDefineConfig and $meta (#327)

🏡 Chore

❤️ Contributors

v4.0.0-beta.5

compare changes

🚀 Enhancements

📖 Documentation

  • Add genapi to the 'Used Projects' list (#312)

🏡 Chore

✅ Tests

  • Add tests for jitiOptions (c918506)

❤️ Contributors

v4.0.0-beta.4

compare changes

🩹 Fixes

  • Bust esm module cache for native js config imports (#306)
  • loader: Use statSync to detect directories with dots in name (#305)

🏡 Chore

❤️ Contributors

v4.0.0-beta.3

compare changes

🩹 Fixes

  • Disable expandFileReferences by default (#303)

📖 Documentation

🏡 Chore

❤️ Contributors

v4.0.0-beta.2

compare changes

🚀 Enhancements

  • Support expanding env with _FILE references (#297)

🔥 Performance

  • Use native dotenv parser (#296)

📦 Build

  • Optional giget peer dependency (25ee78f)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v4.0.0-beta.1

compare changes

🔥 Performance

  • ⚠️ Optional jiti loader (#295)

📦 Build

  • Simplify exports field (5297997)
  • Make chokidar optional peer dependency (8b7c6a2)

🏡 Chore

⚠️ Breaking Changes

  • ⚠️ Optional jiti loader (#295)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.3.3

compare changes

📦 Build

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.3.2

compare changes

📖 Documentation

  • Fix typo in globalRc option (#281)

📦 Build

  • Switch to obuild (rolldown) (9addbb1)
  • Relax magicast peer dependency range (eae6be1)

🏡 Chore

❤️ Contributors

v3.3.1

compare changes

🩹 Fixes

  • Extend with explicit extensions only (#268, #276)

🏡 Chore

❤️ Contributors

v3.3.0

compare changes

🚀 Enhancements

  • Support loading config with array exports (#272)
  • Allow extends without extension (#268)

🩹 Fixes

  • loadDotenv: cwd is optional (#273)

📖 Documentation

  • Improve dotenv section with multiple files example (#270)

🏡 Chore

✅ Tests

❤️ Contributors

v3.2.0

compare changes

🚀 Enhancements

  • Support scoped env files (#256)
  • Support context for function config (#258)
  • Support configFileRequired (#241)

🏡 Chore

✅ Tests

❤️ Contributors

v3.1.0

compare changes

🚀 Enhancements

  • Pass raw configs to function sources (#253)

📖 Documentation

  • Update nitro link (#248)

🏡 Chore

❤️ Contributors

v3.0.4

compare changes

🩹 Fixes

  • Handle watcher reload errors (#247)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.3

compare changes

🩹 Fixes

  • Check if .env/ is a directory before accessing (#238)
  • Update dotenv assigned env variables on subsequent calls (#243)

📖 Documentation

  • Add resolve option (#240)
  • Remove unsupported configFile: false (#239)

🏡 Chore

✅ Tests

  • Only include src for coverage report (#242)

❤️ Contributors

v3.0.2

compare changes

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.1

compare changes

🩹 Fixes

  • Fix windows related resolve issues (#235)

❤️ Contributors

  • Pooya Parsa (@pi0)

v3.0.0

compare changes

🩹 Fixes

  • Allow custom giget provider (#207)

💅 Refactors

  • Migrate from mlly to exsolve for module resolution (822af14)
  • Fully migrate to exsolve for module resolution (146899e)

📦 Build

🏡 Chore

⚠️ Breaking Changes

❤️ Contributors

v2.0.4

compare changes

📦 Build

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.3

compare changes

💅 Refactors

  • Upgrade to ohash v2 (#230)

📦 Build

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.2

compare changes

🩹 Fixes

  • Preserve meta for main config (#227)

📖 Documentation

  • Add kysely-ctl to readme (#225)

🏡 Chore

❤️ Contributors

v2.0.1

compare changes

🩹 Fixes

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.0

compare changes

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.0-beta.3

compare changes

💅 Refactors

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v2.0.0-beta.2

compare changes

🚀 Enhancements

  • Allow disabling remote extend with giget: false (#181)
  • Support update existing .config/[name].[ext] config (#169)

🩹 Fixes

  • updateConfig: Properly resolve config relative to cwd (#188)

🏡 Chore

❤️ Contributors

v2.0.0-beta.1

compare changes

🚀 Enhancements

  • Upgrade to jiti v2 beta (#172)

🏡 Chore

  • Aadd hey-api to list of users (#171)
  • Update release script for beta (0127b2d)
  • Stricter tsconfig (e930e6b)
  • Update deps (da3595c)

❤️ Contributors

v1.11.1

compare changes

🩹 Fixes

  • update: Await on onUpdate (6b37c98)
  • update: Respect falsy value of onCreate (cc4e991)
  • update: Use relative path to resolve config (8b58b25)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.11.0

compare changes

🚀 Enhancements

  • Resolvable configs (#159)
  • Custom merger to replace built-in defu (#160)
  • Config update util (#162)

🩹 Fixes

  • loadConfig: config is not nullable (#161)

💅 Refactors

  • Internally use named sources (#158)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.10.0

compare changes

🚀 Enhancements

  • Support auth shortcut for layer config (#142)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.9.0

compare changes

🚀 Enhancements

  • Use confbox (#140)

🔥 Performance

🩹 Fixes

  • Deep merge rc sources with defu (#139)
  • watcher: Watch .config and all supported extensions (94c8181)

❤️ Contributors

v1.8.0

compare changes

🚀 Enhancements

  • Support .config dir (#136)

🩹 Fixes

  • Use default export of json5 for parsing (#135)

🏡 Chore

✅ Tests

❤️ Contributors

v1.7.0

compare changes

🚀 Enhancements

  • .jsonc config support (#132)
  • Json5 support (#133)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.6.1

compare changes

🩹 Fixes

  • Preserve cloned dir if install option provided (81e2891)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.6.0

compare changes

🚀 Enhancements

  • Option to omit $ keys from resolved config (#100)
  • Support install for source options (#126)

🩹 Fixes

  • Normalize windows backslash for configFile and source (#48)
  • Clone sub layers into node_modules/.c12 (#125)
  • Handle http:// prefixes with giget as well (6c09735)

📖 Documentation

  • Add package pronunciation (#118)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Lo (@LoTwT)
  • Alex Kozack
  • Nozomu Ikuta

v1.5.1

compare changes

🚀 Enhancements

  • Improve extending github layers (#109)
  • Allow setting giget clone options (#112)

🏡 Chore

✅ Tests

  • Update gh fixture to main (a8b73c2)

🎨 Styles

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.4.2

compare changes

🩹 Fixes

  • Allow extends dir to start with dot (#71)

📖 Documentation

  • Fix typo for configFile (#83)

🏡 Chore

❤️ Contributors

v1.4.1

compare changes

🩹 Fixes

  • watchConfig: Handle custom config names (eedd141)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.4.0

compare changes

🚀 Enhancements

  • watchConfig utility (#77)
  • watchConfig: Support hmr (#78)

📖 Documentation

  • Fix small grammer issues (5f2b3a1)

❤️ Contributors

  • Pooya Parsa (@pi0)

v1.3.0

compare changes

🚀 Enhancements

  • Generic types support (#64)

🩹 Fixes

  • Use rm instead of rmdir for recursive remove (#69)

🏡 Chore

❤️ Contributors

v1.2.0

compare changes

🚀 Enhancements

  • Load config from package.json (#52)
  • Environment specific configuration (#61)
  • Layer meta and source options (#62)
  • envName config (4a0227d)

🩹 Fixes

  • Allow extending from npm packages with subpath (#54)

📖 Documentation

  • Fix grammer and typos (3e8436c)
  • Don't mention unsupported usage (ea7ac6e)

🏡 Chore

✅ Tests

❤️ Contributors

v1.1.2

compare changes

🏡 Chore

❤️ Contributors

v1.1.1

compare changes

🏡 Chore

🎨 Styles

❤️ Contributors

1.1.0 (2022-12-06)

Features

  • use giget to clone github urls (4c7590a)

Bug Fixes

  • remove tmp dir to clone (020e0b0)

1.0.1 (2022-11-15)

1.0.0 (2022-11-15)

0.2.13 (2022-09-19)

0.2.12 (2022-09-14)

Features

  • defaultConfig to be applied before extending (1c4e898)

0.2.11 (2022-09-06)

Features

  • custom jiti and jitiOptions (bfd1be5)
  • support loading rc from workspace dir in global mode (7365a9c)

Bug Fixes

  • jitiOptions is optional (457a045)
  • validate sources value to be string (#32) (f97c850)

0.2.10 (2022-09-01)

Features

  • allow extending from multiple keys (33cb210), closes #24

0.2.9 (2022-08-04)

Features

  • use native esm resolution where possible (#26) (9744621)

0.2.8 (2022-06-29)

Features

  • try resolving paths as npm package (7c48947)

Bug Fixes

  • warn when extend layers cannot be resolved (f6506e8)

0.2.7 (2022-04-20)

Bug Fixes

  • check resolved config file existence before loading (dda579d)

0.2.6 (2022-04-20)

Bug Fixes

  • only ignore MODULE_NOT_FOUND when message contains configFile (e067a56)

0.2.5 (2022-04-07)

0.2.4 (2022-03-21)

Bug Fixes

0.2.3 (2022-03-18)

Bug Fixes

  • don't strip empty config files (#8) (67bb1ee)

0.2.2 (2022-03-16)

0.2.0 (2022-03-16)

⚠ BREAKING CHANGES

  • preserve all merging sources

Features

  • preserve all merging sources (7a69480)

0.1.4 (2022-03-07)

Bug Fixes

0.1.3 (2022-02-10)

Bug Fixes

  • apply defaults after extending (c86024c)

0.1.2 (2022-02-10)

Features

0.1.1 (2022-01-31)

Features

Bug Fixes

  • escape unsupported chars from tmpdir (fd04922)
  • temp directory initialization (3aaf5db)