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

Latest commit

 

History

History
executable file
·
672 lines (319 loc) · 28.3 KB

CHANGELOG.md

File metadata and controls

executable file
·
672 lines (319 loc) · 28.3 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.5.1 (2021-06-24)

Bug Fixes

  • Add fix for Safari IndexedDB issues (7751903)

7.5.0 (2021-06-09)

Features

  • 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)

Features

  • Add 'cloth' (clothing) and 'rail' (railway) field types (a5c7ee9)

7.3.1 (2021-05-10)

7.3.0 (2021-05-08)

Features

  • Add a utility function for grouping senses by part-of-speech (a355f49)

7.2.3 (2021-05-08)

7.2.2 (2021-04-17)

Bug Fixes

  • Remove unnecessary call to releaseLock (5b6836c)

7.2.1 (2021-04-01)

Bug Fixes

  • Make sure to read from all indices before culling results (83cbd10)

7.2.0 (2021-03-31)

Features

  • Expose some more internal types for processing word record snapshots (dd45b19)

7.1.3 (2021-03-31)

Bug Fixes

  • Don't include priority of unmatched headwords when sorting (22b279f)

7.1.2 (2021-03-30)

Bug Fixes

7.1.1 (2021-03-30)

Bug Fixes

  • Tweak weightings to get 食べる to sort before 食う (5bba62b)

7.1.0 (2021-03-30)

Features

  • Tweak confidence calculation (21953f9)

7.0.6 (2021-03-29)

Bug Fixes

  • Use a larger set of candidate glosses for gloss search (8f65f1a)

7.0.5 (2021-03-29)

Bug Fixes

  • Check for abort after clobbering database (a610b73)
  • Drop redundant check (54bdf6e)
  • Re-use AbortController in hasLanguage (95ae626)

7.0.4 (2021-03-27)

Bug Fixes

  • Ignore exceptions from calling releaseLock (c3e3f10)

7.0.3 (2021-02-27)

Bug Fixes

7.0.2 (2021-02-27)

Bug Fixes

  • 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)

Bug Fixes

  • Possibly make error handling a little more robust (b0dd546)

7.0.0 (2020-11-12)

⚠ BREAKING CHANGES

  • New name types added

Features

  • Add new name types and download v3 of names data (00d51c5)

6.8.2 (2020-11-06)

Bug Fixes

  • Avoid generating empty tokens (25e0bd3)

6.8.1 (2020-11-06)

Bug Fixes

  • Add match information when doing kana-equivalent matches (b896adf)

6.8.0 (2020-11-06)

Features

  • Ship getWordsByCrossReference (cbec293)

6.7.0 (2020-11-05)

Features

  • Add new field types audvid, ornith, vidg (93fb023)

6.6.0 (2020-11-05)

Features

  • Add an API for looking up a cross-reference (f5d29ad)

6.5.2 (2020-10-20)

Bug Fixes

  • Fix a bug when looking up readings (5dc4d6e)

6.5.1 (2020-10-20)

Bug Fixes

  • Drop unnecessary console.log (55e18c2)

6.5.0 (2020-10-20)

Features

  • Export functions for searching by gloss or kanji (dde5e29)

6.4.1 (2020-10-19)

Bug Fixes

  • Export KanjiInfo and ReadingInfo types (cb26534)
  • Rename Gloss.matched to Gloss.matchRange (7f04a1b)

6.4.0 (2020-10-19)

Features

  • Add startsWith matches for word dictionary (bfa74c9)

Bug Fixes

  • 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)

Bug Fixes

  • Replace window.setTimeout with self.setTimeout (94a4d46)

6.3.2 (2020-10-14)

Bug Fixes

  • Store stopword data as arrays (14251c3)

6.3.1 (2020-10-14)

Bug Fixes

  • Generate CJS and ESM targets (f8b292c)

6.3.0 (2020-10-14)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • Add 20s timeout for download progress (fd78e1e)

6.1.0 (2020-09-04)

Features

  • Allow matching names on kana equivalence (a324534)

6.0.0 (2020-09-01)

⚠ BREAKING CHANGES

  • The query methods are no longer attached to the JpdictDatabase object and they require the language to be passed-in.

Features

  • Split querying methods into separate file (9f0633b)

5.3.3 (2020-08-31)

