Releases: untisapi/untis4j
v1.3.5
What's Changed
- Added Elements to Lesson class by @TheRedLion in #24
New Contributors
- @TheRedLion made their first contribution in #24
Full Changelog: v1.3.4...v1.3.5
Installation
Maven
POM
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.untisapi</groupId>
<artifactId>untis4j</artifactId>
<version>v1.3.5</version>
</dependency>
</dependencies>
Gradle
Groovy DSL
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.untisapi:v1.3.5'
}
Kotlin DSL
repositories {
maven { url='https://jitpack.io' }
}
dependencies {
implementation ("com.github.untisapi:v1.3.5")
}
v1.3.4
What's Changed
- A bug was fixed that caused users with the letters 'ä', 'ö' and 'ü' not to be able to log in
- Libraries and plugins have been updated
Full Changelog: v1.3.3...v1.3.4
Installation
Maven
POM
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.untisapi</groupId>
<artifactId>untis4j</artifactId>
<version>v1.3.4</version>
</dependency>
</dependencies>
Gradle
Groovy DSL
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.untisapi:v1.3.4'
}
Kotlin DSL
repositories {
maven { url='https://jitpack.io' }
}
dependencies {
implementation ("com.github.untisapi:v1.3.4")
}
v1.3.3
Changes
- Bug fix by @maxmielchen in #19
Full Changelog: v1.3.2...v1.3.3
Installation
Maven
POM
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.untisapi</groupId>
<artifactId>untis4j</artifactId>
<version>v1.3.3</version>
</dependency>
</dependencies>
Gradle
Groovy DSL
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.untisapi:v1.3.3'
}
Kotlin DSL
repositories {
maven { url='https://jitpack.io' }
}
dependencies {
implementation ("com.github.untisapi:v1.3.3")
}
v1.3.2
Changes
- Update readme by @maxmielchen in #17
- Update for 1.3.2 by @maxmielchen in #18
Full Changelog: v1.3.1...v1.3.2
Installation
Maven
POM
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.untisapi</groupId>
<artifactId>untis4j</artifactId>
<version>v1.3.2</version>
</dependency>
</dependencies>
Gradle
Groovy DSL
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.untisapi:v1.3.2'
}
Kotlin DSL
repositories {
maven { url='https://jitpack.io' }
}
dependencies {
implementation ("com.github.untisapi:v1.3.2")
}
v1.3.1
Changes:
-
Maven pom was added
-
Maven environment variables have been added to gitignore
-
Added Maven CI
-
Readme was adapted for the new CI scripts
-
The json library has been updated
-
Remove Gradle scripts (This does not remove availability for Gradle, only the build test has been removed for clarity)
-
Set Java version from 11 to 8 (It still works for Java 11 now but also for java 8, 9, 10 from now on)
-
Switch from JitPack to GitHub package
-
Cleanup (A small cleanup to reduce compiler warnings)
Installation:
Maven
Add the GitHub repository to your build file
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/untisapi/untis4j</url>
</repository>
Add the dependency
<dependency>
<groupId>org.bytedream</groupId>
<artifactId>untis4j</artifactId>
<version>1.3.1</version>
</dependency>
Groovy
Add the GitHub repository to your build file
maven { url 'https://maven.pkg.github.com/ByteDream/untis4j' }
Add the dependency
implementation 'org.bytedream:untis4j:1.3.1'
Kotlin
Add the GitHub repository to your build file
maven { url='https://maven.pkg.github.com/ByteDream/untis4j' }
Add the dependency
implementation ("org.bytedream:untis4j:1.3.1")
untis4j v1.3.0
Added🎊:
- Android support
Infos.getPersonId(...)
to get the person id (formerstudentId
) of yourself
Improvements✨:
- Renamed all
studentId
related functions topersonId
Fixed bugs🐛:
- Cache manager does not throwing exceptions anymore (and it did only sometimes, idk why)
untis4j v1.2.1
untis4j v1.2
Improvements✨:
searchBy...(...)
andfindBy...(...)
functions which takeString
as parameter ignore upper and lower case- renamed
klasse
toclass
andklassen
toclasses
- better examples in README.md
Fixed bugs🐛:
- Different requested
Session.getTimetable(...)
returning now different results Session.reconnect()
won't throw aConnectionException
anymore and replaces the oldsessionId
with the new oneLatestImportTime.getLatestImportTime()
returnslong
instead of a negativeint
Other changes🛠:
- General code reformatting
untis4j v1.1
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 newget
methods BaseResponse
which is the parent class of allBaseResponseLists
andBaseResponseObjects
childsgetWeeklyTimetable(...)
containing the information about a timetable for a specific weekgetKlassen()
,getTeachers()
,getRooms()
andgetSubjects()
in classTimetable
, see improvementsResponse
,BaseResponseLists.*
andBaseResponseObjects.*
extends fromBaseResponse
Removed💣:
getKlassenIds()
,getTeacherIds()
,getRoomIds()
andgetSubjectIds()
in classTimetable
, see improvements- Class
ColorResponseObject
inBaseResponseObjects
Improvements✨:
Timetable.Lesson.getCode()
returnsUntisUtils.LessonCode.REGULAR
instead ofnull
if there is nothing special with the lesson- Changed
getKlassenIds()
,getTeacherIds()
,getRoomIds()
andgetSubjectIds()
togetKlassen()
,getTeachers()
,getRooms()
andgetSubjects()
in classTimetable
Other changes🛠:
- Internal method changes
- Javadoc improvements
- General code reformatting
Fixed bugs🐛:
Session.getTimegridUnits()
works now properlyTimetable.searchByCode(...)
won't cause aNullPointerException
anymore (addedUntisUtils.LessonCode.REGULAR
to bypass the exception)