Releases: LiterateInk/Pawnote
js v1.3.1
js v1.3.0
Fixes
- ID parsing on notebook absences : see #68
- Add
categoryText
attribute on resources : see #67 - Better server side error handling : see #62 (fixes #60)
Breaking Changes
There's a new method use()
that allows to switch the current account context.
This is done to start implementing the family accounts API, see #61
Please look the examples to see how it affects the code, you may look at the changes done in this commit to see the differences : f05fa81
kotlin v1.0.0
First release of the Kotlin implementation !
Should match the upstream JS/TS API.
A documentation is on the way...
js v1.2.2
Fixes
Access denied error was not handled properly previously in plain text response.
Also, the usage of in
to check errors in the response could be problematic in some cases and has been fixed.
js v1.2.1
js v1.2.0
Features
PIN and security methods has been fully implemented in auth flow, learn more in #56.
Please check the examples
to see how to implement it in your project.
A new feature of PRONOTE v2024 has been implemented in Pawnote which are comments on grades, learn more in #42.
Thanks to @Gabriel29306 for implementing this feature !
Fixes
An error could be thrown in timetable decoders when the date provided is invalid and no ListeCours
is present.
- fix(decoders):
ListeCours
can beundefined
if date not valid (50c6bda)
Invalid properties were passed to the timetable request for the intervals method only, it has been fixed and properties are now correct.
- fix(timetable): encode date properly on intervals (f3851f7)
When a domain was empty ([]
) it would output [NaN]
because of a for
-loop issue.
It has been fixed and is now returning []
properly.
- fix(domain): return empty array when empty domain (d72de26)
js v1.1.0
Add support for proper error handling.
Errors are now in models/errors
and are exported. Every errors in Pawnote is using one of those exported errors.
Add support for menus.
You can now fetch menus for your establishment by doing pronote.menus(session, [Date])
!
- feat: add proper errors (#8) (af01305)
- chore(deps): bump (41415f4)
- chore: merge pull request #55 from LiterateInk/js-menus (05b4333)
- fix(homepage): remove menus since not supported (5a1c4ee)
- chore: exports (e55086c)
- feat: add dish and meal kinds (4c451c1)
- feat: add week menu (c8e0a99)
- feat: add menu (1c2de35)
- feat: add meal (14f0149)
- feat: add food (34b9bce)
- feat: add food label (4e1cc8a)
- feat: add food allergen (6bb8d65)
- feat(api): add menus (aacfac1)