# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.9.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.9.1...@aws-amplify/graphql-schema-generator@0.9.2) (2024-07-02)

### Bug Fixes

- **amplify-category-api:** ssl cert api name change ([#2680](https://github.com/aws-amplify/amplify-category-api/issues/2680)) ([74e7d06](https://github.com/aws-amplify/amplify-category-api/commit/74e7d06f63cd9d865d01aa46be4ae7a420fc3c2f))

## [0.9.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.9.0...@aws-amplify/graphql-schema-generator@0.9.1) (2024-07-01)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

# [0.9.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.8.6...@aws-amplify/graphql-schema-generator@0.9.0) (2024-06-25)

### Features

- **generate-schema:** custom ssl cert support to generate schema command ([#2615](https://github.com/aws-amplify/amplify-category-api/issues/2615)) ([390887f](https://github.com/aws-amplify/amplify-category-api/commit/390887ff4467baca9dad8f70071442b95bb04cf9))

## [0.8.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.8.5...@aws-amplify/graphql-schema-generator@0.8.6) (2024-05-15)

### Bug Fixes

- yarn clean preserve cert file in schema discovery lambda ([#2548](https://github.com/aws-amplify/amplify-category-api/issues/2548)) ([7810c87](https://github.com/aws-amplify/amplify-category-api/commit/7810c87831ae8701d1d9b1029e2035ac4bccddb1))

## [0.8.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.8.4...@aws-amplify/graphql-schema-generator@0.8.5) (2024-05-10)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.8.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.8.3...@aws-amplify/graphql-schema-generator@0.8.4) (2024-05-01)

### Bug Fixes

- enable ssl for generate schema command ([#2516](https://github.com/aws-amplify/amplify-category-api/issues/2516)) ([4e7e122](https://github.com/aws-amplify/amplify-category-api/commit/4e7e12283292cda3c485d50a657dcf82c570fd73))

## [0.8.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.8.2...@aws-amplify/graphql-schema-generator@0.8.3) (2024-04-26)

### Bug Fixes

- **api:** add auto generated comment to the generated typescript data schema file ([#2473](https://github.com/aws-amplify/amplify-category-api/issues/2473)) ([e4dfb1f](https://github.com/aws-amplify/amplify-category-api/commit/e4dfb1ffcffd87e1da73c438fb5da0d04f07dd48))
- **api:** handle error on generate ts data schema when no tables with primary key ([#2483](https://github.com/aws-amplify/amplify-category-api/issues/2483)) ([30a333b](https://github.com/aws-amplify/amplify-category-api/commit/30a333b97934d732c724a9e165edae278cb0c8f5))

## [0.8.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.8.1...@aws-amplify/graphql-schema-generator@0.8.2) (2024-04-16)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.8.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.8.0...@aws-amplify/graphql-schema-generator@0.8.1) (2024-04-11)

### Bug Fixes

- **api:** add identifier to generated ts data schema ([#2440](https://github.com/aws-amplify/amplify-category-api/issues/2440)) ([aa7de30](https://github.com/aws-amplify/amplify-category-api/commit/aa7de30e4abb49e2684477607b3cadbe2fbc4e20))

# [0.8.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.7.2...@aws-amplify/graphql-schema-generator@0.8.0) (2024-03-28)

### Features

- **api:** auto detect vpc configuration on generate typescript database schema ([#2376](https://github.com/aws-amplify/amplify-category-api/issues/2376)) ([ef6f53c](https://github.com/aws-amplify/amplify-category-api/commit/ef6f53c04bbcc50921bf20a937d1332d4597a3fa))

## [0.7.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.7.1...@aws-amplify/graphql-schema-generator@0.7.2) (2024-03-13)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.7.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.7.0...@aws-amplify/graphql-schema-generator@0.7.1) (2024-02-28)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

# [0.7.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.6.4...@aws-amplify/graphql-schema-generator@0.7.0) (2024-02-05)

### Features

- **api:** generate typescript data schema from sql schema internal representation ([#2225](https://github.com/aws-amplify/amplify-category-api/issues/2225)) ([460b077](https://github.com/aws-amplify/amplify-category-api/commit/460b0776af82932d2b42a2b7720b49b91fdbd45c))

## [0.6.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.6.3...@aws-amplify/graphql-schema-generator@0.6.4) (2024-01-30)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.6.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.6.2...@aws-amplify/graphql-schema-generator@0.6.3) (2024-01-22)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.6.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.6.1...@aws-amplify/graphql-schema-generator@0.6.2) (2023-12-18)

### Bug Fixes

- **api:** validate imported enum values ([860f045](https://github.com/aws-amplify/amplify-category-api/commit/860f0456975d729c41d21a154a07b8b9bc6d9a34))

## [0.6.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.6.0...@aws-amplify/graphql-schema-generator@0.6.1) (2023-12-14)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

# [0.6.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.5.3...@aws-amplify/graphql-schema-generator@0.6.0) (2023-12-06)

### Bug Fixes

- correctly set pk/indexes when table name changes ([#2098](https://github.com/aws-amplify/amplify-category-api/issues/2098)) ([3a1a979](https://github.com/aws-amplify/amplify-category-api/commit/3a1a979139ea2aa4d09a105fe67898863c4ca244))
- typo in PG schema query ([#2104](https://github.com/aws-amplify/amplify-category-api/issues/2104)) ([5f0e743](https://github.com/aws-amplify/amplify-category-api/commit/5f0e74302ba77eb307702b2b1b226326788853fb))

### Features

- combine heterogeneous data sources ([#2109](https://github.com/aws-amplify/amplify-category-api/issues/2109)) ([fd58bb5](https://github.com/aws-amplify/amplify-category-api/commit/fd58bb5af4249220d17c9751acf677955aed74ea))

## [0.5.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.5.2...@aws-amplify/graphql-schema-generator@0.5.3) (2023-11-22)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.5.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.5.1...@aws-amplify/graphql-schema-generator@0.5.2) (2023-11-18)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.5.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.5.0...@aws-amplify/graphql-schema-generator@0.5.1) (2023-11-16)

### Bug Fixes

- retain custom enums ([#2081](https://github.com/aws-amplify/amplify-category-api/issues/2081)) ([ef9e80c](https://github.com/aws-amplify/amplify-category-api/commit/ef9e80cc1ee817c206ccc4f7770da1b7092518c5))

# [0.5.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.9...@aws-amplify/graphql-schema-generator@0.5.0) (2023-11-15)

### Bug Fixes

- Change 'rds' to 'sql' in public-facing symbols ([#2069](https://github.com/aws-amplify/amplify-category-api/issues/2069)) ([ff374dd](https://github.com/aws-amplify/amplify-category-api/commit/ff374dd8398d3f1138a31669b1a5962122039437))
- check for duplicate model name mappings ([454f549](https://github.com/aws-amplify/amplify-category-api/commit/454f549d0cb33ff4074b8a9ef08061cf672b2258))
- Fix schema import for RDS clusters in VPCs ([942ad39](https://github.com/aws-amplify/amplify-category-api/commit/942ad3923e826f77cc20a65beee3dfadd21e32ef))
- handle field names starting with number ([2e9de1b](https://github.com/aws-amplify/amplify-category-api/commit/2e9de1b061ac212fad23b133ada44bfaadb1a2ff))
- handle non-alphabetic names ([a116847](https://github.com/aws-amplify/amplify-category-api/commit/a1168475c0591c6dd785410feb44733cb995febb))
- mysql schema query ([#2068](https://github.com/aws-amplify/amplify-category-api/issues/2068)) ([4d77404](https://github.com/aws-amplify/amplify-category-api/commit/4d77404a1d5b446eb1feab2a2156592919b16ef0))
- only access .rows on knex schema query result ([#2037](https://github.com/aws-amplify/amplify-category-api/issues/2037)) ([b3905a6](https://github.com/aws-amplify/amplify-category-api/commit/b3905a62e16ff56287ac0884fe7881780b2903cf))
- PostgreSQL introspection logic ([#2043](https://github.com/aws-amplify/amplify-category-api/issues/2043)) ([3739916](https://github.com/aws-amplify/amplify-category-api/commit/37399163a2e80e8ca4c15df7a6d42c601e03f7a5))
- preserve null value from mysql and pg schemas ([#2049](https://github.com/aws-amplify/amplify-category-api/issues/2049)) ([d96176e](https://github.com/aws-amplify/amplify-category-api/commit/d96176e9a94b25f6c169c38a79c7135645a8eab7))
- relational auth cases; preserve auth rule schema edits, added multi-auth e2e tests ([#1965](https://github.com/aws-amplify/amplify-category-api/issues/1965)) ([df085b2](https://github.com/aws-amplify/amplify-category-api/commit/df085b2bf75dded743809b59386272070fc92251))

### Features

- add graphqlSchemaFromRDSSchema for unauth schema import ([#2004](https://github.com/aws-amplify/amplify-category-api/issues/2004)) ([4d79599](https://github.com/aws-amplify/amplify-category-api/commit/4d79599855b86b5ef8040519f39039d619a34d9a))
- add postgres support to graphqlSchemaFromRDSSchema ([#2015](https://github.com/aws-amplify/amplify-category-api/issues/2015)) ([6a2c5f0](https://github.com/aws-amplify/amplify-category-api/commit/6a2c5f00d72ff10ebf011b763348158a353deb31))
- **api:** add enum support for postgres import ([2e63cec](https://github.com/aws-amplify/amplify-category-api/commit/2e63cecf1f04ec39b644f0ee0842ee79a4b4c149))
- **api:** postgres import workflow ([a87203f](https://github.com/aws-amplify/amplify-category-api/commit/a87203f5e7b0a279f6c916069b648f973089e074))
- **api:** specify include or exclude tables option to generate schema ([1fa52a1](https://github.com/aws-amplify/amplify-category-api/commit/1fa52a1f0c0d7bf82caebc94241774ac3b5c8aa1))
- infer and preserve field mappings in schema ([4f8e7f4](https://github.com/aws-amplify/amplify-category-api/commit/4f8e7f43e6ba3e64702baffe60b8b4870d37ffb6))
- infer refersTo for models in the import flow and preserve edits during schema regeneration ([#1845](https://github.com/aws-amplify/amplify-category-api/issues/1845)) ([2631c02](https://github.com/aws-amplify/amplify-category-api/commit/2631c027395a35d9841669f2aa034af93cbeb9fc))
- Support RDS Proxy schema imports ([#1917](https://github.com/aws-amplify/amplify-category-api/issues/1917)) ([55bb698](https://github.com/aws-amplify/amplify-category-api/commit/55bb698f319d3abb63ad0a8260f731e57c0d0fa9))
- validate imported schema ([#2031](https://github.com/aws-amplify/amplify-category-api/issues/2031)) ([36fa859](https://github.com/aws-amplify/amplify-category-api/commit/36fa8599984a4c681780208a69c9bdc67800fe93))

## [0.4.9](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.8...@aws-amplify/graphql-schema-generator@0.4.9) (2023-11-02)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.4.8](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.7...@aws-amplify/graphql-schema-generator@0.4.8) (2023-10-21)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.4.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.6...@aws-amplify/graphql-schema-generator@0.4.7) (2023-10-12)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.4.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.5...@aws-amplify/graphql-schema-generator@0.4.6) (2023-10-05)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.4.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.4...@aws-amplify/graphql-schema-generator@0.4.5) (2023-10-02)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.4.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.3...@aws-amplify/graphql-schema-generator@0.4.4) (2023-09-20)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.4.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.2...@aws-amplify/graphql-schema-generator@0.4.3) (2023-09-07)

### Bug Fixes

- npm publish ignore tests and lambdas sources ([e1411cd](https://github.com/aws-amplify/amplify-category-api/commit/e1411cdd5e34cefa6b2fc08fcf49aab4c0afc727))

## [0.4.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.1...@aws-amplify/graphql-schema-generator@0.4.2) (2023-08-30)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.4.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.4.0...@aws-amplify/graphql-schema-generator@0.4.1) (2023-08-28)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

# [0.4.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.3.0...@aws-amplify/graphql-schema-generator@0.4.0) (2023-08-09)

### Features

- bump major version of transformer packages ([2458c84](https://github.com/aws-amplify/amplify-category-api/commit/2458c8426da5772aa669d37e11f99ee9c6c5ac2e))

# [0.3.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.8...@aws-amplify/graphql-schema-generator@0.3.0) (2023-07-21)

### Features

- **graphql:** add vpc support for import workflow ([44170f9](https://github.com/aws-amplify/amplify-category-api/commit/44170f9f6ea4c7fe8b30604037067c4d36f71d2e))
- **graphql:** vpc support for sql lambda ([9cc4407](https://github.com/aws-amplify/amplify-category-api/commit/9cc4407bdc4799fe548919808961911a3d5995c7))

## [0.1.8](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.7...@aws-amplify/graphql-schema-generator@0.1.8) (2023-07-17)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.1.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.6...@aws-amplify/graphql-schema-generator@0.1.7) (2023-07-07)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.1.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.5...@aws-amplify/graphql-schema-generator@0.1.6) (2023-07-07)

### Bug Fixes

- trigger republish of dependencies that failed in https://app.circleci.com/pipelines/github/aws-amplify/amplify-category-api/7981/workflows/e7366f04-6f0a-4ee4-9cc2-1772089e8005/jobs/163571 ([f2c7151](https://github.com/aws-amplify/amplify-category-api/commit/f2c7151005e4a9fd29d91ac1af1f3e482a06a5cc))

## [0.1.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.4...@aws-amplify/graphql-schema-generator@0.1.5) (2023-07-07)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.1.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.3...@aws-amplify/graphql-schema-generator@0.1.4) (2023-06-29)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.1.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.2...@aws-amplify/graphql-schema-generator@0.1.3) (2023-06-20)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.1.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.1...@aws-amplify/graphql-schema-generator@0.1.2) (2023-06-05)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

## [0.1.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-schema-generator@0.1.0...@aws-amplify/graphql-schema-generator@0.1.1) (2023-05-23)

**Note:** Version bump only for package @aws-amplify/graphql-schema-generator

# 0.1.0 (2023-05-17)

### Bug Fixes

- **graphql:** import rds errors due to primary key and index ([dbb8efe](https://github.com/aws-amplify/amplify-category-api/commit/dbb8efe89a9dbc60c4f3b975117a0481ad9475de))
- retain user Amplify input in the schema ([df3dbec](https://github.com/aws-amplify/amplify-category-api/commit/df3dbecba54183262c544499424c8dbbcc78b421))
- update the logic to determine computed default values ([60fb7c5](https://github.com/aws-amplify/amplify-category-api/commit/60fb7c54aae10a74755d2917a3a2de44efb1e226))

### Features

- add api import, generate-schema workflows ([da498b5](https://github.com/aws-amplify/amplify-category-api/commit/da498b5e86fe1d12a59f7a03ba62cb93057e9ec6))
- add RDS primary key transformer ([b6cd813](https://github.com/aws-amplify/amplify-category-api/commit/b6cd813dcc36843c0a5686133e8af1600cd1badb))
- **api:** generate graphql schema from internal schema representation ([9b79605](https://github.com/aws-amplify/amplify-category-api/commit/9b79605239eb47a438deb04fdbda4996563d80ee))
- **api:** interface and helpers for importing datasources ([43fcb7c](https://github.com/aws-amplify/amplify-category-api/commit/43fcb7c864d95f178a3f7bfed3bb53d9318d7881))
- **graphql:** infer enums from database schema ([d4701b8](https://github.com/aws-amplify/amplify-category-api/commit/d4701b8560929101cc9f2fb91bd7f56dfb95d17c))
- **graphql:** mysql implementation for describe table interface ([586d0b5](https://github.com/aws-amplify/amplify-category-api/commit/586d0b5dbf5e04658968b24c853395eab956a0a4))
- publish schema generator package ([dacea0a](https://github.com/aws-amplify/amplify-category-api/commit/dacea0a7433a63660b3dbfd65e4788641d07d4b3))
- RDS generate schema handles default values ([e866dfa](https://github.com/aws-amplify/amplify-category-api/commit/e866dfa7cb113a736f52f4749dfc160350476970))
