Skip to content

Commit 01a61d2

Browse files
Bump version to 1.6.0
1 parent fb72274 commit 01a61d2

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
## master
44

5-
- Add `GraphQL/ContextWriteInType` cop to detect writes to `context` in GraphQL types (disabled by default)
5+
## 1.6.0 (2026-02-13)
6+
7+
- [PR#183](https://github.com/DmitryTsepelev/rubocop-graphql/pull/183) Add `GraphQL/ContextWriteInType` cop to detect writes to `context` in GraphQL types ([@smathieu][])
68

79
## 1.5.6 (2025-06-07)
810

@@ -310,3 +312,4 @@
310312
[@mbandrewfoster]: https://github.com/mbandrewfoster
311313
[@fatkodima]: https://github.com/fatkodima
312314
[@alecslupu]: https://github.com/alecslupu
315+
[@smathieu]: https://github.com/smathieu

config/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ GraphQL/ArgumentUniqueness:
2323

2424
GraphQL/ContextWriteInType:
2525
Enabled: false
26-
VersionAdded: '<<next>>'
26+
VersionAdded: '1.6.0'
2727
Description: 'Detects writes to context in GraphQL types, which mutates shared state'
2828
Include:
2929
- '**/graphql/types/**/*'

lib/rubocop/graphql/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module RuboCop
22
module GraphQL
3-
VERSION = "1.5.6".freeze
3+
VERSION = "1.6.0".freeze
44
end
55
end

0 commit comments

Comments
 (0)