Releases: Galarzaa90/tibia.py
Releases · Galarzaa90/tibia.py
v5.7.1
Changes
- Handle parsing a world that has never been online.
v6.3.0
v5.7.0
Changes
- Added Oceania location.
v6.2.0
Changes
- Add support for parsing the fansites section.
v6.1.0
Changes
- Add revealed gems to auction details.
- Fixed
get_highscores
not handling null values in parameters. - Fixed house parsing not handing guildhalls properly.
- Fixed houses missing "paid until" date.
v6.0.4
Changes
- Fixed pypi packaging issue.
v6.0.3
Changes
- Fixed bazaar filters not being set correctly for some values.
v6.0.2
Changes
- Fixed transfer recipient not being set in houses.
- Fixed highest bid and time left not being set in houses in the houses section.
v6.0.1
Changes
- Fix spells not sold in any cities (revelation perks) having a single "cities" entry
none
instead of being empty.
v6.0.0
Changes
- 🚨 Python 3.7 and below no longer supported.
- All models are now Pydantic models, for better data validation, serialization and deserialization.
- Models no longer contain methods to parse content, these have been moved to dedicated parser classes.
- 🚨 The location of models inside the module changed, so all imports need to be modified.
- Model changes:
Character
:account_status
field replaced withis_premium
.traded
field renamed tois_traded
.deleted
property renamed tois_scheduled_for_deletion
.hidden
property renamed tois_hidden
.
Achievement
:secret
field renamed tois_secret
CharacterHouse
:owner
field removed.status
field removed.type
field removed.paid_until_date
field renamed tppaid_until
.- Removed
owner
,status
andtype
fromCharacterHouse
.
Killer
:- Model name renamed to
DeathParticipant
. player
field renamed tois_player
.traded
field renamed tois_traded
.
- Model name renamed to
Death
:by_player
property renamed tois_by_player
name
field removed.
OtherCharacter
:online
field renamed tois_online
.deleted
field renamed tois_deleted
.traded
field renamed tois_traded
.main
field renamed tois_main
.
WorldEntry
/World
:online
field renamed tois_online
battleye_date
field renamed tobattleye_since
premium_only
field renamed tois_premium_only
experimental
field renamed tois_experimental
battleye_protected
property renamed tois_battleye_protected
OnlineCharacter
:world
field removed.
SpellsSection
:premium
field renamed tois_premium
SpellEntry
/Spell
:premium
field renamed tois_premium
News
/NewsEntry
:category_icon
field removed. Can be accessed throughcategory.big_icon_url
andcategory.small_icon_url
.date
field renamed topublished_on
NewsArchive
:start_date
field renamed tofrom_date
.end_date
field renamed toto_date
.types
field is now of typeset
.categories
field is now of typeset
.
NewsCategory
(enum)- Added
big_icon_url
andsmall_icon_url
properties.
- Added
Leaderboard
:current
field renamed tois_current
.page
field renamed tocurrent_page
.last_update
field removed.last_updated
field added, a datetime of when was the last update.
LeaderboardEntry
:name
field might beNone
if characte is deleted.
Highscores
:.page
field renamed tocurrent_page
.last_updated
field is now adatetime
instead of atimedelta
.
GuildMember
:joined
field renamed tojoined_on
.online
field renamed tois_online
.
GuildInvite
:date
field renamed toinvited_on
.
GuildHouse
:paid_until_date
field renamed tppaid_until
.owner
field removed.world
field removed.status
field removed.type
field removed.
ForumBoard
:threads
field renamed toentries
.page
field renamed tocurrent_page
.section_id
field added.results_count
field added.
ForumThread
:posts
field renamed toentries
.board_id
field added.section_id
field added.results_count
field added.previous_topic_number
may beNone
instead of0
.next_topic_number
may beNone
instead of0
.
LastPost
.date
field renamed toposted_on
.deleted
field renamed tois_author_deleted
.traded
field renamed tois_author_traded
.
CMPostArchive
:start_date
field renamed tofrom_date
end_date
field renamed toto_date
page
field renamed tocurrent_page
posts
field renamed toentries
CMPost
:date
field renamed toposted_on
Auction
renamed toAuctionDetails
and is no longer a subclass ofAuctionEntry
.AuctionEntry
renamed toAuction
.CharacterBazaar
:page
field renamed tocurrent_page
.
BestiaryEntry
:completed
property renamed tois_completed
.
- Renamed
DisplayImage
toItemEntry
. - Renamed
DisplayMount
toMountEntry
. - Renamed
DisplayOutfit
toOutfitEntry
. - Renamed
DisplayFamiliar
toFamiliarEntry
. - Renamed
page
tocurrent_page
,results
toresults_count
, andfully_fetched
tois_fully_fetched
inItemSummary
,Mounts
,Familiars
andOutfits
. - Added
thread_starter_deleted
toThreadEntry
.
- Renamed
Category
toHighscoresCategory
. - Renamed
BattlEyeTypeFilter
toAuctionBattlEyeFilter
. - Renamed
VocationFilter
toHighscoresProfession
. - Renamed
BattlEyeHighscoresFilter
toHighscoresBattlEyeType
. - Renamed
VocationAuctionFilter
toAuctionVocationFilter
. - Renamed
VocationSpellFilter
toSpellVocationFilter
. - Renamed
SkillFilter
toAuctionSkillFilter
. - Added
ForumSection
model and its respective parser, to fetch a list of board entries. - Removed
get_url
class methods from all models, replaced by functions in the urls package. - Fixed
Character
account badges not being parsed properly.