feat(storage): add "end" method to storage for cleaning up resources when commands are finished
This commit is contained in:
parent
334e2099bb
commit
703e6f028a
15 changed files with 150 additions and 77 deletions
5
.changeset/calm-grapes-arrive.md
Normal file
5
.changeset/calm-grapes-arrive.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/plugin-tools': minor
|
||||
---
|
||||
|
||||
Add "end" method to storage plugins so they can cleanup resources when a command is finished
|
||||
5
.changeset/eight-moles-tell.md
Normal file
5
.changeset/eight-moles-tell.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/mysql': patch
|
||||
---
|
||||
|
||||
Fix issue with closing the connection pool too early
|
||||
5
.changeset/healthy-flies-divide.md
Normal file
5
.changeset/healthy-flies-divide.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/storage-fs': minor
|
||||
---
|
||||
|
||||
Implement an empty "end" method for cleaning up
|
||||
5
.changeset/large-plants-smoke.md
Normal file
5
.changeset/large-plants-smoke.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/cli': patch
|
||||
---
|
||||
|
||||
Handle storage initialization errors in the "list" and "remove" commands
|
||||
5
.changeset/thick-forks-knock.md
Normal file
5
.changeset/thick-forks-knock.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@emigrate/cli': minor
|
||||
---
|
||||
|
||||
Call storage.end() to cleanup resources when a command has finished
|
||||
Loading…
Add table
Add a link
Reference in a new issue