untis 0.2.0-alpha.4
untis: ^0.2.0-alpha.4 copied to clipboard
This package allows you to parse Untis's HTML.
0.2.0-alpha.4 #
- Replaced
dayFromInt,dayToInt,matchDayandDayImplwith methods onDay(thanks Dart 2.17!) - Added
saturdayandsundaytoDay - Replaced the number parsing algorithm with a simpler one that should always yield the same results
- Removed
WhereNotNull, usepackage:where_not_nullinstead Substitutions are onlyComparable<Substitution>now- Adopted tested 1 for testing
0.1.1 #
- Optimized
Page.parsePage - Upgraded to
html_search0.3
0.1.0 #
- Initial attempt at making a DSB-independent Untis parser
- Renamed
Plan→Page - Added
UnknownDayExceptionto throw fromDay.match/matchDay - Removed the
isFreeattribute fromSubstitutionand made it a getter instead - Added the
dateto thetoStringofPage(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/ParserBuilderAPI to allow for smarter parsing - Removed
Page.toJsonString,Page.fromJsonString - Made
Substitution.rawmore robust to empty classes - Made searching through
Pages anextension