Skip to content

Releases: untisapi/untis4j

v1.3.5

22 Jan 15:34
cbecc54
Compare
Choose a tag to compare

What's Changed

New Contributors

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

10 Jun 09:42
cbeeb5a
Compare
Choose a tag to compare

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

10 Mar 19:13
4de3f4d
Compare
Choose a tag to compare

Changes

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

10 Mar 13:12
c28bcb4
Compare
Choose a tag to compare

Changes

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

28 Jan 14:17
527b167
Compare
Choose a tag to compare

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

16 Jan 21:53
Compare
Choose a tag to compare

Added🎊:

  • Android support
  • Infos.getPersonId(...) to get the person id (former studentId) of yourself

Improvements✨:

  • Renamed all studentId related functions to personId

Fixed bugs🐛:

  • Cache manager does not throwing exceptions anymore (and it did only sometimes, idk why)

untis4j v1.2.1

08 Nov 14:44
521734a
Compare
Choose a tag to compare

Fixed bugs🐛:

  • Miss call of getStartTime(...) on a place where getEndTime(...) should be called (#3)
  • Another wrong call where getStartTime(...) and getEndTime(...) were mixed up (#4)

untis4j v1.2

04 Jul 17:29
Compare
Choose a tag to compare

Improvements✨:

  • searchBy...(...) and findBy...(...) functions which take String as parameter ignore upper and lower case
  • renamed klasse to class and klassen to classes
  • better examples in README.md

Fixed bugs🐛:

  • Different requested Session.getTimetable(...) returning now different results
  • Session.reconnect() won't throw a ConnectionException anymore and replaces the old sessionId with the new one
  • LatestImportTime.getLatestImportTime() returns long instead of a negative int

Other changes🛠:

  • General code reformatting

untis4j v1.1

01 Nov 14:25
Compare
Choose a tag to compare

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)

untis4j v1.0

04 Sep 15:26
9af7be5
Compare
Choose a tag to compare

This is first untis4j API release. If you want to know how to work with the API read the docs or take a look for some examples here