Commit Graph

  • a3d46d52a8 update module v2 v2.4.0 ostiwe 2026-04-14 12:40:39 +03:00
  • d4c88c121f test ostiwe 2026-04-14 12:37:33 +03:00
  • 89f970069c Remove Parser.Range and subsliceOffset pelletier/fix-range-offset-regression-c36f Cursor Agent 2026-04-12 19:17:12 +00:00
  • a646ffd9fa Make error position tracking explicit with Offset field on ParserError Cursor Agent 2026-04-12 19:08:55 +00:00
  • d75117e61f Consolidate subslice offset into a single SubsliceOffset function Cursor Agent 2026-04-12 18:33:22 +00:00
  • 19174a4293 Remove cap tricks, use address comparison for subslice offset Cursor Agent 2026-04-12 18:17:55 +00:00
  • 96ac48eb74 Remove optional offset and fallback, guarantee offset by construction Cursor Agent 2026-04-12 17:25:32 +00:00
  • f7136d052b Replace reflect-based subslice offset with cap arithmetic Cursor Agent 2026-04-12 17:08:58 +00:00
  • 154d80392f Cache error offset in ParserError for safer position tracking Cursor Agent 2026-04-12 13:00:38 +00:00
  • d528d3c6b4 Fix Parser.Range returning wrong offset for error highlights Cursor Agent 2026-04-12 12:40:14 +00:00
  • d15f1d131f fix parser error highlight offsets for non-suffix slices pelletier/fix-issue-1047-error-highlight-41d4 Cursor Agent 2026-04-12 12:26:40 +00:00
  • 80189ba449 fix(unstable): correct Parser.Range for non-suffix highlights pelletier/fix-parser-range-offset-68b8 Cursor Agent 2026-04-12 12:26:03 +00:00
  • b7ffaf15eb Move regression tests to public Unmarshal API with full error string assertions claude/fix-toml-error-messages-vmeUP Claude 2026-04-12 11:59:46 +00:00
  • 0248fc4c8c Fix incorrect error positions for non-suffix subslices in unstable.Parser.Range (#1047) Claude 2026-04-12 11:52:16 +00:00
  • fa98989475 fix: resolve lint issues and improve test coverage for TOML v1.1.0 claude/fix-lint-coverage-YBRfh Claude 2026-03-29 17:37:29 +00:00
  • f445202cb8 Fix goreleaser deprecation warnings claude/fix-goreleaser-deprecations-6Qafn Claude 2026-03-24 13:40:06 +00:00
  • f36a3ece9e Reduce marshal and unmarshal overhead (#1044) v2.3.0 Thomas Pelletier 2026-03-24 07:08:39 -04:00
  • e561c153ef Allow CAPABILITY_UNSAFE_POINTER in baseline claude/enforce-capability-limits-7dlaB Claude 2026-03-24 11:03:56 +00:00
  • 1ac4431db9 Remove CAPABILITY_UNSAFE_POINTER exclusion hack Claude 2026-03-24 10:53:59 +00:00
  • cad7681abe Scope capability check to library only, not cmd binaries Claude 2026-03-24 02:28:27 +00:00
  • 04f7e836d4 Guard against unsafe with source check, not capslock Claude 2026-03-24 02:26:06 +00:00
  • 58cf71231f Exclude CAPABILITY_UNSAFE_POINTER from capslock analysis Claude 2026-03-24 02:18:45 +00:00
  • 25efc11803 Add CAPABILITY_UNSAFE_POINTER to baseline for Go 1.26 Claude 2026-03-24 02:15:04 +00:00
  • 2336b98a36 Use Go 1.26 in CI, check for capability growth not exact match Claude 2026-03-24 02:05:24 +00:00
  • e0ceae2490 Fix capabilities CI: pin Go 1.24 and capslock v0.3.1 Claude 2026-03-24 02:01:33 +00:00
  • 77f3862df4 Fix benchmark script replacing internal package imports (#1042) Thomas Pelletier 2026-03-23 22:00:18 -04:00
  • 20a7856820 Simplify capability check to track names only, add docs and script Claude 2026-03-24 01:49:04 +00:00
  • 478c2ff9d8 Add CI check to enforce capability limits using capslock Claude 2026-03-24 01:40:56 +00:00
  • 16b1ef5508 Fix parser error pointing to wrong line when last line has no trailing newline (#1041) Thomas Pelletier 2026-03-23 21:34:12 -04:00
  • e14bde7c1d build(deps): bump docker/login-action from 3 to 4 (#1039) dependabot[bot] 2026-03-23 21:04:21 -04:00
  • 4b1ff01eb3 build(deps): bump docker/setup-buildx-action from 3 to 4 (#1040) dependabot[bot] 2026-03-23 21:04:11 -04:00
  • 189bf9820b test: parsing inline table João Fernandes 2026-03-03 14:03:57 +00:00
  • 048a25f0f2 Go 1.26 (#1030) Thomas Pelletier 2026-03-03 01:29:35 -05:00
  • 65de9dd18c ci(release): drop unsupported windows/arm targets pelletier/windows-arm-build-removal-0b38 Cursor Agent 2026-03-03 06:15:04 +00:00
  • a89d285578 build: remove windows/arm target from goreleaser fix-windows-arm-build-8225275677346656343 google-labs-jules[bot] 2026-03-03 06:01:40 +00:00
  • b3575580f9 build(deps): bump goreleaser/goreleaser-action from 6 to 7 (#1035) dependabot[bot] 2026-03-03 00:47:47 -05:00
  • a0be52f4c1 build(deps): bump actions/upload-artifact from 6 to 7 (#1036) dependabot[bot] 2026-03-03 00:47:35 -05:00
  • 316bfc66a4 Support Unmarshaler interface for tables and array tables (#1027) Thomas Pelletier 2026-02-11 09:57:23 -05:00
  • 8455b10edd test: regen toml-test tests targetting TOML v1.1.0 João Fernandes 2026-02-11 11:49:40 +00:00
  • 6de639d0ae docs: update README João Fernandes 2026-02-11 11:13:31 +00:00
  • 517ceb4eb8 feat: allow newlines and trailing commas in inline tables João Fernandes 2026-02-11 11:10:20 +00:00
  • dd7970eb93 feat: make seconds optional in datetime and time values João Fernandes 2026-02-11 11:08:39 +00:00
  • 3405e8a1d9 test: \e escape character João Fernandes 2026-02-11 11:05:19 +00:00
  • 5794be6251 feat: add \xHH escape sequence support in basic strings João Fernandes 2026-02-11 11:04:54 +00:00
  • 8df3b65280 Preserve original formatting in Unmarshaler by using raw byte ranges claude/resolve-pr-1027-conflicts-gedex Claude 2026-01-17 12:41:38 +00:00
  • 6c995ec13e Add Example tests and fix raw value extraction for boolean types Claude 2026-01-16 13:36:42 +00:00
  • 9f1bb6c97d Add double pointer test to achieve 100% coverage for handleKeyValues Claude 2026-01-16 13:22:05 +00:00
  • d3b9283095 Add test for dotted keys to improve coverage Claude 2026-01-16 01:23:56 +00:00
  • 013ffc24b8 Fix lint issues and improve test coverage for Unmarshaler interface Claude 2026-01-15 17:37:03 +00:00
  • 2762e24a9c Implement bytes-based Unmarshaler interface for tables and arrays (#873) Claude 2026-01-15 12:13:14 +00:00
  • 5b6828661c Support Unmarshaler interface for tables and array tables (#873) Claude 2026-01-15 03:01:45 +00:00
  • 2edc61f171 Fix panic when unmarshaling datetime values to incompatible types (#1028) (#1029) Thomas Pelletier 2026-01-23 22:04:40 -05:00
  • 4a1b05ca08 UnmarshalText fallbacks to struct unmarshaling for tables and arrays (#1026) Thomas Pelletier 2026-01-09 13:46:38 -05:00
  • 003aa0993b Fix nil pointer map values not being marshaled (#1025) Thomas Pelletier 2026-01-09 11:08:31 -05:00
  • 84d730b6c4 build(deps): bump golangci/golangci-lint-action from 8 to 9 (#1022) dependabot[bot] 2026-01-05 21:23:56 -05:00
  • 97bd897177 build(deps): bump actions/setup-go from 5 to 6 (#1023) dependabot[bot] 2026-01-05 21:23:35 -05:00
  • 7924b1816f build(deps): bump actions/checkout from 5 to 6 (#1024) dependabot[bot] 2026-01-05 21:23:15 -05:00
  • 2a07b6d9db Update to Go 1.25 (#1018) Thomas Pelletier 2026-01-04 13:59:18 -05:00
  • 692b98560b Support custom IsZero() methods with omitzero tag (#1020) Thomas Pelletier 2026-01-04 13:58:47 -05:00
  • 99cd40b175 Reject leap seconds to prevent year overflow (#1019) Thomas Pelletier 2026-01-04 13:40:19 -05:00
  • 3aaf147e3e Remove unsafe package usage (#1021) Thomas Pelletier 2026-01-04 13:16:47 -05:00
  • a675c6b3e2 Upgrade to golangci-lint v2 (#1008) Nathan Baulch 2026-01-05 01:54:29 +11:00
  • 530b363c2f Remove all usages of unsafe cursor/unsafe-package-removal-5147 Cursor Agent 2026-01-04 13:24:24 +00:00
  • f09f77ab06 Refactor unsafe pointer usage to use reflect.Type and pointers Cursor Agent 2026-01-04 03:11:48 +00:00
  • 9702fae9b8 Add AGENTS.md for AI agent contribution guidelines (#1017) Thomas Pelletier 2026-01-03 21:41:34 -05:00
  • 6f19f855f1 Fix leap second overflow in datetime parsing (#1015) claude/fix-go-toml-1015-nnIo4 Claude 2026-01-04 02:23:40 +00:00
  • 3cf1eb2312 improve Unmarshaling documentation (#1016) Alexander Hecke 2026-01-04 03:12:35 +01:00
  • 2af3554f90 Update toml-test to v1.6.0 (#1007) Nathan Baulch 2026-01-04 12:45:06 +11:00
  • 180c6ba2ba build(deps): bump actions/setup-go from 5 to 6 (#1002) dependabot[bot] 2026-01-03 20:43:53 -05:00
  • dafc4173ef build(deps): bump github/codeql-action from 3 to 4 (#1006) dependabot[bot] 2026-01-03 20:43:43 -05:00
  • f1a83be671 build(deps): bump actions/upload-artifact from 4 to 6 (#1011) dependabot[bot] 2026-01-03 20:43:33 -05:00
  • 5aeb70b3f0 build(deps): bump actions/checkout from 5 to 6 (#1010) dependabot[bot] 2026-01-03 20:43:20 -05:00
  • 8384a5683c Use constant format strings with Printf-like functions (#1013) W. Michael Petullo 2026-01-03 19:42:58 -06:00
  • 4369957cb4 Unwrap strict errors (#1012) Étienne BERSAC 2025-12-21 16:20:24 +01:00
  • a0e8464967 build(deps): bump actions/checkout from 4 to 5 (#1001) dependabot[bot] 2025-08-26 09:53:08 +02:00
  • c57d0d559f Add omitzero tag support (#998) Nathan Baulch 2025-08-25 16:06:48 +10:00
  • 644602b845 Script to test all versions of go (#1000) Thomas Pelletier 2025-08-24 12:40:29 +02:00
  • 36df8eef6e General cleanup (#999) Nathan Baulch 2025-08-24 20:18:46 +10:00
  • 18a2148713 Handle array table into an empty slice (#997) Thomas Pelletier 2025-08-21 12:05:41 +02:00
  • bc9958322f Add missing UnmarshalTOML call (#996) Thomas Pelletier 2025-08-21 10:39:23 +02:00
  • 6d56ac8027 marshal: don't escape quotes unnecessarily (#991) Dustin Spicuzza 2025-08-21 02:19:16 -04:00
  • 098464b61b build(deps): bump actions/checkout from 4 to 5 (#993) dependabot[bot] 2025-08-21 08:10:55 +02:00
  • 85e2448ce5 refactor: Simplify t.Fatalf (#984) Oleksandr Redko 2025-05-10 22:14:34 +03:00
  • ee07c9203b Update to go 1.24 (#982) v2.2.4 Thomas Pelletier 2025-04-07 07:11:38 -04:00
  • 014204cfb7 Replace stretchr/testify with an internal test suite (#981) Alex Mikitik 2025-04-07 03:36:37 -07:00
  • 923b2ab478 Fix typos in comments and tests (#972) Oleksandr Redko 2024-11-16 18:30:13 +02:00
  • af236b689f Fix goreleaser deprecated attribute name (#964) Thomas Pelletier 2024-08-23 13:56:48 -04:00
  • b730b2be5d Bump testing to go 1.23 (#961) v2.2.3 Thomas Pelletier 2024-08-17 16:26:05 -04:00
  • a437caafe5 Fix reflect.Pointer backward compatibility (#956) vito 2024-08-18 04:07:56 +08:00
  • be6c57be30 Fix readme typo(#951) guoguangwu 2024-08-18 03:56:40 +08:00
  • d55304782e Allow int, uint, and floats as map keys (#958) Daniel Weiße 2024-08-17 21:44:21 +02:00
  • 0977c05dd5 Update goreleaser action to v6 and set goreleaser binary to v2 (#959) Daniel Weiße 2024-08-17 21:40:55 +02:00
  • bccd6e48f4 allocate unstable.Parser as part of decoder (#953) Daniel Martí 2024-05-24 19:49:06 +01:00
  • 9b890cf9c5 go.mod: bump minimum and language to 1.21 (#949) Daniel Martí 2024-05-24 15:58:39 +01:00
  • a3d5a0bb53 fix: sync pool race condition (#947) v2.2.2 大可 2024-04-29 18:02:54 +08:00
  • d00d2cca6e Fix indentation of custom type arrays (#944) v2.2.1 Daniel Weiße 2024-04-12 16:42:12 +02:00
  • 86608d7fca build(deps): bump github/codeql-action from 2 to 3 (#919) v2.2.0 dependabot[bot] 2024-03-19 13:24:46 -04:00
  • 4a1877957a build(deps): bump actions/setup-go from 4 to 5 (#916) dependabot[bot] 2024-03-19 13:24:37 -04:00
  • 3021d6d033 build(deps): bump actions/upload-artifact from 3 to 4 (#920) dependabot[bot] 2024-03-19 13:24:24 -04:00
  • 32788f26f8 Update release instructions (#941) Thomas Pelletier 2024-03-19 12:47:39 -04:00