Skip to content

Commit

Permalink
Merge pull request #77 from dotansimha/changeset-release/main
Browse files Browse the repository at this point in the history
Upcoming Release Changes
  • Loading branch information
n1ru4l authored Jan 31, 2023
2 parents 3cd80c0 + 655f119 commit a27104d
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 42 deletions.
35 changes: 0 additions & 35 deletions .changeset/large-coins-mate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/moody-islands-smoke.md

This file was deleted.

37 changes: 37 additions & 0 deletions packages/plugins/dart/flutter-freezed/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# @graphql-codegen/flutter-freezed

## 3.0.1

### Patch Changes

- [#74](https://github.com/dotansimha/graphql-code-generator-community/pull/74) [`349dc3a58`](https://github.com/dotansimha/graphql-code-generator-community/commit/349dc3a58bd7822cef984614d4282fa9d90e74be) Thanks [@Parables](https://github.com/Parables)! - docs(plugin config): :memo: updated plugin-config

added @type decorators, added missing TypeName and FieldName variables in the exampleMarkdowns

Breaking: mergeTypes signature changed to mergeTypes?: Record<string, TypeName[]>
Even though the key is a string, we recommend that you use the value of a TypeName.

Example:

```ts filename='codegen.ts'
import type { CodegenConfig } from '@graphql-codegen/cli';

const Movie = TypeName.fromString('Movie');
const CreateMovieInput = TypeName.fromString('CreateMovieInput');
const UpdateMovieInput = TypeName.fromString('UpdateMovieInput');
const UpsertMovieInput = TypeName.fromString('UpsertMovieInput');

const config: CodegenConfig = {
generates: {
'lib/data/models/app_models.dart': {
plugins: {
'flutter-freezed': {
mergeTypes: {
[Movie.value]: [CreateMovieInput, UpdateMovieInput, UpsertMovieInput],
},
},
},
},
},
};
export default config;
```

## 3.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/dart/flutter-freezed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-codegen/flutter-freezed",
"version": "3.0.0",
"version": "3.0.1",
"description": "GraphQL Code Generator plugin to generate Freezed models from your GraphQL schema",
"repository": {
"type": "git",
Expand Down
6 changes: 6 additions & 0 deletions packages/plugins/typescript/enum-array/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @graphql-codegen/typescript-enum-array

## 2.4.0

### Minor Changes

- [#66](https://github.com/dotansimha/graphql-code-generator-community/pull/66) [`aa46f2635`](https://github.com/dotansimha/graphql-code-generator-community/commit/aa46f2635ddd2cb5c723bf7240d31ceb1d5662c7) Thanks [@omjadas](https://github.com/omjadas)! - support using enum members instead of string literals

## 2.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/typescript/enum-array/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-codegen/typescript-enum-array",
"version": "2.3.0",
"version": "2.4.0",
"description": "GraphQL Code Generator plugin for adding const array",
"repository": {
"type": "git",
Expand Down

0 comments on commit a27104d

Please sign in to comment.