Commit Graph

  • 8ed6d131eb Decode: unstable/Unmarshal interface (#940) rszyma 2024-03-19 17:33:12 +01:00
  • 7dad87762a build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#936) dependabot[bot] 2024-03-12 09:06:45 -04:00
  • 2b69615b5d Go 1.22 support (#935) Thomas Pelletier 2024-02-27 15:30:13 -05:00
  • 06fb30bf2e Decode: fix reuse of slice for array tables (#934) Thomas Pelletier 2024-02-27 15:28:49 -05:00
  • 2e087bdf5f Run tests on macos/M1 (#929) Thomas Pelletier 2024-01-30 19:15:50 -05:00
  • caeb9f9631 Fix marshaler typos (#927) Thomas Pelletier 2024-01-30 19:01:55 -05:00
  • e7223fb40e fix: odd indentation in README (#928) Rdbo 2024-01-30 21:01:43 -03:00
  • 05bedf36d8 Fix README typo (#925) Jakub Wilk 2024-01-26 00:21:33 +01:00
  • f5486d590f Support encoding json.Number type (#923) Daniel Graña 2024-01-25 20:21:02 -03:00
  • 2ca21fb7b4 Support encoding of pointers to embedded structs (#924) Daniel Graña 2024-01-23 15:06:33 -03:00
  • 34765b4a9e Fix unmarshaling of nested non-exported struct (#917) v2.1.1 Thomas Pelletier 2023-12-11 14:17:49 -05:00
  • 358c8d2c23 Use toml-test to generate tests (#911) Moritz Poldrack 2023-10-26 20:05:02 +02:00
  • fd8d0bf4d9 Add cmd/gotoml-test-encoder (#907) Martin Tournoij 2023-10-23 22:40:44 +02:00
  • a76e18e8c5 Fix benchmark script (#905) Thomas Pelletier 2023-10-02 13:49:01 -04:00
  • dff0c128d0 build(deps): bump docker/login-action from 2 to 3 (#901) dependabot[bot] 2023-09-17 18:11:24 -04:00
  • 3573ce3770 Update SECURITY.md Thomas Pelletier 2023-09-04 09:43:32 -04:00
  • ae933f2e2a build(deps): bump actions/checkout from 3 to 4 (#896) dependabot[bot] 2023-09-04 09:42:37 -04:00
  • 3175efb395 encode: fix commented table with comment (#894) v2.1.0 Thomas Pelletier 2023-08-29 08:46:34 -04:00
  • 9dd7f1af78 encoder: add back the commented option (#893) Thomas Pelletier 2023-08-28 14:29:26 -04:00
  • 4a5c27c299 decode: fix wrong indention for tables' comments (#892) Mikhail f. Shiryaev 2023-08-28 19:23:11 +02:00
  • 76cc96f6d8 Update LICENSE Thomas Pelletier 2023-08-28 11:22:32 -04:00
  • 4835627845 Decode: improve errors on integers and strings (#891) Thomas Pelletier 2023-08-28 11:17:48 -04:00
  • cef80b96a4 parser: add raw to integers (#890) Thomas Pelletier 2023-08-28 11:02:16 -04:00
  • 4040373cfd Encode: fix ignored indent of array tables (#889) Thomas Pelletier 2023-08-28 09:52:11 -04:00
  • bb026cae89 Decode: fix panic when parsing '0' as a float (#887) Haiyang Wang 2023-08-23 00:07:39 +08:00
  • f7d9b9ba53 Build riscv64 binaries for linux (#884) michalbiesek 2023-08-20 19:48:24 +02:00
  • fac33d6fa8 Add support for Go 1.21 (#885) michalbiesek 2023-08-20 19:47:04 +02:00
  • e183db7e69 Decode: assigned empty struct to empty defined sections (#879) v2.0.9 David Barroso 2023-07-12 16:53:17 +02:00
  • 60e4af8cca build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#877) dependabot[bot] 2023-05-30 09:12:07 -04:00
  • 8bb1e08dc7 Encode: fix support for arrays (#876) MrJetBOX 2023-05-29 18:41:33 +05:00
  • 7b980e792b Use PtrTo to not require Go 1.18 (#874) v2.0.8 Thomas Pelletier 2023-05-23 18:22:22 -04:00
  • 44c1513ccd build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#871) dependabot[bot] 2023-05-19 10:46:40 -04:00
  • fcf9d37d0c Comments support in unstable/Parser (#860) Thomas Pelletier 2023-05-19 10:44:02 -04:00
  • 986afffb7c Decode: fix decode into unsettable structs (#868) Thomas Pelletier 2023-05-16 09:29:50 -04:00
  • 8c2c9cc986 Add example on how to use TextUnmarshaler (#867) Thomas Pelletier 2023-05-16 08:17:21 -04:00
  • 55ca4e35e4 fuzz: improve target perf (#864) manunio 2023-05-12 19:51:17 +05:30
  • d34104d493 Support text Un/Marshaller for map keys (#863) Gordon 2023-05-09 11:56:57 -04:00
  • 2aa08368fa fuzz: move fuzz_target from oss-fuzz (#861) manunio 2023-04-29 07:08:13 +05:30
  • 654811fbc3 build(deps): bump actions/setup-go from 3 to 4 (#859) dependabot[bot] 2023-03-21 13:35:40 -04:00
  • 5c05d4d863 build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#852) dependabot[bot] 2023-03-20 13:57:54 -04:00
  • 643c251c4b Fix panic when unmarshaling into a map twice (#854) v2.0.7 Thomas Pelletier 2023-02-28 17:34:24 +01:00
  • 8a416daa69 Fix error report of type mismatch on inline tables (#853) Thomas Pelletier 2023-02-28 17:06:49 +01:00
  • fcd9179b7d Fixes typos (#849) Andreas Deininger 2023-02-13 12:57:48 +01:00
  • 9f5726004e Allow integers to be unmarshaled into floats (#841) Marty 2023-02-09 18:02:25 +01:00
  • c4a2eef8a4 Fix go 1.20 version in github actions (#848) Thomas Pelletier 2023-02-09 12:00:14 -05:00
  • b58c20aa49 Upgrade go 1.20 (#847) Thomas Pelletier 2023-02-08 18:59:58 -05:00
  • 090cccf4ba Fix inline table first key value whitespace (#837) Cuong Manh Le 2023-02-01 18:00:09 +07:00
  • 58a592bbf8 ci: add CIFuzz integration (#831) DavidKorczynski 2022-11-21 23:51:48 +00:00
  • 94bd3ddcd6 build(deps): bump actions/setup-go from 2 to 3 (#820) v2.0.6 dependabot[bot] 2022-11-09 16:14:19 -05:00
  • e195b58fd0 Expose parser API as unstable (#827) Thomas Pelletier 2022-11-09 16:12:39 -05:00
  • c83d001c6d build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#825) dependabot[bot] 2022-10-30 13:53:41 -04:00
  • b9e3b9c370 refactor: Use typeMismatchError rather than raw string error (#826) Johanan Idicula 2022-10-30 10:44:16 -07:00
  • d26887310c Reduce init time allocation when declaring types used for reflect (#821) Olivier Mengué 2022-10-07 14:28:37 +02:00
  • 3077a406a1 ci: linux/386 ci-exp Thomas Pelletier 2022-09-09 19:55:26 -04:00
  • 48ca06a23c ci: add tinygo test Thomas Pelletier 2022-09-09 19:27:49 -04:00
  • 942841787a Fix reflect.Pointer backward compatibility (#813) v2.0.5 Thomas Pelletier 2022-08-26 09:15:03 -04:00
  • b371733c67 Make all nodes contain Raw raw Thomas Pelletier 2022-08-22 21:05:41 -04:00
  • 64dcce07ea WIP Thomas Pelletier 2022-08-22 23:04:44 +00:00
  • 28f1efc7d3 Decode: don't break on non-struct embed field (#810) v2.0.4 Thomas Pelletier 2022-08-22 18:39:11 -04:00
  • 7d69e4a728 Add missing '+build' comment to fuzz_test.go (#809) Piotr Buliński 2022-08-22 20:05:37 +02:00
  • e46d245c09 Decode: don't crash on embedded nil pointers (#808) Thomas Pelletier 2022-08-20 21:24:03 -04:00
  • 7baa23f493 Decode: error on array table mismatched type (#804) v2.0.3 Thomas Pelletier 2022-08-15 16:38:07 -04:00
  • 2d8433b69e Encode: don't inherit omitempty (#803) Thomas Pelletier 2022-08-15 11:29:46 -04:00
  • 67bc5422f3 Go 1.19 (#802) Thomas Pelletier 2022-08-15 10:56:33 -04:00
  • fb6d1d6c2b Marshal: define and fix newlines behavior when using omitempty (#798) Thomas Pelletier 2022-07-24 15:40:20 -04:00
  • d017a6dc89 build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (#795) dependabot[bot] 2022-06-29 09:51:28 -04:00
  • d6d3196163 build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (#794) dependabot[bot] 2022-06-24 12:49:56 -04:00
  • 41718a6db3 build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 (#793) dependabot[bot] 2022-06-21 08:32:13 -04:00
  • 216628222f Build arm + arm64 binaries for linux and windows (#790) v2.0.2 Thomas Pelletier 2022-06-08 18:05:42 -04:00
  • 322e0b15d2 build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 (#788) dependabot[bot] 2022-06-08 17:44:59 -04:00
  • 85bfc0ed51 Encode: add bound check for uint64 > math.Int64 (#785) Thomas Pelletier 2022-05-31 22:10:41 -04:00
  • 295a720dfb build(deps): bump goreleaser/goreleaser-action from 2 to 3 (#783) dependabot[bot] 2022-05-23 15:05:00 +02:00
  • 0a422e3dbd Decoder: check max uint on 32 bit platforms (#778) v2.0.1 Thomas Pelletier 2022-05-10 15:43:26 +02:00
  • 627dade0c7 Encode: support comment on array tables (#776) Thomas Pelletier 2022-05-10 15:17:36 +02:00
  • b2e0231cc9 Encode: fix multiline comment (#775) Thomas Pelletier 2022-05-10 14:53:26 +02:00
  • ba95863cd3 build(deps): bump docker/login-action from 1 to 2 (#771) dependabot[bot] 2022-05-09 18:59:02 +02:00
  • db679df765 Typo in README.md fix (#770) Erik Hartwig 2022-05-09 09:46:46 -07:00
  • c5ca2c682b Fix embedded struct with explicit field name (#773) Thomas Pelletier 2022-05-09 18:45:02 +02:00
  • ed80712cb4 Copy version policy from v1 Thomas Pelletier 2022-04-28 11:55:39 -04:00
  • b24772942d build(deps): bump github/codeql-action from 1 to 2 (#764) dependabot[bot] 2022-04-28 08:24:14 -04:00
  • 9501a05ed7 build(deps): bump actions/checkout from 2 to 3 (#765) dependabot[bot] 2022-04-28 08:23:56 -04:00
  • 5dc006fb52 Update readme to point to v2 master Thomas Pelletier 2022-04-27 21:51:02 -04:00
  • 171a592663 Prepare repository for v2.0.0 (#762) v2.0.0 Thomas Pelletier 2022-04-27 21:29:16 -04:00
  • 5aaf5ef13b Fix internal entry size test (#761) Thomas Pelletier 2022-04-24 18:50:54 -04:00
  • 8f6d0d8be7 Specialize map[string]iface when unmarshaling kvs less-reflect Thomas Pelletier 2022-04-15 17:41:18 -04:00
  • 3c4b709fed Specialize navigating map[string]interface{} Thomas Pelletier 2022-04-15 17:20:24 -04:00
  • adacebd8c7 Update benchmarks in README (#756) v2.0.0-beta.8 Thomas Pelletier 2022-04-10 22:24:19 -04:00
  • 8bbb673431 Fuzzing setup and fixes (#755) Thomas Pelletier 2022-04-10 21:37:12 -04:00
  • 2377ac4bc0 encode: fix embedded interfaces (#753) Thomas Pelletier 2022-04-08 09:25:54 -04:00
  • f5cc8c49eb decoder: remove mention of UnmarshalText in errors (#751) v2.0.0-beta.7 Thomas Pelletier 2022-04-07 21:58:19 -04:00
  • 89d7b412d8 decode: allow subtables to be defined later (#750) Thomas Pelletier 2022-04-07 21:49:16 -04:00
  • 88a8aecdd4 tools: display error context when it exists (#749) Thomas Pelletier 2022-04-07 20:33:09 -04:00
  • 9804fc57e0 decoder: support \e escape sequence (#748) Thomas Pelletier 2022-04-07 20:18:30 -04:00
  • 068279f13b encode: respect stdlib rules for embedded structs (#747) v2.0.0-beta.6 Thomas Pelletier 2022-04-07 19:51:09 -04:00
  • b9edbeb611 Update testify dependency (#746) Thomas Pelletier 2022-03-30 15:10:57 -04:00
  • a97c9317d4 Go 1.18 (#745) Thomas Pelletier 2022-03-23 10:26:12 -04:00
  • 3229a0abfb Decode: convert table key to correct type (#741) Gregory Oschwald 2022-03-02 06:24:01 -08:00
  • 3f5d8a6b06 Mention removal of go-toml/query (#736) Thomas Pelletier 2022-01-07 18:58:33 -05:00
  • 146f70ea8a Decode: use cleaned byte slice throughout parseFloat (#735) Cameron Moore 2022-01-06 13:34:27 -06:00
  • fed1464066 Fix invalid type assertion in LoadBytes (#733) v1.9.5 Cameron Moore 2022-01-05 08:17:32 -06:00