Skip to content

Releases: LiterateInk/Pawnote

js v1.3.1

20 Dec 23:07
03a6dbb
Compare
Choose a tag to compare

Quick fix for the typo on the new property introduced in 1.3.0, see #69.

js v1.3.0

20 Dec 18:28
e91d85b
Compare
Choose a tag to compare

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

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)