2020-07-03 13:08:14 +03:00
|
|
|
---
|
|
|
|
layout: developer-doc
|
|
|
|
title: Development & Contributing Guide
|
|
|
|
category: summary
|
2021-03-30 10:36:42 +03:00
|
|
|
tags: [summary, contributing]
|
2020-07-03 13:08:14 +03:00
|
|
|
---
|
|
|
|
|
2020-04-08 12:29:01 +03:00
|
|
|
# Development & Contributing Guide
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2020-07-16 10:50:31 +03:00
|
|
|
Thank you for your interest in contributing to the Enso IDE! We believe that
|
2021-03-30 10:36:42 +03:00
|
|
|
only through community involvement can Enso be the best it can be! There are a
|
|
|
|
whole host of ways to contribute, and every single one is appreciated.
|
2020-04-07 08:04:45 +03:00
|
|
|
|
2020-04-08 12:13:58 +03:00
|
|
|
<br/>
|
|
|
|
|
2020-04-07 08:04:45 +03:00
|
|
|
## Reporting Issues
|
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
**If you are concerned that your bug publicly presents a security risk to the
|
|
|
|
users of Enso, please contact [security@enso.org](mailto:security@enso.org).**
|
2020-07-16 10:50:31 +03:00
|
|
|
|
|
|
|
While it's never great to find a bug, they are a reality of software and
|
2021-03-30 10:36:42 +03:00
|
|
|
software development! We can't fix or improve on the things that we don't know
|
|
|
|
about, so report as many bugs as you can! If you're not sure whether something
|
|
|
|
is a bug, file it anyway!
|
2020-07-16 10:50:31 +03:00
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
Even though GitHub search can sometimes be a bit hard to use, we'd appreciate if
|
|
|
|
you could
|
2020-11-30 14:38:35 +03:00
|
|
|
[search](https://github.com/enso-org/enso/search?q=&type=Issues&utf8=%E2%9C%93)
|
2020-07-16 10:50:31 +03:00
|
|
|
for your issue before filing a bug as it's possible that someone else has
|
|
|
|
already reported the issue. We know the search isn't the best, and it can be
|
2021-03-30 10:36:42 +03:00
|
|
|
hard to know what to search for, so we really don't mind if you _do_ submit a
|
|
|
|
duplicate!
|
2020-07-16 10:50:31 +03:00
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
Opening an issue is as easy as following
|
2020-11-30 14:38:35 +03:00
|
|
|
[this link](https://github.com/enso-org/ide/issues/new?template=bug-report.md)
|
2020-07-16 10:50:31 +03:00
|
|
|
and filling out the fields. The template is intended to collect all the
|
2021-03-30 10:36:42 +03:00
|
|
|
information we need to best diagnose the issue, so please take the time to fill
|
|
|
|
it out accurately.
|
2020-07-16 10:50:31 +03:00
|
|
|
|
|
|
|
The reproduction steps are particularly important, as the more easily we can
|
|
|
|
reproduce it, the faster we can fix the bug! It's also helpful to have the
|
2021-03-30 10:36:42 +03:00
|
|
|
version of the IDE, as that will let us know if the bug is Operating System or
|
|
|
|
Architecture specific.
|
2020-03-05 08:25:00 +03:00
|
|
|
|
2020-04-08 12:13:58 +03:00
|
|
|
<br/>
|
|
|
|
|
2020-03-05 08:25:00 +03:00
|
|
|
## Development Environment
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2021-02-12 16:02:42 +03:00
|
|
|
The project builds on macOS, Windows, and Linux. Cross-platform targets work
|
|
|
|
well on all of these platforms, however, macOS package will miss the right
|
2021-03-30 10:36:42 +03:00
|
|
|
application icon if built on Linux or Windows due to non-trivial icon generation
|
|
|
|
on these platforms. To develop the source code you will need the following
|
|
|
|
setup:
|
2020-03-05 08:25:00 +03:00
|
|
|
|
2022-05-23 05:16:04 +03:00
|
|
|
- **The Rust Toolchain**
|
2020-05-14 14:27:52 +03:00
|
|
|
|
2020-07-16 10:50:31 +03:00
|
|
|
This project uses several features available only in the nightly Rust
|
2022-05-23 05:16:04 +03:00
|
|
|
toolchain. Please use [the Rust toolchain installer](https://rustup.rs) to
|
2021-12-27 19:56:35 +03:00
|
|
|
manage Rust toolchains. It will automatically download the toolchain needed to
|
|
|
|
build the project.
|
|
|
|
|
|
|
|
In addition, some custom CLI programs need to be installed manually:
|
2020-03-05 08:25:00 +03:00
|
|
|
|
|
|
|
```bash
|
2022-12-14 20:45:39 +03:00
|
|
|
rustup toolchain install stable # Stable toolchain required for the following tools.
|
|
|
|
cargo +stable install wasm-pack # Install the wasm-pack toolkit.
|
|
|
|
cargo +stable install cargo-watch # To enable `./run wasm watch` utility
|
2020-03-05 08:25:00 +03:00
|
|
|
```
|
|
|
|
|
2021-12-06 15:45:10 +03:00
|
|
|
Make sure that your `PATH` environment variable is set up correctly, so that
|
|
|
|
the binaries installed by cargo
|
|
|
|
([typically to `$HOME/.cargo/bin`](https://doc.rust-lang.org/cargo/commands/cargo-install.html#description))
|
|
|
|
can be run from the command line; verify this by running
|
|
|
|
`wasm-pack --version`.
|
|
|
|
|
2020-04-07 08:04:45 +03:00
|
|
|
- **Node and Node Package Manager LTS**
|
2020-05-14 14:27:52 +03:00
|
|
|
|
2021-02-12 16:02:42 +03:00
|
|
|
To build the web and desktop applications you will need
|
2020-07-16 10:50:31 +03:00
|
|
|
[the latest LTS version of node and npm](https://nodejs.org/en/download). Even
|
|
|
|
minor release changes are known to cause serious issues, thus **we provide
|
2021-03-30 10:36:42 +03:00
|
|
|
support for the latest LTS version only. Please do not report build issues if
|
|
|
|
you use other versions.** In case you run macOS or Linux the easiest way to
|
|
|
|
set up the proper version is by installing the
|
2020-04-07 08:04:45 +03:00
|
|
|
[Node Version Manager](https://github.com/nvm-sh/nvm) and running
|
|
|
|
`nvm install --lts && nvm use --lts`.
|
2020-03-05 08:25:00 +03:00
|
|
|
|
2020-05-14 14:27:52 +03:00
|
|
|
- **(Optional) FlatBuffer compiler `flatc`**
|
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
This dependency is needed only if you need to update files generated by the
|
|
|
|
FlatBuffer from the Engine Services binary protocol description. Otherwise,
|
|
|
|
relying on the generated files that are being stored in this repository is
|
|
|
|
fine.
|
2020-05-14 14:27:52 +03:00
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
`flatc` must be in the version _newer than 1.12_ due to
|
|
|
|
[this bug](https://github.com/google/flatbuffers/issues/5055). As of writing
|
|
|
|
this text there are no official releases with this issue fixed, however
|
|
|
|
current binaries can be obtained from the project's CI
|
|
|
|
[build artifacts](https://github.com/google/flatbuffers/actions?query=branch%3Amaster).
|
2020-07-16 10:50:31 +03:00
|
|
|
`flatc` builds from 8 May 2020 onwards have been confirmed to work.
|
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
After placing `flatc` in `PATH` you need to define the `ENSO_IDE_ENABLE_FLATC`
|
|
|
|
environment variable to explicitly enable regeneration of the interface files.
|
|
|
|
The `flatc` is run as part of `build.rs` script of the `enso-protocol package.
|
2020-05-14 14:27:52 +03:00
|
|
|
|
2022-05-16 10:35:17 +03:00
|
|
|
- **(Optional) The Latest version of `wasm-opt`**
|
|
|
|
|
|
|
|
The version of `wasm-opt` that comes bundled with `wasm-pack` can be out of
|
|
|
|
date and slow. We recommend to install a newer version from the
|
|
|
|
[binaryen releases](https://github.com/WebAssembly/binaryen/releases), or
|
|
|
|
[compile the newest version from scratch](https://github.com/WebAssembly/binaryen#building=).
|
|
|
|
`wasm-pack` will pick up the locally installed version automatically and use
|
|
|
|
it instead of the bundled one. Binaryen packages are also available through
|
|
|
|
some system package managers (apt/pacman/brew), check whether the version
|
|
|
|
there is newer than the bundled version of wasm-pack (which is true for all of
|
|
|
|
them as of wasm-pack 0.10.2, which bundles version 90 which was released Dec
|
|
|
|
2019).
|
|
|
|
|
2020-03-05 08:25:00 +03:00
|
|
|
<br/>
|
|
|
|
|
|
|
|
## Working with sources
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2021-12-06 15:45:10 +03:00
|
|
|
Please be sure to carefully read the
|
2022-05-23 05:16:04 +03:00
|
|
|
[Rust style guide 1](contributing/style-guide.md) and the
|
2021-11-22 15:14:30 +03:00
|
|
|
[Rust style guide 2](https://enso.org/docs/developer/ide/contributing/style-guide.html)
|
|
|
|
before contributing to the codebase.
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2021-12-06 15:45:10 +03:00
|
|
|
We do also use [`prettier`](https://prettier.io/) for the JavaScript and
|
|
|
|
Markdown files in our code base. If you have not installed it already you can do
|
|
|
|
so via `npm install prettier`. To use it manually via command line run
|
2021-03-30 10:36:42 +03:00
|
|
|
`prettier --write` to all JavaScript files in the project. Alternatively, there
|
|
|
|
are plugins for many IDEs available to do this for you.
|
2020-11-26 16:49:30 +03:00
|
|
|
|
2021-12-30 12:29:20 +03:00
|
|
|
### Repository Structure Overview
|
|
|
|
|
|
|
|
**Note**: Currently, the Enso repository is going through a process of
|
|
|
|
refactoring, and it is not finished yet: the Engine files are still not in the
|
|
|
|
`app/engine` where they ought to be, but in the root directory instead.
|
|
|
|
|
|
|
|
The root directory contains `Cargo.toml` and `build.sbt` files, allowing to open
|
|
|
|
all rust or scala code as a single project in your favorite IDE. There is also a
|
2022-06-01 14:44:40 +03:00
|
|
|
`run` and `run.cmd` scripts used for building and running the Enso IDE (see next
|
|
|
|
section for details).
|
2021-12-30 12:29:20 +03:00
|
|
|
|
|
|
|
The subdirectories of interests are:
|
|
|
|
|
|
|
|
- `app`: The actual products delivered in this repository:
|
|
|
|
- `gui`: A rust crate compiled to a WASM library with all the logic of the GUI
|
|
|
|
layer. The library is used by both the desktop application and the cloud
|
|
|
|
environment. For further documentation see the documentation of the crate
|
|
|
|
(at the top of the `src/lib.rs` file).
|
|
|
|
- `ide-desktop`: The desktop version of the Enso IDE. Implemented as an
|
|
|
|
electron application which spawns backend services, loads the WASM gui
|
|
|
|
library and runs the main entry point.
|
|
|
|
- `engine`: (In the future: see the note at the section beginning). The
|
|
|
|
implementation of the language itself: CLI tools like compiler or
|
|
|
|
interpreter, as well as the services used as a backend for the Enso IDE
|
|
|
|
(Language Server and Project Manager).
|
|
|
|
- `lib`: All libraries not being the main components of our application. They
|
|
|
|
are grouped by language. The most prominent are:
|
|
|
|
- `rust/prelude`: A library containing the most popular utilities and imports.
|
|
|
|
Should be imported in each rust module - see Contributing guidelines.
|
|
|
|
- `rust/ensogl`: EnsoGL Framework for creating efficient GUI applications in
|
|
|
|
WASM.
|
|
|
|
- `rust/frp`: The library allows following the Functional Reactive Programming
|
|
|
|
paradigm in rust.
|
2022-05-23 05:16:04 +03:00
|
|
|
- `build`: Build script that is wrapped by the `run` script.
|
2022-02-11 15:19:02 +03:00
|
|
|
- `integration-test`: A single crate with all integration tests of our
|
|
|
|
applications.
|
2021-12-30 12:29:20 +03:00
|
|
|
|
|
|
|
Other directories are auto-generated `dist` and `target`, or (currently) are the
|
|
|
|
Engine files, which will be moved to `app/engine` soon.
|
|
|
|
|
2020-03-05 08:25:00 +03:00
|
|
|
### Development
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2022-05-23 05:16:04 +03:00
|
|
|
As this is a multipart project with many complex dependencies, it is equipped
|
2021-03-30 10:36:42 +03:00
|
|
|
with a build script which both validates your working environment and takes care
|
|
|
|
of providing the most suitable compilation flags for a particular development
|
2022-05-23 05:16:04 +03:00
|
|
|
stage.
|
|
|
|
|
|
|
|
The build-script is invokable by invoking the following script from the working
|
|
|
|
copy root:
|
|
|
|
|
2022-06-01 14:44:40 +03:00
|
|
|
- `./run` in bash-compatible environments, like Linux or macOS;
|
2022-05-23 05:16:04 +03:00
|
|
|
- `.\run.cmd` on Windows.
|
|
|
|
|
2022-06-01 14:44:40 +03:00
|
|
|
For brevity, this guide will use `./run` form from here onwards.
|
2022-05-23 05:16:04 +03:00
|
|
|
|
2022-06-01 14:44:40 +03:00
|
|
|
In general, `./run` should also work on Windows ports of `bash` (like the ones
|
|
|
|
provided by `git` or MSYS2). These configurations are not tested though.
|
2022-05-23 05:16:04 +03:00
|
|
|
|
2022-06-01 14:44:40 +03:00
|
|
|
Run `./run --help` to learn about available commands and options. Some
|
2022-05-23 05:16:04 +03:00
|
|
|
subcommands allow passing additional arguments following `--` argument to the
|
2022-06-01 14:44:40 +03:00
|
|
|
underlying call. For example `./run ide build -- FLAG` will pass the `FLAG` flag
|
|
|
|
to `wasm-pack` (Rust WASM build tool). The most common options are presented
|
|
|
|
below:
|
2022-05-23 05:16:04 +03:00
|
|
|
|
2022-06-01 14:44:40 +03:00
|
|
|
- **Interactive mode** Run `./run ide watch` to start a local web-server and a
|
|
|
|
source-file watch utility which will build the project on every change. Open
|
2020-07-16 10:50:31 +03:00
|
|
|
`http://localhost:8080` (the port may vary and will be reported in the
|
|
|
|
terminal if `8080` was already in use) to run the application, or
|
2021-03-30 10:36:42 +03:00
|
|
|
`http://localhost:8080/?entry` to open example demo scenes list. Please
|
|
|
|
remember to disable the cache in your browser during the development! By
|
2020-12-24 07:38:01 +03:00
|
|
|
default, the script disables heavyweight optimizations to provide interactive
|
2022-05-23 05:16:04 +03:00
|
|
|
development experience.
|
2021-03-30 10:36:42 +03:00
|
|
|
- **Production mode** In order to compile in a production mode (enable all
|
|
|
|
optimizations, strip WASM debug symbols, minimize the output binaries, etc.),
|
2022-06-01 14:44:40 +03:00
|
|
|
run `./run gui build`. To create platform-specific packages and installers use
|
|
|
|
`./run ide build` instead. The final executables will be located at
|
2022-05-23 05:16:04 +03:00
|
|
|
`dist/ide`.
|
2021-03-30 10:36:42 +03:00
|
|
|
- **Selective mode** In order to compile only part of the project, and thus
|
|
|
|
drastically shorten the incremental compile time, you are advised to use the
|
2022-05-23 05:16:04 +03:00
|
|
|
selective compilation mode by passing the `--crate-path` option to the `build`
|
2022-06-01 14:44:40 +03:00
|
|
|
or `watch` command, e.g. `./run ide watch --crate-path ensogl/example` to
|
2022-05-23 05:16:04 +03:00
|
|
|
compile only the renderer-related example scenes. Please note, that in order
|
|
|
|
to run a scene in a web-browser, the scene has to be compiled and has to
|
|
|
|
expose a public function with a name starting with `entry_point_`. Thus, if
|
|
|
|
you compile only selected crate, you will have access only to the example
|
|
|
|
scenes that were defined or re-exported by that crate. In particular, the
|
|
|
|
`ide` crate exposes the `entry_point_ide` function, so you have to compile it
|
|
|
|
to test your code in the Enso IDE.
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2020-12-24 07:38:01 +03:00
|
|
|
### Using IDE as a library.
|
2021-03-30 10:36:42 +03:00
|
|
|
|
|
|
|
In case you want to use the IDE as a library, for example to embed it into
|
2022-06-01 14:44:40 +03:00
|
|
|
another website, you need to first build it using `./run gui build` and find the
|
|
|
|
necessary artifacts located at `dist/gui`. Especially, the
|
2022-05-23 05:16:04 +03:00
|
|
|
`dist/gui/assets/index.js` defines a function `window.enso.main(cfg)` which you
|
|
|
|
can use to run the IDE. Currently, the configuration argument can contain the
|
2020-12-24 07:38:01 +03:00
|
|
|
following options:
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2020-12-24 07:38:01 +03:00
|
|
|
- `entry` - the entry point, one of predefined scenes. Set it to empty string to
|
|
|
|
see the list of possible entry points.
|
|
|
|
- `project` - the project name to open after loading the IDE.
|
|
|
|
|
2020-03-05 08:25:00 +03:00
|
|
|
### Testing, Linting, and Validation
|
2021-03-30 10:36:42 +03:00
|
|
|
|
|
|
|
After changing the code it's always a good idea to lint and test the code. We
|
2020-07-16 10:50:31 +03:00
|
|
|
have prepared several scripts which maximally automate the process:
|
2020-03-05 08:25:00 +03:00
|
|
|
|
2022-06-01 14:44:40 +03:00
|
|
|
- **Size Validation** Use `./run wasm build` to check if the size of the final
|
|
|
|
binary did not grew too much in comparison to the previous release. Watching
|
|
|
|
the resulting binary size is one of the most important responsibility of each
|
|
|
|
contributor in order to keep the project small and suitable for web-based
|
|
|
|
usage. In case the size will exceed the limits:
|
2021-03-30 10:36:42 +03:00
|
|
|
|
|
|
|
- If the PR does not include any new libraries, you are allowed to increase
|
2020-07-21 23:28:20 +03:00
|
|
|
the limit by 10KB. In case the limit will be exceeded by more than 10KB,
|
2022-05-23 05:16:04 +03:00
|
|
|
check which part of the code contribute to it, and talk about it with the
|
2020-07-21 23:28:20 +03:00
|
|
|
code owner.
|
2021-03-30 10:36:42 +03:00
|
|
|
- If the PR does include new libraries, you are allowed to increase the limit
|
|
|
|
by 10KB, but you should also consider if it is possible to get the same
|
|
|
|
results without using a new library (even by implementing few lines of code
|
|
|
|
from the library in sources of the project).
|
|
|
|
- If the PR does include new libraries, and the limit is exceeded by more than
|
|
|
|
10KB, check which part of the code contributed to it, and talk about it with
|
|
|
|
the code owner.
|
|
|
|
- If the PR does include new libraries, and the limit is exceeded by more than
|
|
|
|
50KB, it would probably not be merged. Research possible alternatives before
|
|
|
|
talking with code owner about this case.
|
|
|
|
|
|
|
|
- **Testing** For the test suite to run you need a current version of Chrome
|
2022-06-01 14:44:40 +03:00
|
|
|
installed. Use `./run wasm test` run both unit and web-based visual test.
|
2022-02-11 15:19:02 +03:00
|
|
|
- **Integration Tests** The integration tests are gathered in `integration-test`
|
2022-06-01 14:44:40 +03:00
|
|
|
crate. You can run them with `./run ide integration-test` command. The script
|
|
|
|
will spawn required Engine process.
|
2022-02-22 19:43:37 +03:00
|
|
|
- To run une test suite add `-- --test <suite-name>` at end of command
|
|
|
|
options. The `<suite-name>` is a name of the file in
|
|
|
|
`integration-test/tests` directory without extension, for example
|
|
|
|
`graph_editor`.
|
2022-02-11 15:19:02 +03:00
|
|
|
- The integration test can create and leave new Enso projects. **Keep it in
|
2022-05-23 05:16:04 +03:00
|
|
|
mind when running the script with your own backend (the `--external-backend`
|
2022-02-11 15:19:02 +03:00
|
|
|
option)**. The Engine spawned by the script will use a dedicated workspace
|
|
|
|
created in temporary directory, so the user workspace will not be affected.
|
2022-06-01 14:44:40 +03:00
|
|
|
- **Linting** Please be sure to fix all errors reported by `./run lint` before
|
|
|
|
creating a pull request to this repository.
|
2021-02-02 08:07:43 +03:00
|
|
|
|
|
|
|
### Development Branches
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2021-02-02 08:07:43 +03:00
|
|
|
The following branches are used to develop the product:
|
|
|
|
|
2022-10-27 15:28:34 +03:00
|
|
|
- **wip/[github_user_name]/[feature]** Feature branches. These are temporary
|
|
|
|
branches used by the team to develop a particular feature.
|
|
|
|
- **develop** Contains the most recent changes to the product. After successful
|
|
|
|
review, the feature branches are merged here. Each commit to this branch will
|
|
|
|
result in a nightly build of the product accessible as CI artifacts.
|
|
|
|
|
|
|
|
- **unstable** Contains only those commits which can be considered unstable
|
|
|
|
product releases. Each commit to this branch will result in an unstable
|
|
|
|
release of the product and will be published on GitHub as a pre-release. The
|
|
|
|
build version and build description will be automatically fetched from the
|
|
|
|
newest `CHANGELOG.md` entry and will fail if the version will not be of the
|
|
|
|
form `[major].[minor].[patch]-[sfx]`, where `[sfx]` is one of `alpha.[n]`,
|
2021-03-30 10:36:42 +03:00
|
|
|
`beta.[n]`, or `rc.[n]`, where `[n]` is an unstable build number.
|
|
|
|
|
|
|
|
- **stable** Contains only those commits which can be considered stable product
|
|
|
|
releases. Each commit to this branch will result in a stable release of the
|
|
|
|
product and will be published on GitHub as a release. The build version and
|
|
|
|
build description will be automatically fetched from the newest `CHANGELOG.md`
|
|
|
|
entry and will fail if the version will not be of the form
|
2021-02-02 08:07:43 +03:00
|
|
|
`[major].[minor].[patch]`.
|
|
|
|
|
|
|
|
### Forcing CI builds
|
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
By default, CI would not build artifacts from `wip` and `develop` branches in
|
|
|
|
order to save time and resources. If you want the artifacts to be build for your
|
2021-05-10 18:39:31 +03:00
|
|
|
PR, simply add `[ci build]` anywhere in the PR description.
|
2021-02-05 03:44:21 +03:00
|
|
|
|
|
|
|
### Skipping CHANGELOG.md change assertions
|
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
By default, CI would fail if the `CHANGELOG.md` file does not need to be
|
|
|
|
updated. However, sometimes there are PRs that does not change anything
|
2022-10-27 15:28:34 +03:00
|
|
|
significant in the final product. You can then simply add the 'CI: No changelog
|
|
|
|
needed' label to the PR to skip this assertion.
|
2021-03-30 10:36:42 +03:00
|
|
|
|
2021-02-02 08:07:43 +03:00
|
|
|
### Publishing Results
|
|
|
|
|
2021-03-30 10:36:42 +03:00
|
|
|
All new changes should be proposed in the form of Pull Requests (PRs) to this
|
|
|
|
repository. Each PR should contain changes to documentation and `CHANGELOG.md`
|
|
|
|
if applicable.
|
2021-02-02 08:07:43 +03:00
|
|
|
|
|
|
|
## Changelog
|
2021-03-30 10:36:42 +03:00
|
|
|
|
|
|
|
Please remember to update the `CHANGELOG.md` on every new bug fix or feature
|
|
|
|
implementation. Please note that `CHANGELOG.md` is used to establish the current
|
|
|
|
product version (the `run` script extracts it from the newest changelog entry).
|
|
|
|
Thus, be sure to always increase the newest version in the changelog after a
|
|
|
|
release, otherwise CI will fail. Please use the `docs/CHANGELOG_TEMPLATE.md` as
|
|
|
|
the template to create new changelog entries. Please note, that there is a
|
|
|
|
special syntax for defining features of the upcoming release. The newest
|
|
|
|
changelog entry can have a title "Next Release". In such a case, the build
|
|
|
|
version will be `0.0.0` and CI would fail when trying to publish it as a
|
|
|
|
release.
|