Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

typeorm-plus

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeorm-plus - npm Package Versions

1
45

0.0.8

Diff

Changelog

Source

0.0.8

  • added complete babel support
  • added clear method to Repository and EntityManager which allows to truncate entity table
  • exported EntityRepository in typeorm/index
  • fixed issue with migration generation in #239 (thanks to @Tobias4872)
  • fixed issue with using extra options with SqlServer #236 (thanks to @jmai00)
  • fixed issue with non-pooled connections #234 (thanks to @benny-medflyt)
  • fixed issues: #242, #240, #204, #219, #233, #234
iwinston
published 0.0.7 •

Changelog

Source

0.0.7

  • added custom entity repositories support
  • merged typeorm-browser and typeorm libraries into single package
  • added @Transaction decorator
  • added exports to typeorm/index for naming strategies
  • added shims for browsers using typeorm in frontend models, also added shim to use typeorm with class-transformer library on the frontend
  • fixed issue when socketPath could not be used with mysql driver (thanks @johncoffee)
  • 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.
  • cascade remove options has been removed from @ManyToMany, @OneToMany decorators. Also cascade remove is not possible from two sides of @OneToOne relationship now.
  • fixed issues with subscribers and transactions
  • typeorm now has translation in chinese (thanks @brookshi)
  • added schemaName support for postgres database #152 (thanks @mingyang91)
  • 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
  • added ability to use zero, false and empty string values as DEFAULT values in #189 (thanks to @Luke265)
  • fixed bug with junction tables persistence (thanks @Luke265)
  • fixed bug regexp in QueryBuilder (thanks @netnexus)
  • fixed issues #202, #203 (thanks to @mingyang91)
  • fixed issues #159, #181, #176, #192, #191, #190, #179, #177, #175, #174, #150, #159, #173, #195, #151
iwinston
published 0.0.6 •

Changelog

Source

0.0.6

  • added JSONB support for Postgres in #126 (thanks @CreepGin@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 TIME column 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 EntityMetadata which can be used within one transaction
  • fixed issue with migration running on windows #140
  • fixed bug with with Class Table Inheritance #144
iwinston
published 0.0.5 •

Changelog

Source

0.0.5

  • changed getScalarMany to getRawMany in QueryBuilder
  • changed getScalarOne to getRawOne in QueryBuilder
  • added migrations support
iwinston
published 0.0.4 •

Changelog

Source

0.0.4

  • fixed problem when order by is used with limit
  • fixed problem when decorators-shim.d.ts exist and does not allow to import decorators (treats like they exist in global)
  • fixed Sql Server driver bugs
iwinston
published 0.0.3 •

Changelog

Source

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
  • now undefined properties are skipped in the persistence operation, as well as undefined relations.
  • 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 to getOne()
    • getResults() renamed to getMany()
    • getResultsAndCount() renamed to getManyAndCount()
    • in the innerJoin*/leftJoin* methods now no need to specify ON
    • in the innerJoin*/leftJoin* methods no longer supports parameters, use addParameters or setParameter instead.
    • setParameters is now works just like addParameters (because previous behaviour confused users), addParameters now is deprecated
    • getOne returns Promise<Entity|undefined>
  • breaking changes in Repository and EntityManager:
    • findOne and .findOneByIdnow returnPromise<Entity|undefined>instead ofPromise<Entity>`
  • now typeorm is compiled into ES5 instead of ES6 - this allows to run it on older versions of node.js
  • fixed multiple issues with dates and utc-related stuff
  • multiple bugfixes
iwinston
published 0.0.2 •

Changelog

Source

0.0.2

  • lot of API refactorings
  • complete support TypeScript 2
  • optimized schema creation
  • command line tools
  • multiple drivers support
  • multiple bugfixes
iwinston
published 0.0.1 •

Changelog

Source

0.0.1

  • first stable version, works with TypeScript 1.x
iwinston
published 0.2.15 •

Changelog

Source

0.2.15 (2019-03-14)

Bug fixes

  • fixed bug in connection.dropDatabase method (#1414)
  • fixed "deep relations" not loaded/mapped due to the built-in max length of Postgres (#3118)
  • updated all dependencies
  • fixed types issue from #3725
  • removed sql-function-support (() => syntax) in parameters to prevent security considerations
  • fix sync schema issue with postgres enum in case capital letters in entity name (#3536)

Features

  • added uuidExtension option to Postgres connection options, which allows TypeORM to use the newer pgcrypto extension to generate UUIDs
iwinston
published 0.2.14 •

Changelog

Source

0.2.14 (2019-02-25)

Bug fixes

  • fixed migration issue with postgres numeric enum type - change queries are not generated if enum is not modified (#3587)
  • fixed mongodb entity listeners in optional embeddeds (#3450)
  • fixes returning invalid delete result
  • reverted lazy loading properties not enumerable feature to fix related bugs

Features

  • added CockroachDB support
  • added browser entry point to package.json (3583)
  • replaced backend-only drivers by dummy driver in browser builds
  • added useLocalForage option to Sql.js connection options, which enables asynchronous load and save operations of the datatbase from the indexedDB (#3554)
  • added simple-enum column type (#1414)
1
45
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc