Skip to content

Latest commit

 

History

History
2281 lines (1239 loc) · 63.3 KB

CHANGELOG.md

File metadata and controls

2281 lines (1239 loc) · 63.3 KB

1.209.0

New features

  • admin: disable account (4c995b603)
  • auth: convert remaining auth-server db use to direct db access (a561ae1f3)

Other changes

  • deps: update deps and start ignoring @types/* in dependabot (694ff5f6a)
  • deps: bump @sentry/node from 6.7.0 to 6.7.1 (b78095131)
  • deps: bump @sentry/node from 6.5.1 to 6.7.0 (b6119a2c7)
  • deps: update pm2 / dedupe (5d7653fa6)

1.208.2

No changes.

1.208.1

No changes.

1.208.0

Other changes

1.207.1

No changes.

1.207.0

New features

  • auth: create script to send subscription renewal reminder emails (178cec80a)

Other changes

  • deps: bump mocha from 7.2.0 to 8.4.0 (4b11eab5f)
  • deps: update some deps (6fce48032)
  • deps: added "yarn outdated" plugin + updated some deps (952e4f388)

1.206.1

No changes.

1.206.0

Other changes

1.205.0

New features

  • emails: add tables and models for email history (16212769d)

1.204.7

No changes.

1.204.6

No changes.

1.204.5

No changes.

1.204.4

No changes.

1.204.3

No changes.

1.204.2

No changes.

1.204.1

Bug fixes

  • release: Add changelog notes and bump version for 204 (5b8356e11)

1.204.0

No changes.

1.203.5

No changes.

1.203.4

No changes.

1.203.3

No changes.

1.203.2

No changes.

1.203.1

No changes.

1.203.0

Other changes

1.202.3

No changes.

1.202.2

No changes.

1.202.1

No changes.

1.202.0

Other changes

  • deps-dev: bump nock from 13.0.7 to 13.0.11 (f38836bf8)
  • d426b981e Fix use of MySQL cluster read-only nodes (d426b981e)

1.201.1

No changes.

1.201.0

Other changes

  • deps-dev: bump nock from 13.0.5 to 13.0.7 (411638723)

1.200.0

Other changes

  • deps-dev: bump restify-clients from 2.6.9 to 3.1.0 (961ab2f2bd)

1.199.0

Other changes

  • deps: bump @sentry/node from 6.0.0 to 6.0.1 (3b6838b18)
  • deps: bump @sentry/node from 5.29.1 to 6.0.0 (147825a5b)

1.198.2

No changes.

1.198.1

Other changes

  • 4e70b3f04 merge main->train-198 (4e70b3f04)

1.198.0

Other changes

1.197.3

No changes.

1.197.2

No changes.

1.197.1

No changes.

1.197.0

No changes.

1.196.0

New features

  • db: Create table to store PayPal customer information (10f4cae5a)

Other changes

  • deps: bump @sentry/node from 5.23.0 to 5.29.1 (0bc414ad2)

1.195.4

No changes.

1.195.3

No changes.

1.195.2

No changes.

1.195.1

No changes.

1.195.0

No changes.

1.194.0

No changes.

1.193.1

No changes.

1.193.0

Other changes

  • deps: update node version to 14 (6c2b253c1)

1.192.0

No changes.

1.191.1

No changes.

1.191.0

No changes.

1.190.1

No changes.

1.190.0

No changes.

1.189.1

No changes.

1.189.0

New features

  • db: Create table to store user-customer relationship Because: (d994e2f56)

Other changes

1.188.1

No changes.

1.188.0

No changes.

1.187.3

No changes.

1.187.2

No changes.

1.187.1

No changes.

1.187.0

No changes.

1.186.2

No changes.

1.186.1

No changes.

1.186.0

Other changes

  • deps: update yarn version and root level deps (da2e99729)

1.185.1

No changes.

1.185.0

Other changes

1.184.1

No changes.

1.184.0

No changes.

1.183.1

No changes.

1.183.0

No changes.

1.182.2

No changes.

1.182.1

No changes.

1.182.0

No changes.

1.181.2

No changes.

1.181.1

No changes.

1.181.0

No changes.

1.180.1

Bug fixes

  • db: Set collation on stored procedure email fields, so mysql will use indexes. (044d7280e)

1.180.0

New features

  • aet: Add ecosystemAnonId to auth-db and mysql (49917be6c)

1.179.4

No changes.

1.179.3

No changes.

1.179.2

No changes.

1.179.1

No changes.

1.179.0

No changes.

1.178.1

No changes.

1.178.0

Other changes

1.177.1

No changes.

1.177.0

Other changes

  • deps: updated dependencies (3fa952919)
  • pm2: Add ISO timestamp to pm2 log lines (2c5630adb)

1.176.0

No changes.

1.175.0

New features

  • auth: handle a password change requirement in login (c495177e8)

Other changes

  • README files: Fix dead links in READMEs (38624143e)

1.174.2

No changes.

1.174.1

No changes.

1.174.0

Bug fixes

  • local-dev: added fxa-shared and fxa-react to pm2 (c3780546b)

1.173.0

Bug fixes

Refactorings

  • tsconfig: consolidate common tsconfig options (e565285b7)
  • packages: use workspace references (81575019a)

Other changes

  • deps: update some dependencies (fec460f6d)
  • format: mass reformat with prettier 2 and single config (cc595fc2b)
  • deps: updated mocha to 7.1.2 (a5c1a339c)

1.172.2

No changes.

1.172.1

No changes.

1.172.0

No changes.

1.171.1

No changes.

1.171.0

Bug fixes

  • deps: Add exception for yargs-parser nsp advisory 1500 (b54877911)

1.170.3

No changes.

1.170.2

No changes.

1.170.1

No changes.

1.170.0

Other changes

  • all: update readmes across all packages to improve testing documentation (099163e94)

1.169.3

No changes.

1.169.2

No changes.

1.169.1

No changes.

1.169.0

New features

  • build: add a default dockerfile template to build.sh (4dd0b0007)

1.168.3

No changes.

1.168.2

No changes.

1.168.1

No changes.

1.168.0

New features

  • docker: created fxa-builder docker image (d4da8a360)
  • db: modified procedures to set verifiedAt field when email gets verified (710542f6d)

1.167.1

No changes.

1.167.0

Refactorings

  • config: replace 127.0.0.1 with localhost (1dd1b038d)
  • pm2: restructure our pm2 configs (3a054dfc3)

1.166.2

No changes.

1.166.1

No changes.

1.166.0

Refactorings

  • emails: move all email normalization and equality checks to helper functions (ce1930f4b)

1.165.1

No changes.

1.165.0

No changes.

1.164.1

No changes.

1.164.0

Bug fixes

  • docs: update MySQL version and node version (dd56076df)

1.163.2

No changes.

1.163.1

No changes.

1.163.0

Other changes

  • deps: Updates to address nsp advisory 1179 (a5649db18)

1.162.3

No changes.

1.162.2

No changes.

1.162.1

No changes.

1.162.0

Bug fixes

  • monorepo: update default node version across packages (0f2d54071)

Other changes

  • cleanup: remove obsolete docker files (863e56163)
  • deps: Updates to address nsp advisory 1488 (e47bc55ba)

1.161.2

No changes.

1.161.1

No changes.

1.161.0

Bug fixes

  • mysql: Force MySQL connections to always use UTC timezone. (c97f9e5b8)

Other changes

  • skip some subscription-related tests on content-server for now (e573b52f5)
  • subscriptions: remove accountSubscriptions table and procedures (cd0521557)
  • contributing: update contact information to reflect move to Matrix (4e7082856)

1.160.1

No changes.

1.160.0

No changes.

1.159.0

Bug fixes

  • docker: don't rm /tmp after npm i (6fc34fc45)

1.158.1

No changes.

1.158.0

New features

  • keys: Add ability to enable/disable recovery key (dba5ee65d)
  • coverage: Add coveralls coverage (932b70c3c)

Other changes

  • mem: Remove auth server db memory database (2fa9dce43)

1.157.0

No changes.

1.156.0

No changes.

1.155.0

Refactorings

  • git: merge all package gitignores into single root-level gitignore (a238c3d27)

1.154.0

No changes.

1.153.0

Other changes

  • monorepo: remove stale references to travisci (9b4789125)
  • node: updated node to v12 (7169a367e)

1.152.1

No changes.

1.152.0

No changes.

1.151.5

No changes.

1.151.4

No changes.

1.151.3

No changes.

1.151.2

No changes.

1.151.1

No changes.

1.151.0

New features

  • audit: run npm audit on push instead of in ci (ccd3c2b07)

Bug fixes

  • deps: Fix a bunch of audit warnings (f8a1da3be)

Other changes

  • deps: Remove stale nsp exceptions from .nsprc files (f7324a1b2)
  • deps: Get audit-filter working for all packages in monorepo (1b0141e2b)
  • monorepo: eslint consolidation (0a5e3950f)

1.150.9

No changes.

1.150.8

No changes.

1.150.7

No changes.

1.150.6

No changes.

1.150.5

No changes.

1.150.4

No changes.

1.150.3

No changes.

1.150.2

No changes.

1.150.1

New features

  • keys: Explicitly track timestamp of last key rotation. (f8dbdfad9)

Bug fixes

  • tests: Fix secondary-emails test to account for nondeterministic result order. (59c9a8c1c)

1.150.0

No changes.

1.149.4

No changes.

1.149.3

No changes.

1.149.2

No changes.

1.149.1

No changes.

1.149.0

Other changes

  • deps: move auth server from shrinkwrap to package-lock (8e4af3095)

1.148.8

No changes.

1.148.7

No changes.

1.148.6

No changes.

1.148.5

No changes.

1.148.4

No changes.

1.148.3

No changes.

1.148.2

Other changes

  • release: Merge branch 'train-147' into train-148-merge-147 (66e170d45)

1.148.1

No changes.

1.148.0

New features

  • add vscode tasks for running tests and debugger (dac5e8b98)

1.147.5

No changes.

1.147.4

No changes.

1.147.3

No changes.

1.147.2

No changes.

1.147.1

No changes.

1.147.0

Bug fixes

  • build: npm audit fix (4839fcc5e)
  • db: Reset keysChangedAt to NULL if we don't know its correct value. (89a8423d4)

1.146.4

No changes.

1.146.3

No changes.

1.146.2

No changes.

1.146.1

No changes.

1.146.0

No changes.

1.145.5

No changes.

1.145.4

No changes.

1.145.3

No changes.

1.145.2

No changes.

1.145.1

No changes.

1.145.0

Bug fixes

  • subscriptions: bump account profileUpdatedAt when subscriptions are changed (8c21351b4)

Refactorings

  • db: rename productName to productId (5d709f96d)

Other changes

  • deps: remove newrelic step one (675c08924)

1.144.4

No changes.

1.144.3

No changes.

1.144.2

No changes.

1.144.1

No changes.

1.144.0

No changes.

1.143.4

No changes.

1.143.3

No changes.

1.143.2

No changes.

1.143.1

New features

  • recovery: Clear recovery keys when resetting account (f1f93cc19)

1.143.0

Other changes

  • support-panel: call out stored procedures with specific grants (4450eccc9)
  • ci: Remove CI config from within packages subdir. (66990a8f4)

1.142.1

No changes.

1.142.0

New features

  • support-panel: support live user queries (79534bc49)
  • routes: securityEvents GET and DELETE added with uid (90750377b)

Bug fixes

  • docs: remove extra code indents that messed up formatting (ae014390d)

1.141.8

No changes.

1.141.7

No changes.

1.141.6

No changes.

1.141.5

No changes.

1.141.4

No changes.

1.141.3

No changes.

1.141.2

Other changes

  • package: manually bump version strings to 1.141.1 (737265b25)

1.141.1

No changes.

1.141.0

New features

  • subscriptions: implement reactivation of cancelled subscriptions (e0391a658)
  • script: script for reading security events from db (ea21cf4e9)

Bug fixes

  • tests: add remote db tests for subscription cancellation (1bd4b2607)
  • scripts: expect semi-colons in db migration script (1d1c630c1)
  • format: fixed up COTRIBUTING.md files (a0422c6ae)

Other changes

  • subs: remove || [] from call to db.fetchAccountSubscriptions (4f816d103)
  • style: added prettier precommit hook (2820ac733)
  • style: added prettier to fxa-auth-db-mysql (963cdd235)

1.140.3

No changes.

1.140.2

No changes.

1.140.1

No changes.

1.140.0

New features

  • clients: Add a route for listing all attached clients. (13f0e20ad)

1.139.2

No changes.

1.139.1

No changes.

1.139.0

No changes.

1.138.4

No changes.

1.138.3

No changes.

1.138.2

No changes.

1.138.1

No changes.

1.138.0

New features

  • subscriptions: support deferred cancellation of subscriptions (4ee71842d)

Refactorings

  • tests: switch from insist to chai for assertions (e93fdf9aa)

1.137.4

No changes.

1.137.3

No changes.

1.137.2

No changes.

1.137.1

No changes.

1.137.0

Bug fixes

  • url: base, homepage, bug url updated for all packages in package.json (cee3dc741)

1.136.6

No changes.

1.136.5

No changes.

1.136.4

No changes.

1.136.3

No changes.

1.136.2

No changes.

1.136.1

No changes.

1.136.0

No changes.

1.135.6

No changes.

1.135.5

No changes.

1.135.4

No changes.

1.135.3

No changes.

1.135.2

No changes.

1.135.1

No changes.

1.135.0

New features

  • accounts: add ability to associate subscriptions with an account (e9ffe4374)

Bug fixes

  • package: update grunt to fix nsp warning in fxa-auth-db-mysql (0591237c0)

Other changes

  • db: remove old scrypt-hash dependency from auth db (42816c67a)
  • packages: remove old release tagging scripts and docs (6f168c244)

1.134.5

No changes.

1.134.4

No changes.

1.134.3

No changes.

1.134.2

No changes.

1.133.1 (2019-03-19)

Features

  • devices: Add ability to associate a device record with a refesh token. (1123e32)

1.133.0 (2019-03-19)

chore

  • devices: Add explicit deletes to replace ON DELETE CASCADE. (75aba96)
  • package: update shrinkwrap (f629704)

1.132.0 (2019-03-05)

chore

  • deploy: upgrade to node 10 (f3bc954)
  • deps: update nyc (db987c3)
  • routes: Remove last vestiges of sessionWithDevice route. (0e5115b)

Features

  • account: Add profileChangedAt and keysChangedAt to the accounts table. (02e944c)

test

  • demo: add some comments to pt-osc demo (c85cc7a)
  • demo: set up triggers like pt-osc and check (ecb87b3)

1.130.0 (2019-02-05)

chore

  • ci: run tests on node 10 (5467e2f)

Refactor

  • crypto: fall back to node's scrypt implementation (932f2dd)

1.129.0 (2019-01-24)

Bug Fixes

  • test: add a test script to add account rows (3aa09cd)

1.128.1 (2019-01-09)

chore

  • deps: reshrink to get ramda deps (260063b)

1.128.0 (2019-01-08)

Bug Fixes

  • query: remove ROW_COUNT() from remaining procedures (4e8b058)
  • query: update set primary email query to not check if email is verified (b9bc3c7)

Features

  • npm: update shrink script (96b3ce5)

1.127.0 (2018-12-11)

chore

  • scripts: ignore newly failing stored procedures (edf0bb4)

Features

  • scripts: check for FOREIGN KEY in migration lint script (82170eb)
  • scripts: check for missing expected encodings on procedure args (daf2677)
  • scripts: lint-ignore tables that already have foreign keys (3aeca8e)

Refactor

  • scripts: harmonise row count stuff with rest of lint script (6065fe8)

1.126.0 (2018-11-27)

Bug Fixes

  • account: don't use LOWER(uid) in account query (d2cfe49)
  • account: update accountRecord to specify charset for inEmail (a45c8a0)
  • tests: Don't put binary data into fake email addresses. (5c83dec)

1.125.0 (2018-11-14)

Bug Fixes

  • scripts: stop the explain script tripping over git grep colours (ff0ac5c)

chore

  • db: use mariadb-friendly drop index syntax (f01b520)
  • scripts: lint-ignore consumeRecoveryCode_2 and setPrimaryEmail_3 (5ddf863)

Features

  • scripts: add ROW_COUNT() checks to the procedure-linting script (0eb0142)

1.124.1 (2018-11-02)

Bug Fixes

1.124.0 (2018-10-30)

1.123.3 (2018-10-30)

Bug Fixes

  • accountRecord: Rollback accountRecord_4 due to unexplained performance issues. (034b3b0)
  • migration: Fix typo in SP name in reverse migration for 91. (5b08dba)

1.123.2 (2018-10-26)

Bug Fixes

  • account: rollback profileChangedAt migration (4b4f7d4)

1.123.1 (2018-10-22)

1.123.0 (2018-10-16)

Bug Fixes

  • account: delete recovery codes, recovery keys, security events on account delete (a8d0467)
  • mem: ensure emailBounces are stored most-recent first (ccf6c3c)
  • performance: Add index for scanning signinCodes by uid. (905e716)

chore

  • deps: Update deps to fix security warnings, remove nsp (5581297)

1.122.1 (2018-10-22)

1.122.0 (2018-10-02)

Features

  • account: add profileChangedAt property to account table (24917b7)

1.121.1 (2018-10-18)

Bug Fixes

  • account: update stored procedures to be more replication friendly (3c1dd5a)

1.121.0 (2018-09-18)

chore

  • scripts: disable the explain script in production (52447bb)
  • scripts: tweak some old migrations to fix explain errors (9e9457c)

Features

  • scripts: add an ignore file for the explain script (b90688c)
  • scripts: add script to automate MySQL EXPLAIN checks (31fff59)

1.120.0 (2018-09-06)

Bug Fixes

  • devices: Reinstate device commands, with performance fixes. (#389) r=@vladikoff,@philboot (a01e4aa), closes #384 #384
  • recovery: hash recovery key (fe12332)
  • scripts: remove nonsense (but harmless) comparison of bool to -1 (#394) r=@vladikoff (13ca415)

chore

  • db: ensure mem db behaves like mysql db (8d5d55f)
  • docs: update mysql docs (#391) r=@rfk (64634d4)

1.119.1 (2018-08-23)

Bug Fixes

  • devices: Reinstate device commands, with performance fixes. (#389) r=@vladikoff,@philboot (a01e4aa), closes #384 #384

chore

  • db: ensure mem db behaves like mysql db (8d5d55f)

1.119.0 (2018-08-21)

chore

  • db: ensure mem db behaves like mysql db (8d5d55f)

1.118.1 (2018-08-18)

chore

  • db: stop calling the upsertAvailableCommands procedure (06554f5)

1.118.0 (2018-08-14)

Bug Fixes

  • restify: set keepAliveTimeout correctly on api.server object (#381) (afc376c)
  • restify: set server.keepAliveTimeout to 120s, similar to in node6 (#380) (5ece670)

1.117.0 (2018-07-24)

Bug Fixes

  • tests: move local utils tests so they get run by npm t (#377) r=@vladikoff (677d02b)

Features

  • ci: update to circle 2 (#375) r=@vbudhram (5d7b35b)
  • recovery: update account recovery GET/DEL to not accept recoveryKeyId (#374), r=@rfk (29b9b4b)

1.116.0 (2018-07-11)

chore

  • package: update shrinkwrap (98755f7)
  • release: Merge mozilla/train-115 into master r=@shane-tomlinson (b5c0f0e)

Features

  • scripts: add boilerplate to detect missing migrations (7ef4c66)

Refactor

  • recovery: Use base32 for recovery code generation (#372), r=@vbudhram (77a6fdd)

1.115.0 (2018-06-27)

1.114.1 (2018-06-13)

Bug Fixes

  • docker: base image node:8-alpine and upgrade to npm6 (c66d3f0)

1.114.0 (2018-06-13)

Features

  • devices: Allow devices to register "available commands". (#354); r=philbooth,eoger (10bb799)

1.113.1 (2018-05-30)

Reverts

  • devices: Revert "available commands" for train-113. (#360); r=jrgm (cbe7981)

1.113.0 (2018-05-30)

chore

  • ci: Remove coveralls from travis config. (#355) (c94fe0b)

Features

  • devices: Allow devices to register "available commands". (#354); r=philbooth,eoger (69816f6)
  • recovery: Add initial account recovery support (#357), r=@rfk, @philbooth (f6716ad)

1.112.0 (2018-05-16)

Bug Fixes

  • deps: update to restify 7.1 and mysql 2.15 (#351), r=@rfk (4415850)
  • restify: set a sane max param length value for restify (d84c827)
  • restify: update param size (bb78be2)

Features

  • changelog: Add an "acknowledgements" section to some changelog entries. (#350) (5a27b0a)

1.111.0 (2018-05-02)

Bug Fixes

  • npm: update shrinkwrap to npm 5.8 (#344) r=@jrgm (a841d06)
  • tests: increase timeout on recovery code tests (#339), r=@jrgm (f202197)

Features

  • node: update to node 8 (#341) r=@jrgm (8bcc7dd)

Refactor

1.110.0 (2018-04-18)

Bug Fixes

  • codes: remove current recovery codes before applying migration (#337), r=@rfk (23cbc61)
  • codes: update recovery code requirements (#333), r=@philbooth (2ca7d9f)
  • devices: Rename pushbox capability to messages and add messages.sendtab capability (#335) (5a1535a)

1.109.0 (2018-04-04)

Bug Fixes

  • codes: drop all codes when one is consumed (#326) r=@rfk (f6ab498)
  • node: Use Node.js v6.14.0 (#332) (1400a26)
  • unblock: update consume unblock code (#330) r=@vladikoff (9bdb47b)
  • verify: update verifyWithMethod to update a session verification status (#329), r=@philb (9c433ba)

Features

  • mysql: Add config option for REQUIRED_SQL_MODES. (#334) r=@philbooth,@vladikoff (a229ddc)
  • mysql: STRICT_ALL_TABLES and NO_ENGINE_SUBSTITUTION required in sql (#327) r=@vladikoff (c226b07)

Acknowledgements

Thanks to Yusuf Yazir [email protected] for suggesting a security improvement in the handling of unblock codes (Bug 1368827).

1.108.0 (2018-03-20)

Bug Fixes

  • buffers: convert remaining Buffer to Buffer.from r=@vladikoff (5092779), closes #316
  • db: remove database configuration option, hardcode 'fxa'  (#314) r=@vladikoff (c2e21dd), closes #290
  • email: Use email buffer for DEL ‘/email/:email’ route (#315), r=@vladikoff, @vbudhram (cc6e08b)
  • test: correct promises error handling (#325) r=@eoger (7effcb3)

chore

  • api: remove bufferization from db layer (818edcf)

Features

  • devices: Devices capabilities (#320) r=@philbooth (4808a1c)
  • node: update to node v6.13.1 r=@jbuck (7727d88)
  • totp: initial recovery codes (#319), r=@philbooth (995d52b)

1.108.0 (2018-03-20)

Bug Fixes

  • buffers: convert remaining Buffer to Buffer.from r=@vladikoff (5092779), closes #316
  • db: remove database configuration option, hardcode 'fxa'  (#314) r=@vladikoff (c2e21dd), closes #290
  • email: Use email buffer for DEL ‘/email/:email’ route (#315), r=@vladikoff, @vbudhram (cc6e08b)
  • test: correct promises error handling (#325) r=@eoger (7effcb3)

chore

  • api: remove bufferization from db layer (818edcf)

Features

  • devices: Devices capabilities (#320) r=@philbooth (4808a1c)
  • node: update to node v6.13.1 r=@jbuck (7727d88)
  • totp: initial recovery codes (#319), r=@philbooth (995d52b)

1.107.1 (2018-03-21)

Bug Fixes

  • emails: Make all request paths containing an email use hex encoding. (#1); r=philbooth (6059aca)

1.107.0 (2018-03-07)

chore

  • tests: cleanup sessionToken endpoints and docs, r=@philbooth, @rfk (da2e9ef)

Features

  • totp: Add initial totp session verification logic (#309), r=@philbooth (ee19e1b)
  • totp: vlad updates for totp (#313) r=@vladikoff (f6d603c)

1.106.0 (2018-02-21)

Bug Fixes

chore

Features

  • sessions: Add support for reauth on an existing session. (#305); r=philbooth (fdff3e9)
  • totp: Add totp management api (#299), r=@philbooth (9b8efcb)

1.105.0 (2018-02-06)

Features

  • tests: make tests more independent (#293), r=@philbooth, @rfk (c7d3638)

1.104.0 (2018-01-23)

Bug Fixes

  • pruning: Avoid accidental full-table scans when pruning session tokens. (#295); r=philboo (5c6622c)
  • scripts: add SET NAMES to reverse migration boilerplate (#296), r=@vbudhram (0790b89)

Features

  • devices: return session token id from deleteDevice (a2dd244)

1.103.0 (2018-01-09)

Bug Fixes

  • node: use node 6.12.3 (#291) r=@vladikoff (6080c0c)

Features

  • logs: add Sentry for errors (#292) r=@vbudhram (6348a95), closes #288

1.101.0 (2017-11-29)

Features

  • codes: add support for verifying token short code (#287) r=@vladikoff,@rfk (ac0b814)

Refactor

  • dbserver: clean up the db server package (#289) r=@rfk (c3d8e6e)

1.100.0 (2017-11-15)

Bug Fixes

  • newrelic: futureproofing comment and up to [email protected] with npm run shrink (#285) r=@vl (bfc1963)
  • newrelic: newrelic native requires make, python, gyp, c++; update node 6.12.0 (#286) r=@vl (4b7e696)
  • travis: run tests with 6 and current stable (failure not allowed anymore) (c4e0e98)

1.98.0 (2017-10-26)

chore

  • docker: Update to node v6.11.5 for security fix (7cc3251)

1.97.0 (2017-10-04)

Features

  • db: prune session tokens (again) (67bd8fb)

1.96.1 (2017-09-20)

Bug Fixes

  • db: call latest version of the prune stored procedure (#281) r=vladikoff (2c34f2e)

1.96.0 (2017-09-19)

Bug Fixes

  • tokens: revert session-token pruning (ecde71b)

1.95.1 (2017-09-12)

Bug Fixes

  • mysql: update all device procedures to use utf8mb4 (#276) r=jbuck,rfk (7d22ad8)
  • tokens: prune old session tokens that have no device record (8fad575)

1.95.0 (2017-09-06)

chore

  • docs: update node version in docs to 6 (63fbdf2)

Features

  • schema: add a pushEndpointExpired column to devices (d8e93c4)

1.94.1 (2017-08-23)

Features

  • db: add utf8mb4 support (#267) r=rfk (549d39f)

1.94.0 (2017-08-21)

chore

  • ci: remove node4 test targets from travis-ci (#270) r=vladikoff (9523d02)
  • email: Remove emailRecord depreciation (#269), r=@philbooth (0a7c2c6)

Features

  • schema: add a uaFormFactor column to sessionTokens (#271) r=vladikoff (774b6c1)

1.93.0 (2017-08-09)

Features

  • docker: update to node 6 (#266) r=jbuck (7b13cea)

1.92.0 (2017-07-26)

chore

  • scripts: add a script to generate migration boilerplate (#261) r=vladikoff (45949c5)
  • tests: don't make eslint a prerequisite for the tests (#258), r=@vbudhram (ddae438)

1.91.2 (2017-07-17)

Features

  • schema: drop the uaFormFactor column from sessionTokens (#262), r=@vbudhram (f23098a)

1.91.1 (2017-07-12)

Bug Fixes

  • nodejs: upgrade to 4.8.4 for security fixes (450e931)

1.91.0 (2017-07-12)

Features

  • email: Add change email (#254), r=@philbooth (7253d09)
  • email: correctly return createdAt when using accountRecord (#256), r=@philbooth (70a1a39)
  • schema: add a uaFormFactor column to sessionTokens (e99bc19)

1.90.0 (2017-06-28)

chore

  • eslint: update to latest eslint (#252) r=vbudhram (1157bb2)
  • train: uplift train 89 (#253), r=@philbooth (06944e8)

Features

  • db: store flowIds with signinCodes (3fac7d7)
  • email: Update procedures to use email table (#245), r=@philbooth, @rfk (b896063)
  • tokens: Add ability to reset accounts tokens (#249), r=@philbooth (92199bc)

1.89.3 (2017-06-21)

Features

  • email: Don't use subquery on email verify update (#251), r=@jbuck (102dea4)

1.89.2 (2017-06-21)

Features

  • email: Remove temporary table from accountEmails query (#250), r=@rfk, @jbuck (e9d0335)

1.89.1 (2017-06-14)

Features

  • email: Add email table migration script (#247), r=@rfk, @jbuck (9ef8cbf)

1.89.0 (2017-06-13)

Features

  • db: enable signinCode expiry (2b53553)
  • email: Keep account email and emails table in sync (#241), r=@rfk, @philbooth (78d5559)

Refactor

  • test: refactor our tests to use Mocha instead of TAP (0441ea9)

1.87.0 (2017-05-17)

Bug Fixes

  • docs: update authors and node.js version in README (5610b92)
  • email: Use correct delete account procedure (#231) (4a16bf3)

chore

  • docker: Use official node image & update to Node.js v4.8.2 (#225) r=vladikoff (2298e38)

Features

  • docker: add custom feature branch (#237) r=jrgm (d21a8df)
  • email: Add get email endpoint (#227), r=@vladikoff, @rfk (8f5653c)
  • signinCodes: migration and endpoints for signinCodes table (#235), r=@vbudhram (b740793)
  • tokens: prune tokens older than 3 months (#224) r=vladikoff (fdc19c1), closes #219

1.86.0 (2017-05-01)

Bug Fixes

  • docs: update authors and node.js version in README (6d89d30)

chore

  • docker: Use official node image & update to Node.js v4.8.2 (#225) r=vladikoff (2298e38)

Features

  • email: Add get email endpoint (#227), r=@vladikoff, @rfk (8f5653c)
  • tokens: prune tokens older than 3 months (#224) r=vladikoff (fdc19c1), closes #219

1.85.0 (2017-04-18)

Bug Fixes

  • install: add formatter to main package.json (#222) (f4cb995)
  • security: escape json output (#220) r=vladikoff (13b9f70)

chore

  • dependencies: update all our production dependencies (#217) r=vladikoff (e008849)

0.83.0 (2017-03-21)

Bug Fixes

  • config: Add environment variable for ipHmacKey (65f6d78)
  • emailBounces: receive the email parameter in the url as hex (e1c078b)
  • security-events: Correctly handle tokenless security events in mem backend (#215) r=vladikoff,sea (0f816cb)

Features

  • email: Add support for adding additional emails (#211), r=@seanmonstar, @rfk (1c436c9)

0.82.0 (2017-03-06)

Features

  • docker: add docker via Circle CI (#212) r=jbuck,seanmonstar (8f913be), closes #208
  • sessions: update the sessions query to include device information (#203) r=vbudhram (70dcc5b)

0.81.0 (2017-02-23)

Bug Fixes

  • email: Return createdAt when calling db.emailRecord (#209), r=@rfk (1a226cc)
  • reminders: adjust mysql procedures (#200) r=rfk (4b6a92d)
  • style: replace tab char with a space (#207) r=rfk (44470ad)

Features

  • db: add emailBounces table (4fe29fa)
  • tokens: add prune token maxAge and update pruning (#206); r=rfk (699c352)
  • tokens: get the device associated with a tokenVerificationId (#204) r=vladikoff (7f45075)

0.76.0 (2016-12-13)

Bug Fixes

  • schema: Complete final phase of several previous migrations (7eddbc9)

chore

  • deps: add new shrinkwrap command (#193) (b33c750), closes #189

0.75.0 (2016-11-30)

Bug Fixes

  • bufferize: Only bufferize params we explicitly want as buffers. (#182); r=philbooth (a461769)
  • bufferize: Only bufferize params we explicitly want as buffers. (#187) r=vladikoff (aad12bb)

Reverts

  • bufferize: revert the extra bufferize logic (e913a66)

0.74.0 (2016-11-15)

chore

  • lint: Include ./bin/*.js in eslint coverage (6c8eeba)
  • securityEvents: Stop writing to the securityEvents.tokenId column. (1e3763d)

Features

  • eventLog: Remove the unused "eventLog" feature. (a138e76)

0.72.0 (2016-10-19)

Bug Fixes

  • securityEvents: Tweak securityEvents db queries based on @jrgm feedback (ffa5561)

0.71.0 (2016-10-05)

Bug Fixes

  • travis: drop node 0.10 test config (c1b1841)

chore

  • travis: add node 6 explicitly to travis (#175) r=vladikoff (c1556ab)

Features

  • unblock: add unblockCode support (12fb9df)

0.70.0 (2016-09-24)

Bug Fixes

  • security: Fix the endpoints for /securityEvents. (5dfd5f8), closes #171

Features

  • db: return account.email from accountDevices (b090367)
  • security: add security events (cc31172)

0.69.0 (2016-09-09)

Bug Fixes

  • db: don't return zombie devices from accountDevices (6e5c2db)
  • db: Fix the typo (7bfdf91)
  • db: Update resetAccount to not delete from accountUnlockCodes (616602a)
  • shrinkwrap: refresh shrinkwrap (83d94d4)

feature

  • newrelic: add optional newrelic integration (fca7e2e)

Refactor

  • db: Remove account unlock related code. (340e299)

0.68.0 (2016-08-24)

Bug Fixes

  • db: ensure that devices get deleted with session tokens (840dda6)
  • db: use an index when deleting device records by sessionToken id. (f5bbb60)
  • scripts: add process.exit to populate script (7820fdc)
  • scripts: ensure changelog is updated sanely (24376cc)

Features

  • scripts: add device records to the populate script (c235696)

0.67.0

  • fix(deps): update dev dependencies #143
  • fix(deps): update prod dependencies #144
  • chore(readme): update travis status badge url
  • fix(tests): switch coverage tool, add coveralls #145
  • chore(deps): update to latest request and sinon #148
  • feat(db): Remove account lockout #147
  • fix(db): remove createAccountResetToken stored procedure and endpoint #154
  • refactor(db): remove openId #153
  • feat(db): Record whether we must verify each unverified token #155

0.63.0

  • feat(db): implement verification state for key fetch tokens #138
  • chore(travis): drop node 0.12 support #139
  • feat(reminders): add verification reminders #127
  • chore(mozlog): update from [email protected] to 2.0.5 #140
  • chore(scripts): sort scripts alphabetically #140
  • chore(shrinkwrap): add "npm run shrinkwrap" script #140

0.62.0

  • feat(mx-stats): Add a script to print stats on popular mail providers #134
  • feat(db): store push keys according to the current implementation #133
  • feat(db): implement new token verification logic #132

0.59.0

  • fix(logging): log connection config and charset info at startup #131
  • fix(tests): adjust notifier tests monkeypatching to accept mozlog signature #130
  • fix(logging): adjust logging method calls to use mozlog signature #130
  • fix(tests): enforce mozlog rules in test logger #130

0.58.0

  • fix(db): expunge devices in resetAccount sproc #128

0.57.0

  • feat(devices): added sessionWithDevice endpoint
  • chore(dependencies): upgrade mozlog to 2.0.3

0.55.0

  • feat(docker): Additional Dockerfile for self-hosting #121
  • docs(contributing): Mention git commit guidelines #122

train-53

  • chore(deps): Update mysql package dependency to latest version #112
  • fix(tests): Upgrade test runner and fix some test declarations #112

train-51

  • fix(travis): build and test on 0.10, 0.12 and 4.x, and allow failure on >= 5.x
  • chore(shrinkwrap): update npm-shrinkwrap.json

train-50.1

  • fix(db): fix memory-store initialisation of device fields to null #117
  • fix(version): print out constructor class name; adds /version alias #118

train-50

  • chore(nsp): re-added shrinkwrap validation to travis
  • fix(server): fix bad route parameter name
  • feat(db): update devices to match new requirements

train-49

  • reverted some dependencies to previous versions due to #113

train-48

  • feat(db): add device registration and management endpoints #110

train-46

  • feat(db): add endpoint to return a user's sessions #102
  • feat(db): return accountCreatedAt from sessionToken stored procedure #105
  • chore(metadata): Update package metadata for stand-alone server lib. #106

train-45

  • fix(metrics): measure request count and time in perf tests - #97
  • fix(metrics): append delimiter to metrics output - #94
  • chore(version): generate legacy-format output for ./config/version.json - #101
  • chore(metrics): add script for creating dummy session tokens - #100
  • chore(metrics): report latency in performance tests - #99
  • chore(eslint): change complexity rule - #96
  • chore(metrics): add scripts for perf-testing metrics queries - #88

train-44

  • There are no longer separate fxa-auth-db-mysql and fxa-auth-db-server repositories - assemble all db repos - #56
  • preliminary support for authenticating with OpenID - #78
  • feat(db): add script for reporting metrics #80
  • feat(db): store user agent and last-access time in sessionTokens - #65
  • refactor(config): Use human-readable duration values in config - #62
  • fix(tests): used a randomized openid url - #92
  • fix(db): default user-agent fields to null in memory backend - #90
  • fix(server): prevent insane bufferization of non-hex parameters - #89
  • chore(configs): eliminate sub-directory dotfiles - #69
  • chore(package): expose scripts for running and testing db-mem - #71
  • chore(project): merge db-server project admin/config stuff to top level - #74
  • chore(docs): update readme and api docs for merged repos - #76
  • reshuffle package.json (use file paths, not file: url) - #77
  • chore(coverage): exclude fxa-auth-db-server/node_modules from coverage checks - #82

train-42

  • fix(tests): pass server object to backend tests - #63
  • refactor(db): remove verifyHash from responses - #48
  • chore(shrinkwrap): update shrinkwrap for verifyHash removal - #61
  • chore(shrinkwrap): update shrinkwrap, principally to head of fxa-auth-db-server - #63

train-41

  • feat(api): Return the account email address on passwordChangeToken - #59
  • chore(travis): Tell Travis to use #fxa-bots - #60

train-40

  • fix(notifications): always return a promise from db.processUnpublishedEvents, fixes #49 - #52
  • fix(npm): Update npm-shrinkwrap to include the last version of fxa-auth-db-server - #50
  • chore(cleanup): Fixed some syntax errors reported by ESLint - #55
  • fix(db): Return 400 on incorrect password - #53
  • refactor(db): Remove old stored procedures that are no longer used - #57

train-39

  • fix(npm): Update npm-shrinkwrap to include the last version of fxa-auth-db-server - #50
  • Added checkPassword_1 stored procedure - #45
  • Use array for Mysql read() bound parameters - #45
  • chore(license): Update license to be SPDX compliant - #46

train-37

  • refactor(lib): move most things into lib/
  • build(travis): Test on both io.js v1 and v2
  • chore(shrinkwrap): update shrinkwrap picking up lib changes in fxa-auth-db-server

train-36

  • refactor(db): Change table access in stored procedures to be consistent - #36
  • fix(db): Fix reverse patches 8->7 and 9->8 - #38
  • fix(package): Remove uuid completely since no longer needed - #37
  • chore(package): Update to [email protected] - #39
  • chore(copyright): Update to grunt-copyright v0.2.0 - #40
  • chore(test): Test on node.js v0.10, v0.12 and the latest io.js - #41

train-35

  • there was no train-35 for fxa-auth-db-mysql

train-34

  • feat(events): Publish account events to notification server in a background loop - #25
    • Note: this feature is disabled by default (see 'config.notifications.publishUrl'), and will not be enabled in train-34
  • fix(notifier): allow us to use the json secret key from the auth-server directly for the notifier - #29
  • fix(db): do not set createdAt, verifierSetAt or normalizedEmail here - #31
  • fix(logging): load the logger from the new location - #32
  • fix(release): add tasks "grunt version" and "grunt version:patch" to - #34
  • chore(tests): Remove console logging during test run - #25
  • chore(tests): Don't assume log.info message order during tests - #25
  • chore(tests): Remove some apparently-unused files in 'test' directory - #25
  • chore(package.json): add extra fields related to the repo - #30
  • chore(shrinkwrap): update shrinkwrap - #33

train-33

  • Log account activity events for later publishing to notification service - #20
  • Fix tests to do more reliable error-message detection - #20
  • Correctly pass pool name when getting a connection - #23
  • Use mozlog for logging - #21
  • Log memory-usage stats emitted by fxa-auth-db-server - #24
  • Some documentation and packaging tweaks - #17, #18

train-32

  • Add ability to mark an account as "locked" for security reasons - #7
  • Add support for docker-based development workflow - #13

train-31

  • Only fail with a DB patch level less than the one expected
  • (hotfix) regenerated npm-shrinkwrap.json that uses the correct version of fxa-auth-db-server - #15