Releases: LiterateInk/Pawnote
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)
js v1.0.3
js v1.0.2
js v1.0.1
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.