Skip to content

Releases: factorio-item-browser/api-database

3.7.0

09 Jul 10:13
9442b8f
Compare
Choose a tag to compare

Added

  • Columns lastUpdateCheckTime and lastUpdateHash to the Combination table.

Changed

  • Method findByLastUsageTime to findPossibleCombinationsForUpdate in the CombinationRepository as a more
    specialized method to fetch possible combinations to be updated.

3.6.0

18 May 08:27
b6d6fca
Compare
Choose a tag to compare

Changed

  • Upgraded dependency roave/psr-container-doctrine to version 3.x.

3.5.0

22 Feb 10:19
Compare
Choose a tag to compare

Changed

  • Production recipes are now sorted by their number of products to prefer simpler recipes over catalyst ones.
  • Consumption recipes are now sorted by their number of ingredients to prefer simpler recipes.

Fixed

  • Bad condition causing inability to use the index on the Translation table.

3.4.0

06 Feb 10:02
Compare
Choose a tag to compare

Changed

  • Internal type of resultData of CachedSearchResult from TEXT to BLOB to allow storing binary encoded cache data.

3.3.0

14 Jul 08:13
9fa8279
Compare
Choose a tag to compare

Added

  • Method findByNames() to CraftingCategoryRepository to search for crafting categories by their names.
  • Method clearCombination() to IconRepository clearing all icons assigned to a combination.

Changed

  • Method persistTranslationsToCombination() of TranslationRepository no longer clears the cross-table of the
    combination. Use method clearCrossTable() for that, which is now public.

Fixed

  • Inserting too many translations at once leading to an SQL error because of a too large query.

3.2.0

03 Jun 13:40
Compare
Choose a tag to compare

Added

  • Method findByLastUsageTime() to CombinationRepository allowing searching for recently used combinations.

Changed

  • Charset of all tables to utf8mb4 to actually be UTF-8.
  • All identifying columns' collation to utf8mb4_bin to make them case-sensitive, as they are in the game.
  • findByKeywords() of TranslationRepository no longer uses type and name columns to match the keywords.

3.1.0

02 May 07:23
Compare
Choose a tag to compare

Added

  • Method findAll() to the ItemRepository returning all available items.
  • Method findAllData() to the RecipeRepository returning the data of all available recipes.

Changed

  • Dependency dasprid/container-interop-doctrine to roave/psr-container-doctrine.

3.0.0

15 Apr 14:33
fbc5ba2
Compare
Choose a tag to compare

Changed

  • Database structure to be based on combinations, not on mods. Requesting data is now based on exactly one combination
    and no longer a set of several combinations.
  • TranslationRepository->findDataByKeywords() now will only search for the specified locale and "en", ignoring all
    other locales, to get more relevant search results.

2.1.1

11 Aug 19:33
7f19b06
Compare
Choose a tag to compare

Fixed

  • Some unescaped column names leading to SQL errors.

2.1.0

15 Jul 18:58
95f420e
Compare
Choose a tag to compare

Added

  • Property size to the IconFile entity.

Changed

  • Value for unlimited item slots in machine from -1 to 255 to use the same value as in-game.
  • Usage of ReflectionFactoryto AutoWireFactory