Skip to content

Latest commit

 

History

History
507 lines (268 loc) · 11.4 KB

CHANGELOG.md

File metadata and controls

507 lines (268 loc) · 11.4 KB

8.0.5 (2022-06-11)

Fixed

  • Fix issue where profile bout location was coming up null because the selector had changed. Selector is more flexible now.

8.0.4 (2022-05-29)

Fixed

  • Events that have pending approval or approval will no longer throw

8.0.3 (2022-05-24)

Fixed

  • load elem into cheerio when parsing links column

8.0.2 (2022-05-22)

Fixed

  • Bump boxrec-requests to 6.0.2, which includes adding form-data as a dependency which may be affecting some users

8.0.1 (2022-05-12)

Fixed

  • Fixed links for events, both scheduled and dates

8.0.0 (2022-04-15)

Changed

  • getDate now expects an object instead of a string. The purpose being that the BoxRec URL became more complex and this allows some future proofing

Fixed

  • getDate endpoint returns information again. It was broken due to boxrec-requests but also the table header selectors were not good
  • getSchedule working again. Issue was in boxrec-requests

7.2.1 (2022-03-16)

Changed

  • No longer use .npmignore to ignore files - Reduce package size from 54.1kB/277.4kB to 50.1kB/265.2kB

7.2.0 (2022-03-15)

Added

  • Export Country from boxrec-requests which allows developers to use it for locations

7.1.9 (2022-03-15)

Fixed

  • Updated boxrec-requests as it had a login issue which prevented logging in

7.1.8 (2022-03-14)

Fixed

  • Updated boxrec-requests to have a better log in failure

7.1.7 (2022-03-06)

Fixed

  • Fixed a number of issues due to selectors being out of date
  • Bouts no longer show the before points of a boxer, therefore is now just a number
  • Profile pages no longer have the death date of a person

7.1.6 (2022-02-14)

Fixed

  • Another update to boxrec-requests to 5.1.4 which should fix the packaged version of boxrec-requests

7.1.5 (2022-02-09)

Fixed

  • Another update to boxrec-requests to 5.1.3 which should fix getting boxers

7.1.4 (2021-03-08)

Fixed

  • Updated boxrec-requests to 5.1.1 which includes a login fix for logging into BoxRec

7.1.3 (2020-10-09)

Added

  • Added that BoxRec will now block users that abuse requests to their service

7.1.2 (2020-09-23)

Fixed

  • Boxer profile was not returning record

7.1.1 (2019-12-23)

Fixed

  • Update boxrec-requests dependency. It had too strict of a check for GDPR which was preventing logging in

7.1.0 (2019-11-05)

Added

  • Can now get programs that the fighter is enrolled into

7.0.2 (2019-11-01)

Fixed

  • Resolved issue where rating values were returning null for schedule data

7.0.1 (2019-10-30)

Fixed

  • Resolved issue where data was missing between past dates and future dates

7.0.0 (2019-10-22)

Changed

  • It won't affect consumers of the package but data is now more flexible by finding data by either the header or column data. This is important because now table changes won't break the package
  • Decorators added to multiple areas to ensure consistency of data returned

6.2.0 (2019-09-21)

Added

  • Added support for socialMedia for profiles

Fixed

  • Suspensions on profile should now again be working correctly

6.1.0 (2019-09-17)

Added

  • Added support for death for profiles

Changed

  • All profiles support born and not just boxers

6.0.0 (2019-09-16)

Changed

  • Birth Place/Residence on Profile page is now a string, therefore changed to string

Fixed

  • Name/Alias on Search page fixed and should be a bit more flexible
  • Champions returned properly now since table format changed

5.0.3 (2019-09-12)

Security

  • Updated dependencies (lodash bump)

5.0.2 (2019-08-22)

Fixed

  • offset properly works now for getting people by location

5.0.1 (2019-08-12)

Fixed

  • Move boxrec-requests back to being a necessary dependency

5.0.0 (2019-08-12)

Fixed

  • Support and changes to accommodate BoxRec new roles

4.0.1 (2019-06-21)

Fixed

  • Update dependency due to vulnerability

4.0.0 (2019-06-11)

Changed

  • Better results for ratings requests. There were more variations for ratings than expected

Fixed

  • Update/remove handlebars and js-yaml dependencies

3.0.0 (2019-05-09)

Added

  • Some events actually have tickets with contact information on how to buy. It's rare but it exists

Changed

  • Getting people by location now returns a people object by default and not boxers

Fixed

  • Issue where titles with spaces like Light Heavyweight wouldn't be caught properly by the regex

2.0.1 (2019-05-03)

Fixed

  • boxrec-requests was a dev dependency but it is a normal dependency

2.0.0 (2019-04-30)

Added

  • Added "total number" for certain pages ex. numberOfBouts, numberOfPages, numberOfLocations, numberOfPeople

Changed

  • Make stateless. Cookie is returned and is now required to pass in when making requests
  • Updated all location objects to include both id and name of town/region/country
  • Docs are now pushed to S3. This allows maintaining multiple versions of the docs and reducing git history clutter
  • bio_open/bio_closed to just be bio to keep consistency
  • KOs are now the number of KOs and not the percentage

Fixed

  • Package size is now reduced from 1.30 MB to 48 KB. Better package build and removed dependencies
  • bout links are more consistent
  • Ratings are now updated to allow decimal places as BoxRec has changed their algorithm

