- Add ltree type support for PostgreSQL (#318)
- Mysql fulltext index base support (#285)
- Fix @PrimaryGeneratedColumn marked as unique(#239)
- Proper relationId, ralationName none caseing (#280)
- Keep old tsconfig and ormconfig files instead of generated ones (#154)
- MSSQL model generation speed optimization (#312)
- Mysql8 support (#311)
- Allow database names with special characters (#273)
- Naming strategy for entity file names (#236)
- Support MSSQL named instances (#300)
- Add ability to generate models only for specyfic tables (#296)
- Fix for generating one-to-many RelationId columns (#291)
- Support for identity in newer postgres databases (#291)
- Fixed bug with Mssql IsIdentity on tables with non-default schema name (#275)
- Option to generate properties with snake_case (#295)
- Use statement not available on Azure SQL (#243)
- Allow models which don't generate properly to be saved (#259)
- MySQL and MariaDB column comments (#260)
- JSON default values (#248,#256)
- Fixed model generation on oracle database (#252)
- New option to define line ending character (#241)
- Fixed model generation for two table with same name, different schema on mssql (#246)
- Proper naming strategy typings (#249)
- Release version without installed db drivers
- Custom NamingStrategy is now defined as separate functions instead of a class
- Rework how parameters are passed to the library:
- Utilization of partial config files
- Option to save .tomg-config file without connection options
- Generation of separate fields for primary columns which are used in relations(old approach won't be compatible with [email protected])
- Remove timeout parameter - query timeout is now set by default to 1 hr
- Change default case conversions for generated files (#196)
- Support complex relationships (#117)
- Proper support for many to many relations
- Proper pluralization of entity names (#142)
- Skip generation of imports not used by entity definition files
- Skip generation of indices generated by PKs or relations
- Columns with unrecognized sql type are generated with unknown type
- Generation of proper type for nullable columns
- Fixed specifying custom naming strategy by relative path (#171)
- Disallow generation of relationId fields with lazy relations(not supported in typeorm)
- Support for old oracle versions (#195)
- New options:
- Disable column name pluralization (#142)
- Ignore tables parameter (#120)
- Generation of index file (#174)
- Default exports on generated models
- Enum type safety (#205)
- Mysql set type support (#91)
- Postgres geography type support (#232)
- Make generated models compatible with common ESLint rules
- Ability to use typeorm-model-generator as library in other projects (but no guarantees about api compatibility between different version)
- moved to ts-node - you can now use this library installed directly from github repo
- support for UNSIGNED columns in MySQL (#179)
- support for richer derivation of column & entity name (#176)
- new option to generate code compliant with
strictPropertyInitialization
flag(#136, #182) - new option to skip schema and database identifier in generated entities (#177)
- new option to specify request timeout (#185)
- added property visibility to RelationId properties (#167)
- disabled generating complex relationships(until #117 is fixed)
- fixed issue with setting precision when scale isn't default on numeric types (#184)
- PostgreSQL enum support (#187)
- generating access modifier to constructor (#169)
- fixed RelationId generation with different casing scenarios (#192)
- fixed using property case on uppercase columns(#157)
- added bit type support for mysql/mariadb
- fixed generation of relations with only onUpdate defined(#139)
- added option to generate models based on multiple databases(#144)
- fixed generation of ManyToMany relations on junction tables with custom names(#151)
- fixed problems with mysql 8
- fixed shadowed variables tslint errors(#141)
- fixed order of generated columns
- mariadb default value compatibility changes(#153)
- Fixed npx usage(#146)
- Wizard mode - you can now run model generation without passing any parameters and provide them step by step. It also allows you to save provided informations for future use
- generated columns no longer contains options which are set by default in typeorm
- added support for VARBINARY type on MySQL, MariaDb
- fixed issue with case conversion and @RetlationId fields
- a lot of internal work
- fixed naming strategy changing entity name in db
- fixed proper relation generation when unique index have more columns
- fixed generation of default values
- fixed generation of duplicate relations for mysql
- added option for generating entities for AciveRecord pattern
- added column type to generated
@PrimaryGeneratedColumn
decorator - allow to define property visibility, by using --pv
- fixed some problems with duplicated relationships on mysql database
- fixed naming strategy for guid ended column names
- fixed column names case conversion in index declarations
- primary keys using identity/sequence are now generated with
@PrimaryGeneratedColumn
decorator #96
- relation onUpdate fixes
- postgres support for citext, hstore, geometry, array column types
- upgraded typeorm version
- custom naming strategy fixes
- dependencies update
- oracle output format fixed
- added support for relationId fields
- added support for custom naming entity fields
- removed oracledb from dependencies
- generating nullable column types for nullable columns