Releases: adonisjs/ally
Releases · adonisjs/ally
Access raw ally config via allyManager.config property
Since, the config/ally.ts
file exports a config provider, you cannot access raw config directly from it. However, now you can use the allyManager.config
property to get reference to the raw config.
Commits
Add drivers export path
Stable major release
Please consult following releases to learn more about the breaking changes
- Breaking changes - https://github.com/adonisjs/ally/releases/tag/v5.0.0-0
- Breaking changes - https://github.com/adonisjs/ally/releases/tag/v5.0.0-5
- Breaking changes - https://github.com/adonisjs/ally/releases/tag/v5.0.0-6
Commits
- chore: publish under latest tag 927d148
- Merge pull request #147 from adonisjs/next d0bf607
- chore: bundle types.ts file via tsup as well 13dd711
- refactor: export stubsRoot 1205160
- chore: update dependencies 7bffd15
What's Changed
- Fix contributing link in readme. by @dkbay in #142
- Merge to develop for final release by @thetutlage in #147
New Contributors
- @dkbay made their first contribution in #142
- @thetutlage made their first contribution in #147
Full Changelog: v4.1.5...v5.0.0
Update dependencies
- docs: update description 5f081db
- docs(README): update link to docs f66354d
- refactor: make stubs work with the CLI flag 20d64e0
- chore: update dependencies 16951f7
Full Changelog: v5.0.0-7...v5.0.0-8
Use tsup for bundling
- docs(README): remove snyk badge efaef26
- chore: use tsup for bundling 3c3dd51
- chore: update dependencies 162e097
Full Changelog: v5.0.0-6...v5.0.0-7
Use config providers
The config must be defined using the services
object as string based drivers are not supported anymore
import {
defineConfig,
+ services
} from '@adonisjs/ally'
const allyConfig = defineConfig({
- github: {
- driver: 'github',
- clientId: env.get('GITHUB_CLIENT_ID'),
- clientSecret: env.get('GITHUB_CLIENT_SECRET'),
- callbackUrl: '',
- },
+ github: services.github({
+ clientId: env.get('GITHUB_CLIENT_ID'),
+ clientSecret: env.get('GITHUB_CLIENT_SECRET'),
+ callbackUrl: '',
+ }),
})
Commits
- refactor: fix typing issues a73d9ec
- refactor: move to config providers and remove drivers collection c1e0bc1
- chore: update dependencies c9b5a5c
Full Changelog: v5.0.0-5...v5.0.0-6
Absorb breaking changes of @poppinss/oauth-client
Breaking change
- After https://github.com/poppinss/oauth-client/releases/tag/v5.1.0-4 release of
@poppinss/oauth-client
. Thetoken.expiresAt
property is no longer an instance of Luxon DateTime class, it is an instance of JavaScript Date object.
Commits
Full Changelog: v5.0.0-3...v5.0.0-5
Update dependencies
- chore: update dependencies bffc36a
Full Changelog: v5.0.0-3...v5.0.0-4
Use latest codemods in configure command
- ci: increase test timeout for ci f0f141d
- feat: use latest codemods ed42e3f
- chore: update dependencies 6feab06
Full Changelog: v5.0.0-2...v5.0.0-3
Fix config file stub
- fix: generate config files with default config 3d55c22
Full Changelog: v5.0.0-1...v5.0.0-2