Difference between revisions of "ZIM file format"

Jump to navigation Jump to search
Line 47: Line 47:


Minor version is updated when an compatible change is integrated (a lib made for a minor version n will be able to read a version n+1)
Minor version is updated when an compatible change is integrated (a lib made for a minor version n will be able to read a version n+1)
The current major version is 6. You may found old zim archives with major version 5. They are the same than 6 less extended cluster, so you can read a 5 major version as if it was a 6.


The minor version can be :
The minor version can be :
Line 60: Line 58:
|+ ZIM format versions
|+ ZIM format versions
|-
|-
! Major !! Minor !! Description  
! Major !! Minor !! Backward compatible !! Description  
|-
| 0 || Example || || Example
|-
| 1 || Example || || Example
|-
| 2 || Example || || Example
|-
|-
| Example || Example || Example  
| 3 || Example || || Example
|-
|-
| Example || Example || Example  
| 4 || Example || || Example
|-
|-
| Example || Example || Example
| 5 || 0 || yes || Introduces extended clusters
|-
|-
| Example || Example || Example
| rowspan="3" | 6 || 0 || no  || Still uses old namespaces (see [[ZIM file format old namespace]])
|-
|-
| Example || Example || Example
|                   1 || no  || Introduces new namespaces
|-
|-
| Example || Example || Example
|                   2 || yes || Explicitly allows alias entries (several entries pointing to the same cluster/blob)
|}
|}


Navigation menu