schema: remember NULL on column definitions
[sqlgg.git] / changelog
blob8762d09a0876c6792e408bfd0392e3c61250c057
1 sqlgg changelog
2 ---------------
4 0.4.5
5 2018-10-16
6         * improve type resolution for functions
7         * improve single-row detection
8         * improve type for numeric expressions a bit
9         * sql: ANY_VALUE, IS NOT DISTINCT FROM, COUNT(DISTINCT ...), from_unixtime,
10                 IFNULL, NULLIF, multi-value INSERT
11         * sql: more datetime functions (sqlite)
12         * caml: generate List module
13         * forbid `-params none` with autogenerated parameters
14         * mysql: allow override value types
16 0.4.4
17 2018-03-10
18         * build: switch to ppx_deriving, fixes build with OCaml 4.06
20 0.4.3
21 2017-09-30
22         * build: fix again
24 0.4.2
25 2017-09-30
26         * build: static oasis setup
28 0.4.1
29 2017-09-30
30         * build: do not require mysql and sqlite3
32 0.4.0
33 2017-09-30
34         * sql: many typing improvements
35         * sql: SELECT FOR UPDATE, ON UPDATE, ON DELETE, ON DUPLICATE KEY UPDATE,
36                 IS NOT? NULL, INTERVAL, CREATE INDEX column(N), VALUES function, UUID,
37                 SELECT IF
38         * sql: parse stored procedures
39         * sql: dynamically add functions
40         * ocaml: support multiple substitutions in queries
41         * ocaml: install traits and implementations as subpackages
43 0.3.0
44 2015-04-14
45         * fix common prefix truncation for automatic variable names
46         * -no-header option
47         * ocaml: support datetime and float types
48         * sql: allow SELECT without FROM
49         * switch build system to oasis
50         * start split out sql parsing library
52 0.2.5
53 2014-04-25
54         * require ocamlfind, OUnit2 compatibility
55         * xml: output more query information (Petter Urkedal)
56         * sql: support PostgreSQL parameters (Petter Urkedal)
58 0.2.4
59 2013-09-16
60         + sql: more SQL
61         + `-gen none` to suppress output
62         + `-show-tables` to list tables
63         * treat all input files as one stream of statements
64         * do not generate code on errors
65         + ocaml: mysql traits, Fold callbacks
66         * simplify build
67         * allow ad-hoc substitution in generated sql (experimental)
69 0.2.3
70 2009-08-24
71         + sql: detect single-row SELECT (LIMIT 1, grouping without GROUP BY)
72         + ocaml: more robust traits
73         + sqlgg: noparse attribute
74         + sql: ORDER BY, explicit VALUES, CREATE LIKE, INSERT INTO ... SELECT,
75                         multi-table UPDATE, CASE, CREATE INDEX
76         + csharp: IEnumerable<>
78 0.2.2
79 2009-06-28
80         + generate C#
81         + parse table constraints
82         + reuse prepared statements
83         + substitute params syntax in queries to match target
84         + parse more SQL (mysql quirks, ALTER, DROP TABLE, INSERT SET)
85         + better infer types for UPDATE SET
87 0.2.1
88 2009-06-02
89         + generate XML and Java
90         + c++ traits for mysql
91         + parse more SQL
93 0.2.0
94 2009-05-17
95         + understands all basic SQL
96         + generate OCaml and C++
98 0.1.0
99 2009-05-05
100         + cleaned up old code