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.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