@@ -5,116 +5,109 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
5
5
6
6
<!-- changelog -->
7
7
8
- ## [ v1.3.7] ( https://github.com/ash-project/ash_json_api/compare/v1.3.6...v1.3.7 ) (2024-07-15)
8
+ ## [ v1.3.8] ( https://github.com/ash-project/ash_json_api/compare/v1.3.7...v1.3.8 ) (2024-07-22)
9
+
10
+ ### Bug Fixes:
9
11
12
+ - [ ` AshJsonApi.Router ` ] don't double escape ` modify_open_api `
10
13
14
+ ### Improvements:
11
15
16
+ - [ ` AshJsonApi.Router ` ] automatically infer the ` prefix ` instead of relying on configuration
12
17
13
- ### Bug Fixes:
18
+ - [ ` mix ash.patch.extend ` ] add ` AshJsonApi ` extender
14
19
15
- * relationship resource identifiers don't need to check the ` id ` type
20
+ - [ ` mix ash_json_api.install ` ] add installer for AshJsonApi
16
21
17
- * properly reference related record in linkage
22
+ ## [ v1.3.7 ] ( https://github.com/ash-project/ash_json_api/compare/v1.3.6...v1.3.7 ) (2024-07-15)
18
23
19
- * escape ` modify_open_api_schema ` option since it can be a 3/tuple
24
+ ### Bug Fixes:
20
25
21
- * handle unknown errors in ` log_errors/2 `
26
+ - [ open api ] escape ` modify_open_api_schema ` option since it can be a 3/tuple
22
27
23
- * ensure id is always coming back as a string
28
+ - [ errors ] handle unknown errors in ` log_errors/2 `
24
29
25
- ## [ v1.3.6 ] ( https://github.com/ash-project/ash_json_api/compare/v1.3.5...v1.3.6 ) (2024-07-08)
30
+ - [ serialization ] relationship resource identifiers don't need to check the ` id ` type
26
31
32
+ - [ serialization] properly reference related record in linkage
27
33
34
+ - [ serialization] ensure id is always coming back as a string
28
35
36
+ ## [ v1.3.6] ( https://github.com/ash-project/ash_json_api/compare/v1.3.5...v1.3.6 ) (2024-07-08)
29
37
30
38
### Bug Fixes:
31
39
32
- * properly match enum types on input/output
40
+ - [ open api ] properly match enum types on input/output
33
41
34
- * Avoid raising the condition converting the regex to string. (#204 )
42
+ - [ errors ] Avoid raising the condition converting the regex to string. (#204 )
35
43
36
44
### Improvements:
37
45
38
- * honor ` allow_all_media_type_params? ` in ` content-type ` as well
46
+ - [ content type negotation ] honor ` allow_all_media_type_params? ` in ` content-type ` as well
39
47
40
48
## [ v1.3.5] ( https://github.com/ash-project/ash_json_api/compare/v1.3.4...v1.3.5 ) (2024-07-06)
41
49
42
-
43
-
44
-
45
50
### Bug Fixes:
46
51
47
- * use ` conn.private ` , not ` conn[:private] `
52
+ - [ bugfix ] use ` conn.private ` , not ` conn[:private] `
48
53
49
54
## [ v1.3.4] ( https://github.com/ash-project/ash_json_api/compare/v1.3.3...v1.3.4 ) (2024-07-05)
50
55
51
-
52
-
53
-
54
56
### Bug Fixes:
55
57
56
- * add leading slash to JSON pointer in schema errors (#199 )
58
+ - [ errors ] add leading slash to JSON pointer in schema errors (#199 )
57
59
58
- * avoid failing openapi generation for non existing resource actions (#198 )
60
+ - [ open api ] avoid failing openapi generation for non existing resource actions (#198 )
59
61
60
62
## [ v1.3.3] ( https://github.com/ash-project/ash_json_api/compare/v1.3.2...v1.3.3 ) (2024-07-04)
61
63
62
-
63
-
64
-
65
64
### Bug Fixes:
66
65
67
- * ensure generic action bodies, both in & out are serialized properly
66
+ - [ serialization ] ensure generic action bodies, both in & out are serialized properly
68
67
69
- * properly fetch nested types
68
+ - [ open api ] properly fetch nested types
70
69
71
- * show embedded types when used with ` :struct `
70
+ - [ open api ] show embedded types when used with ` :struct `
72
71
73
- * ensure ` action.require_attributes ` is stringified in json schema
72
+ - [ open api ] ensure ` action.require_attributes ` is stringified in json schema
74
73
75
- * honor resource-level default_fields
74
+ - [ fields parameter ] honor resource-level default_fields
76
75
77
76
## [ v1.3.2] ( https://github.com/ash-project/ash_json_api/compare/v1.3.1...v1.3.2 ) (2024-07-02)
78
77
79
-
80
-
81
-
82
78
### Bug Fixes:
83
79
84
- * properly require ` success ` in return-less actions
80
+ - [ routes ] ensure that context is threaded through for all actions
85
81
86
- * typo when checking for resource's derive_filter? flag
82
+ - [ open api ] properly require ` success ` in return-less actions
87
83
88
- * ensure that context is threaded through for all actions
84
+ - [ open api ] typo when checking for resource's derive_filter? flag
89
85
90
- * not all accepted attributes have to be public
86
+ - [ open api ] not all accepted attributes have to be public
91
87
92
- * fix sort regex to be a valid regex
88
+ - [ open api ] fix sort regex to be a valid regex
93
89
94
- * don't use ` anyOf ` for nullability
90
+ - [ open api ] don't use ` anyOf ` for nullability
95
91
96
- * don't generate bodies for delete requests
92
+ - [ open api ] don't generate bodies for delete requests
97
93
98
- * use ` Enum.uniq ` when uwnrapping any_of types
94
+ - [ open api ] use ` Enum.uniq ` when uwnrapping any_of types
99
95
100
- * detect all cases where a filter must be generated
96
+ - [ open api ] detect all cases where a filter must be generated
101
97
102
98
### Improvements:
103
99
104
- * use empty example for filter
100
+ - [ open api ] use empty example for filter
105
101
106
- * support for query parameters using ` query_params ` route option
102
+ - [ routes ] support for query parameters using ` query_params ` route option
107
103
108
104
## [ v1.3.1] ( https://github.com/ash-project/ash_json_api/compare/v1.3.0...v1.3.1 ) (2024-07-01)
109
105
110
-
111
-
112
-
113
106
### Bug Fixes:
114
107
115
- * use strings for enum values
108
+ - [ open api ] use strings for enum values
116
109
117
- * use ` strings ` for includes/sort properly, add regex for sort
110
+ - [ open api ] use ` strings ` for includes/sort properly, add regex for sort
118
111
119
112
## [ v1.3.0] ( https://github.com/ash-project/ash_json_api/compare/v1.2.2...v1.3.0 ) (2024-06-28)
120
113
0 commit comments