Skip to content

Latest commit

 

History

History
250 lines (197 loc) · 6.89 KB

CHANGELOG.md

File metadata and controls

250 lines (197 loc) · 6.89 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

18.0.3 - 2024-04-03

Changed

  • Restructuring * reorganize HTML

18.0.2 - 2024-03-20

Changed

  • Update dependencies

18.0.1 - 2024-03-16

Changed

  • Fix inferring type by getItems

18.0.0 - 2024-03-16

Changed

  • Update eslint config and raise minimum supported NodeJS version to match one in typescript-eslint plugin
  • Update .npmignore
  • Unify jest.config.js by removing redundant patterns and providing support for both ts and tsx

17.0.9 - 2024-01-31

Changed

  • Migrate to GitHub

17.0.8 - 2024-01-29

Changed

  • Explicitly specify ignores from .gitignore in .eslintrc.js

17.0.7 - 2024-01-28

Changed

  • Update out-url

17.0.6 - 2024-01-19

Changed

  • Update @anmiles/prototypes

17.0.4 - 2024-01-16

Changed

  • Fix README.md

17.0.2 - 2024-01-16

Changed

  • Speed-up tests by isolating modules

17.0.1 - 2024-01-16

Changed

  • Expose api from class API

17.0.0 - 2024-01-16

Changed

  • Do not import all existing google APIs from one module

Before:

const calendarAPI = getAPI('calendar', profile);

After:

import { calendar } from 'googleapis/build/src/apis/calendar';
const calendarAPI = getAPI((auth) => calendar({ version : 'v3', auth })),

16.0.1 - 2024-01-16

Changed

  • Argument in createProfile might be undefined

16.0.0 - 2024-01-15

Changed

  • Update project configurations
  • Update dependencies

15.3.0 - 2023-11-06

Changed

  • Focus button when opening auth page
  • Fix vulnerable dependency

15.2.0 - 2023-10-26

Changed

  • Small visual improvements for auth page

15.1.0 - 2023-09-11

Changed

  • Visual improvements for auth page
  • Update dependencies (non-breaking)

15.0.0 - 2023-09-11

Changed

  • Update dependencies

14.2.0 - 2023-09-11

Changed

  • Beautify authorization page

14.1.0 - 2023-08-06

Added

  • Filtering profiles

14.0.0 - 2023-06-11

Added

  • Warn if trying to store non-readonly credentials in a file

Removed

  • Credentials can't be explicitly revoked anymore since this affects other credentials based on the same client id for current user

13.0.1 - 2023-06-01

Changed

  • Do not delete credentials file if revoking temporary credentials because they are not stored in the file

13.0.0 - 2023-05-31

Added

  • Credentials can be revoked. Useful after working with temporary credentials to not let re-use them
  • All existing google APIs are now available

Changed

  • Single entry point for creating any APIs
    • BEFORE:
      import { getCalendarAPI } from '@anmiles/google-api-wrapper';
      const calendarAPI = getCalendarAPI(profile);
      
    • AFTER:
      import { getAPI } from '@anmiles/google-api-wrapper';
      const calendarAPI = getAPI('calendar', profile);
      
  • Changed signature for getItems. Also explicit types are now redundant.
    • BEFORE:
      const events = await getItems<GoogleApis.calendar_v3.Schema$Event, GoogleApis.calendar_v3.Params$Resource$Events$List>(calendarAPI.events, { ...args });
      
    • AFTER:
      const events = await getItems((api) => api.events, { ...args });
      
  • In case of invalid_grant error, credentials are being removed and warning shown. Will need to create new credentials.

9.1.0 - 2023-05-26

Changed

  • Concurrent servers on the same port between different applications
  • Use event-emitter to mock subscriptions on server/response
  • Get rid of timeouts and promise races in tests

9.0.0 - 2023-05-15

Changed

  • Update @anmiles/logger with breaking change (removing timestamps for colored logs)

8.0.2 - 2023-05-08

Changed

  • Use shared eslint config * update ignorePatterns

8.0.1 - 2023-05-08

Changed

  • Updated @anmiles/prototypes

8.0.0 - 2023-05-08

Changed

  • Use @anmiles/prototypes instead of old built-in fs functions

7.0.7 - 2023-05-07

Changed

  • Move repository
  • Use shared eslint config
  • Use @anmiles/logger instead of old built-in logger
  • Cleanup cSpell words

7.0.6 - 2023-05-02

Changed

  • Display scopes on instructions page

7.0.4 - 2023-04-22

Changed

  • Always require refresh token for permanent credentials

7.0.2 - 2023-04-22

Changed

  • Show instructions in the browser to prevent direct opening profile-oriented pages in wrong browsers

7.0.1 - 2023-04-22

Changed

  • Compatibility for open package

7.0.0 - 2023-04-22

Changed

  • Invalidate tokens after 7 days due to Google policy for testing apps

6.1.1 - 2023-03-27

Changed

  • Immediately destroy server after receiving needed response

6.1.0 - 2023-03-24

Added

  • Overriding scopes for getAuth and getAPI functions

6.0.1 - 2023-03-20

Changed

  • Improved types for getItems method

6.0.0 - 2023-03-20

Added

  • Non-persistence mode for getAuth: ability to not save sensitive credentials into the file
  • hideProgress option for login that is false by default

Changed

  • showProgress changed to hideProgress and it's false by default
  • persist changed to temporary and it's false by default

Removed

  • Removed getter methods from api helpers to be able to re-use auth between api usages. Now better call getAPI and then run needed native methods on their own.

4.0.0 - 2023-03-12

Changed

  • Silent mode for getting items

3.0.3 - 2023-03-12

Changed

  • Fixed path to scopes file

3.0.0 - 2023-03-13

Changed

  • Revised auth instructions
  • Scopes can be set per end-project

2.1.3 - 2023-03-13

Changed

  • Fixed exported types

2.1.0 - 2023-03-13

Added

  • Calendars list API
  • Export shared getItems to use for any other APIs

2.0.1 - 2023-03-12

Changed

  • Fixed exported types

2.0.0 - 2023-03-12

Changed

  • Split APIs

1.0.0 - 2023-03-12

Changed

  • First release

0.0.1 - 2023-03-12

Added

  • Initial commit