Skip to content

Latest commit

 

History

History
117 lines (70 loc) · 7.09 KB

CHANGELOG.md

File metadata and controls

117 lines (70 loc) · 7.09 KB

CHANGELOG

0.13.0

0.12.5

  • Fix running scaffold when installing with npm. #265 - jvcmanke

0.12.3

  • Add ability to handle errors yourself when using subscriptions. #261 - zpalin

0.12.1

  • Support using union types in actions in RootStore.base #257

0.12.0

  • Suppot for non-object return values. These currently are not stored in the store automatically. #246
  • Add Type suffix to MST enum types to avoid clash with typescript value #238 - beepsoft

0.11.1

0.11.0

0.9.0 / 0.10.0

  • Enum's no longer get Model added to their name. This is a small breaking change from 0.8.0.

⚠️ Note

mst-gql now generates model names matching JS conventions by default. If you are upgrading from a pre-0.8.0 release this may result in different names being geneated when you scaffold. If you don't wish to update your names or want to wait, use the new --dontRenameModels option to keep your current model names.

0.8.0

  • Allow LIST to be optional in TS. 174 - Aryk
  • Generate model names that match JS conventions by default, add escape hatch option to opt-out - 155 - beepsoft
  • Better error handling around reserved model names. 192 - Matth10
  • Remove example project yarn.lock files to reduce the "github auto PR" noise.

⚠️ Note

mst-gql now generates model names matching JS conventions by default. If you are upgrading from a pre-0.8.0 release this may result in different names being geneated when you scaffold. If you don't wish to update your names or want to wait, use the new --dontRenameModels option to keep your current model names.

0.7.1

  • update how optional types are generated. 150

0.7.0

  • 🎉 add new code to fix circular ref issues in typescript code. #140 - godness84

0.6.0

  • add a new ModelBase file that all models extend that can be edited. #106 - zenflow
  • CLI alert on unexpected files in models folder. #113 - RXminuS
  • Use undefined to mean not loaded, use null to mean gql null #102 - zenflow

0.5.0

  • Update example 5. #93 thanks zenflow!
  • Stop generating input types when format is js. #96
  • Drop the raw option for queries #103 - zenflow
  • Deduplicate identical concurrent query requests #100 - zenflow

0.4.1

0.4.0

Note

This release has changed how the user editable model files are generated when using typescript.

See https://github.com/mobxjs/mst-gql/pull/76/commits/6d98650f82934fdd47a6cf998119560ca306823c for an example of migrating these files to the new version.

0.3.5

  • fix types on data returned from userQuery to match the shape of data. Thanks mattiasewers for #77 and #81

0.3.4

  • fix promise.finally issue that caused an error when used in react-native, see #79 by chrisdrackett

0.3.3

  • update localStorageMixin to support being used with react native, see #64 by chrisdrackett

0.3.0

0.2.0

  • support input types, see #36 by elie222
  • support interface and union field types, see #23 by dpnolte