Skip to content

Commit c258857

Browse files
🗃️ update CHANGELOG.md
1 parent 1778aa8 commit c258857

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## unreleased
55

6-
> 2021-08-26
6+
> 2021-08-28
77
88
### :art: Structure/Formating
99

@@ -36,6 +36,8 @@ changes access to sugar functions and store it in lib. It was weird typing out `
3636

3737
### :bug: Bug Fixes
3838

39+
- <a href="https://github.com/tami5/sql.nvim/commit/1778aa857367c17c1468cc85a64fcda542b5c252"><tt>1778aa8</tt></a> (parser) only check when type is table (closes <a href="https://github.com/tami5/sql.nvim/issues/103"> #103</a>)
40+
3941
<dl><dd><details><summary><a href="https://github.com/tami5/sql.nvim/commit/1c88610b902c122560fdd28683b101c755853a8e"><tt>1c88610</tt></a> extended tables referencing mutable db object + other fixes (<a href="https://github.com/tami5/sql.nvim/pull/00">#100</a>) (closes <a href="https://github.com/tami5/sql.nvim/issues/101"> #101</a>, <a href="https://github.com/tami5/sql.nvim/issues/99"> #99</a>)</summary>
4042

4143
- `table.extend` reference db object instead of `db.extend`ed object.
@@ -78,6 +80,32 @@ No breaking changes here :)
7880

7981
### :sparkles: Features
8082

83+
<dl><dd><details><summary><a href="https://github.com/tami5/sql.nvim/commit/25748dd0f8947533fe4cff14d8900ae30f774241"><tt>25748dd</tt></a> auto alter table key definition (<a href="https://github.com/tami5/sql.nvim/pull/03">#103</a>)</summary>
84+
85+
Support for modifying schema key definitions without wasting the table content. It has little support for renaming, in fact, renaming should be avoided for the time being.
86+
87+
✨ New:
88+
- `db:execute` for executing statement without any return.
89+
- emmylua classes`SqlSchemaKeyDefinition` and `SqliteActions`.
90+
- when a key has default, then all the columns with nulls will be replaced with the default.
91+
- support for auto altering key to reference a foreign key.
92+
93+
🐛 Fixes
94+
- when a foreign_keys is enabled on a connection, closing and opening disables it.
95+
96+
♻️ Changes
97+
- rename `db.sqlite_opts` to `db.opts`.
98+
99+
✅ Added Tests
100+
- auto alter: simple rename with idetnical number of keys
101+
- auto alter: simple rename with idetnical number of keys with a key turned to be required
102+
- auto alter: more than one rename with idetnical number of keys
103+
- auto alter: more than one rename with idetnical number of keys + default without required = true
104+
- auto alter: transform to foreign key
105+
- auto alter: pass sqlite.org tests
106+
107+
</details></dd></dl>
108+
81109
<dl><dd><details><summary><a href="https://github.com/tami5/sql.nvim/commit/73d8fa60e1037d0a8b58c898ed641430d8b0c0c4"><tt>73d8fa6</tt></a> dot access for extended tbl object (<a href="https://github.com/tami5/sql.nvim/pull/92">#92</a>)</summary>
82110

83111
Changes:

0 commit comments

Comments
 (0)