All Versions
11
Latest Version
Avg Release Cycle
90 days
Latest Release
1391 days ago

Changelog History
Page 1

  • v1.2.0 Changes

    June 07, 2020

    1.2.0 Jun 07, 2020 - Diff

    ๐Ÿ”‹ Features

    • โž• Add option to control auto refresh after save: #2070

    โœ… Tests

    • โž• Adds some more integration tests to Collection#fetch: #2079

    Dependencies

    • ๐Ÿ‘Œ Support Knex version 0.21.0 and up: #2072
    • โšก๏ธ Update some dependencies of dependencies to fix security warnings: #2078
  • v1.1.1 Changes

    March 28, 2020

    1.1.1 Mar 28, 2020 - Diff

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix attributes that are changed during event hook not being persisted: #2062
    • ๐Ÿ›  Fix incorrect query object being sent to event handlers with morphTo: #2059
    • ๐Ÿ›  Fix non-object attributes being passed to model.parse() in some cases: #2056

    ๐Ÿ“š Documentation

    • ๐Ÿ›  Fix typo in doclet: #2057
  • v1.1.0 Changes

    January 31, 2020

    1.1.0 Jan 31, 2020 - Diff

    ๐Ÿ”‹ Features

    • โž• Add option to disable the count information in fetchPage: #2045

    โœ… Tests

    • ๐Ÿ”จ Small refactor to some tests: #2050

    Dependencies

    • โšก๏ธ Update some dependencies to their latest versions: #2053
    • โšก๏ธ Update Knex to version 0.20.8: #2049
  • v1.0.1 Changes

    October 06, 2019

    1.0.1 Oct 6, 2019 - Diff

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix JSON.stringify causing TypeError in some cases: #2029

    ๐Ÿ“š Documentation

    • โž• Add documentation for Model#id: #2031
    • ๐Ÿ›  Fix number of arguments in Model#save doclet: #2030

    Dependencies

    • โšก๏ธ Update js-yaml to version 3.13.1: #2023
    • โšก๏ธ Update handlebars to version 4.2.1: #2022
    • โšก๏ธ Update uuid to version 3.3.3: #2021
    • โšก๏ธ Update sqlite3 to version 4.1.0: #2021
    • โšก๏ธ Update sinon to 7.4.2: #2021
    • โšก๏ธ Update prettier to 1.18.2: #2021
    • โšก๏ธ Update mocha to version 6.2.0: #2021
    • โšก๏ธ Update lint-staged to version 9.2.5: #2021
    • โšก๏ธ Update jsdoc to version 3.6.3: #2021
    • โšก๏ธ Update husky to version 3.0.5: #2021
    • โšก๏ธ Update eslint-plugin-prettier to version 3.1.1: #2021
    • โšก๏ธ Update eslint-config-prettier to version 6.3.0: #2021
    • โšก๏ธ Update eslint to version 6.4.0: #2021
    • โšก๏ธ Update chai to 4.2.0: #2021
    • โšก๏ธ Update eslint-utils from 1.3.1 to 1.4.2: #2020
  • v1.0.0 Changes

    September 13, 2019

    1.0.0 Sep 13, 2019 - Diff

    ๐Ÿš€ This is a big step in Bookshelf's development process. Although there are a lot of breaking changes in this release, the API will be kept stable for some time now and work will be focused on backwards compatible features and bug fixes. It's possible that Node.js 6 support will be dropped in the near future but that will be the biggest change.

    There is a migration guide in the wiki to help with all of the changes in this version.

    ๐Ÿ’ฅ Breaking changes

    • This version requires Node.js 8+ if using a Knex version greater than 0.18.4, otherwise Node.js 6 is still supported: #1991
    • 0๏ธโƒฃ Make require: true the default for Model#fetch: #2006
    • โœ‚ Remove some Model and Collection lodash based methods: #2005
    • ๐Ÿ”„ Change Collection#where so it behaves like Model#where: #2001
    • ๐Ÿšš Move all plugins to their own repositories: #2000
    • ๐Ÿ”Œ Promote some useful plugins to core: #1992, #1993, #1996

    โœจ Enhancements

    • Refresh model attributes after a save operation: #2012

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix missing columns after save: #2012
    • ๐Ÿ›  Fix Case Converter plugin overriding any previously defined parse methods: #2000, [email protected]
    • ๐Ÿ›  Fix registry saving models inadvertently across different bookshelf instances: #1996

    ๐Ÿ“š Documentation

    • โž• Add example of how to use custom collections: #2015
    • ๐Ÿ‘Œ Improve documentation related to debug mode: #2014
    • โž• Add note that count methods return String with Postgres: #2013
    • ๐Ÿ›  Fix typo in Readme: #1998
    • ๐Ÿ‘ Better Plugin Docs: #1992, #1993, #1996, #2000

    Dependencies

    • โšก๏ธ Update lint-staged to version 9.1.0: #1994
    • โšก๏ธ Update bluebird to 3.5.5: #1991
    • โšก๏ธ Update lodash to 4.17.14: #1991
    • โšก๏ธ Update mocha to version 6.1.4: #1991
    • โšก๏ธ Update mysql to version 2.17.1: #1991
    • โšก๏ธ Update pg to version 7.11.0: #1991
    • โšก๏ธ Update sinon to version 7.3.2: #1991
    • โšก๏ธ Update sinon-chai to version 3.3.0: #1991
    • โšก๏ธ Update sqlite3 to version 4.0.9: #1991
    • โšก๏ธ Update uuid to version 3.3.2: #1991
    • โšก๏ธ Update eslint-config-prettier to 6.0.0: #1957
    • โšก๏ธ Update eslint to version 6.0.0: #1986
  • v0.15.2 Changes

    March 28, 2020

    ๐Ÿ”„ Change Log

    0.15.2 Mar 28, 2020 - Diff

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix attributes that are changed during event hook not being persisted: #2063
  • v0.15.1 Changes

    June 13, 2019

    ๐Ÿ”„ Change Log

    0.15.1 Jun 13, 2019 - Diff

    Dependencies

    • โšก๏ธ Update husky to version 2.4.1: #1984
    • โฌ†๏ธ Bump supported knex version to 0.17: #1982
  • v0.15.0 Changes

    June 13, 2019

    0.15.0 Jun 13, 2019 - Diff

    ๐Ÿ’ฅ Breaking changes

    • This version requires Node.js 6+
    • โœ‚ Remove code that has been deprecated for a long time: #1956

    ๐Ÿ› Bug fixes

    • ๐Ÿšš once removes all events after it has been triggered: #1972
    • Pagination details are wrong when selecting distinct values of a column: #1950
    • ๐Ÿ›  Fix missing attributes in some events: #1934

    โœ… Test Suite

    • ๐Ÿ›  Fix Docker-compose.yml default postgres user: #1972
    • ๐Ÿ›  Fix JSON tests on PostgreSQL 10+: #1955

    ๐Ÿ“š Documentation

    • โšก๏ธ Update and fix a lot of doclets: #1951
    • โšก๏ธ Update README.md: #1940

    Dependencies

    • โšก๏ธ Update mocha to version 6.1.1: #1968
    • โšก๏ธ Update eslint-config-prettier to 4.1.0: #1957
    • โšก๏ธ Update sinon to version 7.2.4: #1947
    • โšก๏ธ Update eslint to version 5.1.0: #1930
  • v0.14.2 Changes

    December 17, 2018

    0.14.2 Dec 17, 2018 - Diff

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix crash when using groupBy with table qualifier in pagination plugin: #1928
    • ๐Ÿ›  Fix undefined transaction object with Knex 0.15+: #1926

    ๐Ÿ”จ Refactoring

    • ๐Ÿ”จ Refactor logic behind .timestamp()'s decision for when to update the updated_at column: #1892
  • v0.14.1 Changes

    December 09, 2018

    0.14.1 Dec 09, 2018 - Diff

    โœจ Enhancements

    • ๐Ÿ‘ Allow passing custom options to the pagination plugin's internal count method. This is useful for better interoperability with other plugins: #1914

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix withRelated fetch option not always grouping properly when using binary primary keys: #1918

    ๐Ÿ“š Documentation

    • โž• Add a basic Events guide and fix some issues with the events doclets: #1917