Skip to content

Commit

Permalink
Update changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpkocher committed Aug 23, 2021
1 parent 5d1aa68 commit 413d064
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## Version 4.0.0

- Backward incompatible change for semantics of boolean options
- `Field` should be used instead of Config.CLI_EXTRA_OPTIONS

## Version 3.4.0

- Improve support for simple `Enum`s.
Expand Down
1 change: 1 addition & 0 deletions pydantic_cli/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class DefaultConfig:
# Can be used to override custom fields
# e.g., {"max_records": ('-m', '--max-records')}
# or {"max_records": ('-m', )}
# ****** THIS SHOULD NO LONGER BE USED **** Use pydantic.Field.
CLI_EXTRA_OPTIONS: T.Dict[str, CustomOptsType] = {}

# Customize the default prefix that is generated
Expand Down

0 comments on commit 413d064

Please sign in to comment.