#### 12.4.1 version

Valid in: Schematic and Symbol files

    type version fileformat_version

Pos. | Field | Type/unit | Description
--- | --- | --- | ---
# | type | char | v
1 | version | int | version of gEDA/gaf that wrote this file
2 | fileformat_version | int | gEDA/gaf file format version number

- The type is a lower case “v” (as in Victor).
- This object must be in every file used or created by the gEDA/gaf tools.
- The format of the first version field is YYYYMMDD.
- The version number is not an arbitrary timestamp. Do not make up a version number and expect the tools to behave properly.
- The “version of gEDA/gaf that wrote this file” was used in all versions of gEDA/gaf up to 20030921 as the file formats version. This field should no longer be used to determine the file format. It is used for information purposes only now.
- Starting at and after gEDA/gaf version 20031004, the `fileformat_version` field is used to determine the file format version. All file format code should key off of this field.
- `fileformat_version` increases when the file format changes.
- The starting point for `fileformat_version` was 1. The current file format version is 2.
- fileformat version is just an integer with no minor number.
- Development versions include: 19990601, 19990610, 19990705, 19990829, 19990919, 19991011, 20000220, 20000704, 20001006, 20001217, 20010304, 20010708, 20010722, 20020209, 20020414, 20020527, 20020825, 20021103, 20030223, 20030525, 20030901, 20040111, 20040710, 20041228, 20050313, 20050820, 20060123, 20060824, 20060906, 20061020, 20070216, 20070705, 20070708, 20070818, 20071229, 20080110, 20080127, 20080706, 20081220, 20081221, 20090328, 20090829, 20090830, 20110116, 20110619, 20111231
- Stable versions include: 20070526, 20070626, 20070902, 20071231, 20080127, 20080929, 20081220, 20081231, 20091004, 20100214, 20110115
- CVS or test versions (should not be used): 20030921, 20031004, 20031019, 20031231, 20050814
- Keep in mind that each of the above listed versions might have had file format variations. This document only covers the last version’s file format.

Example:

    v 20040111 1