Packages
ash_graphql
1.7.13
1.10.0
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.17
1.7.16
1.7.15
1.7.14
1.7.13
1.7.12
1.7.11
1.7.10
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.7
1.4.6
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.4
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
1.0.0-rc.5
1.0.0-rc.4
retired
1.0.0-rc.3
1.0.0-rc.2
1.0.0-rc.1
1.0.0-rc.0
0.28.1
0.28.0
0.27.1
0.27.0
0.26.9
0.26.8
0.26.7
0.26.6
0.26.5
0.26.4
0.26.3
0.26.2
0.26.0
0.25.13
0.25.12
0.25.10
0.25.9
0.25.8
0.25.7
0.25.6
0.25.5
0.25.4
0.25.3
0.25.2
0.25.1
0.25.0
0.24.1
0.24.0
0.23.3
0.23.2
0.23.1
0.23.0
0.22.13
0.22.12
0.22.11
0.22.10
0.22.9
0.22.8
0.22.7
0.22.6
0.22.4
0.22.3
0.22.2
0.22.1
0.22.0
0.21.0
retired
0.20.5
0.20.4
0.20.3
0.20.2
0.20.1
0.20.0-rc.3
0.20.0-rc.2
0.20.0-rc.1
0.20.0-rc.0
0.19.0
0.18.0-rc0
0.17.5
0.17.5-rc0
0.17.4
0.17.2
0.17.1
0.17.0
0.16.28
0.16.27
0.16.26
0.16.25
0.16.24
0.16.23
0.16.22
0.16.21
0.16.20
0.16.18-rc5
0.16.18-rc4
0.16.18-rc3
0.16.18-rc2
0.16.18-rc1
0.16.18-rc0
0.16.17
0.16.16
0.16.15
0.16.14
0.16.13
0.16.12
0.16.11
0.16.10
0.16.9
0.16.8
0.16.7
0.16.6
0.16.5
0.16.4
0.16.3
0.16.2
0.16.1
0.16.0
0.15.10
0.15.9
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.15.0
0.14.1
0.14.0
0.13.1
0.13.0
0.12.5
0.12.4
0.12.3
0.12.1
0.12.0
0.10.0
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.0
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.1.3
0.1.2
The extension for building GraphQL APIs with Ash
Current section
Files
Jump to
Current section
Files
ash_graphql
CHANGELOG.md
CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
<!-- changelog -->
## [v1.7.13](https://github.com/ash-project/ash_graphql/compare/v1.7.12...v1.7.13) (2025-05-30)
### Bug Fixes:
* properly unwrap constraints & type for list newtypes
### Improvements:
* add limit to pagination metadata (#323)
* support new codegen patterns
* make pagination metadata more robust for offeset pagination (#320)
## [v1.7.12](https://github.com/ash-project/ash_graphql/compare/v1.7.11...v1.7.12) (2025-05-22)
### Bug Fixes:
* change default playground interface (#319)
## [v1.7.11](https://github.com/ash-project/ash_graphql/compare/v1.7.10...v1.7.11) (2025-05-20)
### Improvements:
* Add meta option for adding custom resolution context (#317)
## [v1.7.10](https://github.com/ash-project/ash_graphql/compare/v1.7.9...v1.7.10) (2025-05-15)
### Bug Fixes:
* refactor internal `AshGraphql.Resource.mutation/6` (#312)
* refactor internal `AshGraphql.Resource.mutation_fields/5` (#311)
* define shared mutations options (#310)
* Support for returning relay encoded id when subscribing to destroy events (#307)
### Improvements:
* add `args` option to mutations (#314)
## [v1.7.9](https://github.com/ash-project/ash_graphql/compare/v1.7.8...v1.7.9) (2025-04-29)
### Bug Fixes:
* properly expand lazy nested types
* handle invalid query error different formats (#301)
### Improvements:
* add `authorize_update_destroy_with_error?` config
* use more descriptions from resources
## [v1.7.8](https://github.com/ash-project/ash_graphql/compare/v1.7.7...v1.7.8) (2025-04-15)
### Bug Fixes:
* Add domain to Ash.for_read, as it might not be set on the resource, but only by set_domain middleware (for `use Ash.Resource domain: nil`). (#300)
## [v1.7.7](https://github.com/ash-project/ash_graphql/compare/v1.7.6...v1.7.7) (2025-04-09)
### Bug Fixes:
* more fixes for compilation loops
### Improvements:
* allows :logger handlers to know the original exception (#297)
## [v1.7.6](https://github.com/ash-project/ash_graphql/compare/v1.7.5...v1.7.6) (2025-03-21)
### Bug Fixes:
* allow for calculations & args in filter and use filter/sort_input
## [v1.7.5](https://github.com/ash-project/ash_graphql/compare/v1.7.4...v1.7.5) (2025-03-20)
### Bug Fixes:
* logic error in union type resolution
* resolve arrays of unions and unions of arrays properly
* properly extract item constraints when resolving union results
## [v1.7.4](https://github.com/ash-project/ash_graphql/compare/v1.7.3...v1.7.4) (2025-03-18)
### Bug Fixes:
* properly construct nested type maps
* apply action verifier to domains as well as resources
* Properly non_null() inner items in list when constraint is supplied for arrays in NewType of :map (#286)
## [v1.7.3](https://github.com/ash-project/ash_graphql/compare/v1.7.2...v1.7.3) (2025-03-04)
### Bug Fixes:
* fully traverse nested map & union types
## [v1.7.2](https://github.com/ash-project/ash_graphql/compare/v1.7.1...v1.7.2) (2025-02-27)
### Bug Fixes:
* add `use Absinthe.Phoenix.Socket` in endpoints in installer
## [v1.7.1](https://github.com/ash-project/ash_graphql/compare/v1.7.0...v1.7.1) (2025-02-27)
### Bug Fixes:
* properly add absinthe_phoenix dependency in installer
## [v1.7.0](https://github.com/ash-project/ash_graphql/compare/v1.6.0...v1.7.0) (2025-02-25)
### Features:
* subscription installer (#266)
### Improvements:
* don't require object unless there is a reason
* add `auto_generate_sdl_file?` option to graphql schema
## [v1.6.0](https://github.com/ash-project/ash_graphql/compare/v1.5.1...v1.6.0) (2025-02-11)
### Features:
* Type and Query complexity callbacks (#273)
* Type and Query complexity callbacks
### Bug Fixes:
* handle actions with no return
## [v1.5.1](https://github.com/ash-project/ash_graphql/compare/v1.5.0...v1.5.1) (2025-01-27)
### Bug Fixes:
* make manage relationship fields nullable when not always required
* default error handling (#261)
## [v1.5.0](https://github.com/ash-project/ash_graphql/compare/v1.4.7...v1.5.0) (2025-01-10)
### Features:
* errors: carry action name in context (#257)
### Improvements:
* error handling in resources (#253)
## [v1.4.7](https://github.com/ash-project/ash_graphql/compare/v1.4.6...v1.4.7) (2024-12-20)
### Improvements:
* add `modify_resolution` for generic actions
* make igniter optional
## [v1.4.6](https://github.com/ash-project/ash_graphql/compare/v1.4.5...v1.4.6) (2024-12-11)
### Bug Fixes:
* fix docs & return type for generic actions
## [v1.4.5](https://github.com/ash-project/ash_graphql/compare/v1.4.4...v1.4.5) (2024-12-11)
### Improvements:
- support `error_location` option on generic actions
- add description to update and destroy mutations (#250)
## [v1.4.4](https://github.com/ash-project/ash_graphql/compare/v1.4.3...v1.4.4) (2024-12-02)
### Bug Fixes:
- don't assume required pagination in actions means relationships are paginated
- define `subscription` to handle case where no subscriptions exist
- load relationships and calculations in fragments (#246)
## [v1.4.3](https://github.com/ash-project/ash_graphql/compare/v1.4.2...v1.4.3) (2024-11-14)
### Improvements:
- Implement `AshGraphql.Error` for AshAuthentication errors. (#237)
- Support generic actions without a return type. (#238)
## [v1.4.2](https://github.com/ash-project/ash_graphql/compare/v1.4.1...v1.4.2) (2024-11-05)
### Bug Fixes:
- call `for_read` before adding calculations
- load fields after building query for action
## [v1.4.1](https://github.com/ash-project/ash_graphql/compare/v1.4.0...v1.4.1) (2024-10-21)
### Bug Fixes:
- honor argument_names configuration for read & generic actions
### Improvements:
- remove unused data in subscription batcher (#227)
## [v1.4.0](https://github.com/ash-project/ash_graphql/compare/v1.3.4...v1.4.0) (2024-10-09)
### Features:
- Add absinthe dependency and plugin in formatter of installer (#222)
- subscription dsl (#97)
### Bug Fixes:
- dyalizer and igniter deprecations (#224)
- don't generate result types for generic mutations
- detect generated types properly in generic actions
### Improvements:
- add error handling tooling for custom queries
- add `AshGraphql.load_fields/3` helper, and test showing its usage
- implement a subscription notification batcher (#217)
## [v1.3.4](https://github.com/ash-project/ash_graphql/compare/v1.3.3...v1.3.4) (2024-09-10)
### Bug Fixes:
- add UUIDv7 to map the type to :id
### Improvements:
- update to latest igniter functions & dependency
## [v1.3.3](https://github.com/ash-project/ash_graphql/compare/v1.3.2...v1.3.3) (2024-08-26)
### Bug Fixes:
- append new domain to list when extending
## [v1.3.2](https://github.com/ash-project/ash_graphql/compare/v1.3.1...v1.3.2) (2024-08-16)
### Bug Fixes:
- match on action in error message properly
### Improvements:
- add schema codegen features & guide
- support new struct types in type generation
- support new struct fields constraint
- Set up GraphQL schema file in the web module namespace (#205)
## [v1.3.1](https://github.com/ash-project/ash_graphql/compare/v1.3.0...v1.3.1) (2024-08-02)
### Bug Fixes:
- use `.has_expression?/0` instead of `function_exported?/3`
- error handling list of atoms (#204)
- error handling list of atoms
## [v1.3.0](https://github.com/ash-project/ash_graphql/compare/v1.2.1...v1.3.0) (2024-08-01)
### Features:
- `Ash.Type.File` compatibility (#202)
### Bug Fixes:
- try to resolve compilation issues w/ `Code.ensure_compiled!`
## [v1.2.1](https://github.com/ash-project/ash_graphql/compare/v1.2.0...v1.2.1) (2024-07-18)
### Bug Fixes:
- upgrade ash dependency for bulk action bug fix
- use checked constraints (#187)
- don't assume `filter` is non-nil for gets
- properly interpolate action in conflict messages
- add resource query to action struct (#178)
### Improvements:
- add extension installation code
- add igniter-backed installer
- add `nullable_fields?` for easily marking fields as nullable
- only define `managed_relationship` mutations when necessary
## [v1.2.0](https://github.com/ash-project/ash_graphql/compare/v1.1.1...v1.2.0) (2024-06-17)
### Features:
- argument_input_types (#176)
- argument_input_types
### Bug Fixes:
- better type handling around empty types
- don't generate empty input objects for embeds
## [v1.1.1](https://github.com/ash-project/ash_graphql/compare/v1.1.0...v1.1.1) (2024-06-02)
### Features:
- relationship pagination (#166)
### Bug Fixes:
- honor read_action for update/destroy mutations
## [v1.1.0](https://github.com/ash-project/ash_graphql/compare/v1.0.1...v1.1.0) (2024-05-24)
### Features:
- [AshGraphql.Domain] support queries/mutations on the domain
## [v1.0.1](https://github.com/ash-project/ash_graphql/compare/v1.0.0...v1.0.1) (2024-05-23)
### Features:
- allow passing custom descriptions to queries and mutations (#138)
### Bug Fixes:
- don't deduplicate argument types by argument name (#162)
- use Ash.EmbeddableType.ShadowDomain (#156)
- accepted attributes don't have to be `public?`
### Improvements:
- deduplicate map types across domains (#164)
- Implement AshGraphql.Error for Ash.Error.Query.ReadActionRequiresActor (#154)
- make mutation result errors list non-nullable (#144)
- make mutation result errors list non-nullable
## [v1.0.0](https://github.com/ash-project/ash_graphql/compare/v1.0.0-rc.4...v0.28.0) (2024-04-27)
The changelog is being restarted. See `/documentation/1.0-CHANGELOG.md` for previous changelogs.
### Breaking Changes:
- [AshGraphql.Resource] `managed_relationship` arguments automatically get rich types derived for them
- [AshGraphql.Type] No longer automagically derive types. Only types defined in `Ash.Type.NewType` that implement `AshGrahql.Type` will get types derived for them.
### Improvements:
- [AshGraphql.Resolver] Bulk actions are automatically used for create/update/destroy actions. This means far fewer queries made in general.
- [AshGraphql.Type] add `graphql_define_type?/1` callback for graphql types
- [AshGrapqhl.Resource] support generic actions with no return type