Skip to content

Releases: WeirdMath/TimetableSDK

3.1.2

09 May 21:40
Compare
Choose a tag to compare
  • Set DateFormatters' locale to "en_US_POSIX". This prevents those formatters from returning nil when converting a string to Date.

3.1.1

17 Apr 19:30
Compare
Choose a tag to compare
  • Fixed not setting the studentGroup property for fetched next and previous weeks

3.1.0

08 Apr 16:07
Compare
Choose a tag to compare
  • Now when calling a fetching method, you can disable force reloading. I. e. if somthing has already been fetched and saved to a property of a class that provides the fetching method, calling that method with forceReload: false returns the contents of that property.
  • You can now fetch extracurricular events for a division (currently Liberal Arts and Science only).

3.0.0

19 Mar 12:45
Compare
Choose a tag to compare
  • Dropped Alamofire and DefaultStringConvertible dependencies.

  • Result type in now implemented as follows:

    public enum Result<Value> {
        case success(Value)
        case failure(TimetableError)
    }

2.2.0

07 Mar 23:37
Compare
Choose a tag to compare

Implemented features:

  • Created Address and Room entities.
  • Location can now fetch the room that it refers to, if one can be found (which is not guaranteed even if there actually is such room, but its address does not match exactly to the location's address).
  • Some docs fixed.
  • Fixed not setting the timetable property for some entities.
  • Event and Location were made classes.

2.1.0

06 Mar 18:10
Compare
Choose a tag to compare

Implemented features:

  • Serializing StudentGroups and Weeks using JSON. This is useful when you don't want to fetch them every time you need them.
  • Initializing StudentGroups and Weeks from JSON with binding to a Timetable object so you can invoke their fetch[...] methods safely.

2.0.1

03 Mar 21:46
Compare
Choose a tag to compare

Issues resolved:

  • After fetching StudyLevels each of the containing Specialization's timetable property had not been set. Same thing for AdmissionYear's timetable. It has been fixed in this patch.

2.0.0

05 Dec 01:11
Compare
Choose a tag to compare

Implemented features:

  • The Timetable API has been updated. The new version provides the model that reflects the changes.
  • Completion handlers are now of type (Result<T>) -> Void.
  • Some properties of Event have been made optional in order to generalize this entity so that it fits more API responses.
  • Most of the entities have been made classes instead of structs.
  • Fetching methods are now not only members of the Timetable class.
  • Support for promises using PromiseKit.
  • Massive refactoring for object mapping and other internals. Compiles faster, code coverage increased.

1.0.0

25 Nov 09:40
Compare
Choose a tag to compare

The first release of TimetableSDK!

Implemented features: