Skip to content

untis4j v1.1

Compare
Choose a tag to compare
@bytedream bytedream released this 01 Nov 14:25
· 91 commits to master since this release

Added🎊:

  • Full (and fast) cache support for all requests (besides getLatestImportTime())
  • All objects which extends from ResponseList can be sorted in several ways
  • All parameters of objects stored in lists which are extends from ResponseList<E> are easier to reach with new get methods
  • BaseResponse which is the parent class of all BaseResponseLists and BaseResponseObjects childs
  • getWeeklyTimetable(...) containing the information about a timetable for a specific week
  • getKlassen(), getTeachers(), getRooms() and getSubjects() in class Timetable, see improvements
  • Response, BaseResponseLists.* and BaseResponseObjects.* extends from BaseResponse

Removed💣:

  • getKlassenIds(), getTeacherIds(), getRoomIds() and getSubjectIds() in class Timetable, see improvements
  • Class ColorResponseObjectin BaseResponseObjects

Improvements✨:

  • Timetable.Lesson.getCode() returns UntisUtils.LessonCode.REGULAR instead of null if there is nothing special with the lesson
  • Changed getKlassenIds(), getTeacherIds(), getRoomIds() and getSubjectIds() to getKlassen(), getTeachers(), getRooms() and getSubjects() in class Timetable

Other changes🛠:

  • Internal method changes
  • Javadoc improvements
  • General code reformatting

Fixed bugs🐛:

  • Session.getTimegridUnits() works now properly
  • Timetable.searchByCode(...) won't cause a NullPointerException anymore (added UntisUtils.LessonCode.REGULAR to bypass the exception)