Skip to content

Releases: LiterateInk/Pawnote

js v1.0.3

26 Aug 22:07
Compare
Choose a tag to compare
  • fix(decoders): periods not read correctly (80841d1)

js v1.0.2

25 Aug 20:25
Compare
Choose a tag to compare

Fixes an issue where an error is thrown when default periods aren't available.

js v1.0.1

23 Aug 18:23
Compare
Choose a tag to compare
  • feat: add notebook observation kind enum (e1fa8d1)

js v1.0.0

22 Aug 21:14
Compare
Choose a tag to compare

FINALLY

After many hours of debugging and thinking, the final rewrite is here !

A lot of breaking changes were made, because the library is NOT the same AT ALL.

Not sure if a migration guide is needed here, you might have to check the examples before the v1 to catch the differences.

A documentation will be written soon with the new structure.

js v0.22.1

12 Jul 22:12
Compare
Choose a tag to compare
  • fix(timetable): handle each week separately (1ec97cf)
  • feat(timetable): add weekNumber property on classes (040038c)

js v0.22.0

10 Jul 18:35
Compare
Choose a tag to compare
  • fix(dates): dynamic prefixed year characters (dbe0968
  • feat: onglets parser (277c0f4) #47
  • feat: add iCal URL getter and iCal token getter on personal information API call (640dc01)
  • feat!: use the PRONOTE version instead of a custom enum in session.instance (7a84dc8)
  • fix(api)!: use numbers instead of the year string for the version (7911e1e)
  • feat!: reimplement getTimetableOverviewForWeek (b278911)

js v0.21.4

05 Jul 08:08
Compare
Choose a tag to compare

Bugfixes

  • (a3e357b) API for geolocation : received URLs are now lowercased by default (see why on #45)

js v0.21.3

01 Jul 20:38
Compare
Choose a tag to compare

Implements a bugfix in authentication process when you're in a context where Headers is undefined, thanks to @ecnivtwelve (#41).

js v0.21.2

28 May 20:30
Compare
Choose a tag to compare

Implementation of function (DiscussionCreationRecipientFunction) on DiscussionCreationRecipient

  • fix(types): listeRessources can be undefined and fonction is sometimes given (b61ea10)
  • feat(discussion): add support for fonction (d2202de)

Using the following JSON, previous versions would throw an error because listeRessources is undefined here.

{
  "L": "Mme RENARD Maëva",
  "N": "113#aAbBcCdDeEfFgGhHaAbBcCdDeEfFgGhH",
  "G": 34,
  "P": 28,
  "fonction": {
    "_T": 24,
    "V": {
      "L": "CPE",
      "N": "62#aAbBcCdDeEfFgGhHaAbBcCdDeEfFgGhH"
    }
  },
  "avecDiscussion": true
}

Instead, we have fonction which was not implemented nor typed.

This release fixes this by implementing a DiscussionCreationRecipientFunction class that handles properties from fonction.
A function field has been added to the DiscussionCreationRecipient class to access values in there.

Note that subjects will still exist for listeRessources elements and will be an empty array when listeRessources is undefined.

js v0.21.1

25 May 09:57
Compare
Choose a tag to compare

Bug fix on grades

For some people, in the API, moyenne can be undefined on a grade and that would throw an error on Pawnote. This release fixes that by making the average property on StudentGrade optionnal (so can be undefined).