since I would like to implement a tool which makes use of the terraform state file, I would like to know whether there is some kind of official changelog or documentation regarding the different terraform state versions (e.g. for differences between version 3 and version 4).
I found some blog posts about the structure of the tfstate file, but none really explains the full json structure.
When there is no documentation available, I would also be happy to receive hints like golang structs which represent the statefile etc. so I can gather more information.