Skip to content

Commit

Permalink
docs: add migration from 4.x.x to 5.x.x documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Aug 24, 2023
1 parent a661796 commit dcc241e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ npm install -g @aeternity/aeproject
* [Unit Testing](docs/cli/test.md)
* [AEproject Library](docs/lib.md)
* [Migration from 3.x.x to 4.x.x](docs/migration-from-3.x.x-to-4.x.x.md)
* [Migration from 4.x.x to 5.x.x](docs/migration-from-4.x.x-to-5.x.x.md)
2 changes: 1 addition & 1 deletion docs/cli/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ _Optionally_ a `folder` can be specified for the project to be initialized in, o
Creates a new project structure with a few folders in which the developer can create **contracts** and **tests**, as well as installing needed dependencies.

## Update existing project
For upgrade from old AEproject versions check out [Migration from 3.x.x to 4.x.x](../migration-from-3.x.x-to-4.x.x.md).
For upgrade from old AEproject versions check out [Migration from 3.x.x to 4.x.x](../migration-from-3.x.x-to-4.x.x.md) and [Migration from 4.x.x to 5.x.x](../migration-from-4.x.x-to-5.x.x.md).

```text
aeproject init --update
Expand Down
14 changes: 14 additions & 0 deletions docs/migration-from-4.x.x-to-5.x.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Migration from 4.x.x to 5.x.x

## Changes
**AEproject** `v5.0.0` underwent some minor but breaking changes.

Install the new AEproject version
```
npm install -g @aeternity/aeproject
```

### Removed from libs
Following utils have been removed and cannot be used anymore:

- `utils.getFilesystem()` discontinued, as it is now natively available in the sdk via import, e.g. `const { getFileSystem } = require("@aeternity/aepp-sdk");`
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ nav:
- cli/test.md
- lib.md
- migration-from-3.x.x-to-4.x.x.md
- migration-from-4.x.x-to-5.x.x.md

0 comments on commit dcc241e

Please sign in to comment.