2019-09-10 21:34:12 +00:00
|
|
|
# HCL Changelog
|
|
|
|
|
2019-10-02 15:00:16 +00:00
|
|
|
## v2.1.0 (Unreleased)
|
|
|
|
|
|
|
|
|
2019-10-02 14:58:32 +00:00
|
|
|
## v2.0.0 (Oct 2, 2019)
|
2019-09-10 21:34:12 +00:00
|
|
|
|
|
|
|
Initial release of HCL 2, which is a new implementating combining the HCL 1
|
|
|
|
language with the HIL expression language to produce a single language
|
|
|
|
supporting both nested configuration structures and arbitrary expressions.
|
|
|
|
|
2019-10-02 14:47:30 +00:00
|
|
|
HCL 2 has an entirely new Go library API and so is _not_ a drop-in upgrade
|
2019-09-10 21:34:12 +00:00
|
|
|
relative to HCL 1. It's possible to import both versions of HCL into a single
|
|
|
|
program using Go's _semantic import versioning_ mechanism:
|
|
|
|
|
|
|
|
```
|
|
|
|
import (
|
|
|
|
hcl1 "github.com/hashicorp/hcl"
|
|
|
|
hcl2 "github.com/hashicorp/hcl/v2"
|
|
|
|
)
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2019-10-02 14:47:30 +00:00
|
|
|
Prior to v2.0.0 there was not a curated changelog. Consult the git history
|
|
|
|
from the latest v1.x.x tag for information on the changes to HCL 1.
|