v3.3.2
Split the "questions" collection in the mongodb database into a "tossups" and a "bonuses" collection.
- More meaningful backups, which is especially pertinent for quizbowl software developers using the backup
- Allows me to build search indexes for improved searching
- Allows me to create schema validation
- Slightly reduced storage size due to smaller indexes and no need for "type" field
- Note: performance differences were negligable based on testing
Note: no return types, API calls, or any other front-facing interfaces have changed. API users should notice no difference. The type field is still present on questions for now, although this may be removed later.
Other Changes
- Increased query speed by 3-5x using
Promise.all
- Raised API rate limit to 20 requests / second
- Condensed question reporting options
- Added tests for
database.js
Full Changelog: v3.3.1...v3.3.2