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

Latest commit

 

History

History
138 lines (85 loc) · 2.63 KB

CHANGELOG.md

File metadata and controls

138 lines (85 loc) · 2.63 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.7.0 - 2021-01-28

Added

  • support nodejs 14
  • npm script for pm2 ecosystem
  • node src/optimize.js to optimize solr cores

Changed

  • dropped nodejs 10 support
  • cleanup script will now check and warn for files with invalid state in DB
  • cleanup script will remove lone hash files when original video file is gone
  • improve console log messages
  • fs watch will flatten folder structures when adding new video

Fixed

  • Searching wrong solr cores when prefix is the same in the same solr server

0.6.0 - 2020-03-07

Added

  • Support nodejs 12

Changed

  • Update dependencies
  • node src/status.js to check solr core status
  • Use prettier instead of eslint

0.5.1 - 2019-08-15

Changed

  • Update dependencies
  • Use markdown code format for Telegram notification
  • Remove nodejs 12 support

0.5.0 - 2019-04-07

Added

  • npm run cleanup to unload deleted files from solr
  • created and updated time field in database

Fixed

  • Too many connections error when npm run hash skip jobs

Changed

  • use knex to replace promise-mysql

SQL upgrade script for upgrading to 0.5.0

ALTER table files
ADD `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD `updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
ADD INDEX `status` (`status`),
ADD INDEX `created` (`created`),
ADD INDEX `updated` (`updated`);

0.4.0 - 2018-11-25

Docker is now used by default.

Added

  • docker-compose to start all required containers at once
  • Support file upload search
  • Support solr 7.5.0

Changed

  • Use .env instead of config.json

0.3.0 - 2018-10-01

Added

  • Support configuring Telegram channel ID

Fixed

  • Create core fail due to wrong schema

Changed

  • Use fetch instead of request
  • LICENSE changed from GPL to MIT

0.2.1 - 2018-05-06

Fixed

  • Use java class path from /opt/solr instead of user home

Changed

  • Upgraded fs-extra to 6.0.0

0.2.0 - 2018-05-03

Added

  • Support posting notification to discord. See config.default.json

0.1.1 - 2018-05-02

Changed

  • Updated some information on README.md

0.1.0 - 2018-05-01

Added

  • Initial commit
  • 6 script commands
    • npm run create-core -- [num_of_cores]
    • npm run delete-core
    • npm run hash
    • npm run load
    • npm run check-new -- [last_n_minutes]
    • npm run watch
  • 1 demo script
    • node src/search.js /tmp/1.jpg