Bug Fixes

  • Convert download stream to an async generator instead (15fc5be)

5.3.2 (2020-08-29)

Bug Fixes

  • Remove spurious warning (4fee4c1)

5.3.1 (2020-08-29)

Bug Fixes

  • Make download stream more pull-based (63a8130)

5.3.0 (2020-08-29)

Features

  • Update to match changes in upstream database format (79da3b4)

5.2.0 (2020-08-29)

Features

  • Report progress for updating the database (6905c4e)

5.1.1 (2020-08-27)

Bug Fixes

  • Expose useful types and methods for dealing with names (f6cb9e0)

5.1.0 (2020-08-27)

Features

  • Export utilities for working with data series (fcdb7f8)

5.0.1 (2020-08-26)

Bug Fixes

  • Export DataSeries and MajorDataSeries (c4545d3)

5.0.0 (2020-08-26)

⚠ BREAKING CHANGES

  • 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]

Features

  • 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)

⚠ BREAKING CHANGES

  • New database name and format

Features

  • Update to new datastore format and location (c629b6f)

3.0.0 (2020-05-04)

⚠ BREAKING CHANGES

  • cf is now an array of expanded kanji records

Features

2.5.0 (2020-05-02)

Features

2.4.0 (2020-04-13)

Features

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • Add auto-retry on ConstraintErrors (d40b241)

2.1.0 (2019-12-18)

Features

  • Rename and expose ErrorState as UpdateErrorState (29a9609)

Bug Fixes

  • Make all parameters to onUpdateError be included in option bag (682abd0)

2.0.0 (2019-12-18)

Features

  • Factor retry functionality into a separate utility method (13b89f2)

Bug Fixes

  • 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)

Bug Fixes

  • Pass verbose flag to update (903fccc)

1.6.0 (2019-12-12)

Features

  • Hide logging behind a verbose option (69cea4a)

1.5.6 (2019-12-12)

Bug Fixes

  • Add logging for re-used updates and tighten up update promises (24cee2a)
  • Moar logging (4b22043)

1.5.5 (2019-12-11)

Bug Fixes

1.5.4 (2019-12-11)

Bug Fixes

  • Don't wait for transaction end for write transactions (86e649c)
  • Tighten up bulk add method error handling (5c14c36)

1.5.3 (2019-12-10)

Bug Fixes

1.5.2 (2019-12-10)

Bug Fixes

1.5.1 (2019-12-09)

Bug Fixes

  • Set initial version to 10 (6aac747)

1.5.0 (2019-12-09)

Features

1.4.1 (2019-12-04)

Bug Fixes

  • 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)

Features

  • Add url field to DownloadError (8c484ed)

1.3.5 (2019-11-29)

Bug Fixes

  • Handle unavailable database in getDbLang (4af80ed)

1.3.4 (2019-11-29)

Bug Fixes

  • Correctly ignore failures from async downloads (6e11786)

1.3.3 (2019-11-29)

Bug Fixes

  • Work around Dexie bugs with MissingAPIErrors and auto-opening (bee169f)

1.3.2 (2019-11-28)

Bug Fixes

  • Fix incorrect comparison with null (13057de)
  • Handle the unavailable state better (0252988)

1.3.1 (2019-11-28)

Bug Fixes

  • 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)

Features

1.2.4 (2019-11-27)

Bug Fixes

  • 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)

Bug Fixes

  • Add pinyin to Readings type (4350fe1)

1.2.2 (2019-10-31)

1.2.1 (2019-10-16)

Bug Fixes

  • Fix broken language check (2b0a2f3)

1.2.0 (2019-10-16)

Bug Fixes

  • Log warning if we try to generate a katakana record for a language we don't recognize (6e148c6)

Features

  • 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)

Features

  • Add utility functions for making a postMessage-able version of UpdateState (a661e40)

1.0.4 (2019-10-11)

1.0.3 (2019-10-10)

Bug Fixes

  • Include sourceContent in source maps (b49c829)

1.0.2 (2019-10-10)

Bug Fixes

1.0.1 (2019-10-09)

Bug Fixes

  • Make sure we re-build before publishing (6ccdd2e)

1.0.0 (2019-10-09)

Bug Fixes

  • Add missing UpdatingDbUpdateState (62725b4)
  • Drop cloneable update states (aa766d5)

0.0.2 (2019-10-09)