Skip to content

Commit

Permalink
Notice of upcoming change to input directory
Browse files Browse the repository at this point in the history
  • Loading branch information
squaremo committed Apr 4, 2020
1 parent a78b6ba commit eb96449
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/deprecations.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -17,9 +31,10 @@ const object = {
export default [
{ file: 'object0.yaml', value: object },
];
````
```

**Use**:

```
export default [
{ path: 'object0.yaml', value: object },
Expand Down

0 comments on commit eb96449

Please sign in to comment.