launchcodedev / app-config

Easy Configuration Loader with Strict Validation
https://app-config.dev
Mozilla Public License 2.0
69 stars 11 forks source link

Version 3 Changes #130

Open joelgallant opened 3 years ago

joelgallant commented 3 years ago

Milestone here

Breaking Changes:

  1. Remove some default parsing extensions (#106)
    • @app-config/v1-compat
    • @app-config/encryption
    • @app-config/git
  2. Review and rename options for parsing extensions where it makes sense
    • Remove options prefixed with $ in $substitute and $envVar directives
    • Remove parsing options of $envVar and $substitute, replace with directive (#134)
  3. ~Add a "context" object when parsing (#129) to enable $extends with env override (#131)~
    • ~Use this for the "env trio options" (current env, aliases, and var names)~
  4. Changes to the Node.js API
    • default-extensions options removed in favour of using parsing context
    • FlexibleFileSource constructor args (removing deprecated type)
    • currentEnvironment arguments
  5. Removing any unnecessary Node.js exports from @app-config/main
  6. Upgrade AJV to v8, and ajv-formats to v2
joelgallant commented 3 years ago

@gregnr I'm getting somewhat close to a release candidate for 3.0, it would be ideal to coordinate with LC to onboard

gregnr commented 3 years ago

@joelgallant Sounds good. Let's line up a time this week to chat about it.