v2.6.0
What's Changed
- Added a public
config_file
attribute toConfig
classes, allowing reference holders to locate the file from which the object was instantiated. - Added a
--report
flag touw fs
mode actions that, when set, emits tostdout
a JSON-formatted report of files/links/directories created and not created. - Added
!dict
and!list
custom YAML tags to convertstr
values into Pythondict
andlist
objects, respectively. - Added instructions for installation of
uwtools
viapip
in a git clone. - Added support for configs whose top-level elements are types other than
dict
, e.g. a config comprising only alist
. - Added support for copying remote HTTP(S) resources to local files with
uw fs copy
and its API counterpart. - Fixed a bug whereby a value like
&XMLENTITY;
in YAML might lead to a dereferencing failure. - Fixed a bug whereby tagged YAML values referencing other tagged YAML values incorrectly included the YAML tag (e.g.
!int
) in the final rendered value. - Fixed a bug whereby YAML values tagged
!remove
were incorrectly serialized if dumped before being dereferenced. - Improved error message for schema-validation errors related to elements at the top level of the config being validated.
- Improved log messages from
chgres_cube
namelist creation. - Updated documentation to include the
env
custom Jinja2 filter and more detail on the!include
custom YAML tag. - Updated
fs
mode to use--key-path
CLI switch /key_path
API argument for consistency with other modes/actions. - Updated
ungrib
driver to remove GFS-specific terminology. - Updated
uwtools.api.execute.execute()
to return the result from invoking a driver task, for potential use by callers.
Full Changelog: v2.5.1...v2.6.0