Skip to content

Releases: martinohmann/hcl-rs

v0.8.5

12 Oct 18:38
956703e
Compare
Choose a tag to compare

0.8.5 (2022-10-12)

Bug Fixes

  • format: identifiers starting with underscores are valid (#92) (6144b44), closes #91
  • format: prevent subtract with overflow in compact mode (#88) (7dd8e90), closes #87
  • parser: greatly improve expression parsing performance (#90) (a5b57ef), closes #82

v0.8.4

07 Oct 15:20
2a40b8f
Compare
Choose a tag to compare

0.8.4 (2022-10-07)

Bug Fixes

  • parser: comma between list items is not optional (9d97a02)
  • parser: panic when parsing LegacyIndex traversal operator (#86) (f7e9f87)
  • traversal: deserialize splat operators as unit (#84) (9ff1894), closes #81

v0.8.3

06 Oct 05:53
05408e5
Compare
Choose a tag to compare

0.8.3 (2022-10-01)

Miscellaneous

  • deps: bump actions/cache from 3.0.8 to 3.0.9 (#78) (2abc271)
  • deps: update criterion requirement from 0.3 to 0.4 (#79) (ac023bd)

v0.8.2

30 Sep 22:36
2cc04d1
Compare
Choose a tag to compare

0.8.2 (2022-09-30)

Features

  • implement Display for {Unary,Binary}Operator (765ae4e)
  • implement From<Numbe> for Value (5bc621a)

v0.8.1

30 Sep 05:41
7e8a384
Compare
Choose a tag to compare

0.8.1 (2022-09-30)

Features

  • implement Copy for some types (66fba96)
  • implement Display and Deref for Identifier (c06cec0)
  • implement Eq and Display for Value (cfb41fe)

v0.8.0

29 Sep 18:03
a3003b0
Compare
Choose a tag to compare

0.8.0 (2022-09-29)

⚠ BREAKING CHANGES

  • The Number type was changed from an enum to an opaque struct. Use Number::from to create a number from an integer. Furthermore, the From implementations for f32 and f64 were removed. Use the newly added Number::from_f64 instead.
  • The RawExpression and String variants of the ObjectKey enum were removed in favor of the newly added Expression variant. Furthermore the methods Object::raw_expression and ObjectKey::string were removed. Use ObjectKey::from instead.
  • The underlying map implementation for the Object<K, V> type changed from IndexMap<K, V> to VecMap<K, V>. For the most common operations this is a drop-in replacement, but VecMap lacks some of the more exotic APIs the IndexMap provides.
  • Heredocs and quoted strings containing template interpolations and/or template directives are not parsed as Expression::String anymore, but end up as Expression::TemplateExpr (which can be further parsed into the template elements via Template::from_expr) instead. Expressions of kind Expression::String are guaranteed to not include any templating anymore.

Features

Bug Fixes

  • allow - in identifiers (be06f53)
  • always do f64 division (5591e22)
  • correctly handle Expression::Null in serializer (ae74def)
  • correctly handle Expression variants in ExpressionSerializer (#71) (8d89437)
  • prevent creation of infinite and NaN Number (#74) (f751fc0)
  • use correct deserializer for index element access (#67) (f7bdd5c)

Miscellaneous

  • deps: bump vecmap-rs to 0.1.3 (5670415)

v0.7.0

06 Sep 20:35
0e21d25
Compare
Choose a tag to compare

0.7.0 (2022-09-01)

⚠ BREAKING CHANGES

  • this breaks some public APIs.

Bug Fixes

  • derive Eq where suggested by clippy (307cc2c)

refactor

  • move formatter into format module (#55) (ec98979)

Miscellaneous

  • deps: bump actions/cache from 3.0.5 to 3.0.7 (#53) (77e2c70)
  • deps: bump actions/cache from 3.0.7 to 3.0.8 (#59) (f78e16e)

v0.6.5

19 Aug 22:12
23ebd61
Compare
Choose a tag to compare

0.6.5 (2022-08-19)

Miscellaneous

  • deps: bump actions/cache from 3.0.4 to 3.0.5 (#48) (530fee4)
  • deps: bump pest from 2.1.3 to 2.2.1 (#52) (555b7e4)

v0.6.4

30 Jul 20:58
ebd6fe5
Compare
Choose a tag to compare

0.6.4 (2022-07-30)

Bug Fixes

  • parse negate operations on numbers as negative numbers (#46) (74eb690)

Miscellaneous

  • remove unused lifetimes (62e75f0)

v0.6.3

30 Jul 19:03
8795f15
Compare
Choose a tag to compare

0.6.3 (2022-07-30)

Bug Fixes

  • ! is not a logic operator (5012034)
  • correctly handle ExprTerm traversal (#42) (8dc0f88)
  • disable flaky specsuite test (cd19180)
  • implement deserialize_option for ValueDeserializer (#45) (2ddf40f)