Releases: squirrelchat/smol-toml
v1.3.2
Fixes the issue reported in #37 -- the library would fail to parse a document containing a one-line string, with an escaped double-quote, preceded by an escaped backslash, such as key = "value \\\" value".
Apologies for the lack of proper v1.3.1 tag; this release addressed GHSA-pqhp-25j4-6hq9 by adding a maximum depth while parsing.
Additionally, releases are now published to NPM with provenance attestations
What's Changed
- fix: improve string end detection when preceded by an escaped backslash by @cyyynthia
- fix: enforce maximum depth when parsing/stringifying by @cyyynthia
Full Changelog: v1.3.0...v1.3.2
v1.3.0
smol-toml is changing how it's distributed (again)! It's now a dual-package with native ESM and a CJS single-file build. This should make the package available for even more targets, now including targets which can't treat CJS as faux ESM!
What's Changed
- feat: dual-package by @cyyynthia in #26
Full Changelog: v1.2.2...v1.3.0
v1.2.2
What's Changed
- Remove pnpm from engines by @jakebailey in #23
New Contributors
- @jakebailey made their first contribution in #23
Full Changelog: v1.2.1...v1.2.2
v1.2.1
Minor change to the package.json; removing the use of conditional export syntax in favor of the simpler, more commonly supported main package key.
What's Changed
- ci: configure build and test by @cyyynthia in #19
- fix: ditch conditional export syntax (to please bundlephobia) by @cyyynthia
Full Changelog: v1.2.0...v1.2.1
v1.2.0
smol-toml can now be used as a CJS library, while remaining fully compatible with ESM-style imports.
It is also now possible to import the library to something similar to the JSON global:
import TOML from 'smol-toml'What's Changed
- chore: build as cjs package by @cyyynthia in #18
Full Changelog: v1.1.4...v1.2.0
v1.1.4
v1.1.3
This release fixes a few bugs that were not initially caught by the TOML test suite, further aligning this library with complete TOML specification conformance. 🎉
What's Changed
- fix: enhance table clashes handling by @cyyynthia
- fix: handle non pedantic spacing in inline tables by @wyatt-herkamp in #8
New Contributors
- @wyatt-herkamp made their first contribution in #8
Full Changelog: v1.1.2...v1.2.3
v1.1.2
Fixed a smol issue with types where TomlPrimitive was not exposed, despite being a user-facing type.
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Changed
- Fix usage in webpack by @decahedron1 in #4
- Added
typesto package.json to allow older TS versions and projects without a tsconfig to resolve type information (see #3)
New Contributors
- @decahedron1 made their first contribution in #4
Full Changelog: v1.1.0...v1.1.1
v1.1.0
smol-toml can now serialize objects to TOML 🎉 A basic (and fast!) serializer has been implemented, with no customization capabilities for now. Refer to the README for gotchas about the serializer and how it handles certain types that cannot be represented in TOML such as null!
What's Changed
- feat: stringify by @cyyynthia in #2
Full Changelog: v1.0.1...v1.1.0