Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Update bookshelf to the latest version 🚀 #97

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Nov 15, 2017

Version 0.11.0 of bookshelf was just published.

Dependency bookshelf
Current Version 0.10.4
Type dependency

The version 0.11.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of bookshelf.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes 0.11.0

0.11.0 Nov 15, 2017 — Diff

  • Moved .babelrc -> src/.babelrc #1470
  • Timestamp on save now utilizes a date option for timestamp updates on insert and update. #1592
    • Used in options on save like so: m.save({item: 'test'}, { date: dateInThePast })
  • Added morphValues for morphTo relation. #1326
  • Added ability to also set timestamps as model attributes in save. #
  • Removed non-production files from packaging / added them to .npmignore #1679
  • Development Facing
    • Oracle tests only run when oracle is installed.
    • Refactoring on the registry plugin
    • Updated a lot of documents related to repo organization.
Commits

The new version differs by 33 commits.

  • 809952e version 0.11.0
  • 940a186 Update CHANGELOG.md
  • 31ff465 Merge pull request #1686 from osher/patch-3
  • 7c6ba27 Add info in doclet of Model#idAttribute
  • 9a9620e Fixed random test failure in test/integration/model.js
  • 2f7be49 Merge pull request #1679 from osher/patch-1
  • acad27f Update .npmignore to exclude non-prod files
  • 7c772dc Merge pull request #1470 from dantman/master
  • e3fe80d Merge pull request #1666 from bookshelf/greenkeeper/babel-eslint-8.0.1
  • 84ac9d5 Merge pull request #1663 from mrhwick/#1662-github-directory
  • 1d72478 Fix #1662: move appropriate files into .github directory
  • 7c69c62 chore(package): update babel-eslint to version 8.0.1
  • 98d25e5 Merge pull request #1547 from chamini2/refactor-registry
  • c171cfb Merge pull request #1648 from vieiralucas/patch-1
  • 6392095 Add js formatting to "How do I debug?" at README

There are 33 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Nov 15, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 15, 2017

Version 0.11.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 1 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 27, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Nov 27, 2017

Version 0.12.0 just got published.

Update to this version instead 🚀

Release Notes 0.12.0

0.12.0 Nov 27, 2017 - Diff

  • Skip visibility-plugin hidden and visible attributes #1699.
    • Used w/ <model>.toJSON({ visibility: false })
  • Updated knex peer dependency version to 0.14.x #1694.
  • Documentation typo fixes #1693.
  • Now caching node_modules to speed up travis-ci builds #1695.
  • Use Docker containers for test runs #1674.
  • Make postpublish work regardless of git remote config #1697.
Commits

The new version differs by 16 commits.

  • d9424ce New version
  • 96a73ad Merge pull request #1699 from loryman/visibility-override
  • 1ffc397 Merge pull request #1697 from mrhwick/post-publish-script-improvements
  • 5c1f40c Ability to skip visibility-plugin hiding attributes
  • 1f28655 Make postpublish work regardless of your remotes structure
  • 9d3913b Merge pull request #1674 from rapzo/feature/docker-compose-for-tests
  • 5bde0d4 Merge pull request #1695 from mrhwick/travis-caching
  • 140ddea Merge pull request #1693 from rmharrison/patch-2
  • c200dbe cache node_modules to speed up build
  • 90ea257 Merge branch 'master' of github.com:bookshelf/bookshelf into patch-2
  • f14cd25 Merge pull request #1694 from mrhwick/knex-peer-0.14.x
  • ad1f12a try updating before that script
  • 1b16b29 also bump our dev dependency
  • 31585aa Use any 0.14.x knex peer
  • c41dcba Fix typo in function annotation

There are 16 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jan 8, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 8, 2018

Version 0.12.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 80 commits.

  • 3678f39 Merge pull request #1737 from bookshelf/rg-prepare-0.12.1
  • 19f85c5 Update version number
  • 4c11fbf Update changelog
  • ad3ee99 Merge pull request #1736 from bookshelf/rg-contributing-doc
  • da1f5a6 Remove Name from Pull Request template
  • 11e267f Remove Name from issue template
  • f9fda48 Reformat some parts of the contributing doc
  • 2f02f0b Merge pull request #1457 from jbrumwell/bug/previousAttributes-unparsed
  • 53481c2 Merge pull request #1735 from bookshelf/rg-test-#1639
  • 83b6f65 Merge pull request #1639 from ollija/master
  • b923350 Add test to check eager loading with FK = 0
  • 38235df Disable auto value on 0 on MySQL for testing
  • 150903b Silence sqlite null default value warnings
  • da56a88 Merge pull request #1734 from bookshelf/greenkeeper/eslint-4.15.0
  • 4c7f76a chore(package): update eslint to version 4.15.0

