Skip to content

Latest commit

 

History

History
214 lines (143 loc) · 5.77 KB

CHANGELOG.md

File metadata and controls

214 lines (143 loc) · 5.77 KB

What's New

osm-auth is an open source project. You can submit bug reports, help out, or learn more by visiting our project page on GitHub: :octocat: https://github.com/osmlab/osm-auth

Please star our project on GitHub to show your support! ⭐️

Breaking changes, which may affect downstream projects, are marked with a ⚠️

2.5.0

2024-Apr-26
  • Remove any extra quotes that were stored with legacy tokens (#129)
  • Allow locale to be passed to login page (#23, #130, thanks @k-yle)

2.4.0

2024-Jan-04
  • Remove store dependency (#126)
  • Attempt to fix export errors from TypeScript declaration file (#124, #125, thanks @pietervdvn)

2.3.0

2023-Oct-24
  • Add apiUrl property to support connecting to OSM API at api.openstreetmap.org (#123, operations#951)
  • Fix popup on Safari when accessing WebCryptoAPI (#121, #122, thanks @tyrasd)
  • Fix double wrapping of Error object returned from authenticate (0f48eb88)

2.2.0

2023-Jul-12
  • Make the fetch wrapper more compatible with fetch (#117, #118)
  • Implement PKCE for OAuth2 authentication (#114, thanks @tyrasd)

2.1.0

2023-May-17
  • Add fetch wrapper (#112, thanks @dschep)
  • Simplify and document singlepage authentication (#113, thanks @dschep)

2.0.1

2022-Sep-27
  • Fix osm-auth.d.ts types declaration (#106, thanks @caspg)

2.0.0 (OAuth v2.0)

2022-Apr-27
  • ⚠️ Breaking change: This library is now focused on supporting OAuth 2.0 (#77, #93, thanks @HelNershingThapa!)
  • ⚠️ xhr and rawxhr options have changed slightly - check docs if you are using options with custom headers.
  • ⚠️ osm-auth is marked as "type": "module" now
  • ⚠️ Replace browserify with esbuild for super fast build speed. Package outputs are now:
    • "module": "./src/osm-auth.mjs" - ESM, works with import
    • "main": "./dist/osm-auth.cjs" - CJS bundle, works with require()
    • "browser": "./dist/osm-auth.iife.js" - IIFE bundle, works in browser <script> tag
    • Not testing on older environments like Internet Explorer or ES5. No promises that this will work there.
  • Improve documentation around the use of all functions, some returns have changed (#53)

1.1.2 (OAuth v1.0a)

2022-Apr-26
  • Remove ecstatic, to avoid deprecation warnings
  • Test on Node 14, 16, 18

1.1.1

2021-May-24
  • Remove xtend, to avoid deprecation warnings

1.1.0

2020-Jul-27
  • Improve interaction with popup window (#67)
  • Add function bringPopupWindowToFront()

1.0.2

2017-Jun-25
  • Use HTTPS protocol by default for openstreetmap.org (#20)

1.0.1

2016-Oct-24
  • Bugfix: Properly sign requests that include a querystring (#17)

1.0.0

2016-Oct-23
  • Upgrade all dependencies
  • xhr should return an XMLHttpRequest (#16)

0.2.9

2016-Aug-01
  • Update ohauth dependency

0.2.8

2015-Apr-01
  • Update xtend to fix unpublished object-keys

0.2.7

2014-Nov-26

0.2.6

2014-Aug-20
  • Strip querystring as well (#6)
  • Reverse key and secret order to reflect osm.org ordering
  • Update ohauth dependency

0.2.5

2013-Nov-21
  • Fix non-form-urlencoded POST parameters case (#11)

0.2.4

2013-Nov-21
  • Better failure mode if localStorage is paranoid/full (#10)

0.2.3

2013-Jun-01
  • Support querystring args

0.2.2

2013-May-31
  • Fix behavior with hash with nothing after it
  • Update store dependency

0.2.1

2013-May-08
  • Update ohauth dependency

0.2.0

2013-Apr-17
  • ⚠️ Don't use a nested object for keys (#8)

0.1.1

2013-Apr-17
  • Update ohauth dependency (#7)

0.1.0

2013-Mar-28
  • Update docs, .keys(), .url()