github hashicorp/hcl v2.0.0

latest releases: v2.20.1, v2.20.0, v2.19.1...
4 years ago

Initial release of HCL 2, which is a new implementation combining the HCL 1 language with the HIL expression language to produce a single language supporting both nested configuration structures and arbitrary expressions.

HCL 2 has an entirely new Go library API and so is not a drop-in upgrade 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"
)

Don't miss a new hcl release

NewReleases is sending notifications on new releases.