{"push_id":1654003696,"size":16,"distinct_size":1,"ref":"refs/heads/releases/2.0.0","head":"5ef7ee4d69098dcc3ec80b0088eb67123ce54759","before":"9527692baa5e6f68b6420f6af5268404342a4692","commits":[{"sha":"2ee5a226d52326490495ffd13295874328af55b5","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Use underscore functions for Trans metadata\n\nWhen a module uses `Trans`, two underscore functions will be added to provide\nthe necessary metadata for the `Trans.QueryBuilder` and `Trans.Translator`\nfunctions.\n\nThis underscore functions are:\n- `__trans__(:container)`, which returns the name of the translation container field.\n- `__trans__(:fields)`, which returns a list of the translatable fields.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/2ee5a226d52326490495ffd13295874328af55b5"},{"sha":"511b4ee728af51150c9d9eac1479db122778a696","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"(WIP) Refactor of QueryBuilder","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/511b4ee728af51150c9d9eac1479db122778a696"},{"sha":"f0c1d0cd10b6dc64a16c99d8cb536975cd84203b","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Remove translation container customization\n\nThe translation container customization allowed users to declare an\nalternative field (the default was `:translations`) as the field that\ncontained the translations for the schema.\n\nThis customization has been sacrificed to ease the rewrite of the\nQueryBuilder module. Now, Trans will always look in the `:translations`\nfield and there is no way to customize it.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/f0c1d0cd10b6dc64a16c99d8cb536975cd84203b"},{"sha":"b68fb7fb5925647ac9a03f8846d14236e3257578","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Refactor QueryBuilder module\n\nAll the functions of the `Trans.QueryBuilder` module have been removed\nand replaced with the macro `translated/2`. This macro generates\nan SQL Fragment and can be directly used from inside an `Ecto.Query`.\n\nThis removes the necessity of building the query before calling the\n`Trans.QueryBuilder` functions and integrates seamelessly with\n`Ecto.Query` provided functions for comparisons, etc.\nThis also permits adding conditions on joined schemas.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/b68fb7fb5925647ac9a03f8846d14236e3257578"},{"sha":"a682ec1f313a1a88d5d3a05c4cf4634d663bb735","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Update QueryBuilder tests with new query syntax\n\nThe QueryBuilder tests have been updated to use the newly introduced\n`translated` macro.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/a682ec1f313a1a88d5d3a05c4cf4634d663bb735"},{"sha":"69285e0d3f1bf124b64ee3a34255670901d556a8","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Update Translator module\n\nThe translator module does not require to be passed the name of the\ntranslation container field. The test have also been updated to reflect\nthis change.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/69285e0d3f1bf124b64ee3a34255670901d556a8"},{"sha":"1c9a8e353a58d2b21d2af39220432b67f83b3b0d","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Fix PostgreSQL JSONB operators precedence errors\n\nIn PostgreSQL 9.4 [1] the operators had different precedence rules than in\nPostgreSQL 9.5 or higher [2] (take a look at \"any other operator\" in the table.\n\nThis differences caused errors when triggering a query that contained something\nsimilar to `where a->b is not null`, which 9.4 would interpret as\n`where a->(b is not null)` and 9.5 or higher would interpret as\n`where (a->b) is not null`.\n\nThis commits adds parentheses around the JSONB accesses to avoid this kind of\nproblems by stating the desired preference explicitly.\n\n[1] https://www.postgresql.org/docs/9.4/static/sql-syntax-lexical.html\n[2] https://www.postgresql.org/docs/9.5/static/sql-syntax-lexical.html","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/1c9a8e353a58d2b21d2af39220432b67f83b3b0d"},{"sha":"e8d0d206f94c7d8fe998ab9e1bb0aeab34a295e2","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Remove unused import","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/e8d0d206f94c7d8fe998ab9e1bb0aeab34a295e2"},{"sha":"bbb905e58629957be49d1037a6d477a1211ffa22","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Improve Trans usage and docs\n\nOptions provided when using `Trans` are now stored into a module\nattribute.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/bbb905e58629957be49d1037a6d477a1211ffa22"},{"sha":"92d305ba830e95b0aacf7adbad208461dcda8f98","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Validate translatable fields during compilation\n\n`Trans` will validate the fields declared as translatable and raise an\nerror during compilation time if they are not declared in the module's\nstruct or schema definition.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/92d305ba830e95b0aacf7adbad208461dcda8f98"},{"sha":"4b0e5fd427c095856946b9e4612ba5d484b29c48","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Validate translated field in Trans.Translator\n\nTrans.Translator now validates that whether the field is translatable and\nprovides a useful error message instead of the default `KeyError`.\n\nDocs have been updated and typespecs added.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/4b0e5fd427c095856946b9e4612ba5d484b29c48"},{"sha":"d02711dd4554b074035dd8d186864c4eef7676be","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Check whether a field is translatable or not\n\nThe function `Trans.translatable?/2` checks whether a field is\ntranslatable or not.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/d02711dd4554b074035dd8d186864c4eef7676be"},{"sha":"c1c333fc23c4f508e87c55b325196f4df73d87b9","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Use `Trans.translatable?/2` from Translator module","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/c1c333fc23c4f508e87c55b325196f4df73d87b9"},{"sha":"cbb6ba1e84bbec9965007a794eab425fd6a26856","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Validate translated conditions in compile time\n\nThe macro `Trans.QueryBuilder.translated/3` now validates the translated\nfields before the macro expansion step. We will receive an error in\ncompilation time when adding conditions on untranslatable fields.","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/cbb6ba1e84bbec9965007a794eab425fd6a26856"},{"sha":"e51689cafe2e61d6f6c33268b1acb0ea3fef62b9","author":{"name":"belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Add docs for Trans.QueryBuilder","distinct":false,"url":"https://api.github.com/repos/belaustegui/trans/commits/e51689cafe2e61d6f6c33268b1acb0ea3fef62b9"},{"sha":"5ef7ee4d69098dcc3ec80b0088eb67123ce54759","author":{"name":"Cristian Álvarez Belaustegui","email":"ddd87d7475a9a87efdeb6d195ed8d77d787712f1@gmail.com"},"message":"Merge pull request #31 from belaustegui/issues/28-redesign-query-builder\n\nRedesign metadata and Query Builder","distinct":true,"url":"https://api.github.com/repos/belaustegui/trans/commits/5ef7ee4d69098dcc3ec80b0088eb67123ce54759"}]}
{"actor":{"display_login":"belaustegui"}}