1.2.0 (2019-01-16)

Added

  • getPersonById now supports a getter for the profile picture by using picture
  • Champions method getByWeightDivision now supports the picture of the champion

1.1.0 (2019-01-15)

Added

  • Can now use watch method watch a boxer
  • Can now use unwatch method to unwatch a boxer
  • Can now use getWatched method to list boxers that the user is watching

1.0.0 (2019-01-08)

Added

  • Can now make getTitles call that returns scheduled title fights

Fixed

  • Typescript and typings now working properly

Changed

  • Pages aren't parsed on initialization and instead only on getter requests. Prevents unnecessary parsing
  • Changed getTitle to getTitleById to get previous title fights by the belt ID
  • Changed getBout to getBoutById to match getTitleById format

0.19.0 (2018-11-26)

Added

  • can now return/save the PDF version of a boxer profile
  • can now return/save the printable version of a boxer profile

0.18.4 (2018-10-20)

Fixed

  • Fixed exception that would occur when event had only country but no venue/town/region

0.18.3 (2018-10-17)

Fixed

  • Searching will now get the dynamic search parameter from the search page
  • Second boxer information on event bouts will come back properly now

0.18.2 (2018-10-09)

Fixed

  • BoxRec now uses ktO instead of pf in the search query params

0.18.1 (2018-08-30)

Fixed

  • tables are using unique IDs now. So we'll search by the class/tag name

0.18.0 (2018-08-21)

Added

  • Can now search for events by date

0.17.0 (2018-08-11)

Added

  • Can now get individual bout information
  • Can now get results of fights that have occurred by division/country

0.16.0 (2018-07-28)

Added

  • Added ability to get/set BoxRec cookies. Allows developer to reuse logged in session
  • Code Climate integration to improve code quality

0.15.0 (2018-07-25)

Added

  • Can now get the profile events/bouts for other roles (doctor, inspector, judge, manager, matchmaker, promoter, referre, supervisor)
  • offset param now works for all endpoints that support it
  • Made use of typedocs @hidden tag to hide private properties, methods

Fixed

  • Sometimes division was missing on pages, the code expected a string and would throw an error trying to trim() undefined. In these scenarios it will return null

0.14.0 (2018-07-13)

Added

  • Can now get title information including all bouts that occurred for that belt
  • Profile bouts will now return the ratings for both boxers before and after a bout

0.13.0 (2018-06-27)

Added

  • Can get a list of scheduled events

Removed

  • A number of classes would have an output object. Changed them to be more meaningful like results, boxers, etc. to make it more representative of the data

0.12.0 (2018-06-17)

Added

  • Can now get venue information, including bouts that occurred there

0.11.0 (2018-06-12)

Added

  • Can now get people by location
  • Can now get events by location

0.10.0 (2018-06-06)

Added

  • Can now search for people other than boxer's (matchmakers, doctors, judges, etc.). Limited for now to information in the profile table beside their profile picture on BoxRec

Changed

  • getBoxerById method has been changed to getPersonById since you can search for people other than boxers
  • getBoxersByName method has been changed to getPeopleByName since you can search for people other than boxers

Fixed

  • BoxRec profile bouts no longer returns link to venue/location. Object has changed but this will return venue name and city/town still
  • wiki link for profile bouts was returning null

0.9.5 (2018-05-30)

Added

  • User will be notified that they need to give GDPR consent to BoxRec

Fixed

  • The Jest config file for the E2E tests was not reading the test file

0.9.4 (2018-05-27)

Added

  • Doc generation automatically done on pre-commit

0.9.3 (2018-05-21)

Fixed

  • Support for Node 10

0.9.2 (2018-05-21)

Changed

  • Change profile bouts list to return latest fight at end of array

0.9.1 (2018-05-15)

Fixed

  • Events that hadn't occurred yet would have a different number of columns

0.9.0 (2018-05-14)

Added

  • Can now get event information by id

Changed

  • Update profile bouts to match event bouts

0.8.1 (2018-04-08)

Added

  • Documentation on how to contribute to the project

Changed

  • Moved page object files into separate directories

0.8.0 (2018-04-08)

Added

  • Can now list champions. Can list by weight class, by belt organization.

0.7.0 (2018-04-04)

Added

  • Can now search boxer by name

0.6.0 (2018-04-03)

Added

  • Profile will return a list of boxer's suspensions

0.5.2 (2018-04-03)

  • Separate mocks to be used from another repo

0.5.1 (2018-04-02)

  • Update README to include better examples on requests/responses

0.5.0 (2018-04-02)

Added

  • Can now search for boxers (and only boxers at this time)

0.4.1 (2018-04-02)

Changed

  • Updated webpack and ts-lint dependency to 4.1.0

0.4.0 (2018-03-28)

Added

  • Ability to retrieve ratings by location, weight class, division, sex, etc.

0.3.0 (2018-03-27)

Added

  • Profile bouts will return an array of basic information about the bout including weight, result, location, judges, referees

Changed

  • Getting the profile bouts used to give the number of bouts the fighter has completed. bouts is now an array of basic bout information. numberOfBouts will now give you the amount of bouts that the boxer has had

0.2.1 (2018-03-22)

Added

  • Better description in README about what attributes are gathered

0.2.0 (2018-03-21)

Added

  • Added the ability to retrieve boxer profile stats