{"push_id":1271283084,"size":190,"distinct_size":190,"ref":"refs/heads/master","head":"4932f18f6824927c434c88d45108d40d7080404e","before":"d360fe44fa082772f09f4f4d300f99a70e3b202c","commits":[{"sha":"9d51ae5615d05d4e54174cf41da76129593dc265","author":{"name":"Georg Semmler","email":"173bac137b185b18fd4688dd6cb19e72025e28a2@web.de"},"message":"Implement infer_schema for sqlite\n\n* refactor postgres implementation to be more generic\n* add implementation for sqlite","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/9d51ae5615d05d4e54174cf41da76129593dc265"},{"sha":"1172358a7eb389e1eed8c2378fe39a2e7c31e041","author":{"name":"Georg Semmler","email":"173bac137b185b18fd4688dd6cb19e72025e28a2@web.de"},"message":"Update .travis.yaml\n\n* Set the correct database url for sqlite\n* Use Backend config for codegen tests","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/1172358a7eb389e1eed8c2378fe39a2e7c31e041"},{"sha":"e3bc74f3445336d8c87f32a47b5a9631eda72d32","author":{"name":"Matt Casper","email":"b7610869dd3d26d0dc60859168e316d853d314f0@gmail.com"},"message":"Allow for syntex and syntex_syntax up to 0.30.0\n\nResolves #241","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/e3bc74f3445336d8c87f32a47b5a9631eda72d32"},{"sha":"24a45c9ffc58b976c277e3e19be10013913a591e","author":{"name":"Matt Casper","email":"b7610869dd3d26d0dc60859168e316d853d314f0@gmail.com"},"message":"Merge pull request #242 from mcasper/bump_syntex\n\nBump syntex and syntex_syntax to 0.30.0","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/24a45c9ffc58b976c277e3e19be10013913a591e"},{"sha":"2a9902e66c952761f3fe508d0c2d9eb4bb7abc31","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Release v0.5.4\n\nThe only crate that was released was `diesel_codegen`, which contains\nno changes other than 24a45c9.","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/2a9902e66c952761f3fe508d0c2d9eb4bb7abc31"},{"sha":"2df569807f8462bf86d423df5d6b62224cb81cb9","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Fix code style issues for #226","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/2df569807f8462bf86d423df5d6b62224cb81cb9"},{"sha":"306323ba786e5dd0910d036842a801f95fe0cca4","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Merge pull request #226 from weiznich/sqlite_infer_schema\n\nImplement infer_schema for sqlite","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/306323ba786e5dd0910d036842a801f95fe0cca4"},{"sha":"7302674d3f385f62f630ec4fc468ae11cc0cb52c","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Update the local test script to handle #226","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/7302674d3f385f62f630ec4fc468ae11cc0cb52c"},{"sha":"c7b84d5a0b0e2dc9508e291ab954ce185b82d61e","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Provide better error information when `infer_schema!` fails to connect\n\nJust saying \"failed to establish a database connection\" with no\nadditional info is infuriating.","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/c7b84d5a0b0e2dc9508e291ab954ce185b82d61e"},{"sha":"44d4ccbf1288eee4ddeefa0004ff80d91f5cfe0b","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Add a changelog entry for `infer_schema!` on SQLite","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/44d4ccbf1288eee4ddeefa0004ff80d91f5cfe0b"},{"sha":"e7f597a4bd466c9b66c7b1675381032bafa2d76a","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Add `#into_boxed` to all queries, for conditional changes\n\nThis is the first pass of what will be a much larger feature. The\nintention is to support cases such as this:\n\n```rust\nlet mut source = users::table.into_boxed();\n\nif let Some(search) = params.search {\n    source = source.filter(name.like(format!(\"%{}%\", search)));\n}\n\nif let Some(order) = column_with_name(params.order) {\n    source = source.order(order.desc());\n}\n\nlet users = source.load(&connection);\n```\n\nRight now, this is basically impossible, as `source` needs to have the\nsame type, and each query in diesel has a unique type. This *will*\nresult in a slowdown of the query builder when used (though I think we\ncan still work to eliminate this cost through prepared statement\ncaching). However, this will not affect the performance of anything that\nisn't using it.\n\nAs of this commit, we do not achieve the above use case, as\n`BoxedSelectStatement` doesn't implement any of our query DSLs. The\nintent is to have it implement all of them, but this felt like a good\nplace to cut a first pass.\n\nThis will fail to compile due to\nhttps://github.com/rust-lang/rust/issues/32222. We can resolve this by\npointing at `nightly-2016-03-05` if needed, but hopefully that can be\nresolved upstream in the next day or two.","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/e7f597a4bd466c9b66c7b1675381032bafa2d76a"},{"sha":"4f5f35f5c2a39925918b4d587e2fbf904f874a08","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Take advantage of expression level attributes\n\nNow that 1.7 is stable, we can place cfg attrs on expressions and\nstatements, which allows us to remove a lot of our duplicated functions\nin favor of a single function definition, with cfg dependent match arms.\nOne function in the `infer_schema` module had to be rewritten a bit to\nbe in the form of a match expression, as for some reason this still\nisn't allowed for if statements.\n\nOne thing that I noticed is that our backend dependent code in\n`diesel_cli` could be written to use an enum instead of the string\nmatching that we have now. We should make that change in the future.\n\nThere may be a few cases that I missed. I looked for the fixme comments,\nbut there were several functions added in #226 that weren't marked. I\ndid a cursory glance to find any cases, but didn't exhaustively search.","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/4f5f35f5c2a39925918b4d587e2fbf904f874a08"},{"sha":"fe05bfb16e3eda3700fcb6ae1bac7b8c8c304efd","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Fix travis when using syntex\n\nI didn't properly set up our features to actually include syntex in the\nintegration tests","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/fe05bfb16e3eda3700fcb6ae1bac7b8c8c304efd"},{"sha":"e2d2bf3910c5153c18f8d46074600b25b45630d3","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Implement `Send` and `Sync` for `Error`\n\nThis required having `ToSql` and `FromSql` have these bounds, along with\nany traits that bubble up errors from these traits.\n\nFixes #243.","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/e2d2bf3910c5153c18f8d46074600b25b45630d3"},{"sha":"3e402ef86ae4029658fe380ab32cb76b7d9688b0","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Bump the max table size to 52\n\nI've put this behind another feature gate instead of just upping\n`large-tables`, as running `(cd diesel && cargo test --features\nhuge-tables)` takes several minutes to compile on my machine.","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/3e402ef86ae4029658fe380ab32cb76b7d9688b0"},{"sha":"1e5d1c0f0ef1f2d3776d5e3557b58e4a600bfc2e","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Update benchmarks to account for recent changes","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/1e5d1c0f0ef1f2d3776d5e3557b58e4a600bfc2e"},{"sha":"5c1d4c658c7fd75de79290f21d4a1109d0aa5359","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Fix build failures occurring on the postgres\n\nThis issue occurred when the boxed queries feature was merged, but is\nunrelated to that feature. It was caused by that pull request due to the\nnaming of its tests.\n\nThe reason for this issue is that PG doesn't treat primary keys as\nspecial. Doing `INSERT INTO users (id) VALUES (1)` won't increment the\ncounter it uses to set the primary key. Since we're manually specifying\nthe id for the first two rows in the users table, unless something has\ninserted at least 2 rows with a \"default\" ID, we'll get an error.\n\nThis issue occurred on Travis but could not be reproduced locally due to\nthe parallelisation of tests. Travis only uses a single core to run.\nWhen run in parallel, tests which insert rows with a default id were run\nbefore this test.\n\nWe have to resort to calling `nextval` twice here, instead of something\nmore obvious. When the value is just set to 2, it causes a race\ncondition between tests when they're run in parallel, and we can no\nlonger assume that a newly inserted row has an id greater than the old\none. We also can't do `setval('users_id_seq', greatest(2,\ncurrval('users_id_seq')))`, as PG errors if the value hasn't been set\nyet. We can't even just check for an error and set it conditionally to\n2, because an error in PG will abort the transaction.","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/5c1d4c658c7fd75de79290f21d4a1109d0aa5359"},{"sha":"3a7a40aa3419d99cd00cdf73e16bffca487450bf","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Remove debugging bits that shouldn't have been committed","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/3a7a40aa3419d99cd00cdf73e16bffca487450bf"},{"sha":"47c26ea72bfadc5f4268b1921627298a36d3dda9","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"Allow omitting the return type from `sql_function!`\n\nI've been debugging the build failures, and realized that I wanted this\nfunctionality. Seems like an oversight not to have it. Forcing `-> ()`\nis a pain.","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/47c26ea72bfadc5f4268b1921627298a36d3dda9"},{"sha":"d259b10ae8a4811f8e68a5771af3811914286ef1","author":{"name":"Sean Griffin","email":"745a5948f3a29be7b294faa8063f9998c214afbb@seantheprogrammer.com"},"message":"ಠ_ಠ","distinct":true,"url":"https://api.github.com/repos/mcasper/diesel/commits/d259b10ae8a4811f8e68a5771af3811914286ef1"}]}
{"actor":{"display_login":"mcasper"}}