Skip to content

Releases: LiterateInk/Pawnote

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).

js v0.21.0

16 May 19:33
Compare
Choose a tag to compare
  • #36: Add method for grades report PDF generation for a given period
  • #35: Add support for "mesure conservatoire" (PrecautionaryMeasure) in attendance
  • #33: Add support for detentions in the timetable
  • 2ac99ff: Implementation for Turboself partner
  • a2552cd: Bugfix when reauthenticating using a token that should bypass ENT

js v0.20.4

28 Apr 17:12
Compare
Choose a tag to compare
  • feat(discussions): add checks if user is allowed to access it (b00a90a)

js v0.20.3

26 Apr 20:19
Compare
Choose a tag to compare
  • fix(period): additional check to make sure periodeParDefaut is defined (3d7a2fa)