Skip to content

Latest commit

 

History

History
79 lines (54 loc) · 2.39 KB

CHANGELOG.md

File metadata and controls

79 lines (54 loc) · 2.39 KB

1.6.1

  • Updates dependencies to resolve security issues, mostly affecting devDependencies (e.g object-path)
  • Updates tests to be more resilient to cases where the test target account hasn't completed placements for all roles yet
  • Replace the unused displayName for accounts with name and nameEscaped, mirroring the top-level properties
  • Add id under the accounts

1.6.0

  • Fixes a bug where if any requestOptions were set, the entire default object would be replaced instead of merged, and thus the default baseUrl would have to be reset

  • Correctly respects normalizeNames for competitiveRank, endorsementLevel, etc (now correctly snake_cased when appropriate)

  • Achievement names are no longer affected by normalizeNames, and always snake_cased

  • Resolved configuration options are now exposed read-only under the main oversmash object under options

    const ow = oversmash({ percentsAsInts: true })
    console.log(ow.options.percentsAsInts) # => true

1.5.3

1.5.3

  • Fixes a bug where users who had not completed all placements for the season could have incorrect or invalid role rank values

1.5.2

1.5.2

  • Normalizes name handling on all methods, making the # sign mandatory
  • Adds nameEscaped and nameEscapedUrl to method return values as appropriate, with the escaped values used internally

1.5.1

1.5.1

  • Fixes issue with some hero stat values being null incorrectly, due to an error in value normalization in the scraper
  • Reshuffled debug logging around. New DEBUG= values are oversmash:* for all logs, or oversmash:scraper, oversmash:main, and oversmash:snapshot respectively.

1.5.0

1.5.0

  • Adds support for role queue ranks in playerStats method
{
  stats: {
    competitiveRank: {
      support: 1234,
      tank: 1234,
      damage: 1234
    }
  }
}
  • Adds endorsementLevel to playerStats
  • Adds gamesWon to playerStats

1.4.0 & 1.4.1(May 14th 2019)

1.4.0

  • Fixes support for player portraits
  • Removes region-related code
  • Adds missing fields to player profile
  • Fixes errors in player stats scraping

1.4.1

  • Fixes inconsistent name handling in oversmash.player

1.3.2 (December 29th 2017)

Fixes .player to work with changes to the blizzard API, specifically how it no longer seems to support using a dash - in place of the pound # sign. URL-encoding the pound sign as part of the URL appears to resolve it.