untis 0.2.0-alpha.3 copy "untis: ^0.2.0-alpha.3" to clipboard
untis: ^0.2.0-alpha.3 copied to clipboard

outdated

This package allows you to parse Untis's HTML.

0.2.0-alpha.3 #

  • Replaced dayFromInt, dayToInt, matchDay and DayImpl with methods on Day (thanks Dart 2.17!)
  • Added saturday and sunday to Day
  • Replaced the number parsing algorithm with a simpler one that should always yield the same results
  • Removed WhereNotNull, use package:where_not_null instead
  • Substitutions are only Comparable<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 PlanPage
  • Added UnknownDayException to throw from Day.match/matchDay
  • Removed the isFree attribute from Substitution and made it a getter instead
  • Added the date to the toString of Page (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 Pages an extension