Skip to content

Commit 3747a20

Browse files
committed
chore: fix up changelog formatting
1 parent cdd33c7 commit 3747a20

File tree

1 file changed

+45
-26
lines changed

1 file changed

+45
-26
lines changed

CHANGELOG.md

Lines changed: 45 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,64 @@
11
# 5.2.0
22

3-
- feat: Added a `reset` method to all API caller objects. This method resets all stateful fields on the object to default values.
3+
## Features
4+
5+
- Added a `reset` method to all [API caller objects](https://intellitect.github.io/Coalesce/stacks/vue/layers/api-clients.html#api-callers). This method resets all stateful fields on the object to default values.
6+
- Template: Added username/password auth option (aka individual user accounts, aka local accounts)
47

58
# 5.1.0
69

7-
- feat: All Coalesce-generated endpoints that accept a formdata body now also accept a JSON body. Existing formdata endpoints remain unchanged. `coalesce-vue` does not yet use these new endpoints.
8-
- feat: Automatically produce user-friendly response messages in behaviors for Save and Delete operations that fail due to a violation of a SQL Server foreign key or unique constraint. This behavior can be controlled with the `DetailedEfConstraintExceptionMessages` setting in `.AddCoalesce(c => c.Configure(o => { ... }))`, or by overriding `StandardBehaviors.GetExceptionResult`. This is not a substitute for adding proper validation or other handling of related entities - it only exists to provide a better user experience in cases where the developer has forgotten to handle these situations. This behavior does respect Coalesce's security model and won't produce descriptions of types or values that the user is not allowed to see. (#468)
9-
- feat: Error responses now include inner exception messages when `DetailedExceptionMessages` is enabled. (#468)
10-
- feat: Add additional audit configuration methods to allow for allow-listing certain properties.
11-
- feat(c-admin-table): Clicking a row takes you to the details page (#465)
12-
- feat(c-admin-table): Always show button for details page (#465)
10+
## Features
11+
12+
- All Coalesce-generated endpoints that accept a formdata body now also accept a JSON body. Existing formdata endpoints remain unchanged. `coalesce-vue` does not yet use these new endpoints.
13+
- Automatically produce user-friendly response messages in behaviors for Save and Delete operations that fail due to a violation of a SQL Server foreign key or unique constraint. This behavior can be controlled with the `DetailedEfConstraintExceptionMessages` setting in `.AddCoalesce(c => c.Configure(o => { ... }))`, or by overriding `StandardBehaviors.GetExceptionResult`. This is not a substitute for adding proper validation or other handling of related entities - it only exists to provide a better user experience in cases where the developer has forgotten to handle these situations. This behavior does respect Coalesce's security model and won't produce descriptions of types or values that the user is not allowed to see. (#468)
14+
- Error responses now include inner exception messages when `DetailedExceptionMessages` is enabled. (#468)
15+
- Add additional audit configuration methods to allow for allow-listing certain properties.
16+
- `c-admin-table`: Clicking a row takes you to the details page (#465)
17+
- `c-admin-table`: Always show button for details page (#465)
18+
19+
20+
## Fixes
21+
22+
- Service controllers missing `ActionResult File(IFile)` method. (#474)
23+
- Handle sequences of digits when converting PascalCase to Title Case ("Is24h" => "Is 24h") (#469)
24+
- `c-select`: Not respecting disabled/readonly state in all cases when opening menu (#473)
25+
- `c-select`: The "Max _N_ items retrieved" message now accounts for list calls that don't provide a count, e.g. by passing `noCount=true`.
26+
- `c-admin-editor`: Don't show save button when read-only
27+
- `c-admin-table`: Surgical saves not working for items added with the "Add Item" button in editable mode. (#472)
1328

14-
- fix: Service controllers missing `ActionResult File(IFile)` method. (#474)
15-
- fix: Handle sequences of digits when converting PascalCase to Title Case ("Is24h" => "Is 24h") (#469)
16-
- fix(c-select): Not respecting disabled/readonly state in all cases when opening menu (#473)
17-
- fix(c-select): The "Max _N_ items retrieved" message now accounts for list calls that don't provide a count, e.g. by passing `noCount=true`.
18-
- fix(c-admin-editor): Don't show save button when read-only
19-
- fix(c-admin-table): Surgical saves not working for items added with the "Add Item" button in editable mode. (#472)
29+
## Other
2030

21-
- refactor: `CoalesceOptions.DetailedEntityFrameworkExceptionMessages` has been renamed to `CoalesceOptions.DetailedEFMigrationExceptionMessages`
31+
- `CoalesceOptions.DetailedEntityFrameworkExceptionMessages` has been renamed to `CoalesceOptions.DetailedEFMigrationExceptionMessages`
2232

2333
# 5.0.3
2434

25-
- fix: Remove flawed logic that chooses the wrong foreign key for navigation properties where the target type of the navigation property has a primary key that also serves as a foreign key in some other relationship. In exceedingly rare cases, you may now have to add a `[ForeignKey(Name = ...)]` attribute to any navigation properties that may now throw a codegen validation error that their foreign key property cannot be discovered automatically. Related to this issue, `ClassViewModel.IsOneToOne` is now deprecated and slated for future removal.
35+
## Fixes
36+
37+
- Remove flawed logic that chooses the wrong foreign key for navigation properties where the target type of the navigation property has a primary key that also serves as a foreign key in some other relationship. In exceedingly rare cases, you may now have to add a `[ForeignKey(Name = ...)]` attribute to any navigation properties that may now throw a codegen validation error that their foreign key property cannot be discovered automatically. Related to this issue, `ClassViewModel.IsOneToOne` is now deprecated and slated for future removal.
2638

2739
# 5.0.2
2840

29-
- feat: Make "not found" messages from data sources clearer when the ID is null or empty string. (#447)
30-
- feat(template): Added multi-tenancy options to the template. (#441, #461)
31-
- fix(template): adjust manual chunking configuration to avoid circular deps. (#455)
32-
- fix(audit): key props now respect configured property exclusions.
33-
- fix(audit): improper default formatting for primitive collections. (#459)
34-
- fix: c-admin-method now preserves newlines when displaying success messages.
35-
- fix: c-select not defaulting optional method parameters as clearable.
36-
- fix: method object parameters passed sent as null on the client are received as a default instance of the object on the server. (#456)
37-
- fix: non-nullable value types as root custom method parameters rejected by ModelState validation. (#464)
41+
## Features
42+
43+
- Make "not found" messages from data sources clearer when the ID is null or empty string. (#447)
44+
- Added multi-tenancy options to the template. (#441, #461)
45+
46+
## Fixes
47+
48+
- Template: adjust manual chunking configuration to avoid circular deps. (#455)
49+
- Audit logs: key props now respect configured property exclusions.
50+
- Audit logs: improper default formatting for primitive collections. (#459)
51+
- `c-admin-method` now preserves newlines when displaying success messages.
52+
- `c-select` not defaulting optional method parameters as clearable.
53+
- Method object parameters passed sent as null on the client were received as a default instance of the object on the server. (#456)
54+
- Non-nullable value types as root custom method parameters were rejected by ModelState validation. (#464)
3855

3956
# 5.0.1
4057

41-
- fix: `c-input` once again respects the validation rules defined by the bound ViewModel.
42-
- fix: `c-select-many-to-many`, when selecting an item, will now attempt to reuse a matching, previously removed item that has not yet been committed with a $bulkSave. This prevents unnecessary delete+create of the same item in a many-to-many when the user changes their mind about the inclusion of an item.
58+
## Fixes
59+
60+
- `c-input` once again respects the validation rules defined by the bound ViewModel.
61+
- `c-select-many-to-many`, when selecting an item, will now attempt to reuse a matching, previously removed item that has not yet been committed with a $bulkSave. This prevents unnecessary delete+create of the same item in a many-to-many when the user changes their mind about the inclusion of an item.
4362

4463
# 5.0.0
4564

0 commit comments

Comments
 (0)