Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/elpa/tomelr-0.4.3/CHANGELOG.org

14 KiB
Raw Permalink Blame History

Changelog

All notable changes to this project will be documented in this file.

0.4.2 - <2022-05-11 Wed>

19d128f…e45b0e4

🐛 Bug Fixes

  • Don't allow multi-line strings to indent by more than 2 spaces … The `tomelr-indent-multi-line-strings` variable is set to `t' mainly … by ox-hugo. So these multi-line strings will most likely be pars… (e45b0e4)

♻️ Refactor

  • Use append instead of push+reverse (7f331a8)

0.4.0 - <2022-05-11 Wed>

2820bf1…a5b2a0e

🐛 Bug Fixes

  • Case of table arrays in nested sub tables (0f7a6cf)

0.3.0 - <2022-05-05 Thu>

8fc2257…2820bf1

🐛 Bug Fixes

  • Make plist parsing work on emacs 26.3 … The fix was to make tomelr depend on the newer map v3.2.1 and seq … v2.23 versions from GNU ELPA. (2820bf1)

0.2.3 - <2022-05-03 Tue>

4e2edfe…884674e

📝 Documentation

  • Add installation instructions now that this is in GNU ELPA (9aa3086)

0.2.0 - <2022-05-03 Tue>

568de5e…b4be72f

Features

  • Add option for indenting multi-line strings … New defvar `tomelr-indent-multi-line-strings`. (3362213)

♻️ Refactor

  • Rename tomelr predicate functions for consistency (b4be72f)

0.1.0 - <2022-05-03 Tue>

4434ccc…568de5e

Features

  • Support string keys (ed13b73)
  • Auto-coerce string to boolean (ebe5959)
  • Auto-coerce string to integers (a25d952)

🐛 Bug Fixes

  • Auto-stringify symbols like 1.10.1 (ae98371)
  • Auto-stringify and auto-quote symbol values (ec381fd)
  • Boolean coercing when value is a symbol true or false (c2d1328)
  • Integer coercing of a number strings with underscores (a676192)

♻️ Refactor

  • Don't attempt to triple-quote TOML keys … Triple-quote only when the `type' input of `tomelrprint-stringlike' … is nil. (334b7cb)
  • Minor code reorg (b2ba4c4)

🔨 Testing

  • Add a test for string scalar with blank lines (57bed2c)

0.0.2 - <2022-05-02 Mon>

3aa4dc1…45542fb

🐛 Bug Fixes

  • TT with key with array value are detected correctly … Use json-alist-p and json-plist-p for TOML Table detection. This … uncomplicated the TOML Table logic quite a bit. … Caveat: Lists of plist need t… (044b5e1)
  • List format array of plists now detected as TOML Table Array … Also simplify tomelrtoml-table-array-p. (171e5a7)
  • Compatibility for emacs 26.3 … listp also works instead of proper-list-p here. So use that instead. … proper-list-p was introduced in emacs 27.x. (d86fd72)

📝 Documentation

  • Remove an invalid example (dc9b2a6)

♻️ Refactor

  • Clean up unused code … Use json-alist-p and json-plist-p directly where applicable. (f9d670e)
  • Remove unnecessary tomelr-encode-keyword … Also, The "keyword" term was confusing here; "boolean" makes more … sense. (41ccea4)
  • Use `tomelrtoml-table-p` (4386d99)

🔨 Testing

  • Add tests for json.el functions used in tomelr (406f492)

🍱 Other

  • Revert "doc: Update the medley example" … This reverts commit commit # 26f1fc2. (df0e733)

0.0.1 - <2022-04-30 Sat>

💥 Breaking

  • Set boolean false using :false value … This is so that null vs false can be distinguished in JSON. … If a lisp data value is nil, that key will be absent in TOML. (2ea3b5e)

Features

  • Add s-exp->toml examples and spec (8bc506a)
  • Add plist example (846676a)
  • First cut Port json-encode from json.el to tomelr-encode … Contains only the fixes needed to make the boolean key-value pair look … right in TOML. (52dc932)
  • Encode to multi-line TOML string automatically … .. if the string has newlines or quote chars. (7d8d41f)
  • Recognize local date format YYYY-MM-DD (1d65064)
  • Recognize RFC 3339 formatted date-time + offset (91800b2)
  • Skip converting keys whose values are nil (69217d4)
  • Convert Lisp lists to TOML arrays (96c890a)
  • Support basic TOML tables (cedb75d)
  • Support nested TOML tables (a1f434f)
  • Add basic support for S-exp plists -> TOML conversion … Support added for scalars and lists. … Pending: tables, arrays of tables, etc. (2810504)
  • Support basic TOML Table Arrays (ad8366d)
  • Make a very basic nested array of TTA work (a7b3a57)
  • Support (lightly tested) nested TOML Table Arrays (10a1994)
  • Implement everything planned in the initial spec … Fix converting of array of TOML tables represented by S-exp vectors. (e2b313c)

🐛 Bug Fixes

  • Dates will be strings in Lisp … refactor: Move "lists of lists" to a different section (28642f2)
  • Require subr-x for older Emacs versions (af40c0b)
  • Use `=` and `length` separately instead of `length=` … length= does not exist on 27.2 and older Emacs versions. … It was added in Emacs 28.1 in … https://git.savannah.gnu.org/cgit/emacs.git/comm… (98c9b8c)
  • Don't run plist to TOML conversion test on emacs 26.3 and older (c0962ba)
  • Attempt to make tomelrtoml-table-p more robust (ca92450)
  • Support TOML tables specified as plists (4c419bc)
  • Support TOML tables arrays specified as plist vector (cff1f8a)
  • Stricter condition before starting TOML table array check (38160ef)
  • Don't let array of TOML tables be recognized as TOML tables (0eb4fa0)
  • Don't let TOML tables be recognized as TOML tables arrays (5959b90)
  • Correct the spec for nested array of tables (baf8122)
  • Better detection of nested TTA, but still wip … This fix also breaks the plist support for TTA (0f4e7b4)
  • Detect TT with sub-tables correctly (b64eb07)
  • Detect nested TTA correctly when not present in first TT key (a33dbd1)

📝 Documentation

  • Add LOGBOOK drawer example (d96a3b2)
  • Discover `json-encoding-pretty-print` variable! (7321400)
  • Add spec for nested tables and arrays of tables (bb85106)

♻️ Refactor

  • Move TOML Table detection logic to a separate fn (3c068fb)

🔨 Testing

  • Add test for boolean scalar key-value pairs (05d2caf)
  • Add test for integer scalar key-value pairs (c872e9e)
  • Add test for float scalar key-value pairs (9c91e0d)
  • Add test for TOML Array of Arrays (f37841c)
  • Test that 'false is also considered as boolean false in TOML (6bbe740)
  • Test `tomelrtoml-table-p` (0d4674f)