Skip to content

Commit 7d63559

Browse files
committed
update changelog and bump copyright
1 parent 0390b85 commit 7d63559

File tree

2 files changed

+51
-44
lines changed

2 files changed

+51
-44
lines changed

CHANGELOG.md

Lines changed: 50 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,93 @@
11
# Changes
22

3+
## v1.1.0
4+
5+
- Add support for --classic-ids.
6+
- Re-order operations so that deleteOthers is done before inserting a
7+
new row.
8+
- Fix parenthesis wrapping for tables with multiple keys.
9+
310
## v1.0.1
411

5-
* Correctly release the savepoint on error (thanks @sijad).
6-
12+
- Correctly release the savepoint on error (thanks @sijad).
13+
714
## v1.0.0
815

9-
* Bump dependencies.
10-
* Guard against creating updater fields where constraint is not available.
16+
- Bump dependencies.
17+
- Guard against creating updater fields where constraint is not available.
1118

1219
## v1.0.0-alpha.22
1320

14-
* Fix bug where if an update mutation was called that did not locate
15-
a row, we'd still try and extract the PKs.
16-
21+
- Fix bug where if an update mutation was called that did not locate
22+
a row, we'd still try and extract the PKs.
23+
1724
## v1.0.0-alpha.21
1825

19-
* Really fix `updateByNodeId`. Thanks for the report @ken0x0a!
26+
- Really fix `updateByNodeId`. Thanks for the report @ken0x0a!
2027

2128
## v1.0.0-alpha.20
2229

23-
* Fix case where a mutation specified `nestedMutationField: null`.
30+
- Fix case where a mutation specified `nestedMutationField: null`.
2431

2532
## v1.0.0-alpha.19
2633

27-
* `deleteOthers` now is not in the schema where the foreign table
28-
has `@omit delete`.
29-
* Fixed error that prevented `updateByNodeId` from working.
34+
- `deleteOthers` now is not in the schema where the foreign table
35+
has `@omit delete`.
36+
- Fixed error that prevented `updateByNodeId` from working.
3037

3138
## v1.0.0-alpha.18
3239

33-
* Correctly handle `null` values to connect and update fields.
40+
- Correctly handle `null` values to connect and update fields.
3441

3542
## v1.0.0-alpha.17
3643

37-
* Add support for `@fieldName` and `@foreignFieldName` smart comments on
38-
foreign keys to match those used in PostGraphile. The original
39-
`@forwardMutationName` and `@reverseMutationName` smart comments will
40-
remain to allow for renaming the fields just for nested mutations.
44+
- Add support for `@fieldName` and `@foreignFieldName` smart comments on
45+
foreign keys to match those used in PostGraphile. The original
46+
`@forwardMutationName` and `@reverseMutationName` smart comments will
47+
remain to allow for renaming the fields just for nested mutations.
4148

4249
## v1.0.0-alpha.16
4350

44-
* Support `deleteOthers` where there are no other records modified. Thanks
45-
@srp.
51+
- Support `deleteOthers` where there are no other records modified. Thanks
52+
@srp.
4653

4754
## v1.0.0-alpha.15
4855

49-
* The patch type for nested updates now correctly omits the keys that are
50-
the subject of the nested mutation.
56+
- The patch type for nested updates now correctly omits the keys that are
57+
the subject of the nested mutation.
5158

5259
## v1.0.0-alpha.14
5360

54-
* Support for updating nested records.
61+
- Support for updating nested records.
5562

5663
## v1.0.0-alpha.13
5764

58-
* 1:1 relationships no longer allow a list of objects, or allow multiple
59-
operations, preventing a constraint violation.
65+
- 1:1 relationships no longer allow a list of objects, or allow multiple
66+
operations, preventing a constraint violation.
6067

6168
## v1.0.0-alpha.11
6269

63-
* *BREAKING* One-to-one relationships are now correctly named in the singular. To
64-
keep using the old behaviour, use the `nestedMutationsOldUniqueFields` option.
65-
* *BREAKING* The `connect` field has been removed. In its place is `connectByNodeId`
66-
which takes a nodeId, and `connnectBy<PK Fields>` for the table's primary key and
67-
each unique key.
68-
* Nested mutations on update mutations are now supported.
69-
* Existing rows can be now be `connected`.
70-
* Multiple actions per nested type may now be specified (i.e. create some records
71-
and connect others).
72-
* A new field has been added on nested mutations: `deleteOthers`. When set to `true`,
73-
any related rows not updated or created in the nested mutation will be deleted. To
74-
keep a row that is not being created or updated, specify it for update with no
75-
modified fields.
76-
* Relationships between two tables that have multiple relationships are now supported.
77-
Previously, the last constraint would overwrite the others. These will usually end
78-
up with some pretty awkward names, so the use of smart comments to name the relationships
79-
is recommended.
80-
* Improved test suite.
70+
- _BREAKING_ One-to-one relationships are now correctly named in the singular. To
71+
keep using the old behaviour, use the `nestedMutationsOldUniqueFields` option.
72+
- _BREAKING_ The `connect` field has been removed. In its place is `connectByNodeId`
73+
which takes a nodeId, and `connnectBy<PK Fields>` for the table's primary key and
74+
each unique key.
75+
- Nested mutations on update mutations are now supported.
76+
- Existing rows can be now be `connected`.
77+
- Multiple actions per nested type may now be specified (i.e. create some records
78+
and connect others).
79+
- A new field has been added on nested mutations: `deleteOthers`. When set to `true`,
80+
any related rows not updated or created in the nested mutation will be deleted. To
81+
keep a row that is not being created or updated, specify it for update with no
82+
modified fields.
83+
- Relationships between two tables that have multiple relationships are now supported.
84+
Previously, the last constraint would overwrite the others. These will usually end
85+
up with some pretty awkward names, so the use of smart comments to name the relationships
86+
is recommended.
87+
- Improved test suite.
8188

8289
## v1.0.0-alpha.7
8390

8491
Relationships using composite keys are now supported, and this has meant creating
8592
a custom field name for the nested mutation, rather than piggybacking an existing ID
86-
field. See the examples below for the new GraphQL schema that is generated.
93+
field. See the examples below for the new GraphQL schema that is generated.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018-2019 Mark Lipscombe
3+
Copyright (c) 2018-2021 Mark Lipscombe
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)