Releases: factorio-item-browser/api-database
Releases · factorio-item-browser/api-database
3.7.0
3.6.0
Changed
- Upgraded dependency
roave/psr-container-doctrineto version 3.x.
3.5.0
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
Changed
- Internal type of
resultDataofCachedSearchResultfrom TEXT to BLOB to allow storing binary encoded cache data.
3.3.0
Added
- Method
findByNames()toCraftingCategoryRepositoryto search for crafting categories by their names. - Method
clearCombination()toIconRepositoryclearing all icons assigned to a combination.
Changed
- Method
persistTranslationsToCombination()ofTranslationRepositoryno longer clears the cross-table of the
combination. Use methodclearCrossTable()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
Added
- Method
findByLastUsageTime()toCombinationRepositoryallowing searching for recently used combinations.
Changed
- Charset of all tables to
utf8mb4to actually be UTF-8. - All identifying columns' collation to
utf8mb4_binto make them case-sensitive, as they are in the game. findByKeywords()ofTranslationRepositoryno longer usestypeandnamecolumns to match the keywords.
3.1.0
Added
- Method
findAll()to theItemRepositoryreturning all available items. - Method
findAllData()to theRecipeRepositoryreturning the data of all available recipes.
Changed
- Dependency
dasprid/container-interop-doctrinetoroave/psr-container-doctrine.
3.0.0
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
Fixed
- Some unescaped column names leading to SQL errors.
2.1.0
Added
- Property
sizeto theIconFileentity.
Changed
- Value for unlimited item slots in machine from -1 to 255 to use the same value as in-game.
- Usage of
ReflectionFactorytoAutoWireFactory