# breaking change to std.io API · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/9e234d4208725b818812765740b474f049d69788)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 9e234d4208725b818812765740b474f049d69788

Requested commit: 9e234d4208725b818812765740b474f049d69788

Commit: 9e234d4208725b818812765740b474f049d69788

Tree: cfb7b0602d8d5c4219797ef95cc763a970e53586

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
breaking change to std.io API

 * Merge io.InStream and io.OutStream into io.File
 * Introduce io.OutStream and io.InStream interfaces
   - io.File implements both of these
 * Move mem.IncrementingAllocator to heap.IncrementingAllocator

Instead of:

```
%return std.io.stderr.printf("hello\n");
```

now do:

```
std.debug.warn("hello\n");
```

To print to stdout, see `io.getStdOut()`.

 * Rename std.ArrayList.resizeDown to std.ArrayList.shrink.

````

## Parents

- [7a96aca39e8eabccf69f5c65cd60a96aa4a7666c](https://git.cafe/gitcafe/zig/commit/7a96aca39e8eabccf69f5c65cd60a96aa4a7666c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/9e234d4208725b818812765740b474f049d69788?format=markdown)
