{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":8387179,"defaultBranch":"master","name":"toml","ownerLogin":"uiri","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2013-02-24T06:07:30.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/364765?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1604194862.0","currentOid":""},"activityList":{"items":[{"before":"6d51c0ac52d55da4d0509a4006648d66cacab454","after":"65bab7582ce14c55cdeec2244c65ea23039c9e6f","ref":"refs/heads/master","pushedAt":"2023-10-11T00:54:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"uiri","name":"Will Pearson","path":"/uiri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/364765?s=80&v=4"},"commit":{"message":"Treat \"Z\" offset in datetime as case-insensitive (#435)\n\nThis should be case-insensitive; e.g. this test failed:\r\n\r\n\t% toml-test ./tests/decoding_test.py -run valid/datetime/datetime\r\n\tFAIL valid/datetime/datetime\r\n\t Key \"lower\" is not \"datetime\" but \"datetime-local\":\r\n\t Expected: map[string]any{\"type\":\"datetime\", \"value\":\"1987-07-05T17:45:00Z\"}\r\n\t Your encoder: map[string]any{\"type\":\"datetime-local\", \"value\":\"1987-07-05T17:45:00\"}","shortMessageHtmlLink":"Treat \"Z\" offset in datetime as case-insensitive (#435)"}},{"before":"f6e1e4c65b513544367fe88576ef1895eccded74","after":"6d51c0ac52d55da4d0509a4006648d66cacab454","ref":"refs/heads/master","pushedAt":"2023-10-11T00:53:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"uiri","name":"Will Pearson","path":"/uiri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/364765?s=80&v=4"},"commit":{"message":"Allow using heterogeneous arrays (#434)\n\nThis is valid since TOML 1.0","shortMessageHtmlLink":"Allow using heterogeneous arrays (#434)"}},{"before":"ce4f7a4ed14480171abf67c8bc80e2277e45d1d5","after":"f6e1e4c65b513544367fe88576ef1895eccded74","ref":"refs/heads/master","pushedAt":"2023-10-10T15:36:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"uiri","name":"Will Pearson","path":"/uiri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/364765?s=80&v=4"},"commit":{"message":"Fix toml-test scripts (#433)\n\nUpdate tests/decoding_test.py to use the format used by the current\r\nversion of toml-test. I also removed Python 2 support (my distro doesn't\r\nship it, so I can't test it).\r\n\r\nAlso add tests/encoding_test.py for encoder tests\r\n\r\nStill quite a few failures, mostly because it looks like it hasn't been\r\nupdated to use 1.0 yet:\r\n\r\n % toml-test ./decoding_test.py | tail -n2\r\n valid tests: 139 passed, 18 failed\r\n invalid tests: 230 passed, 53 failed\r\n\r\n % toml-test ./encoding_test.py -encoder | tail -n1\r\n encoder tests: 146 passed, 11 failed","shortMessageHtmlLink":"Fix toml-test scripts (#433)"}},{"before":"2a8e94e777fe03fe3ff0d410d11c638cfe872225","after":"ce4f7a4ed14480171abf67c8bc80e2277e45d1d5","ref":"refs/heads/master","pushedAt":"2023-10-10T06:03:19.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"uiri","name":"Will Pearson","path":"/uiri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/364765?s=80&v=4"},"commit":{"message":"iterate over all files in toml-test/tests/{valid,invalid}, including sub dirs (#427)","shortMessageHtmlLink":"iterate over all files in toml-test/tests/{valid,invalid}, including …"}},{"before":"06f54ed2a063cdae04424baea0611fb5b281f82b","after":"2a8e94e777fe03fe3ff0d410d11c638cfe872225","ref":"refs/heads/master","pushedAt":"2023-10-10T01:26:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"uiri","name":"Will Pearson","path":"/uiri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/364765?s=80&v=4"},"commit":{"message":"Add github CI (#432)\n\nCo-authored-by: Bohdan Vanieiev ","shortMessageHtmlLink":"Add github CI (#432)"}},{"before":"7ffcfa3a08ffdbead6c814bcbb7c3fcd1f3a499d","after":"06f54ed2a063cdae04424baea0611fb5b281f82b","ref":"refs/heads/master","pushedAt":"2023-10-08T16:57:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"uiri","name":"Will Pearson","path":"/uiri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/364765?s=80&v=4"},"commit":{"message":"Fix #430: list index out of range (#431)\n\nCo-authored-by: Bohdan Vanieiev ","shortMessageHtmlLink":"Fix #430: list index out of range (#431)"}},{"before":"5706d3155f4da8f3b84875f80bfe0dfc6565f61f","after":"7ffcfa3a08ffdbead6c814bcbb7c3fcd1f3a499d","ref":"refs/heads/master","pushedAt":"2023-09-20T04:48:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"uiri","name":"Will Pearson","path":"/uiri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/364765?s=80&v=4"},"commit":{"message":"Support subtypes of basic types when encoding (#428)\n\nThe current implementation of `TomlEncoder` doesn't support subtypes of the supported basic types. For example:\r\n\r\n```py\r\nfrom enum import StrEnum\r\nimport toml\r\n\r\nclass ValidStrings(StrEnum):\r\n FOO = \"foo\"\r\n\r\nassert isinstance(ValidStrings.FOO, str) # OK\r\ndata = {\"foo\": ValidStrings.FOO}\r\nprint(toml.dumps(data))\r\n```\r\n\r\nOutput:\r\n```\r\nfoo = [ \"f\", \"o\", \"o\",]\r\n```\r\n\r\nThis pull request changes the implementation to use `isinstance` instead of `get(type(...))` to play nice with inheritence.\r\n\r\nFixes #418","shortMessageHtmlLink":"Support subtypes of basic types when encoding (#428)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMC0xMVQwMDo1NDoxMC4wMDAwMDBazwAAAAOUH8mr","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0xMC0xMVQwMDo1NDoxMC4wMDAwMDBazwAAAAOUH8mr","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOS0yMFQwNDo0ODoxNy4wMDAwMDBazwAAAAOEd9qx"}},"title":"Activity · uiri/toml"}