untis 0.2.0-alpha.5
untis: ^0.2.0-alpha.5 copied to clipboard
This package allows you to parse Untis's HTML.
0.2.0-alpha.5 #
- 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
- Renamed
Page.parsePagetoPage.parse - Removed
WhereNotNull(usepackage:where_not_nullinstead) Substitutions are onlyComparable<Substitution>nowDays areComparable<Day?>now- Documentation improvements
- Better testing, using
tested1 dart 3.lints 5.
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