Releases: metabrainz/bookbrainz-data-js
v5.0.0
π Changes since last version
This is a major version update as we are dropping support for Node < 18 (Node 18 is now LTS)
In this version we are also migrating all files to Typescript (extra kudos to @kellnerd for the hard work!)
π New features and bug fixes
- chore: Update Node version to 18 (#310) @MonkeyDo
- TypeScript migration (#309) @kellnerd
- Add 'privs' key to expected Editor model output (#311) @MonkeyDo
π§ Maintenance
- chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (#312) @dependabot
- chore(deps): bump semver from 5.7.1 to 5.7.2 (#307) @dependabot
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#308) @dependabot
π Many thanks to everyone who participated in this release π
@MonkeyDo, @dependabot[bot] and @kellnerd
v4.1.1
π Changes since last version
π New features and bug fixes
- feat(Admin-logs): AdminLog Model (#306) @the-good-boy
π Many thanks to everyone who participated in this release π
v4.0.1
π Changes since last version
This is mainly a maintenance version, where we install the bookshelf ORM package from the newly published @metabrainz/bookshelf package rather than pointing to the git repository.
This allows us to use Deno (which doesn't support the git syntax for packages) instead of Node for a GSOC project.
π§ Maintenance
- chore: Install bookshelf package from our own scoped package
- chore(deps): bump yaml from 2.2.1 to 2.2.2 (#305) @dependabot
π Many thanks to everyone who participated in this release π
@MonkeyDo and @dependabot[bot]
v4.0.0
π Changes since last version
π₯ Breaking changes
- Minimal entity typings (aliases and identifiers) (#304) @kellnerd
- The type
EntityTypeString
is now exported fromsrc/types/entity.ts
instead ofsrc/func/types.ts
- The type
- BB-731: Update knex to v2.4.2 (#303) @kellnerd
- Updates KnexJS (SQL query builder library) up two major versions and fixes the related high severity vulnerability.
See the KnexJS changelog for breaking changes.
- Updates KnexJS (SQL query builder library) up two major versions and fixes the related high severity vulnerability.
π New features and bug fixes
π Many thanks to everyone who participated in this release π
v3.1.0
π Changes since last version
π New features and bug fixes
- chore: add release drafter workflow (#300) @MonkeyDo
- chore: Github workflow: fix JSDoc building action (#298) @MonkeyDo
- chore: Repository cleanup (#297) @MonkeyDo
- chore: Run CI tests in Github (#296) @MonkeyDo
- Feat: Add editions relation in AuthorCredit model (#290) @tr1ten
π§ Maintenance
4 changes
- chore(deps): bump json5 from 1.0.1 to 1.0.2 (#295) @dependabot
- chore(deps): bump minimatch and mocha (#291) @dependabot
- chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#292) @dependabot
- chore(deps): bump moment from 2.29.2 to 2.29.4 (#288) @dependabot
π Many thanks to everyone who participated in this release π
@MonkeyDo, @dependabot[bot] and @tr1ten
v3.0.0
This is a major point release due to a change in how relationship changes are handled.
We added attributes to the relationships (isAdded
, isRemoved
) to fix an issue when the client-side code has an old set of relationships that could overwrite changes that happened in the meantime.
This is relevant to the unified form feature that automatically updates the relationships of entities, but it also avoids accidentally overwriting changes from other users.
What's Changed
- test(loadAuthorNames): Test for the loadAuthorNames func by @the-good-boy in #282
- feat(Author Credits): Add utility functions to Author model by @MonkeyDo in #285
- chore(deps): bump minimist from 1.2.5 to 1.2.6 by @dependabot in #284
- chore(deps): bump moment from 2.29.1 to 2.29.2 by @dependabot in #283
- feat: add externalServiceOauth table and functions by @anshg1214 in #286
- feat: Add schema while referring to oauth table by @anshg1214 in #287
- Fix(BB-538): Support concurrent relationships edit workflow by @tr1ten in #289
New Contributors
- @anshg1214 made their first contribution in #286
- @tr1ten made their first contribution in #289
Full Changelog: 2.13.1...v3.0.0
v2.13.1
v2.13.0
Reviving release notes, sorry about all the changes clumped together!
What's Changed
- feat(func): add function to delete editor by MetaBrainz ID by @LordSputnik in #118
- Update flow-bin to the latest version π by @Greenkeeper in #125
- chore(greenkeeper): pin eslint-plugin-flowtype to 2.50.0 by @MonkeyDo in #134
- Greenkeeper/eslint plugin flowtype 3.1.0 by @MonkeyDo in #139
- Add functions to check if alias already exists by @shivam-tripathi in #137
- chore(package): Greenkeeper/eslint 5.14.1 by @MonkeyDo in #149
- Rename Creator and Publication entities by @MonkeyDo in #152
- Fetch entity's last known default alias from its revision parent by @MonkeyDo in #162
- Update lint-staged to the latest version π by @Greenkeeper in #163
- Update husky to the latest version π by @Greenkeeper in #161
- Update nyc to the latest version π by @Greenkeeper in #160
- Update mocha to the latest version π by @Greenkeeper in #157
- Update flow-bin to the latest version 0.98.0 by @MonkeyDo in #164
- chore(package): update eslint-plugin-flowtype to version 3.7.0 by @MonkeyDo in #165
- fix: Correct case for entity table names by @MonkeyDo in #167
- refactor: Remove reference to editor birth date on editor deletion by @MonkeyDo in #169
- Create edition group automatically by @MonkeyDo in #175
- Allow BCE dates (negative years) by @MonkeyDo in #174
- Implement Entity redirection by @MonkeyDo in #172
- chore: Update packages by @MonkeyDo in #176
- Greenkeeper/eslint plugin flowtype 3.10.1 by @MonkeyDo in #177
- Greenkeeper/flow bin 0.101.0 by @MonkeyDo in #178
- feat(bc-dates): formatDate returns full ISO 8601-2004 date by @MonkeyDo in #182
- chore(deps): bump lodash from 4.17.11 to 4.17.13 by @dependabot in #187
- Update rimraf to the latest version π by @Greenkeeper in #190
- Greenkeeper/husky 3.0.3 by @MonkeyDo in #191
- Update lint-staged to the latest version π by @Greenkeeper in #185
- Greenkeeper/flow bin 0.105.2 by @MonkeyDo in #192
- Greenkeeper/eslint 6.1.0 by @MonkeyDo in #193
- Update babel-eslint to the latest version π by @Greenkeeper in #181
- chore(deps): bump eslint-utils from 1.4.0 to 1.4.2 by @dependabot in #195
- chore(deps): bump mixin-deep from 1.3.1 to 1.3.2 by @dependabot in #196
- chore: Update Bookshelf and Knex ORM by @MonkeyDo in #200
- chore: Update pg to 7.14.0 by @MonkeyDo in #203
- feat(merge-tool): Allow passing transaction to recursivelyGetRedirectBBID by @MonkeyDo in #204
- chore: update knex to v0.20.3 by @MonkeyDo in #205
- chore: Update eslint-plugin-flowtype to v4.5.2 by @MonkeyDo in #206
- chore(deps): bump handlebars from 4.1.2 to 4.5.3 by @dependabot in #209
- Fix(update-bookshelf): Set 'require' fetch option to false where needed by @MonkeyDo in #210
- fix(ReleaseEvents): Consider null and undefined areas equal by @MonkeyDo in #212
- fix(BB-158): Allow only one primary alias per language by @MonkeyDo in #216
- chore(deps): bump acorn from 6.2.1 to 6.4.1 by @dependabot in #218
- BB-434 fix: allow year=0 in ISO date parsing by @chinmay-kothari in #217
- fix(parent-revision): return the correct parent revision by @prabalsingh24 in #221
- Goodbye Greenkeeper π by @Greenkeeper in #224
- Add author relationship to AuthorCreditName by @leftmostcat in #231
- models : add userCollection models by @prabalsingh24 in #230
- refactor: change editor_id-->collaborator_id by @prabalsingh24 in #232
- [Snyk] Upgrade knex from 0.20.3 to 0.21.1 by @snyk-bot in #226
- [Snyk] Upgrade bluebird from 3.5.1 to 3.7.2 by @snyk-bot in #228
- [Snyk] Upgrade pg from 7.14.0 to 7.18.2 by @snyk-bot in #227
- [Snyk] Upgrade moment from 2.22.2 to 2.25.3 by @snyk-bot in #229
- feat(diffs): Diff authorCredits when present by @MonkeyDo in #237
- [Snyk] Security upgrade lodash from 4.17.13 to 4.17.20 by @snyk-bot in #240
- [Snyk] Upgrade moment from 2.25.3 to 2.26.0 by @snyk-bot in #236
- [Snyk] Upgrade bookshelf from 1.0.1 to 1.2.0 by @snyk-bot in #233
- [Snyk] Upgrade deep-diff from 1.0.1 to 1.0.2 by @snyk-bot in #235
- [Snyk] Upgrade knex from 0.21.1 to 0.21.5 by @snyk-bot in #241
- [Snyk] Upgrade moment from 2.26.0 to 2.29.0 by @snyk-bot in #242
- feat(edition): Allow Edition Groups to be auto-created if editing an existing Edition by @MonkeyDo in #243
- fix(CI): Update postgres node package by @MonkeyDo in #246
- [Snyk] Upgrade moment from 2.29.0 to 2.29.1 by @snyk-bot in #245
- [Snyk] Upgrade pg from 8.4.2 to 8.5.0 by @snyk-bot in #248
- [Snyk] Upgrade knex from 0.21.5 to 0.21.9 by @snyk-bot in #247
- New models and helpers for Area entities by @MonkeyDo in #251
- [Snyk] Upgrade pg from 8.5.0 to 8.5.1 by @snyk-bot in #250
- [Snyk] Upgrade knex from 0.21.9 to 0.21.12 by @snyk-bot in #249
- chore(deps): bump ini from 1.3.5 to 1.3.7 by @dependabot in #252
- [Snyk] Security upgrade lodash from 4.17.20 to 4.17.21 by @MonkeyDo in #254
- feat(AC): Add Author Credit id to auto-created Edition Groups by @MonkeyDo in #255
- WIP: Trying to add count-value as an attribute of userCollection by @the-good-boy in #256
- FIX(docs): Incorrect FileName in README by @akashgp09 in #260
- chore : added PULL_REQUEST_TEMPLATE by @akashgp09 in #261
- feat(collections): Get all the collections related to a Entity by @akashgp09 in #263
- test: added tests for languageSet Model by @akashgp09 in #262
- test: Added basic tests for AuthorRevision model by @akashgp09 in #265
- test: Added basic tests for EditionGroupRevision model by @akashgp09 in #266
- test: Added tests for WorkRevision Model by @akashgp09 in #267
- test: Added basic tests for PublisherRevision Model by @akashgp09 in #268
- Typescript by @LordSputnik in #264
- [Models,Tests]: Added Series & Relationship attribute models and corresponding...