There are 80 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 18, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 18, 2018

Version 0.13.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 141 commits.

  • aef89a2 Merge pull request #1790 from bookshelf/rg-processor-plugin
  • 9845258 Remove unnecessary processor plugin methods
  • 7d7091c Merge pull request #1788 from bookshelf/rg-check-knex
  • 6e3e5b9 Remove unused variable
  • a709abf Change knex detection method in Bookshelf init
  • 5972940 Remove unused variable
  • 9204d8f Merge pull request #1787 from bookshelf/greenkeeper/sqlite3-4.0.0
  • c2c4a95 chore(package): update sqlite3 to version 4.0.0
  • 9fad708 Merge pull request #1769 from kirrg001/fix-parentid-undefined
  • b01f75d Merge pull request #1768 from kirrg001/fix-events-async
  • dabce13 Events are triggered sequentially when the handlers execute async code
  • 904abcf Merge pull request #1784 from bookshelf/rg-consistent-timestamps
  • 9622ef0 Merge pull request #1782 from bookshelf/greenkeeper/sinon-chai-3.0.0
  • 6f77220 Add default timestamp key names to constants file
  • d75f0f1 Add documentation for new timestamp methods

There are 141 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 23, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 23, 2018

Version 0.13.1 just got published.

Update to this version instead 🚀

Commits

The new version differs by 4 commits.

  • 3f2bdb7 Document the Model#defaults property and its usage
  • 2712d5e Rename all JSDoc Boolean types for consistency
  • 7cca463 Fix wrong type of defaults option on Model.save
  • 7ed40f9 Release 0.13.0

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 23, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 23, 2018

Version 0.13.2 just got published.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 26, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 26, 2018

Version 0.13.3 just got published.

Update to this version instead 🚀

Commits

The new version differs by 9 commits.

  • 9a49e70 Merge pull request #1798 from bookshelf/rg-fix-timestamps
  • d37eb47 Update timestamp test description
  • cf11ffd Remove Model.save date option test
  • e8f5806 Update timestamps related documentation
  • 0e7c318 Fix automatic timestamps
  • ae80dcf Add more tests to verify user supplied timestamps
  • 4a06cd3 Refactor timestamp tests
  • 5686f2a Move Model#timestamp tests to the correct file
  • e6e7ee9 Release 0.13.2

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 9, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 9, 2018

  • The dependency bookshelf was updated from 0.10.4 to 0.14.0.

Update to this version instead 🚀

Release Notes for 0.14.0

0.14.0 Dec 09, 2018 - Diff

Breaking changes

  • Fix incorrect results in collection when models have duplicate ids. Checkout the migration guide in case you are affected by this. #1846
  • Empty hasOne relation will now return null instead of {} when serialized: #1839. There's a migration guide in the rare event this causes you problems.
  • Add more helpful error messages on bad or insufficient morphTo data: #1824. There's a migration guide in case you are affected by this.
  • Changed the existing functionality so that saving a model that hasn't changed will not update its updated_at attribute: #1798. Checkout the migration guide in case you are affected by this.

Enhancements

  • Allow passing custom options to the pagination plugin's internal count method. This is useful for better interoperability with other plugins: #1914
  • Make collections iterable using for ... of loops: #1830
  • Add row-level locking options: #1810

Bug fixes

  • Return clones of nested objects in previousAttributes(): #1876
  • Fix incorrect rowCount value when using groupBy with fetchPage(): #1852
  • Fix eager loading of relations when using parse/format: #1838
  • Fix inability to install bookshelf from git commit: #1835
  • Fix timestamp() setting a key named "null" in some cases: #1820
  • Fix performance of including relationships: #1800

Test Suite

  • Add test to check for adding withRelated inside events: #1853
  • Add Node.js 10 to the Travis config: #1829
  • Fix incorrect output ordering in tests in some cases: #1825

Documentation

  • Add a basic Events guide and fix some issues with the events doclets: #1917
  • Change the JSDoc theme to add a Guides section (this was already released): #1909
  • Fix hasOne's doc: #1890
  • Fix many-to-many tutorial code: #1888
  • Add code syntax highlighting for tutorials: #1850
  • Fix a few issues with the collection documentation: #1836
  • Fix Model.load() relations param: #1834
  • Fix incorrect docs for collection:fetching event: #1831
  • Add note on needing the Pagination plugin to use fetchPage(): #1803
  • Fix incorrect data types and undocumented Model property: #1797

