untis 0.2.0-alpha.3 untis: ^0.2.0-alpha.3 copied to clipboard
This package allows you to parse Untis's HTML.
0.2.0-alpha.3 #
- Replaced
dayFromInt
,dayToInt
,matchDay
andDayImpl
with methods onDay
(thanks Dart 2.17!) - Added
saturday
andsunday
toDay
- Replaced the number parsing algorithm with a simpler one that should always yield the same results
- Removed
WhereNotNull
, usepackage:where_not_null
instead Substitution
s are onlyComparable<Substitution>
now
0.1.1 #
- Optimized
Page.parsePage
- Upgraded to
html_search
0.3
0.1.0 #
- Initial attempt at making a DSB-independent Untis parser
- Renamed
Plan
→Page
- Added
UnknownDayException
to throw fromDay.match
/matchDay
- Removed the
isFree
attribute fromSubstitution
and made it a getter instead - Added the
date
to thetoString
ofPage
(why wasn't it there?!) - Fixed some incorrect tests (oh god)
- Fixed parser throwing when the raw lesson doesn't end with a letter
- Introduced the new
Parser
/ParserBuilder
API to allow for smarter parsing - Removed
Page.toJsonString
,Page.fromJsonString
- Made
Substitution.raw
more robust to empty classes - Made searching through
Page
s anextension