halvardssm / deno-nessie

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
MIT License
527 stars 31 forks source link

Update package version #88

Closed aphagon closed 3 years ago

aphagon commented 3 years ago

Fixes run cache error deno v.1.6.2

update MySQL v.2.4.0 to 2.7.0 update Postgres v.0.4.5 to v.0.4.6 update Denomander v.0.6.3 to v.0.7.01

Can be used with deno version> = 1.6.2 👍

halvardssm commented 3 years ago

Hi @aphagon ! Thanks for your pr! The tests are failing due to an outdated version of a ci dependency. If you merge these changes https://github.com/halvardssm/deno-nessie/tree/ci-diff into your branch, it should fix the pipeline and we can get an indication about the tests

bramirez96 commented 3 years ago

Hi, I'm attempting to use Nessie on my company's new Deno server and we're running into an issue with caching that's causing our app not to be able to run. It seems like this PR would fix the issue as the issue appears to be primarily with the Denoland version being referenced. For reference, I'm also getting errors unrelated to MySQL, Postgres, and Denomander:

TS2305 [ERROR]: Module '"deno:///none.d.ts"' has no exported member 'setColorEnabled'.
  setColorEnabled,
  ~~~~~~~~~~~~~~~
    at https://deno.land/x/bytes_formater@v1.3.0/deps.ts:2:3

TS2305 [ERROR]: Module '"deno:///none.d.ts"' has no exported member 'green'.    
  green
  ~~~~~
    at https://deno.land/x/bytes_formater@v1.3.0/deps.ts:3:3

TS1205 [ERROR]: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.
export { LogLevels, LevelName } from "./levels.ts";
                    ~~~~~~~~~
    at https://deno.land/x/std@0.63.0/log/mod.ts:13:21

Thanks for the time. Although I haven't been able to get this library to work so far, it looks very promising!

halvardssm commented 3 years ago

Cloising this in favor of #90

halvardssm commented 3 years ago

Hi @bramirez96 !

Cool that you are using Nessie on your company's new server! I have just released a new version 1.1.3 so if you try to run Nessie with --reload you should be able to use it. Deno are still quite new, so breaking changes can still happen between minor versions. Let me know if this works for you!