mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
3.7 KiB
3.7 KiB
0.0.7 (upcoming)
- fixed bug when new column was'nt added properly in sqlite #157
- added ability to set different types of values for DEFAULT value of the column #150
- all table decorators are renamed to
Entity(Table=>Entity,AbstractTable=>AbstractEntity,ClassTableChild=>ClassEntityChild,ClosureTable=>ClosureEntity,EmbeddableTable=>EmbeddableEntity,SingleTableChild=>SingleEntityChild). This change is required because upcoming versions of orm will work not only with tables, but also with documents and other database-specific "tables". Previous decorator names are deprecated and will be removed in the future. - added custom repositories support. Example in samples directory.
0.0.6 (latest)
- added
JSONBsupport for Postgres in #126 (thanks @CreepGin) - fixed in in sqlite query runner in #141 (thanks @marcinwadon)
- added shortcut exports for table schema classes in #135 (thanks @eduardoweiland)
- fixed bugs with single table inheritance in #132 (thanks @eduardoweiland)
- fixed issue with
TIMEcolumn in #134 (thanks @cserron) - fixed issue with relation id in #138 (thanks @mingyang91)
- fixed bug when URL for pg was parsed incorrectly #114 (thanks @mingyang91)
- fixed bug when embedded is not being updated
- metadata storage now in global variable
- entities are being loaded in migrations and can be used throw the entity manager or their repositories
- migrations now accept
EntityMetadatawhich can be used within one transaction - fixed issue with migration running on windows #140
- fixed bug with with Class Table Inheritance #144
0.0.5
- changed
getScalarManytogetRawManyinQueryBuilder - changed
getScalarOnetogetRawOneinQueryBuilder - added migrations support
0.0.4
- fixed problem when
order byis used withlimit - fixed problem when
decorators-shim.d.tsexist and does not allow to import decorators (treats like they exist in global) - fixed Sql Server driver bugs
0.0.3
- completely refactored persistence mechanism:
- added experimental support of
{ nullable: true }in relations - cascade operations should work better now
- optimized all queries
- entities with recursive entities should be persisted correctly now
- added experimental support of
- now
undefinedproperties are skipped in the persistence operation, as well asundefinedrelations. - added platforms abstractions to allow typeorm to work on multiple platforms
- added experimental support of typeorm in the browser
- breaking changes in
QueryBuilder:getSingleResult()renamed togetOne()getResults()renamed togetMany()getResultsAndCount()renamed togetManyAndCount()- in the innerJoin*/leftJoin* methods now no need to specify
ON - in the innerJoin*/leftJoin* methods no longer supports parameters, use
addParametersorsetParameterinstead. setParametersis now works just likeaddParameters(because previous behaviour confused users),addParametersnow is deprecatedgetOnereturnsPromise<Entity|undefined>
- breaking changes in
RepositoryandEntityManager:findOneandfindOneByIdnow returnPromise<Entity|undefined>instead ofPromise<Entity>
- now typeorm is compiled into
ES5instead ofES6- this allows to run it on older versions of node.js - fixed multiple issues with dates and utc-related stuff
- multiple bugfixes
0.0.2
- lot of API refactorings
- complete support TypeScript 2
- optimized schema creation
- command line tools
- multiple drivers support
- multiple bugfixes
0.0.1
- first stable version, works with TypeScript 1.x