All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
7.5.1 (2021-06-24)
- Add fix for Safari IndexedDB issues (7751903)
7.5.0 (2021-06-09)
- Add 'char', 'creat', 'dei', 'doc', 'ev', 'fict', 'form', 'group', 'leg', 'myth', 'obj', 'oth', 'relig', 'serv' word misc types and drop 'litf' (4091539)
- Add 'doc' and 'group' name types (85fbbf2)
- Add 'psy' field type (d35a1d6)
- Add Brazilian dialect (af54eb9)
- Add rK KanjiInfo value (7dcc48f)
- Handle Trademark gloss type (03e5296)
7.4.0 (2021-05-19)
- Add 'cloth' (clothing) and 'rail' (railway) field types (a5c7ee9)
7.3.1 (2021-05-10)
7.3.0 (2021-05-08)
- Add a utility function for grouping senses by part-of-speech (a355f49)
7.2.3 (2021-05-08)
7.2.2 (2021-04-17)
- Remove unnecessary call to releaseLock (5b6836c)
7.2.1 (2021-04-01)
- Make sure to read from all indices before culling results (83cbd10)
7.2.0 (2021-03-31)
- Expose some more internal types for processing word record snapshots (dd45b19)
7.1.3 (2021-03-31)
- Don't include priority of unmatched headwords when sorting (22b279f)
7.1.2 (2021-03-30)
- Drop unneeded import (d9f2e26)
7.1.1 (2021-03-30)
- Tweak weightings to get 食べる to sort before 食う (5bba62b)
7.1.0 (2021-03-30)
- Tweak confidence calculation (21953f9)
7.0.6 (2021-03-29)
- Use a larger set of candidate glosses for gloss search (8f65f1a)
7.0.5 (2021-03-29)
- Check for abort after clobbering database (a610b73)
- Drop redundant check (54bdf6e)
- Re-use AbortController in hasLanguage (95ae626)
7.0.4 (2021-03-27)
- Ignore exceptions from calling releaseLock (c3e3f10)
7.0.3 (2021-02-27)
- Don't log abort errors (7bcddec)
7.0.2 (2021-02-27)
- Add some more logging to bulkUpdateTable (e4fce37)
- Drop some no-longer-necessary logging (82cb4d0)
- Try to detect masked QuotaExceededErrors and re-throw them (34380bf)
7.0.1 (2020-11-24)
- Possibly make error handling a little more robust (b0dd546)
7.0.0 (2020-11-12)
- New name types added
- Add new name types and download v3 of names data (00d51c5)
6.8.2 (2020-11-06)
- Avoid generating empty tokens (25e0bd3)
6.8.1 (2020-11-06)
- Add match information when doing kana-equivalent matches (b896adf)
6.8.0 (2020-11-06)
- Ship getWordsByCrossReference (cbec293)
6.7.0 (2020-11-05)
- Add new field types audvid, ornith, vidg (93fb023)
6.6.0 (2020-11-05)
- Add an API for looking up a cross-reference (f5d29ad)
6.5.2 (2020-10-20)
- Fix a bug when looking up readings (5dc4d6e)
6.5.1 (2020-10-20)
- Drop unnecessary console.log (55e18c2)
6.5.0 (2020-10-20)
- Export functions for searching by gloss or kanji (dde5e29)
6.4.1 (2020-10-19)
6.4.0 (2020-10-19)
- Add startsWith matches for word dictionary (bfa74c9)
- Don't print out the whole version object as part of the error message (42813ae)
- Fix word data validation routine (49fba82)
6.3.3 (2020-10-14)
- Replace window.setTimeout with self.setTimeout (94a4d46)
6.3.2 (2020-10-14)
- Store stopword data as arrays (14251c3)
6.3.1 (2020-10-14)
- Generate CJS and ESM targets (f8b292c)
6.3.0 (2020-10-14)
- Add ability to search for words that contain a particular kanji (0d026a0)
- Add searching for words (afb5776)
- Add searching for words by gloss (82a4658)
- Add stopwords for all supported languages (8a0380b)
- Make full-text searching feature configurable (1eb53b5)
- Add various tokenizers (0aa7a71)
- Completely redo gloss searching to search on substrings of phrases (bc7bf96)
- Drop text in parentheses before tokenizing (f142caf)
- Fix various bugs related to sense match metadata (e456c68)
- Normalize gloss information (fc4d44c)
6.2.3 (2020-09-07)
6.2.2 (2020-09-07)
6.2.1 (2020-09-07)
6.2.0 (2020-09-04)
- Add 20s timeout for download progress (fd78e1e)
6.1.0 (2020-09-04)
- Allow matching names on kana equivalence (a324534)
6.0.0 (2020-09-01)
- The query methods are no longer attached to the JpdictDatabase object and they require the language to be passed-in.
- Split querying methods into separate file (9f0633b)
5.3.3 (2020-08-31)
- Convert download stream to an async generator instead (15fc5be)
5.3.2 (2020-08-29)
- Remove spurious warning (4fee4c1)
5.3.1 (2020-08-29)
- Make download stream more pull-based (63a8130)
5.3.0 (2020-08-29)
- Update to match changes in upstream database format (79da3b4)
5.2.0 (2020-08-29)
- Report progress for updating the database (6905c4e)
5.1.1 (2020-08-27)
- Expose useful types and methods for dealing with names (f6cb9e0)
5.1.0 (2020-08-27)
- Export utilities for working with data series (fcdb7f8)
5.0.1 (2020-08-26)
- Export DataSeries and MajorDataSeries (c4545d3)
5.0.0 (2020-08-26)
- JpdictDatabase.setPreferredLanguage() is removed
- JpdictDatabase.getDbLang() is removed
- JpdictDatabase.update() requires the language to be specified
- The update state etc. is now per data series
- database.dataVersions is now database.dataVersion
- database.state is now database.dataState[series]
- Add JpdictDatabase.deleteSeries (1126d75)
- Add support for looking up names dictionary (5b52258)
- Allow specifying which series to download (bb286fa)
- Made updates of different major data series independent (893ec1a)
- Make each data series have its only status (1421aed)
- Rename dataVersions to dataVersion (24c05a8)
- Specify the language to download when updating (eb19b42)
4.0.1 (2020-07-09)
4.0.0 (2020-07-09)
- New database name and format
- Update to new datastore format and location (c629b6f)
3.0.0 (2020-05-04)
- cf is now an array of expanded kanji records
- Look up related kanji (eac5e1e)
2.5.0 (2020-05-02)
- Support jlptn field (ee30cd5)
2.4.0 (2020-04-13)
- Export cf field from kanji records (e16c235)
- Expose base radical kanji (for linking) (561b63f)
- Handle component variants array (4207441)
2.3.0 (2020-03-11)
- Add better handling of radical and component variants (2323d91)
- Update to using bushu database version 2 (a005e92)
2.2.2 (2020-02-24)
2.2.1 (2019-12-20)
- Don't reset the retryCount on successful download if we failed due to a database update (cdd7b3f)
- Don't update the database version until we have successfully committed the data (1b220b5)
2.2.0 (2019-12-20)
- Add auto-retry on ConstraintErrors (d40b241)
2.1.0 (2019-12-18)
- Rename and expose ErrorState as UpdateErrorState (29a9609)
- Make all parameters to onUpdateError be included in option bag (682abd0)
2.0.0 (2019-12-18)
- Factor retry functionality into a separate utility method (13b89f2)
- Cancel retries when the database is deleted (96a3742)
- Consistently reset retryCount (86e16b1)
- Drop no-longer-available retry-related members from CloneableErrorUpdateState (2282dfe)
- Ignore exceptions from aborting an already aborted transaction (3088527)
- Report offline status (d60a283)
1.6.1 (2019-12-12)
- Pass verbose flag to update (903fccc)
1.6.0 (2019-12-12)
- Hide logging behind a verbose option (69cea4a)
1.5.6 (2019-12-12)
1.5.5 (2019-12-11)
- Add some more logging (d714fa2)
1.5.4 (2019-12-11)
- Don't wait for transaction end for write transactions (86e649c)
- Tighten up bulk add method error handling (5c14c36)
1.5.3 (2019-12-10)
- Add even more logging (db39ca7)
1.5.2 (2019-12-10)
- Add some logging (30212b7)
1.5.1 (2019-12-09)
- Set initial version to 10 (6aac747)
1.5.0 (2019-12-09)
- Replace dexie with idb (3beaa22)
1.4.1 (2019-12-04)
- Add version file URL to error message (c4172e3)
- Clear retry interval after a successful download (ca296cd)
- Handle errors when fetching database version (f0399b6)
- Make sure to clear in-progress updates when finishing the current version fails (3c9660d)
1.4.0 (2019-12-03)
- Add url field to DownloadError (8c484ed)
1.3.5 (2019-11-29)
- Handle unavailable database in getDbLang (4af80ed)
1.3.4 (2019-11-29)
- Correctly ignore failures from async downloads (6e11786)
1.3.3 (2019-11-29)
- Work around Dexie bugs with MissingAPIErrors and auto-opening (bee169f)
1.3.2 (2019-11-28)
1.3.1 (2019-11-28)
- Don't wait for radicals query to complete if the database is unavailable (f0bd600)
- Notify of change when going to unavailable state (7b04a19)
1.3.0 (2019-11-28)
- Add unavailable state (135203a)
1.2.4 (2019-11-27)
- Be more forgiving of the error object when reporting file not accessible errors (8ca76b8)
- Improve handling of setting the preferred language (608be8b)
1.2.3 (2019-11-09)
- Add pinyin to Readings type (4350fe1)
1.2.2 (2019-10-31)
1.2.1 (2019-10-16)
- Fix broken language check (2b0a2f3)
1.2.0 (2019-10-16)
- Log warning if we try to generate a katakana record for a language we don't recognize (6e148c6)
- Add generation of data for katakana components (f60b7f7)
- Add onWarning callback for logging non-fatal but unexpected data errors (0f226fb)
1.1.1 (2019-10-15)
1.1.0 (2019-10-14)
- Add utility functions for making a postMessage-able version of UpdateState (a661e40)
1.0.4 (2019-10-11)
1.0.3 (2019-10-10)
- Include sourceContent in source maps (b49c829)
1.0.2 (2019-10-10)
- Drop deep-equal (e94bd70)
1.0.1 (2019-10-09)
- Make sure we re-build before publishing (6ccdd2e)