{"sha": "d0a578c0fc07b9d9208cd9de981bdf7385a26c49", "message": "Switch back from python:3.6-slim-stretch to python:3.6\n\nTurns out slim-stretch doesn't include gcc which means it can't build various\nSanic dependencies. So `datasette publish now ...` was broken.\n\nFixes #310", "author_date": "2018-06-16T16:28:55Z", "committer_date": "2018-06-16T16:28:55Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "7e0caa1e62607c6579101cc0e62bec8899013715", "message": "Extract string-to-bool logic into utils.py", "author_date": "2018-06-16T16:44:31Z", "committer_date": "2018-06-16T16:44:31Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "0c22fa8f09e9fce7434d5fc83bcfb73c25795205", "message": "Cleaned up view_definition/table_definition code in table view\n\nAlso moved those out of standard JSON into just the HTML template context", "author_date": "2018-06-16T17:33:17Z", "committer_date": "2018-06-16T17:33:17Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}} {"sha": "ed631e690b81e34fcaeaba1f16c9166f1c505990", "message": "?_labels= and ?_label=COL to expand foreign keys in JSON/CSV\n\nThese new querystring arguments can be used to request expanded foreign keys\nin both JSON and CSV formats.\n\n?_labels=on turns on expansions for ALL foreign key columns\n\n?_label=COLUMN1&_label=COLUMN2 can be used to pick specific columns to expand\n\ne.g. `Street_Tree_List.json?_label=qSpecies&_label=qLegalStatus`\n\n {\n \"rowid\": 233,\n \"TreeID\": 121240,\n \"qLegalStatus\": {\n \"value\" 2,\n \"label\": \"Private\"\n }\n \"qSpecies\": {\n \"value\": 16,\n \"label\": \"Sycamore\"\n }\n \"qAddress\": \"91 Commonwealth Ave\",\n ...\n }\n\nThe labels option also works for the HTML and CSV views.\n\nHTML defaults to `?_labels=on`, so if you pass `?_labels=off` you can disable\nforeign key expansion entirely - or you can use `?_label=COLUMN` to request\njust specific columns.\n\nIf you expand labels on CSV you get additional columns in the output:\n\n`/Street_Tree_List.csv?_label=qLegalStatus`\n\n rowid,TreeID,qLegalStatus,qLegalStatus_label...\n 1,141565,1,Permitted Site...\n 2,232565,2,Undocumented...\n\nI also refactored the existing foreign key expansion code.\n\nCloses #233. Refs #266.", "author_date": "2018-06-16T22:18:57Z", "committer_date": "2018-06-16T22:18:57Z", "raw_author": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 9599, "label": "simonw"}, "committer": {"value": 9599, "label": "simonw"}}