Releases: LiterateInk/Pawnote
js v1.0.0
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
js v0.22.0
- 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
js v0.21.3
Implements a bugfix in authentication process when you're in a context where Headers
is undefined
, thanks to @ecnivtwelve (#41).
js v0.21.2
Implementation of function
(DiscussionCreationRecipientFunction
) on DiscussionCreationRecipient
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
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
- #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
- feat(discussions): add checks if user is allowed to access it (b00a90a)
js v0.20.3
- fix(period): additional check to make sure
periodeParDefaut
is defined (3d7a2fa)