Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the "Getting Started" and "Migration Guide" for the 3.0 release #5202

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/00.GETTING-STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ Currently, only Ubuntu 18.04+ is officially supported as primary development env
There are several dependencies, that should be installed manually. The following list is the absolute minimum for building:

- `gcc` or any C99-compliant compiler (native or cross, e.g., arm-none-eabi)
- `cmake` >= `2.8.12.2`
- `cmake` >= `3.10`

Several scripts and tools help the building and development process, thus it is recommended to have the following installed as well:

- `bash` >= `4.3.11`
- `cppcheck` >= `1.61`
- `clang-format-10` >= `10.0.0`
- `python` >= `2.7.6`
- `cppcheck` >= `2.7`
- `clang-format-15`
- `python` >= `3.10`

```bash
sudo apt-get install gcc gcc-arm-none-eabi cmake cppcheck clang-format-10 python
sudo apt-get install gcc gcc-arm-none-eabi cmake cppcheck clang-format-15 python
```

To make our scripts run correctly, several shell utilities should be available on the system:
Expand Down Expand Up @@ -57,7 +57,7 @@ python tools/build.py --cmake-param=CMAKE_PARAM
python tools/build.py --profile=es.next|minimal
```

See also the related [README.md](https://github.com/jerryscript-project/jerryscript/blob/master/jerry-core/profiles/README.md).
See also the related [README.md](../jerry-core/profiles/README.md).

**Use (compiler-default, external) libc**

Expand Down
8 changes: 8 additions & 0 deletions docs/16.MIGRATION-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -771,3 +771,11 @@ In this section the new API functions are listed.
- [`jerry_port_fatal`](05.PORT-API.md#jerry_port_fatal)
- [`jerry_port_sleep`](05.PORT-API.md#jerry_port_sleep)
- [`jerry_port_print_byte`](05.PORT-API.md#jerry_port_print_byte)

# Migrating from 2.x to 3.x

The most significant change in JerryScript 3.0 was the API rework. Most of the API functions had been
renamed in this version. There are notes for every such function in the [API Reference](02.API-REFERENCE.md)
to help you to migrate from an older version. For example:

*Renamed in version 3.0, it was previously known as `jerry_get_global_object` in earlier versions.*
Loading