Dependencies

  • Replace turbocolor with colorette: #1904
  • Use prettier to format all js and json files: #1883
  • Replace chalk with turbocolor: #1878
  • Update some insecure dependencies: #1841
  • Replace Babel with Node 4 compatible JavaScript: #1835
  • Update sinon to the latest version: #1833
Commits

The new version differs by 159 commits.

  • bad8157 Fix wrong model being saved in PostgreSQL test
  • f0d7d63 Fix empty previousAttributes in collection models
  • ebe3c5c Reword some test cases
  • 00b0f93 Add tests for previousAttributes in collections
  • 3cdfa6e Add event related tests for previousAttributes()
  • 54554b7 Create previous attributes using deepClone
  • aef8244 Merge branch 'master' into rg-previous-attributes
  • 75492e7 Add new events guide
  • fc66733 Rename test case to make it more obvious
  • 32add1b Merge pull request #1876 from okuyiga/feature/fix-nested-json-bug
  • 8259d71 Create CNAME
  • 5b5b7f9 Merge pull request #1909 from bookshelf/rg-new-docs
  • 7b33289 Remove link from project title
  • e5fb28e Replace gh-pages with docs directory in master
  • 6551c02 Update plugin doc

There are 159 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 9, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 9, 2018

  • The dependency bookshelf was updated from 0.10.4 to 0.14.1.

Update to this version instead 🚀

Release Notes for 0.14.1

0.14.1 Dec 09, 2018 - Diff

Warning

  • Incorrectly published the previous version from the wrong branch. That version doesn't contain all
    the work that it was supposed to. You should use this version instead.

Breaking changes

  • The previous() and previousAttributes() methods were changed so that whenever a model is saved or destroyed the previous attributes are no longer reset to the current attributes. Since the old behavior wasn't very useful it's likely this won't cause issues for many people. There's a migration guide in case you are affected by this change. #1848

Bug fixes

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

The new version differs by 20 commits.

  • e4c51ee Merge pull request #1918 from betastreet/fix/related-binary-ids
  • 048c224 Merge pull request #1848 from bookshelf/rg-previous-attributes
  • bda57a3 Merge pull request #1914 from throrin19/patch-pagination-plugin
  • 2e2a787 - Remove 'Issue #xx' from unit test comment
  • 629a914 Merge pull request #1917 from bookshelf/rg-event-docs
  • 6cee00e Create CNAME
  • a5f1ddd Delete CNAME
  • 77fcc39 Merge remote-tracking branch 'origin/fix/related-binary-ids' into fix/related-binary-ids
  • 98701df Adding a unit test for binary IDs and relations... (#1)
  • d17e3e4 - Fixed collections not being created properly with binary IDs due to collection keying again
  • 3d38857 Adding a unit test for binary IDs and relations...
  • 8b00040 Fix withRelated not always grouping properly for binary IDs
  • fc643a2 Add link to API and Events from Model tutorial
  • 226c0b4 Generate docs before committing when publishing
  • e5f5be0 Fix incorrect links to events

There are 20 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 17, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 17, 2018

  • The dependency bookshelf was updated from 0.10.4 to 0.14.2.

Update to this version instead 🚀

Release Notes for 0.14.2

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
Commits

The new version differs by 19 commits.

  • 62371cc Merge pull request #1928 from bookshelf/rg-fix-pagination-groupby
  • 36b165a Fix crash when using groupBy with table qualifier
  • 68e8537 Merge pull request #1926 from jbrumwell/patch-1
  • cb1093b Fix changelog
  • e7ddf72 Pass proper context
  • ec58b8d Merge pull request #1892 from eerenyuan/master
  • 1d37ed5 Merge branch 'master' into master
  • 4b4a420 Add more instructions to publishing procedure
  • 108a390 Modify postpublish script to add new files to git
  • 1f3ae81 Add missing Events tutorial
  • 2b43de5 Release 0.14.1
  • 2705e15 Merge branch 'master' of github.com:eerenyuan/bookshelf
  • 2510355 parse/format example
  • 58ddd95 handle manually set update ts
  • 30ffc63 Revert "fixed bug in model.load's sample"

There are 19 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jun 13, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 13, 2019

  • The dependency bookshelf was updated from 0.10.4 to 0.15.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 13, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Jun 13, 2019

  • The dependency bookshelf was updated from 0.10.4 to 0.15.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Sep 13, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 13, 2019

  • The dependency bookshelf was updated from 0.10.4 to 1.0.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 6, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 6, 2019

  • The dependency bookshelf was updated from 0.10.4 to 1.0.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jan 31, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Jan 31, 2020

  • The dependency bookshelf was updated from 0.10.4 to 1.1.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 28, 2020
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 28, 2020

  • The dependency bookshelf was updated from 0.10.4 to 1.1.1.

Update to this version instead 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants