UNPKG

@aws-amplify/appsync-modelgen-plugin

Version:
632 lines (345 loc) 117 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## [2.15.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.15.1...@aws-amplify/appsync-modelgen-plugin@2.15.2) (2025-02-25) ### Bug Fixes - keep foreign keys on native platforms when they are part of the primary key ([#887](https://github.com/aws-amplify/amplify-codegen/issues/887)) ([b4c4af5](https://github.com/aws-amplify/amplify-codegen/commit/b4c4af5aeadab8f7794bc3c980e649a729103793)) - stop pascal casing enums for MIS ([#931](https://github.com/aws-amplify/amplify-codegen/issues/931)) ([f763085](https://github.com/aws-amplify/amplify-codegen/commit/f7630858151dbe2f9f5f22e907aa6f64c010462f)) ## [2.15.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.15.0...@aws-amplify/appsync-modelgen-plugin@2.15.1) (2024-11-14) ### Bug Fixes - **conversation:** prefix supporting types with AmplifyAI ([#907](https://github.com/aws-amplify/amplify-codegen/issues/907)) ([eba466f](https://github.com/aws-amplify/amplify-codegen/commit/eba466ff739538c634d3086d3970d1bab40b1495)) # [2.15.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.14.0...@aws-amplify/appsync-modelgen-plugin@2.15.0) (2024-11-07) ### Features - **ai:** support streaming ([#899](https://github.com/aws-amplify/amplify-codegen/issues/899)) ([7b8ee57](https://github.com/aws-amplify/amplify-codegen/commit/7b8ee574df3bc0ee8ac781f7809742063db66802)) # [2.14.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.13.2...@aws-amplify/appsync-modelgen-plugin@2.14.0) (2024-10-28) ### Bug Fixes - add owner field to conversation model ([#893](https://github.com/aws-amplify/amplify-codegen/issues/893)) ([705ac3a](https://github.com/aws-amplify/amplify-codegen/commit/705ac3ad6c422cedb32428ad4970b04e58cf2984)) ### Features - remove `update: null` for conversation model in MIS ([#895](https://github.com/aws-amplify/amplify-codegen/issues/895)) ([bef8bb2](https://github.com/aws-amplify/amplify-codegen/commit/bef8bb2a94ed9cb60f36f861ce91fb1148f68bae)) - Sync codegen behavior implementation adding generateModelsSync ([#894](https://github.com/aws-amplify/amplify-codegen/issues/894)) ([fac63c1](https://github.com/aws-amplify/amplify-codegen/commit/fac63c1497b1e4b1f0f22e977500378afdd9a6d9)) ## [2.13.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.13.1...@aws-amplify/appsync-modelgen-plugin@2.13.2) (2024-10-03) ### Bug Fixes - allow required uni-directional hasOne with [@connection](https://github.com/connection) when datastore is disabled ([#888](https://github.com/aws-amplify/amplify-codegen/issues/888)) ([648f2ed](https://github.com/aws-amplify/amplify-codegen/commit/648f2edd3393ba694eef0e40af43b2bad159104d)) ## [2.13.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.13.0...@aws-amplify/appsync-modelgen-plugin@2.13.1) (2024-09-26) ### Bug Fixes - **amplify-codegen:** support multiple indexes on the same field in introspection schema ([#879](https://github.com/aws-amplify/amplify-codegen/issues/879)) ([60dd629](https://github.com/aws-amplify/amplify-codegen/commit/60dd62993241df56bb4f27afe79e1e7e1956d6ff)) # [2.13.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.12.3...@aws-amplify/appsync-modelgen-plugin@2.13.0) (2024-09-05) ### Features - **appsync-modelgen-plugin:** add support for generation route definitions ([#869](https://github.com/aws-amplify/amplify-codegen/issues/869)) ([8c4be9a](https://github.com/aws-amplify/amplify-codegen/commit/8c4be9adf8b2ad4dd1ddec90abbbe04674092ecc)) - **conversation:** add conversation route handling in mis ([#872](https://github.com/aws-amplify/amplify-codegen/issues/872)) ([b4821bd](https://github.com/aws-amplify/amplify-codegen/commit/b4821bd3e02b41d35f1cf00f8076c84740975659)) ## [2.12.3](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.12.2...@aws-amplify/appsync-modelgen-plugin@2.12.3) (2024-07-01) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [2.12.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.12.1...@aws-amplify/appsync-modelgen-plugin@2.12.2) (2024-05-22) ### Bug Fixes - **amplify-codegen:** fix for non-model decoding in flutter v1 ([#843](https://github.com/aws-amplify/amplify-codegen/issues/843)) ([0ffe64f](https://github.com/aws-amplify/amplify-codegen/commit/0ffe64f249a95104a2d9763c9a543eee87c6ae09)) ## [2.12.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.12.0...@aws-amplify/appsync-modelgen-plugin@2.12.1) (2024-05-06) ### Bug Fixes - add missing closing parens on swift hasMany ([#835](https://github.com/aws-amplify/amplify-codegen/issues/835)) ([cfd4c2b](https://github.com/aws-amplify/amplify-codegen/commit/cfd4c2b4ad0fd8a3b74896c849da90cbd45fe8f4)) - java builder steps to respect handleListNullabilityTransparently ([#830](https://github.com/aws-amplify/amplify-codegen/issues/830)) ([5eb0aa8](https://github.com/aws-amplify/amplify-codegen/commit/5eb0aa8bd2ded182aa90fce7355eac99973e8fc8)) # [2.12.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.11.0...@aws-amplify/appsync-modelgen-plugin@2.12.0) (2024-04-29) ### Bug Fixes - validate references on belongsTo when cpk is disabled ([#822](https://github.com/aws-amplify/amplify-codegen/issues/822)) ([a909ff3](https://github.com/aws-amplify/amplify-codegen/commit/a909ff333af7513c6babfa8cf5f6cfce57e854e5)) ### Features - use a different associated field for references on native ([#818](https://github.com/aws-amplify/amplify-codegen/issues/818)) ([9a8d048](https://github.com/aws-amplify/amplify-codegen/commit/9a8d0481fed582ecab4a8dabe4ac68cc5a08154d)) # [2.11.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.10.0...@aws-amplify/appsync-modelgen-plugin@2.11.0) (2024-04-25) ### Bug Fixes - do not remove belongsTo target names when using references ([#814](https://github.com/aws-amplify/amplify-codegen/issues/814)) ([de394dd](https://github.com/aws-amplify/amplify-codegen/commit/de394dda82febe22e1cdeccf22d4c36fae91cf2b)) - missing targetNames in hasOne reference ([02a581f](https://github.com/aws-amplify/amplify-codegen/commit/02a581f6a9700961d2522d1b14f0f808b8758999)) - return reference behavior to main for all but introspection ([#824](https://github.com/aws-amplify/amplify-codegen/issues/824)) ([e7320a9](https://github.com/aws-amplify/amplify-codegen/commit/e7320a9933b6c7fe11d3cb602b0d8d2a39ed177a)) - use standalone ajv validation for model introspection schema ([#807](https://github.com/aws-amplify/amplify-codegen/issues/807)) ([9f55941](https://github.com/aws-amplify/amplify-codegen/commit/9f559413621dcc4a4a5158a129e575371c6d8c35)) ### Features - dart api model .fromJson() refactor ([#593](https://github.com/aws-amplify/amplify-codegen/issues/593)) ([f83eba1](https://github.com/aws-amplify/amplify-codegen/commit/f83eba153d94644cc2896f1916cf1efb3f7b151b)) - enable codegen to run in browser ([#789](https://github.com/aws-amplify/amplify-codegen/issues/789)) ([f51b5d3](https://github.com/aws-amplify/amplify-codegen/commit/f51b5d3bbac23f7f63e0adc0bd2aad67b0621977)) - set correct association with references ([#793](https://github.com/aws-amplify/amplify-codegen/issues/793)) ([a6efa72](https://github.com/aws-amplify/amplify-codegen/commit/a6efa72cd3345d52b43bd4754af0826351930bfb)) # [2.10.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.9.0...@aws-amplify/appsync-modelgen-plugin@2.10.0) (2024-04-03) ### Bug Fixes - process input object, union and interface metadata in model introspection schema codegen ([#795](https://github.com/aws-amplify/amplify-codegen/issues/795)) ([73e4520](https://github.com/aws-amplify/amplify-codegen/commit/73e4520e8f3bbd63d6b123a5c977c415df443905)) ### Features - use default directives from @aws-amplify/graphql-directives ([#796](https://github.com/aws-amplify/amplify-codegen/issues/796)) ([a94649e](https://github.com/aws-amplify/amplify-codegen/commit/a94649ef5cbed1091e4c206852d85f4b860a3eae)) # [2.9.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.8.1...@aws-amplify/appsync-modelgen-plugin@2.9.0) (2024-01-29) ### Features - **introspection:** add metadata for custom GraphQL operations ([#771](https://github.com/aws-amplify/amplify-codegen/issues/771)) ([98b4243](https://github.com/aws-amplify/amplify-codegen/commit/98b424378dead8b1419037c304f7b5fec18a6349)) ## [2.8.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.8.0...@aws-amplify/appsync-modelgen-plugin@2.8.1) (2023-12-11) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin # [2.8.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.7.5...@aws-amplify/appsync-modelgen-plugin@2.8.0) (2023-10-05) ### Features - Support Amplify Android Lazy Types and Custom Selection Set ([#699](https://github.com/aws-amplify/amplify-codegen/issues/699)) ([6e3de3c](https://github.com/aws-amplify/amplify-codegen/commit/6e3de3c42d31608f7c3b99ff0f74dc485ced9e85)), closes [#697](https://github.com/aws-amplify/amplify-codegen/issues/697) ## [2.7.5](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.7.4...@aws-amplify/appsync-modelgen-plugin@2.7.5) (2023-10-02) ### Bug Fixes - remove unnecessary deps, including fixture dependencies ([#731](https://github.com/aws-amplify/amplify-codegen/issues/731)) ([7d71ee0](https://github.com/aws-amplify/amplify-codegen/commit/7d71ee0def32c356ef84a8cdbffe92d4aa0b0497)) ## [2.7.4](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.7.3...@aws-amplify/appsync-modelgen-plugin@2.7.4) (2023-10-02) ### Bug Fixes - set correct type for array of enum ([#703](https://github.com/aws-amplify/amplify-codegen/issues/703)) ([cdca3eb](https://github.com/aws-amplify/amplify-codegen/commit/cdca3eb7fa8b1de395201699357105d707c7b7f3)) ## [2.7.3](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.7.2...@aws-amplify/appsync-modelgen-plugin@2.7.3) (2023-09-26) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [2.7.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.7.1...@aws-amplify/appsync-modelgen-plugin@2.7.2) (2023-09-25) ### Bug Fixes - move types from runtime deps to dev deps ([#708](https://github.com/aws-amplify/amplify-codegen/issues/708)) ([f7a024d](https://github.com/aws-amplify/amplify-codegen/commit/f7a024d9ec4f7b0156c72b7f7d05139bbb339cbd)) ## [2.7.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.7.0...@aws-amplify/appsync-modelgen-plugin@2.7.1) (2023-09-19) ### Bug Fixes - avoid name collision on java model build step ([#700](https://github.com/aws-amplify/amplify-codegen/issues/700)) ([f44358a](https://github.com/aws-amplify/amplify-codegen/commit/f44358aef41556a9dbc8e511ad69d254a1e7ee67)) # [2.7.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.6.0...@aws-amplify/appsync-modelgen-plugin@2.7.0) (2023-09-12) ### Features - graphql generator ([#690](https://github.com/aws-amplify/amplify-codegen/issues/690)) ([dbe12ab](https://github.com/aws-amplify/amplify-codegen/commit/dbe12abbbcd307bec1c15f95251f023d0f0fbf10)) - graphql-generator package ([#677](https://github.com/aws-amplify/amplify-codegen/issues/677)) ([6348627](https://github.com/aws-amplify/amplify-codegen/commit/634862793cb5aebb284f27a70f0ef07d6fd85561)), closes [#669](https://github.com/aws-amplify/amplify-codegen/issues/669) [#670](https://github.com/aws-amplify/amplify-codegen/issues/670) [#671](https://github.com/aws-amplify/amplify-codegen/issues/671) [#676](https://github.com/aws-amplify/amplify-codegen/issues/676) [#680](https://github.com/aws-amplify/amplify-codegen/issues/680) ### Reverts - Revert "feat: graphql-generator package (#677)" (#687) ([d7a84d6](https://github.com/aws-amplify/amplify-codegen/commit/d7a84d62b5a1e686d4e5e5be61e12fb410378685)), closes [#677](https://github.com/aws-amplify/amplify-codegen/issues/677) [#687](https://github.com/aws-amplify/amplify-codegen/issues/687) # [2.6.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.5.3...@aws-amplify/appsync-modelgen-plugin@2.6.0) (2023-08-15) ### Features - swift use improved pluralization ([#667](https://github.com/aws-amplify/amplify-codegen/issues/667)) ([cb28b9b](https://github.com/aws-amplify/amplify-codegen/commit/cb28b9b31e2c5c6d3279084749840571f03cb8d7)) ## 2.5.3 (2023-07-25) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## 2.5.2 (2023-07-24) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [2.5.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.5.0...@aws-amplify/appsync-modelgen-plugin@2.5.1) (2023-07-17) ### Bug Fixes - support key directive in model introspection schema gen ([#628](https://github.com/aws-amplify/amplify-codegen/issues/628)) ([7397ab9](https://github.com/aws-amplify/amplify-codegen/commit/7397ab91743b6fe629bfbf419e7071f65e456fa8)) # [2.5.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.4.5...@aws-amplify/appsync-modelgen-plugin@2.5.0) (2023-06-29) ### Features - Add ModelIdentifier for all Java models ([#612](https://github.com/aws-amplify/amplify-codegen/issues/612)) ([852b7b2](https://github.com/aws-amplify/amplify-codegen/commit/852b7b2f45c2684c3645bbe6f52ff5432ec6536c)) ## [2.4.5](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.4.4...@aws-amplify/appsync-modelgen-plugin@2.4.5) (2023-05-11) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [2.4.4](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.4.3...@aws-amplify/appsync-modelgen-plugin@2.4.4) (2023-05-09) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [2.4.3](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.4.2...@aws-amplify/appsync-modelgen-plugin@2.4.3) (2023-05-04) ### Bug Fixes - **codegen:** generate default name for index directive ([fcca641](https://github.com/aws-amplify/amplify-codegen/commit/fcca641a431e2c146b391df1233d95c899f46d6d)) ## [2.4.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.4.1...@aws-amplify/appsync-modelgen-plugin@2.4.2) (2023-04-25) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [2.4.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.4.0...@aws-amplify/appsync-modelgen-plugin@2.4.1) (2023-04-12) ### Bug Fixes - **introspection:** primary key info when pk is belongsTo field ([#570](https://github.com/aws-amplify/amplify-codegen/issues/570)) ([63183c5](https://github.com/aws-amplify/amplify-codegen/commit/63183c56d0f46c90f6a9712b66dab07e98b9ba3c)) # [2.4.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.3.3...@aws-amplify/appsync-modelgen-plugin@2.4.0) (2023-03-10) ### Features - **amplify-codegen:** iOS LazyReference and ModelPath ([#504](https://github.com/aws-amplify/amplify-codegen/issues/504)) ([6ff41e8](https://github.com/aws-amplify/amplify-codegen/commit/6ff41e84e51b1d3e170f4711dac5a5703bedd196)) ## [2.3.3](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.3.2...@aws-amplify/appsync-modelgen-plugin@2.3.3) (2023-01-24) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [2.3.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.3.1...@aws-amplify/appsync-modelgen-plugin@2.3.2) (2023-01-09) ### Bug Fixes - **appsync-modelgen-plugin:** associatedWith fields in bidirectional hasone ([6055503](https://github.com/aws-amplify/amplify-codegen/commit/6055503e490a99f2f372d399d1af8c11ff3362ab)) - update JS/TS MIPR ([4846f83](https://github.com/aws-amplify/amplify-codegen/commit/4846f83d9dcb7770c5e38b7e60ff5926de4f0df0)) ## [2.3.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.3.0...@aws-amplify/appsync-modelgen-plugin@2.3.1) (2022-11-16) ### Bug Fixes - **amplify-codegen:** dart, add hardcoded modelName method for ModelType classes ([#514](https://github.com/aws-amplify/amplify-codegen/issues/514)) ([89f00a5](https://github.com/aws-amplify/amplify-codegen/commit/89f00a5bd74fc30ddb07263d9ac770ccf44df12d)) # [2.3.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.2.2...@aws-amplify/appsync-modelgen-plugin@2.3.0) (2022-11-03) ### Bug Fixes - addressing missing key for unidirectional [@has](https://github.com/has)Many on JS ([#507](https://github.com/aws-amplify/amplify-codegen/issues/507)) ([51fd6de](https://github.com/aws-amplify/amplify-codegen/commit/51fd6dea1193bc67cce3167dd972d589c82b63b2)) ### Features - **introspection:** add primary key info in model schema ([#503](https://github.com/aws-amplify/amplify-codegen/issues/503)) ([82b6625](https://github.com/aws-amplify/amplify-codegen/commit/82b662523965b9ae73ef5d6f5f2c4c9ab7a12ba3)) ## [2.2.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.2.1...@aws-amplify/appsync-modelgen-plugin@2.2.2) (2022-10-25) ### Bug Fixes - lazy codegen for schemas without relationships ([#500](https://github.com/aws-amplify/amplify-codegen/issues/500)) ([7cb219f](https://github.com/aws-amplify/amplify-codegen/commit/7cb219f679f3792791b6a011e5d3f1ab317cb9bd)) ## [2.2.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.2.0...@aws-amplify/appsync-modelgen-plugin@2.2.1) (2022-10-21) ### Bug Fixes - **model-introspection:** add type export at package root ([#497](https://github.com/aws-amplify/amplify-codegen/issues/497)) ([c930769](https://github.com/aws-amplify/amplify-codegen/commit/c930769419a182870abcf02f1d313a8372c505c5)) # [2.2.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.1.0...@aws-amplify/appsync-modelgen-plugin@2.2.0) (2022-10-12) ### Features - **appsync-modelgen-plugin:** add toMap method in dart modelgen([#491](https://github.com/aws-amplify/amplify-codegen/issues/491)) ([68f7fb1](https://github.com/aws-amplify/amplify-codegen/commit/68f7fb191e9c82d741c0babbf5e5b76e2a69362d)) - lazy loading conditional type ([#489](https://github.com/aws-amplify/amplify-codegen/issues/489)) ([43d81af](https://github.com/aws-amplify/amplify-codegen/commit/43d81af60871f072c8aa13b110d61aaafa78e967)) # [2.1.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.0.5...@aws-amplify/appsync-modelgen-plugin@2.1.0) (2022-09-02) ### Bug Fixes - simplify outputDirParam handling ([#483](https://github.com/aws-amplify/amplify-codegen/issues/483)) ([e6f75ca](https://github.com/aws-amplify/amplify-codegen/commit/e6f75cae5521ddb7ceab0766765ba239a8ddb7f1)) ### Features - **amplify-codegen:** new codegen command of model intropection ([#476](https://github.com/aws-amplify/amplify-codegen/issues/476)) ([ab991c3](https://github.com/aws-amplify/amplify-codegen/commit/ab991c302eb4fad540422ba2099ac6a15176e2cb)) ## [2.0.5](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.0.4...@aws-amplify/appsync-modelgen-plugin@2.0.5) (2022-08-05) ### Bug Fixes - **amplify-codegen:** iOS use default when PK.OptionallyManagedId ([#469](https://github.com/aws-amplify/amplify-codegen/issues/469)) ([750ba15](https://github.com/aws-amplify/amplify-codegen/commit/750ba15b7669b3c569837aef884cff8998ba5e7d)) - **amplify-codegen:** rename ModelIdentifiable.Identifier to IdentifierProtocol ([#467](https://github.com/aws-amplify/amplify-codegen/issues/467)) ([463fef4](https://github.com/aws-amplify/amplify-codegen/commit/463fef4ce6ba32b04079c70a4a14875c5a0e4527)) ## [2.0.4](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.0.3...@aws-amplify/appsync-modelgen-plugin@2.0.4) (2022-08-01) ### Bug Fixes - **modelgen-js:** use string array for associateWith ([#464](https://github.com/aws-amplify/amplify-codegen/issues/464)) ([45d4010](https://github.com/aws-amplify/amplify-codegen/commit/45d401026af006942a1070ce3b8106afdb4ad6b8)) ## [2.0.3](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.0.2...@aws-amplify/appsync-modelgen-plugin@2.0.3) (2022-07-27) ### Bug Fixes - **modelgen-js:** use optional fields for FK in manyToMany ([#462](https://github.com/aws-amplify/amplify-codegen/issues/462)) ([5c6c91c](https://github.com/aws-amplify/amplify-codegen/commit/5c6c91c0fea090962481f9c68c7762f11b54f1db)) ## [2.0.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.0.0...@aws-amplify/appsync-modelgen-plugin@2.0.2) (2022-07-19) ### Bug Fixes - **appsync-dart-visitor:** generate correct model id filed name ([#429](https://github.com/aws-amplify/amplify-codegen/issues/429)) ([59f049d](https://github.com/aws-amplify/amplify-codegen/commit/59f049dbb4dbe80f7a2767ccd3105abb3e017120)) ## [2.0.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@2.0.0...@aws-amplify/appsync-modelgen-plugin@2.0.1) (2022-07-05) ### Bug Fixes - **appsync-dart-visitor:** generate correct model id filed name ([#429](https://github.com/aws-amplify/amplify-codegen/issues/429)) ([59f049d](https://github.com/aws-amplify/amplify-codegen/commit/59f049dbb4dbe80f7a2767ccd3105abb3e017120)) # [2.0.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.32.0...@aws-amplify/appsync-modelgen-plugin@2.0.0) (2022-04-25) ### Bug Fixes - **appsync-dart-visitor:** update ignored linter rules ([#404](https://github.com/aws-amplify/amplify-codegen/issues/404)) ([7d2fdaf](https://github.com/aws-amplify/amplify-codegen/commit/7d2fdaff6e0512d76ad0efbc19acf67b1b738d23)) - **modelgen-java:** inconsistence of required fields between builder and copy ([#416](https://github.com/aws-amplify/amplify-codegen/issues/416)) ([c434a69](https://github.com/aws-amplify/amplify-codegen/commit/c434a69129eb16f7bb20f7672b2d869f31d8a678)) ### chore - mv bump associated with revert to caret-versioning in CLI ([#412](https://github.com/aws-amplify/amplify-codegen/issues/412)) ([8f00f73](https://github.com/aws-amplify/amplify-codegen/commit/8f00f73a561aebea18009104e95096cc626e7a65)) ### Features - **appsync-modelgen-plugin:** add sort key field in manyToMany models ([#401](https://github.com/aws-amplify/amplify-codegen/issues/401)) ([5716d10](https://github.com/aws-amplify/amplify-codegen/commit/5716d1015c4b1a46c6677b0b028ee19d31bb2a92)) ### BREAKING CHANGES - no-op to bump major-version # [1.32.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.31.0...@aws-amplify/appsync-modelgen-plugin@1.32.0) (2022-02-24) ### Features - add null type union to optional fields ([48b10f1](https://github.com/aws-amplify/amplify-codegen/commit/48b10f1236889b0cbd93a242ef339dadccd4cc84)) # [1.31.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.30.2...@aws-amplify/appsync-modelgen-plugin@1.31.0) (2022-02-03) ### Features - update imports generated for flutter datastore plugin dependency ([#382](https://github.com/aws-amplify/amplify-codegen/issues/382)) ([#388](https://github.com/aws-amplify/amplify-codegen/issues/388)) ([329e513](https://github.com/aws-amplify/amplify-codegen/commit/329e51395d36e11090e33300d02f5a7a436bfe7a)), closes [#380](https://github.com/aws-amplify/amplify-codegen/issues/380) ## [1.30.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.30.1...@aws-amplify/appsync-modelgen-plugin@1.30.2) (2022-01-13) ### Bug Fixes - revert custom pk change ([#376](https://github.com/aws-amplify/amplify-codegen/issues/376)) ([fa4fe52](https://github.com/aws-amplify/amplify-codegen/commit/fa4fe523d730a29dea380bfe43514b60185be2dd)) ## [1.30.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.30.0...@aws-amplify/appsync-modelgen-plugin@1.30.1) (2022-01-13) ### Bug Fixes - **modelgen-js:** rm readonly fields check for type metadata ([#367](https://github.com/aws-amplify/amplify-codegen/issues/367)) ([4750358](https://github.com/aws-amplify/amplify-codegen/commit/47503583135fc497d27b38c3cc962cfa8ddfe9d6)) # [1.30.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.13...@aws-amplify/appsync-modelgen-plugin@1.30.0) (2022-01-12) ### Bug Fixes - **appsync-dart-visitor:** applying nullsafe operation to non-null safe code ([#332](https://github.com/aws-amplify/amplify-codegen/issues/332)) ([#364](https://github.com/aws-amplify/amplify-codegen/issues/364)) ([1526d1e](https://github.com/aws-amplify/amplify-codegen/commit/1526d1e6a8b6ca6548977cc01fbfcf00616b67bc)) - **modelgen:** remove timestamps if defined null in [@model](https://github.com/model) ([#355](https://github.com/aws-amplify/amplify-codegen/issues/355)) ([ee90c2c](https://github.com/aws-amplify/amplify-codegen/commit/ee90c2c97623b7f9875a5b335ad4beb629260be5)) - **modelgen:** unit test for custom pk in manyToMany ([#361](https://github.com/aws-amplify/amplify-codegen/issues/361)) ([718c512](https://github.com/aws-amplify/amplify-codegen/commit/718c512d25d5a6bf017dcebd219baf3d53308088)) ### Features - **modelgen:** Custom primary key support ([#351](https://github.com/aws-amplify/amplify-codegen/issues/351)) ([fa067e0](https://github.com/aws-amplify/amplify-codegen/commit/fa067e09409d13848a89ab7141df2d2287d92bf2)) - read-only fields and non-model types for flutter ([58b0796](https://github.com/aws-amplify/amplify-codegen/commit/58b07962c3d39d7fd9b4246d5dffe55a11a25e27)), closes [#302](https://github.com/aws-amplify/amplify-codegen/issues/302) [#234](https://github.com/aws-amplify/amplify-codegen/issues/234) [#247](https://github.com/aws-amplify/amplify-codegen/issues/247) [#263](https://github.com/aws-amplify/amplify-codegen/issues/263) [#272](https://github.com/aws-amplify/amplify-codegen/issues/272) ## [1.29.13](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.12...@aws-amplify/appsync-modelgen-plugin@1.29.13) (2022-01-11) ### Bug Fixes - remove early removal of field from model in the case of connection ([3de34f4](https://github.com/aws-amplify/amplify-codegen/commit/3de34f4f00344c9a775747a1260632e47bf24b98)) - remove unused import per LGTM check ([7b4a24d](https://github.com/aws-amplify/amplify-codegen/commit/7b4a24d1859aa5c4cb0c283e756255c42189f171)) - **appsync-modelgen-plugin:** associatedWith correctly points to model field rather than ID in bi-directional relations ([a39b61d](https://github.com/aws-amplify/amplify-codegen/commit/a39b61dec2d8adf3589212fe2aaf7400f98f01b9)) - **appsync-modelgen-plugin:** revert [#326](https://github.com/aws-amplify/amplify-codegen/issues/326) ([d36323d](https://github.com/aws-amplify/amplify-codegen/commit/d36323d7f9adf92167bf9153c80435b42320053f)) - **appsync-modelgen-plugin:** turn on the shouldUseModelNameFieldInHasManyAndBelongsTo flag for Android ([6cf1ebb](https://github.com/aws-amplify/amplify-codegen/commit/6cf1ebb31dbc28534525fcefc3be73c05596a41b)) - change the if statement ([0b0b075](https://github.com/aws-amplify/amplify-codegen/commit/0b0b075a798aab63360ccd847e25d7989baa5522)) - partially rolling back commit 310 for flutter, swift, and java platforms ([#319](https://github.com/aws-amplify/amplify-codegen/issues/319)) ([6c2f0c8](https://github.com/aws-amplify/amplify-codegen/commit/6c2f0c8920e4347d59f345867778fd49579a2cd4)) - set associatedWith to correct field with hasOne/hasMany and belongsTo ([289e38b](https://github.com/aws-amplify/amplify-codegen/commit/289e38ba4c6fd69616eb459c90e26467c6a1e314)) ## [1.29.12](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.11...@aws-amplify/appsync-modelgen-plugin@1.29.12) (2022-01-05) ### Reverts - Revert "build: update packages (#325)" (#343) ([694856a](https://github.com/aws-amplify/amplify-codegen/commit/694856a38513aacfa071a02090de8fdc7fc9a1fd)), closes [#325](https://github.com/aws-amplify/amplify-codegen/issues/325) [#343](https://github.com/aws-amplify/amplify-codegen/issues/343) ## [1.29.11](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.10...@aws-amplify/appsync-modelgen-plugin@1.29.11) (2022-01-04) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [1.29.10](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.9...@aws-amplify/appsync-modelgen-plugin@1.29.10) (2021-12-15) ### Bug Fixes - **appsync-modelgen-plugin:** revert not removing the additional fields in join for many-to-many ([6bf2156](https://github.com/aws-amplify/amplify-codegen/commit/6bf215691d1fdcdc56be114958ecec4d1b1fc5f5)) ## [1.29.9](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.8...@aws-amplify/appsync-modelgen-plugin@1.29.9) (2021-11-30) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [1.29.8](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.7...@aws-amplify/appsync-modelgen-plugin@1.29.8) (2021-11-20) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [1.29.7](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.6...@aws-amplify/appsync-modelgen-plugin@1.29.7) (2021-11-17) ### Bug Fixes - **amplify-codegen:** fix name for many to many join table fields ([#303](https://github.com/aws-amplify/amplify-codegen/issues/303)) ([a9ea050](https://github.com/aws-amplify/amplify-codegen/commit/a9ea0507bca6954dc99b8742417a9bb5498bd266)) ## [1.29.6](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.5...@aws-amplify/appsync-modelgen-plugin@1.29.6) (2021-11-12) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [1.29.5](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.4...@aws-amplify/appsync-modelgen-plugin@1.29.5) (2021-11-09) ### Bug Fixes - filter related fields by type to avoid finding wrong field ([883c01e](https://github.com/aws-amplify/amplify-codegen/commit/883c01e4cfe97cc7a2f9b616c171fe5d3808b8aa)) ## [1.29.4](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.3...@aws-amplify/appsync-modelgen-plugin@1.29.4) (2021-11-07) ### Bug Fixes - ensure [@index](https://github.com/index) and [@primary](https://github.com/primary)Key are codegen'ed correctly ([488660c](https://github.com/aws-amplify/amplify-codegen/commit/488660cbb4db0417402556693d7242b6ce1ec1d3)) - missing android indexes ([41084c9](https://github.com/aws-amplify/amplify-codegen/commit/41084c9aa0e0ecf68adb345fa06dc7c4c0f625e3)) - remove stale android logic, ensure no duplciate keys ([dd7f4d3](https://github.com/aws-amplify/amplify-codegen/commit/dd7f4d3f9a0a268fdff019e53cc3b25f2bcea22b)) ## [1.29.3](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.2...@aws-amplify/appsync-modelgen-plugin@1.29.3) (2021-11-06) ### Bug Fixes - **amplify-codegen:** revert for [#276](https://github.com/aws-amplify/amplify-codegen/issues/276) ([770777e](https://github.com/aws-amplify/amplify-codegen/commit/770777eec3a742a89888448053dcebe154884d15)) - **amplify-codegen:** updates hasone link location ([98356b0](https://github.com/aws-amplify/amplify-codegen/commit/98356b08d0eacab920076a54c63548636eb7fa8c)) ## [1.29.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.1...@aws-amplify/appsync-modelgen-plugin@1.29.2) (2021-11-03) ### Bug Fixes - **amplify-codegen:** fix v2 has one process connection directive ([fc4046e](https://github.com/aws-amplify/amplify-codegen/commit/fc4046e8ce3da8570a6f1b6a840f9ccff901a4cf)) ### Reverts - Revert "Feature: Use improved pluralization" ([a891a4f](https://github.com/aws-amplify/amplify-codegen/commit/a891a4f5820fcdb9610261b01ecc4d1211cf4e9f)) ## [1.29.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.29.0...@aws-amplify/appsync-modelgen-plugin@1.29.1) (2021-10-21) ### Bug Fixes - **appsync-modelgen-plugin:** non model type with id field in java ([#260](https://github.com/aws-amplify/amplify-codegen/issues/260)) ([186f8cd](https://github.com/aws-amplify/amplify-codegen/commit/186f8cdc6be4657e8dc061ee19430d0dccbaebdb)) # [1.29.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.28.0...@aws-amplify/appsync-modelgen-plugin@1.29.0) (2021-10-05) ### Features - **appsync-modelgen-plugin:** update Flutter ignored rules and add analysis note ([#248](https://github.com/aws-amplify/amplify-codegen/issues/248)) ([1f5e883](https://github.com/aws-amplify/amplify-codegen/commit/1f5e883631352efc17453581dd164bff6f3da1e0)) # [1.28.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.27.4...@aws-amplify/appsync-modelgen-plugin@1.28.0) (2021-09-29) ### Bug Fixes - **appsync-modelgen-plugin:** remove UUID check in java ([#243](https://github.com/aws-amplify/amplify-codegen/issues/243)) ([aa14e86](https://github.com/aws-amplify/amplify-codegen/commit/aa14e86aa8e7704da8cc06842f4b893cb0f22278)) ### Features - **appsync-modelgen-plugin:** Many to many directive ([#238](https://github.com/aws-amplify/amplify-codegen/issues/238)) ([cf95f9c](https://github.com/aws-amplify/amplify-codegen/commit/cf95f9ce77e5a5f8701332f87b813b0d6face228)), closes [#217](https://github.com/aws-amplify/amplify-codegen/issues/217) ## [1.27.4](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.27.3...@aws-amplify/appsync-modelgen-plugin@1.27.4) (2021-09-15) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [1.27.3](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.27.2...@aws-amplify/appsync-modelgen-plugin@1.27.3) (2021-08-27) ### Bug Fixes - add null safety ff check ([9940457](https://github.com/aws-amplify/amplify-codegen/commit/994045773bd63d8a192856dbd2c498ddfd4be679)) - apply toJson changes for float and int ([3d1d7ac](https://github.com/aws-amplify/amplify-codegen/commit/3d1d7ac19c69f23cdf8aa1e2194dc3156f914cf0)) - **appsync-modelgen-plugin:** add type cast for float fromJson ([7044492](https://github.com/aws-amplify/amplify-codegen/commit/7044492ee5fec8498c235ed69d96190da9f8842b)) - **appsync-modelgen-plugin:** remove unnecessary null-aware operators ([#227](https://github.com/aws-amplify/amplify-codegen/issues/227)) ([a1c4e34](https://github.com/aws-amplify/amplify-codegen/commit/a1c4e346046f113f9111a6450901b11a48c79c32)) ## [1.27.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.27.1...@aws-amplify/appsync-modelgen-plugin@1.27.2) (2021-08-18) ### Bug Fixes - **appsync-modelgen-plugin:** dart model internal constructor with no internal fields ([#210](https://github.com/aws-amplify/amplify-codegen/issues/210)) ([4d743b9](https://github.com/aws-amplify/amplify-codegen/commit/4d743b9cf29545591ae7dae0cf13619a1dac9513)) - **appsync-modelgen-plugin:** remove warning and uuid check for java ([#198](https://github.com/aws-amplify/amplify-codegen/issues/198)) ([6f932d0](https://github.com/aws-amplify/amplify-codegen/commit/6f932d006fb7bd3c19e280acf0d05c3d05f0ae0d)) ## [1.27.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.27.0...@aws-amplify/appsync-modelgen-plugin@1.27.1) (2021-07-28) ### Bug Fixes - **appsync-modelgen-plugin:** fix init when no read-only fields found ([#205](https://github.com/aws-amplify/amplify-codegen/issues/205)) ([7265f3a](https://github.com/aws-amplify/amplify-codegen/commit/7265f3a4214e107b88346181329c30c64dbca5a0)) # [1.27.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.26.0...@aws-amplify/appsync-modelgen-plugin@1.27.0) (2021-07-12) ### Features - **appsync-modelgen-plugin:** expose readonly labels to model ts output ([#185](https://github.com/aws-amplify/amplify-codegen/issues/185)) ([368a7c0](https://github.com/aws-amplify/amplify-codegen/commit/368a7c002e3aa56d2dcb03764490eead6df3b9bb)) # [1.26.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.25.0...@aws-amplify/appsync-modelgen-plugin@1.26.0) (2021-06-30) ### Features - **codegen:** iOS index directive support ([#174](https://github.com/aws-amplify/amplify-codegen/issues/174)) ([abb966c](https://github.com/aws-amplify/amplify-codegen/commit/abb966c647b08537564f85314a4266a5cbe33ffd)) - **modelgen:** ios - emit provider in [@auth](https://github.com/auth) rules ([#184](https://github.com/aws-amplify/amplify-codegen/issues/184)) ([f9c1b1a](https://github.com/aws-amplify/amplify-codegen/commit/f9c1b1af89a837ed4b705e21085f6c8402e94283)) # [1.25.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.24.0...@aws-amplify/appsync-modelgen-plugin@1.25.0) (2021-06-02) ### Bug Fixes - **appsync-modelgen-plugin:** include auth rule provider in the Java models, if available ([#168](https://github.com/aws-amplify/amplify-codegen/issues/168)) ([69cd61a](https://github.com/aws-amplify/amplify-codegen/commit/69cd61a4fe111d4950896c0debfb64415e14b512)) - **appsync-modelgen-plugin:** skip query/mutation/sub types ([#180](https://github.com/aws-amplify/amplify-codegen/issues/180)) ([aa0dbb3](https://github.com/aws-amplify/amplify-codegen/commit/aa0dbb31e9ebe285ec643ef98335021561dd2168)) ### Features - **modelgen:** ios - support public/private [@auth](https://github.com/auth) rules ([#181](https://github.com/aws-amplify/amplify-codegen/issues/181)) ([a649136](https://github.com/aws-amplify/amplify-codegen/commit/a6491366e84c9b7ef07da0e9678d6ad1194e88d7)) # [1.24.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.23.1...@aws-amplify/appsync-modelgen-plugin@1.24.0) (2021-05-25) ### Bug Fixes - **appsync-modelgen-plugin:** restore the old init if timestamp disabled ([#177](https://github.com/aws-amplify/amplify-codegen/issues/177)) ([f923e14](https://github.com/aws-amplify/amplify-codegen/commit/f923e144e9cf51f904d792a5c01ceffca685d0ea)) ### Features - **modelgen:** add timestamp fields createdAt & updatedAt for [@model](https://github.com/model) ([#114](https://github.com/aws-amplify/amplify-codegen/issues/114)) ([f611e94](https://github.com/aws-amplify/amplify-codegen/commit/f611e94ef8cbd37cf8e8f356df83adcb9a8d3465)) ## [1.23.1](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.23.0...@aws-amplify/appsync-modelgen-plugin@1.23.1) (2021-03-31) ### Bug Fixes - **modelgen:** revert not adding ID field automatically ([4a3c000](https://github.com/aws-amplify/amplify-codegen/commit/4a3c000adac2be10cc5c648d2d83461b24e35816)) # [1.23.0](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.10...@aws-amplify/appsync-modelgen-plugin@1.23.0) (2021-03-29) ### Bug Fixes - **modelgen:** match the error message in test ([115a311](https://github.com/aws-amplify/amplify-codegen/commit/115a31182ff3695caa5d651efb908fbdbd38867a)) - **modelgen:** throw error when id field is not present on models ([d19a317](https://github.com/aws-amplify/amplify-codegen/commit/d19a3179bee56cb40774684d5eeae536ba70ce0b)) ### Features - **dart-modelgen:** change the naming pattern for classType ([#115](https://github.com/aws-amplify/amplify-codegen/issues/115)) ([8dfa6a6](https://github.com/aws-amplify/amplify-codegen/commit/8dfa6a64cef62e996300d60a8a9c19691326dc79)) ## [1.22.10](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.9...@aws-amplify/appsync-modelgen-plugin@1.22.10) (2021-02-25) ### Bug Fixes - **@aws-amplify/appsync-modelgen-plugin:** JS targetName for hasOne ([#93](https://github.com/aws-amplify/amplify-codegen/issues/93)) ([3a5c4a5](https://github.com/aws-amplify/amplify-codegen/commit/3a5c4a5e020ee3444c775dfee93547353ce0ed8c)) ## [1.22.9](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.8...@aws-amplify/appsync-modelgen-plugin@1.22.9) (2021-02-22) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [1.22.8](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.7...@aws-amplify/appsync-modelgen-plugin@1.22.8) (2021-02-15) ### Bug Fixes - **amplify-flutter:** correctly serialize empty model lists ([0b724ee](https://github.com/aws-amplify/amplify-codegen/commit/0b724eee6b1bf23c67381c7c4923b51c3a0179ef)) - **modelgen-dart:** rename test model called TemporalTime to avoid conflicts with dart type ([aa72032](https://github.com/aws-amplify/amplify-codegen/commit/aa720325bd37bced33e589445145823a62ab824e)) - **modelgen-dart-optionals-fix:** fix rendering optionals in dart modelgen ([a64177f](https://github.com/aws-amplify/amplify-codegen/commit/a64177f0bdd5fe151b64e72fdd045f3544a6430e)) - **modelgen-flutter:** correctly handle nullable strings in dart toString ([434c024](https://github.com/aws-amplify/amplify-codegen/commit/434c024236871aaef5338593eff1649d85a4ada7)) - **modelgen-flutter:** correctly handle nullable strings in dart toString ([76e1ac6](https://github.com/aws-amplify/amplify-codegen/commit/76e1ac6d048d18d8dc23a2f2a4b0d4d8dc17d499)) - **modelgen-flutter:** Fix Optional ([d335b17](https://github.com/aws-amplify/amplify-codegen/commit/d335b17ec7e10ed4c0974940974603400d898855)) - **modelgen-java:** change float type mapping to double ([5e7f0a7](https://github.com/aws-amplify/amplify-codegen/commit/5e7f0a77a55de9142b61780752d8e47f22b42e6e)) - **modelgen-java:** change float type mapping to double ([fa1da80](https://github.com/aws-amplify/amplify-codegen/commit/fa1da80f032b7f95e3274cc03c52b5323e821245)) ## [1.22.7](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.6...@aws-amplify/appsync-modelgen-plugin@1.22.7) (2021-02-10) ### Bug Fixes - **appsync-modelgen-plugin:** change the time native type mapping and tostring method ([3d0d852](https://github.com/aws-amplify/amplify-codegen/commit/3d0d852a189938ddaa9fc282ce79732950605918)) - **modelgen:** add additional param to query fields ([0ce8cf3](https://github.com/aws-amplify/amplify-codegen/commit/0ce8cf387e70497cb7f2d23ee59a94f4da009b39)) - **modelgen-android:** add additional param to query fields ([46485a9](https://github.com/aws-amplify/amplify-codegen/commit/46485a93d7f2964a4b56d1418fbd7a6459a24769)) - **modelgen-flutter:** change the time native type mapping and tostring method ([526839d](https://github.com/aws-amplify/amplify-codegen/commit/526839d724d5d3bd8dcf07f2a52b024d0b82afa5)) ## [1.22.6](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.4...@aws-amplify/appsync-modelgen-plugin@1.22.6) (2021-02-05) ### Bug Fixes - **patch-release:** override previous patch release ([f2fe6e7](https://github.com/aws-amplify/amplify-codegen/commit/f2fe6e7bc3afa9a5fc634292564b9a97bf6bbc04)) ## [1.22.4](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.3...@aws-amplify/appsync-modelgen-plugin@1.22.4) (2020-12-17) ### Bug Fixes - **appsync-modelgen-plugin:** add get modeltype method in model provider ([b3daebb](https://github.com/aws-amplify/amplify-codegen/commit/b3daebb5b1425ca51fe6f85ff671960d6696510a)) - **appsync-modelgen-plugin:** generate correct output for field/enum w/o list or nullable ([129ed4c](https://github.com/aws-amplify/amplify-codegen/commit/129ed4c79adf7b9c89da53c14bf0ba024b3b57d9)) - **modelgen:** add targetName in hasOne relation ([16ff6c3](https://github.com/aws-amplify/amplify-codegen/commit/16ff6c3992ef3cd5c94a5ba016d127106ef34a5d)) ## [1.22.3](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.2...@aws-amplify/appsync-modelgen-plugin@1.22.3) (2020-12-11) ### Bug Fixes - **modelgen:** reduce the @types/node dependency to 12.12.6 ([e2a6047](https://github.com/aws-amplify/amplify-codegen/commit/e2a60475a62d1c6c981601d8de2a79d7ddc69ca3)) ## [1.22.2](https://github.com/aws-amplify/amplify-codegen/compare/@aws-amplify/appsync-modelgen-plugin@1.22.1...@aws-amplify/appsync-modelgen-plugin@1.22.2) (2020-12-04) **Note:** Version bump only for package @aws-amplify/appsync-modelgen-plugin ## [1.22.1](https://github.com/aws-amplify/amplify-cli/compare/amplify-codegen-appsync-model-plugin@1.22.0...amplify-codegen-appsync-model-plugin@1.22.1) (2020-12-03) ## 4.37.1 (2020-12-02) ### Bug Fixes - **amplify-codegen-appsync-model-plugin:** address feedback from flutter team(Nov 28) ([#6004](https://github.com/aws-amplify/amplify-cli/issues/6004)) ([b624e0f](https://github.com/aws-amplify/amplify-cli/commit/b624e0fff58659d0aeb13bc3e79b437071295aa3)) # [1.22.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-codegen-appsync-model-plugin@1.21.1...amplify-codegen-appsync-model-plugin@1.22.0) (2020-11-26) ### Bug Fixes - snapshot for dart modelgen ([#5953](https://github.com/aws-amplify/amplify-cli/issues/5953)) ([83777ee](https://github.com/aws-amplify/amplify-cli/commit/83777ee5bf9bb4b532669d7927078db489d72975)) # 4.36.0 (2020-11-24) ### Features - **amplify-codegen-appsync-model-plugin:** add appsync dart visitor … ([#5937](https://github.com/aws-amplify/amplify-cli/issues/5937)) ([28168ad](https://github.com/aws-amplify/amplify-cli/commit/28168ad25c341c038bfd13d7ca54b1b7bd74adc7)) ## [1.21.1](https://github.com/aws-amplify/amplify-cli/compare/amplify-codegen-appsync-model-plugin@1.20.10...amplify-codegen-appsync-model-plugin@1.21.1) (2020-11-22) **Note:** Version bump only for package amplify-codegen-appsync-model-plugin # 1.21.0 (2020-11-22) ### Bug Fixes - ** amplify-codegen-appsync-model-plugin:** field name errors ([#3055](https://github.com/aws-amplify/amplify-cli/issues/3055)) ([cde1bc0](https://github.com/aws-amplify/amplify-cli/commit/cde1bc0806693d4a3a00806b01ef56d6cc90cbe7)) - **amplify-codegen:** use Java Long for AWSTimestamp ([#3615](https://github.com/aws-amplify/amplify-cli/issues/3615)) ([051b2fb](https://github.com/aws-amplify/amplify-cli/commit/051b2fb4de7266d950af8a51170f30b43d0d9b50)), closes [#3593](https://github.com/aws-amplify/amplify-cli/issues/3593) - **amplify-codegen-appsync-model-plugin:** Support Embeddable Types for iOS ([#4545](https://github.com/aws-amplify/amplify-cli/issues/4545)) ([bb51678](https://github.com/aws-amplify/amplify-cli/commit/bb51678c589e2b09f8c72af68ed5a6aef448a6cb)) - **amplify-codegen-appsync-model-plugin:** add additional scalars ([#2919](https://github.com/aws-amplify/amplify-cli/issues/2919)) ([4521f67](https://github.com/aws-amplify/amplify-cli/commit/4521f675ce735df1b5ce824e4cec9001ea414781)) - **amplify-codegen-appsync-model-plugin:** add Amplify extension to ios ([4a97971](https://github.com/aws-amplify/amplify-cli/commit/4a97971b7cae61891998ce29a2558e2c8c1a647f)) - **amplify-codegen-appsync-model-plugin:** add auth directive info ([#3050](https://github.com/aws-amplify/amplify-cli/issues/3050)) ([9951402](https://github.com/aws-amplify/amplify-cli/commit/9951402777b047277e6e05c6cb84fea92c238e82)) - **amplify-codegen-appsync-model-plugin:** Add delimiter in Android `toString` output ([#4463](https://github.com/aws-amplify/amplify-cli/issues/4463)) ([395ee16](https://github.com/aws-amplify/amplify-cli/commit/395ee16372ca285aa5d5ab868f69416478339dd4)) - **amplify-codegen-appsync-model-plugin:** add field level [@auth](https://github.com/auth) process ([#5543](https://github.com/aws-amplify/amplify-cli/issues/5543)) ([1340343](https://github.com/aws-amplify/amplify-cli/commit/1340343c18e2a155bdb35321a2915d910f1f851e)) - **amplify-codegen-appsync-model-plugin:** add missing packages ([aaab38e](https://github.com/aws-amplify/amplify-cli/commit/aaab38e4456c15a00c61e0e00dc940ee7d7aea01)) - **amplify-codegen-appsync-model-plugin:** add ownerField to modelgen… ([#5455](https://github.com/aws-amplify/amplify-cli/issues/5455)) ([763f4af](https://github.com/aws-amplify/amplify-cli/commit/763f4af9238729894e5c95eba298d3c1b08a33db)) - **amplify-codegen-appsync-model-plugin:** add toString in hashCode ([5b74dfa](https://github.com/aws-amplify/amplify-cli/commit/5b74dfa0b