Skip to content

Version 3 Changes #130

Open
Open
@joelgallant

Description

@joelgallant

Milestone here

Breaking Changes:

  1. Remove some default parsing extensions (Remove most default-extensions, preferring a minimal install by default #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 (Create $parse directives #134)
  3. Add a "context" object when parsing (Provide hierachical "context" object in parsing extensions, allowing for things like $extends with a specific environment #129) to enable $extends with env override (Provide $extends and $override with a specific environment #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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions