Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 3 Changes #130

Open
joelgallant opened this issue Apr 9, 2021 · 2 comments · May be fixed by #132
Open

Version 3 Changes #130

joelgallant opened this issue Apr 9, 2021 · 2 comments · May be fixed by #132
Assignees
Milestone

Comments

@joelgallant
Copy link
Contributor

joelgallant commented Apr 9, 2021

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
@joelgallant joelgallant added this to the Version 3 milestone Apr 9, 2021
@joelgallant joelgallant self-assigned this Apr 9, 2021
@joelgallant joelgallant pinned this issue Apr 9, 2021
@joelgallant joelgallant linked a pull request Apr 9, 2021 that will close this issue
8 tasks
@joelgallant
Copy link
Contributor Author

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

@gregnr
Copy link
Contributor

gregnr commented Apr 11, 2021

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

joelgallant added a commit that referenced this issue Apr 16, 2021
…ions

NOTE that '$git' directive is currently incompatible with being included twice
joelgallant added a commit that referenced this issue May 2, 2021
…ions

NOTE that '$git' directive is currently incompatible with being included twice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants