Releases: factorio-item-browser/api-database
Releases · factorio-item-browser/api-database
3.7.0
3.6.0
Changed
- Upgraded dependency
roave/psr-container-doctrine
to 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
resultData
ofCachedSearchResult
from TEXT to BLOB to allow storing binary encoded cache data.
3.3.0
Added
- Method
findByNames()
toCraftingCategoryRepository
to search for crafting categories by their names. - Method
clearCombination()
toIconRepository
clearing all icons assigned to a combination.
Changed
- Method
persistTranslationsToCombination()
ofTranslationRepository
no 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()
toCombinationRepository
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()
ofTranslationRepository
no longer usestype
andname
columns to match the keywords.
3.1.0
Added
- Method
findAll()
to theItemRepository
returning all available items. - Method
findAllData()
to theRecipeRepository
returning the data of all available recipes.
Changed
- Dependency
dasprid/container-interop-doctrine
toroave/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
size
to theIconFile
entity.
Changed
- Value for unlimited item slots in machine from -1 to 255 to use the same value as in-game.
- Usage of
ReflectionFactory
toAutoWireFactory