From eb964498b99c3d133f78e3f9848690fb3fded7ae Mon Sep 17 00:00:00 2001 From: Michael Bridgen Date: Sat, 4 Apr 2020 10:21:06 +0100 Subject: [PATCH] Notice of upcoming change to input directory --- docs/deprecations.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/deprecations.md b/docs/deprecations.md index 97d8a5c0..4b2446c9 100644 --- a/docs/deprecations.md +++ b/docs/deprecations.md @@ -1,5 +1,19 @@ # List of std library deprecations +## Deprecated in 0.4.x (will be changed in 0.5.0) + +### Special case for default input directory + +In most cases, the input directory will be the current directory if +not explicitly set with `--input-directory`. + +However, there is a special case: if the script being run is from the +filesystem, the input directory will be set to the directory +containing the script. + +From 0.5.0, the input directory will _always default to the current +working directory_ unless explicitly set with `--input-directory`. + ## Deprecated in 0.3.x (will be removed in 0.4.0) ### `generate` file property is now called path @@ -17,9 +31,10 @@ const object = { export default [ { file: 'object0.yaml', value: object }, ]; -```` +``` **Use**: + ``` export default [ { path: 'object0.yaml', value: object },