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
- Restructuring * reorganize HTML
18.0.2 - 2024-03-20
- Update dependencies
18.0.1 - 2024-03-16
- Fix inferring type by getItems
18.0.0 - 2024-03-16
- 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
- Migrate to GitHub
17.0.8 - 2024-01-29
- Explicitly specify ignores from .gitignore in .eslintrc.js
17.0.7 - 2024-01-28
- Update
out-url
17.0.6 - 2024-01-19
- Update
@anmiles/prototypes
17.0.4 - 2024-01-16
- Fix README.md
17.0.2 - 2024-01-16
- Speed-up tests by isolating modules
17.0.1 - 2024-01-16
- Expose
api
from classAPI
17.0.0 - 2024-01-16
- Do not import all existing google APIs from one module
const calendarAPI = getAPI('calendar', profile);
import { calendar } from 'googleapis/build/src/apis/calendar';
const calendarAPI = getAPI((auth) => calendar({ version : 'v3', auth })),
16.0.1 - 2024-01-16
- Argument in
createProfile
might be undefined
16.0.0 - 2024-01-15
- Update project configurations
- Update dependencies
15.3.0 - 2023-11-06
- Focus button when opening auth page
- Fix vulnerable dependency
15.2.0 - 2023-10-26
- Small visual improvements for auth page
15.1.0 - 2023-09-11
- Visual improvements for auth page
- Update dependencies (non-breaking)
15.0.0 - 2023-09-11
- Update dependencies
14.2.0 - 2023-09-11
- Beautify authorization page
14.1.0 - 2023-08-06
- Filtering profiles
14.0.0 - 2023-06-11
- Warn if trying to store non-readonly credentials in a file
- 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
- Do not delete credentials file if revoking temporary credentials because they are not stored in the file
13.0.0 - 2023-05-31
- Credentials can be revoked. Useful after working with temporary credentials to not let re-use them
- All existing google APIs are now available
- 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);
- BEFORE:
- 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 });
- BEFORE:
- 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
- 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
- Update
@anmiles/logger
with breaking change (removing timestamps for colored logs)
8.0.2 - 2023-05-08
- Use shared eslint config * update ignorePatterns
8.0.1 - 2023-05-08
- Updated
@anmiles/prototypes
8.0.0 - 2023-05-08
- Use
@anmiles/prototypes
instead of old built-in fs functions
7.0.7 - 2023-05-07
- Move repository
- Use shared eslint config
- Use
@anmiles/logger
instead of old built-in logger - Cleanup cSpell words
7.0.6 - 2023-05-02
- Display scopes on instructions page
7.0.4 - 2023-04-22
- Always require refresh token for permanent credentials
7.0.2 - 2023-04-22
- Show instructions in the browser to prevent direct opening profile-oriented pages in wrong browsers
7.0.1 - 2023-04-22
- Compatibility for
open
package
7.0.0 - 2023-04-22
- Invalidate tokens after 7 days due to Google policy for testing apps
6.1.1 - 2023-03-27
- Immediately destroy server after receiving needed response
6.1.0 - 2023-03-24
- Overriding scopes for
getAuth
andgetAPI
functions
6.0.1 - 2023-03-20
- Improved types for
getItems
method
6.0.0 - 2023-03-20
- Non-persistence mode for getAuth: ability to not save sensitive credentials into the file
hideProgress
option forlogin
that is false by default
showProgress
changed tohideProgress
and it's false by defaultpersist
changed totemporary
and it's false by default
- 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
- Silent mode for getting items
3.0.3 - 2023-03-12
- Fixed path to scopes file
3.0.0 - 2023-03-13
- Revised auth instructions
- Scopes can be set per end-project
2.1.3 - 2023-03-13
- Fixed exported types
2.1.0 - 2023-03-13
- Calendars list API
- Export shared
getItems
to use for any other APIs
2.0.1 - 2023-03-12
- Fixed exported types
2.0.0 - 2023-03-12
- Split APIs
1.0.0 - 2023-03-12
- First release
- Initial commit