Skip to content

Releases: LiterateInk/Pawnote

kotlin v1.0.0

12 Oct 11:07
f07b7d1
Compare
Choose a tag to compare

First release of the Kotlin implementation !

Should match the upstream JS/TS API.

A documentation is on the way...

js v1.2.2

08 Sep 18:07
Compare
Choose a tag to compare

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.

  • fix(response): add access denied catch and prevent throwing on _Signature_ check because of in (#60) (c58b193)

js v1.2.1

06 Sep 23:32
Compare
Choose a tag to compare

A small release to upgrade packages (notably the utilities one) to latest version.

js v1.2.0

06 Sep 23:28
Compare
Choose a tag to compare

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.

  • chore: merge pull request #59 from LiterateInk/feat/js/pin-code (cbd8871)

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 !

  • chore: merge pull request #58 from Gabriel29306/grade-notes (788050e)

Fixes

An error could be thrown in timetable decoders when the date provided is invalid and no ListeCours is present.

  • fix(decoders): ListeCours can be undefined 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

28 Aug 22:54
Compare
Choose a tag to compare

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]) !


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)