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 e0a045d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/deprecations.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# 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.

This special case is deprecated. 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 +32,10 @@ const object = {
export default [
{ file: 'object0.yaml', value: object },
];
````
```

**Use**:

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

0 comments on commit e0a045d

Please sign in to comment.