Update profiles.md

Add api-version 4 for lua profiles as latest api-version
This commit is contained in:
Marcel Radischat 2018-04-17 17:23:08 +02:00 committed by Huyen Chau Nguyen
parent 15139c934f
commit b5b18d8afc

View File

@ -68,7 +68,7 @@ If you want to prioritize certain streets, increase the rate on these.
## Elements ## Elements
### api_version ### api_version
A profile should set `api_version` at the top of your profile. This is done to ensure that older profiles are still supported when the api changes. If `api_version` is not defined, 0 will be assumed. The current api version is 2. A profile should set `api_version` at the top of your profile. This is done to ensure that older profiles are still supported when the api changes. If `api_version` is not defined, 0 will be assumed. The current api version is 4.
### Library files ### Library files
The folder [profiles/lib/](../profiles/lib/) contains LUA library files for handling many common processing tasks. The folder [profiles/lib/](../profiles/lib/) contains LUA library files for handling many common processing tasks.