Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependencies (non-major update) - autoclosed #75

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 17, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@astrojs/rss (source) 4.0.9 -> 4.0.10 age adoption passing confidence
@modular-forms/solid (source) ^0.23.0 -> ^0.25.0 age adoption passing confidence
@unocss/reset ^0.63.6 -> ^0.65.0 age adoption passing confidence
drizzle-orm (source) ^0.36.0 -> ^0.37.0 age adoption passing confidence

Release Notes

withastro/astro (@​astrojs/rss)

v4.0.10

Compare Source

Patch Changes
fabian-hiller/modular-forms (@​modular-forms/solid)

v0.25.0

v0.24.0

Compare Source

unocss/unocss (@​unocss/reset)

v0.65.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.65.0

Compare Source

If you are interested, please read our upgrade introduction 🌟🌟🌟.
   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.64.1

Compare Source

No significant changes

    View changes on GitHub

v0.64.0

Compare Source

   🚨 Breaking Changes
   🐞 Bug Fixes
    View changes on GitHub
drizzle-team/drizzle-orm (drizzle-orm)

v0.37.0

Compare Source

New Dialects

🎉 SingleStore dialect is now available in Drizzle

Thanks to the SingleStore team for creating a PR with all the necessary changes to support the MySQL-compatible part of SingleStore. You can already start using it with Drizzle. The SingleStore team will also help us iterate through updates and make more SingleStore-specific features available in Drizzle

import { int, singlestoreTable, varchar } from 'drizzle-orm/singlestore-core';
import { drizzle } from 'drizzle-orm/singlestore';

export const usersTable = singlestoreTable('users_table', {
  id: int().primaryKey(),
  name: varchar({ length: 255 }).notNull(),
  age: int().notNull(),
  email: varchar({ length: 255 }).notNull().unique(),
});

...

const db = drizzle(process.env.DATABASE_URL!);

db.select()...

You can check out our Getting started guides to try SingleStore!

New Drivers

🎉 SQLite Durable Objects driver is now available in Drizzle

You can now query SQLite Durable Objects in Drizzle!

For the full example, please check our Get Started Section

/// <reference types="@&#8203;cloudflare/workers-types" />
import { drizzle, DrizzleSqliteDODatabase } from 'drizzle-orm/durable-sqlite';
import { DurableObject } from 'cloudflare:workers'
import { migrate } from 'drizzle-orm/durable-sqlite/migrator';
import migrations from '../drizzle/migrations';
import { usersTable } from './db/schema';

export class MyDurableObject1 extends DurableObject {
  storage: DurableObjectStorage;
  db: DrizzleSqliteDODatabase<any>;

  constructor(ctx: DurableObjectState, env: Env) {
    super(ctx, env);
    this.storage = ctx.storage;
    this.db = drizzle(this.storage, { logger: false });
  }

    async migrate() {
        migrate(this.db, migrations);
    }

  async insert(user: typeof usersTable.$inferInsert) {
        await this.db.insert(usersTable).values(user);
    }

  async select() {
        return this.db.select().from(usersTable);
    }
}

export default {
  /**
   * This is the standard fetch handler for a Cloudflare Worker
   *
   * @&#8203;param request - The request submitted to the Worker from the client
   * @&#8203;param env - The interface to reference bindings declared in wrangler.toml
   * @&#8203;param ctx - The execution context of the Worker
   * @&#8203;returns The response to be sent back to the client
   */
  async fetch(request: Request, env: Env): Promise<Response> {
    const id: DurableObjectId = env.MY_DURABLE_OBJECT1.idFromName('durable-object');
    const stub = env.MY_DURABLE_OBJECT1.get(id);
    await stub.migrate();

    await stub.insert({
      name: 'John',
      age: 30,
      email: '[email protected]',
      })
    console.log('New user created!')
  
    const users = await stub.select();
    console.log('Getting all users from the database: ', users)

        return new Response();
    }
}

Bug fixes


Configuration

📅 Schedule: Branch creation - "after 3am and before 5am on the first day of the month" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

cloudflare-workers-and-pages bot commented Oct 17, 2024

Deploying younagidev with  Cloudflare Pages  Cloudflare Pages

Latest commit: af2743b
Status:🚫  Build failed.

View logs

@renovate renovate bot force-pushed the renovate/dependencies-(non-major-update) branch 5 times, most recently from be4ddbe to 30e8a03 Compare October 24, 2024 05:04
@renovate renovate bot force-pushed the renovate/dependencies-(non-major-update) branch 3 times, most recently from 5c966e5 to 8bfa1fd Compare November 6, 2024 04:57
@renovate renovate bot force-pushed the renovate/dependencies-(non-major-update) branch 5 times, most recently from 17a4692 to 25f8238 Compare November 13, 2024 07:21
@renovate renovate bot force-pushed the renovate/dependencies-(non-major-update) branch 6 times, most recently from 09e742d to ddbba46 Compare November 22, 2024 02:07
@renovate renovate bot force-pushed the renovate/dependencies-(non-major-update) branch 5 times, most recently from 0128747 to ddf4926 Compare November 30, 2024 21:46
@renovate renovate bot force-pushed the renovate/dependencies-(non-major-update) branch 2 times, most recently from f01a174 to fa38d99 Compare December 3, 2024 17:49
@renovate renovate bot force-pushed the renovate/dependencies-(non-major-update) branch from fa38d99 to af2743b Compare December 5, 2024 17:32
@renovate renovate bot changed the title fix(deps): update dependencies (non-major update) fix(deps): update dependencies (non-major update) - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/dependencies-(non-major-update) branch December 8, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants