Commit Graph

  • e83cf535f5 Decoder: rename SetStrict to DisallowUnknownFields (#731) Thomas Pelletier 2022-01-02 14:32:34 -05:00
  • c3ba3ef97a readme: add docker image Thomas Pelletier 2022-01-01 09:53:14 -05:00
  • 7ee3c8ff25 build: login to github repository Thomas Pelletier 2022-01-01 09:24:52 -05:00
  • 1e85aa6d78 build: add contents permissions Thomas Pelletier 2021-12-31 20:47:50 -05:00
  • 46fa3225e2 build: allows the token to write packages Thomas Pelletier 2021-12-31 20:25:11 -05:00
  • 4d51831dab build: replace grc.io with ghcr.io Thomas Pelletier 2021-12-31 20:10:36 -05:00
  • 5a1a96cb2d build: pass the github token to goreleaser Thomas Pelletier 2021-12-31 20:03:18 -05:00
  • ea9040ae83 build: change workflow reference to v2 Thomas Pelletier 2021-12-31 19:57:41 -05:00
  • 2373685f1e Docker + goreleaser (#729) Thomas Pelletier 2021-12-31 19:55:31 -05:00
  • f1391952d4 Update and move testsuite to internal package (#730) Thomas Pelletier 2021-12-31 18:52:26 -05:00
  • 4a73a200ed Clean up tools godoc Thomas Pelletier 2021-12-31 15:56:40 -05:00
  • 4807229e94 tomll: port to v2 (#727) Thomas Pelletier 2021-12-31 15:40:18 -05:00
  • d8ddc00c61 jsontoml: port to v2 (#726) Thomas Pelletier 2021-12-31 14:40:20 -05:00
  • 1baee4630f README: don't mention document editing in v2 Thomas Pelletier 2021-12-31 13:31:17 -05:00
  • 82f8dad811 tomljson: port to v2 (#725) Thomas Pelletier 2021-12-31 13:25:53 -05:00
  • 75db1016e8 Remove extra words from CONTRIBUTING Thomas Pelletier 2021-12-29 10:26:22 -05:00
  • de6d715bd2 Update CONTRIBUTING.md Thomas Pelletier 2021-12-29 10:25:28 -05:00
  • 3ab2fc2b87 Update release proces documentation Thomas Pelletier 2021-12-29 10:24:01 -05:00
  • 1b1dd3d6d5 Exclude testing PRs from release notes v2.0.0-beta.5 Thomas Pelletier 2021-12-29 09:53:43 -05:00
  • 128b7a8bfb Decode: check buffer length before parsing simple key (#717) Cameron Moore 2021-12-29 07:58:42 -06:00
  • 892df5c28e Decode: fix index out of range bug (#716) Cameron Moore 2021-12-29 07:49:33 -06:00
  • d58eb50ebf Doc: clarify errors returned by Decode (#713) Thomas Pelletier 2021-12-26 20:04:09 +01:00
  • 535fc65c5f Fix link in README Thomas Pelletier 2021-12-26 19:49:35 +01:00
  • f158d7d278 Readme: document more differences with v1 (#712) Thomas Pelletier 2021-12-26 19:47:03 +01:00
  • 5fd6e9cce0 Encode: add comment struct tag (#711) Thomas Pelletier 2021-12-26 18:29:46 +01:00
  • 8ce5c3d78f Decoder: time allows extra precision (#710) Thomas Pelletier 2021-12-26 17:05:10 +01:00
  • 177b4a5e53 Decode: allow \r\n as line whitespace before \ (#709) Thomas Pelletier 2021-12-26 16:38:15 +01:00
  • 5cbdea6192 decode: fix maximum time offset values (#706) Cameron Moore 2021-12-22 03:29:52 -06:00
  • 696dd25c17 Decoder: disallow modification of existing table (#704) Thomas Pelletier 2021-12-15 11:05:27 -05:00
  • facb2b13e8 Decoder: prevent modification of inline tables (#702) Thomas Pelletier 2021-12-12 09:43:42 -05:00
  • 8bbb519477 Decode: ensure signed exponents don't start with an underscore (#699) Cameron Moore 2021-12-05 19:02:19 -06:00
  • b37e11d74d Decode: allow maximum seconds value of 60 (#700) Cameron Moore 2021-12-05 19:00:42 -06:00
  • 6cd86876b8 Decode: ensure signed numbers don't start with an underscore (#698) Cameron Moore 2021-12-04 15:56:48 -06:00
  • f53bc740c1 Decode: restrict timezone offset values (#696) Cameron Moore 2021-12-02 17:59:32 -06:00
  • 9bf9be681e Decoder: check for invalid chars in timezone (#695) Thomas Pelletier 2021-12-02 09:00:20 -05:00
  • c862c344b3 Decoder: allow commas in tags (#693) Thomas Pelletier 2021-11-30 21:59:22 -05:00
  • 0d20a84523 Encoder: omitempty flag (#692) Thomas Pelletier 2021-11-30 21:32:28 -05:00
  • 3990899d7e Decoder: check tz has : between hours and minutes (#691) Thomas Pelletier 2021-11-30 20:22:11 -05:00
  • 4c7a337083 Decoder: fix typo in test description (#689) Cameron Moore 2021-11-30 14:28:01 -06:00
  • bbaae540ce Decoder: check timezones start with +,-,z,Z (#688) Thomas Pelletier 2021-11-30 13:01:15 -05:00
  • ede6445608 Decoder: flag bad \r in literal multiline strings (#687) Thomas Pelletier 2021-11-30 10:44:48 -05:00
  • b226db6a29 Decoder: show struct field in type mismatch errors (#684) Thomas Pelletier 2021-11-24 20:43:56 -05:00
  • d8997efb5a Mention "-" to prevent encoding field in doc (#683) Thomas Pelletier 2021-11-24 19:52:23 -05:00
  • 79e78b234c Decoder: fix panic on table array behind a pointer (#682) Thomas Pelletier 2021-11-24 18:50:04 -05:00
  • 1b5a25c0ef Decoder: fail on unescaped \r not followed by \n (#681) Thomas Pelletier 2021-11-24 18:11:36 -05:00
  • 8eae15b2ee Decoder: validate bounds of day and month in dates (#680) Thomas Pelletier 2021-11-24 17:42:01 -05:00
  • 2b3de620e8 Encoder: try to use pointer type TextMarshaler (#679) Thomas Pelletier 2021-11-24 14:43:49 -05:00
  • 8645d6376b Decoder: flag invalid carriage returns in literal strings (#673) Cameron Moore 2021-11-23 21:41:59 -06:00
  • dc72d75f3e Keep separate fn for []interface{} unmarshal specialize Thomas Pelletier 2021-11-11 11:50:46 -05:00
  • f77775b59e Use less reflection when making slices Thomas Pelletier 2021-11-11 11:24:59 -05:00
  • b52f6c9823 Remove some allocs for slices in interfaces Thomas Pelletier 2021-11-11 11:16:41 -05:00
  • 12244064bb Use global cache to unmarshal all slice types Thomas Pelletier 2021-11-11 10:16:29 -05:00
  • 6430ee0bfa Generic slice unmarshal fn Thomas Pelletier 2021-11-11 09:50:06 -05:00
  • cf530eba46 Specialize array unmarshal into []interface{} Thomas Pelletier 2021-11-11 00:35:50 -05:00
  • 64fe47161f API: Encoder and Decoder options are chainable (#670) Thomas Pelletier 2021-11-13 19:04:53 -05:00
  • 4dff8eaa4d Decoder: prevent duplicates of inline tables (#667) Thomas Pelletier 2021-11-10 10:04:43 -05:00
  • 2dbd29a565 parser: Fix missing check for upper exponent (#665) Cameron Moore 2021-11-09 20:15:23 -06:00
  • f27a07d31a seen: verify arrays (#663) Thomas Pelletier 2021-11-09 20:26:30 -05:00
  • 644515958c Update TOML test suite (#661) Thomas Pelletier 2021-11-08 22:35:35 -05:00
  • 8683be35f6 seen: check inline tables (#660) Thomas Pelletier 2021-11-08 21:53:02 -05:00
  • dc1740d473 Decode: code cleanup for struct cache (#659) Thomas Pelletier 2021-11-07 18:35:30 -05:00
  • 11f789ef11 Decode: prevent comments that look like dates to be accepted (#657) Thomas Pelletier 2021-11-04 22:06:12 -04:00
  • 74d21b367f scanner: handle carriage return in comments (#656) Thomas Pelletier 2021-11-04 21:40:16 -04:00
  • 6617e7e73d utf8: use lookup table to validate ASCII (#654) Thomas Pelletier 2021-11-04 16:05:36 -04:00
  • 3dbca20bc9 Decoder: flag invalid carriage returns in strings (#652) Thomas Pelletier 2021-11-02 10:02:25 -04:00
  • 85c0658984 Decode: add missing checks for LocalTime (#650) Thomas Pelletier 2021-10-29 22:13:08 -04:00
  • 772d169b52 testsuite: return error when can't encode tag (#648) Thomas Pelletier 2021-10-29 21:51:50 -04:00
  • b4ec220f7e Update tomltestgen and regenerate tests (#645) Cameron Moore 2021-10-28 19:46:08 -05:00
  • 3694ae88f6 decode: error on _ before exponent in floats (#647) Thomas Pelletier 2021-10-28 20:41:10 -04:00
  • 19751e8a51 Missing performance section v2.0.0-beta.4 Thomas Pelletier 2021-10-28 19:08:25 -04:00
  • 925f214125 Add GitHub release configuration (#644) Thomas Pelletier 2021-10-28 19:06:14 -04:00
  • 39f893ad99 Multiline strings fixes (#643) Thomas Pelletier 2021-10-28 18:26:34 -04:00
  • c871a61015 unmarshal: use UnmarshalText for any type (#642) Thomas Pelletier 2021-10-28 17:02:47 -04:00
  • d0d001625c unmarshal: don't panic when storing table in slice (#641) Thomas Pelletier 2021-10-25 16:47:10 -04:00
  • 64941b99e2 unmarshal: empty document results in map (#640) Thomas Pelletier 2021-10-25 15:55:54 -04:00
  • ed02a1f192 seen: check for explicit tables on dotted keys (#639) Thomas Pelletier 2021-10-22 23:25:28 -04:00
  • 4d7c9ddac7 Floats and integers parsing fixes (#638) Thomas Pelletier 2021-10-22 22:25:56 -04:00
  • feb1830dcc tomltest: enable TestTOMLTest_Valid_Comment_Tricky Thomas Pelletier 2021-10-21 22:30:58 -04:00
  • 1c33d6ce20 tomltest: custom comparison functions (#637) Thomas Pelletier 2021-10-21 22:29:04 -04:00
  • 3000471a12 parser: improve floats validation (#636) Thomas Pelletier 2021-10-20 08:49:28 -04:00
  • 1f33a6a476 tomltest: enable Valid_Datetime_LocalTime Thomas Pelletier 2021-10-19 21:20:45 -04:00
  • 2700aad5d2 tomltest: run UTF8 tests (#634) Thomas Pelletier 2021-10-19 16:00:56 -04:00
  • 7ccaa2744e tomltest: unmarshal JSONs for tests (#633) Thomas Pelletier 2021-10-19 15:29:49 -04:00
  • df4bb061f8 time: follow RFC3339 spec for datetime (#632) Johanan Idicula 2021-10-18 09:56:07 -04:00
  • 9e81ce1c33 Create SECURITY.md Thomas Pelletier 2021-10-17 20:56:41 -04:00
  • 352072d51a Create SECURITY.md Thomas Pelletier 2021-10-17 20:56:41 -04:00
  • a23850f29b decode: preserve nanosecond precision when decoding time (#626) Cameron Moore 2021-10-17 19:43:29 -05:00
  • 76f53c857b unmarshal: validate date (#622) Johanan Idicula 2021-10-17 20:18:20 -04:00
  • 85f5d567e4 parser: validate invalid ASCII control characters Thomas Pelletier 2021-10-16 07:41:12 -04:00
  • bd5cba0b0b Update benchmarks readme (#630) Thomas Pelletier 2021-10-15 16:53:40 -07:00
  • cd54472d03 Validate UTF-8 (#629) Thomas Pelletier 2021-10-15 16:13:21 -07:00
  • cc0d1a90ff testgen: skip currently failing tests (#627) Thomas Pelletier 2021-10-14 08:14:44 -07:00
  • 4984dcb5e9 encode: ensure floats have decimal point (#615) Sterling Hanenkamp 2021-10-14 07:34:54 -05:00
  • 86632bc190 parser: fail when missing array separator (#616) jidicula 2021-10-14 08:26:29 -04:00
  • d25eec183f gotoml-test-decoder: add toml-test decoder command (#619) Cameron Moore 2021-10-14 07:14:34 -05:00
  • e96746311c decoder: fix panic date time should have a timezone (#614) Riya John 2021-10-07 06:54:25 +05:30
  • 62acca2b68 tomltestgen: add toml-test unit test generation command (#610) Cameron Moore 2021-10-03 21:15:30 -05:00
  • c42c3365f3 Support unmarshaling up to uint64 (#608) Wendell Sun 2021-09-28 07:11:21 +08:00
  • 476492a85c unmarshal: support lowercase 'T' and 'Z' in date-time parsing (#601) Cameron Moore 2021-09-25 12:02:23 -05:00
  • ee9b902222 unmarshal: convert ints if target type is compatible (#594) Thomas Pelletier 2021-09-09 21:25:14 -04:00