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

knex

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knex - npm Package Versions

1
26

0.4.0

Diff

Changelog

Source

0.4.0 - Sep 13, 2013

Breaking Changes:

  • Global state is no longer stored in the library, an instance is returned from Knex.initialize, so you will need to call this once and then reference this knex client elsewhere in your application.
  • Lowercasing of knex.raw, knex.transaction, and knex.schema.
  • Created columns are now nullable by default, unless notNullable is chained as an option.
  • Keys created with increments are now assumed to be unsigned (MySQL) by default.
  • The destroyAllNow is no longer called by the library on process.exit event. If you need to call it explicitly yourself, you may use knex.client.destroyPool
tgriesser
published 0.2.6 •

Changelog

Source

0.2.6 - Aug 29, 2013

  • Reject the transaction promise if the transaction "commit" fails, (#50)
tgriesser
published 0.2.5 •

Changelog

Source

0.2.5 - Aug 25, 2013

  • Fix error if a callback isn't specified for exec, (#49)
tgriesser
published 0.2.4 •

Changelog

Source

0.2.4 - Aug 22, 2013

  • Fix SQLite3 delete not returning affected row count, (#45)
tgriesser
published 0.2.3 •

Changelog

Source

0.2.3 - Aug 22, 2013

  • Fix insert with default values in PostgreSQL and SQLite3, (#44)
tgriesser
published 0.2.2 •

Changelog

Source

0.2.2 - Aug 20, 2013

  • Allowing Raw queries to be passed as the primary table names
tgriesser
published 0.2.1 •

Changelog

Source

0.2.1 - Aug 13, 2013

  • Fix for an array passed to insert being mutated
tgriesser
published 0.2.0 •

Changelog

Source

0.2.0 - Aug 7, 2013

Breaking changes:

  • hasTable now returns a boolean rather than a failed promise.
  • Changed syntax for insert in postgresql, where the id is not assumed on inserts (#18). The second parameter of insert is now required to return an array of insert id's for the last insert.
  • The timestamp method on the schema builder now uses a dateTime rather than a timestamp
tgriesser
published 0.1.8 •

Changelog

Source

0.1.8 - July 7, 2013

  • Somehow missing the != operator. Using _.find rather than _.where in getCommandsByName(#22)
tgriesser
published 0.1.7 •

Changelog

Source

0.1.7 - June 12, 2013

  • Ensures unhandled errors in the exec callback interface are re-thrown
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