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

chore(deps): update dependency typia to v7 #354

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 5, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
typia (source) ^6.5.0 -> ^7.0.0 age adoption passing confidence

Release Notes

samchon/typia (typia)

v7.5.1

Compare Source

What's Changed

Full Changelog: samchon/typia@v7.5.0...v7.5.1

v7.5.0

Compare Source

Special update for commercial project performing LLM function calling to the Rest API.

What's Changed

Full Changelog: samchon/typia@v7.4.2...v7.5.0

v7.4.2

Compare Source

What's Changed

Full Changelog: samchon/typia@v7.4.1...v7.4.2

v7.4.1

Compare Source

What's Changed

Full Changelog: samchon/typia@v7.4.0...v7.4.1

v7.4.0

Compare Source

What's Changed

Full Changelog: samchon/typia@v7.3.0...v7.4.0

v7.3.0

Compare Source

What's Changed

Full Changelog: samchon/typia@v7.2.0...v7.3.0

v7.2.1

Compare Source

v7.2.0

Compare Source

What's Changed

Full Changelog: samchon/typia@v7.1.0...v7.2.0

v7.1.0

Compare Source

What's Changed

Full Changelog: samchon/typia@v7.0.2...v7.1.0

v7.0.2

Compare Source

TypeScript v5.7 has occured many break changes on its filesystem, and it had broken the ts-patch. And today, @​nonara has fixed the problem by upgrading the ts-patch. This PR allows to install TypeScript 5.7+ version following the ts-patch update.

Also, TypeScript v5.7 has changed another break change on the Uint8Array like native class type to have a generic argument Uint8Array. This PR also solves the problem of it.

Special thanks to @​nonara, the transformation ecosystem builder.

What's Changed

Full Changelog: samchon/typia@v7.0.1...v7.0.2

v7.0.1

Compare Source

Emergent patch for frontend applications with unplugin-typia, especially for below cases.

Special thanks to @​ryoppippi

  1. Dynamic import statements must be injected after "use server" like statements
  2. Remove $ starting variable for SvelteKit 5.

What's Changed

Full Changelog: samchon/typia@v7.0.0...v7.0.1

v7.0.0

Compare Source

LLM Models Supporting

LLM schema generator functions have become suitable to LLM provider models.

import { ILlmApplication, ILlmSchema } from "@​samchon/openapi";
import typia from "typia";

const app: ILlmApplication<"chatgpt"> = typia.llm.application<MyApp, "chatgpt">();
const parameters: ILlmSchema.IParameters<"claude"> = typia.llm.parameters<MyParameters, "claude">();
const schema: ILlmSchema<"gemini"> = typia.llm.schema<MyType, "gemini">();
image

Optimized for Frontend Bundlers

Typia v7 compiler has been optimized for frontend bundlers.

From now on, internal functions would be dynamically imported like below.

cc @​ryoppippi: please check unplugin-typia works in the new major update.

import typia, { tags } from "typia";
import { v4 } from "uuid";

const matched: boolean = typia.is<IMember>({
  id: v4(),
  email: "samchon.github@gmai19l.com",
  age: 30,
});

console.log(matched); // true

interface IMember {
  id: string & tags.Format<"uuid">;
  email: string & tags.Format<"email">;
  age: number &
    tags.Type<"uint32"> &
    tags.ExclusiveMinimum<19> &
    tags.Maximum<100>;
}
import * as __typia_transform__isFormatUuid from "typia/lib/internal/_isFormatUuid.js";
import * as __typia_transform__isFormatEmail from "typia/lib/internal/_isFormatEmail.js";
import * as __typia_transform__isTypeUint32 from "typia/lib/internal/_isTypeUint32.js";
import typia from "typia";
import { v4 } from "uuid";
const matched = (() => {
  const _io0 = (input) =>
    "string" === typeof input.id &&
    __typia_transform__isFormatUuid._isFormatUuid(input.id) &&
    "string" === typeof input.email &&
    __typia_transform__isFormatEmail._isFormatEmail(input.email) &&
    "number" === typeof input.age &&
    __typia_transform__isTypeUint32._isTypeUint32(input.age) &&
    19 < input.age &&
    input.age <= 100;
  return (input) => "object" === typeof input && null !== input && _io0(input);
})()({
  id: v4(),
  email: "samchon.github@gmai19l.com",
  age: 30,
});
console.log(matched); // true

What's Changed

Full Changelog: samchon/typia@v6.12.2...v7.0.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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

socket-security bot commented Dec 5, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/typia@7.5.1 Transitive: environment, filesystem, shell +62 12 MB samchon

View full report↗︎

Copy link

cloudflare-workers-and-pages bot commented Dec 5, 2024

Deploying neko-fuck with  Cloudflare Pages  Cloudflare Pages

Latest commit: b5ed6a0
Status:🚫  Build failed.

View logs

@renovate renovate bot force-pushed the renovate/typia-7.x branch 8 times, most recently from ddb17ca to 879ee9e Compare December 8, 2024 05:10
@renovate renovate bot changed the title chore(deps): update dependency typia to v7 chore(deps): update dependency typia to v7 - autoclosed Dec 8, 2024
@renovate renovate bot closed this Dec 8, 2024
@renovate renovate bot deleted the renovate/typia-7.x branch December 8, 2024 18:42
@renovate renovate bot changed the title chore(deps): update dependency typia to v7 - autoclosed chore(deps): update dependency typia to v7 Dec 9, 2024
@renovate renovate bot reopened this Dec 9, 2024
@renovate renovate bot force-pushed the renovate/typia-7.x branch 12 times, most recently from c2d5715 to 53699de Compare December 16, 2024 04:12
@renovate renovate bot force-pushed the renovate/typia-7.x branch 12 times, most recently from 4ee4956 to 9ba1921 Compare December 23, 2024 04:38
@renovate renovate bot force-pushed the renovate/typia-7.x branch 8 times, most recently from 69397c1 to 002599c Compare December 30, 2024 07:31
@renovate renovate bot force-pushed the renovate/typia-7.x branch from 002599c to b5ed6a0 Compare December 30, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants