Skip to content

docs(blog): create v1 post - #12364

Merged
naorpeled merged 23 commits into
masterfrom
docs/blog/add-v1-post
May 19, 2026
Merged

naorpeled merged 23 commits into
masterfrom
docs/blog/add-v1-post

Conversation

@naorpeled

Copy link
Copy Markdown
Member

Description of change

Pull-Request Checklist

  • Code is up-to-date with the master branch
  • This pull request links relevant issues as Fixes #00000
  • There are new or updated tests validating the change (tests/**.test.ts)
  • Documentation has been updated to reflect this change (docs/docs/**.md)

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 17, 2026 •

Copy link
Copy Markdown

Deploying typeorm with  Cloudflare Pages  Cloudflare Pages

Latest commit: e4d6f28
Status: ✅  Deploy successful!
Preview URL: https://09767377.typeorm.pages.dev
Branch Preview URL: https://docs-blog-add-v1-post.typeorm.pages.dev

View logs

@naorpeled
naorpeled marked this pull request as ready for review April 17, 2026 02:49
Copilot AI review requested due to automatic review settings April 17, 2026 02:49
@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Apr 17, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (2) 📘 Rule violations (0)

Grey Divider


Remediation recommended

1. Misleading NestJS guidance 🐞 Bug ≡ Correctness
Description
The NestJS section claims users are "not affected" but immediately says @nestjs/typeorm v10 and
v11.0.0 will crash at startup, which is internally inconsistent and can mislead readers about
upgrade urgency.
Code

docs/docs/releases/1.0/02-upgrading-from-0.3.md[1075]

+NestJS users are not affected — the `@nestjs/typeorm` package has its own integration that does not depend on TypeORM's removed container system. However, `@nestjs/typeorm` v10 and v11.0.0 attempt to register the removed `Connection` class and will crash at startup. Upgrade to `@nestjs/typeorm` v11.0.1 or later for TypeORM v1 compatibility. The `@typeorm/codemod` tool will bump it for you automatically.
Evidence
The same paragraph simultaneously asserts users are "not affected" and that specific
@nestjs/typeorm versions "will crash at startup", making the guidance self-contradictory.

docs/docs/releases/1.0/02-upgrading-from-0.3.md[1073-1076]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The NestJS upgrade note is contradictory: it says NestJS users are “not affected” and then warns that certain `@nestjs/typeorm` versions crash. This can confuse readers about whether action is required.
### Issue Context
This text is in the v1 upgrading guide and is intended to give clear upgrade instructions.
### Fix Focus Areas
- docs/docs/releases/1.0/02-upgrading-from-0.3.md[1073-1076]
### Proposed change
Rewrite the first sentence to qualify what is “not affected” (e.g., the removal of TypeORM’s container system) while clearly stating that users **must** upgrade `@nestjs/typeorm` to a compatible version to avoid crashes.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Missing post author attribution 🐞 Bug ⚙ Maintainability
Description
The new blog post omits the authors front matter, so it will render without author attribution
despite the site using an authors registry and existing posts specifying authors. This reduces
consistency and prevents the post from being associated with the intended author pages/metadata.
Code

docs/blog/v1-release/typeorm-v1-release.md[R1-7]

+---
+slug: typeorm-1-0
+title: TypeORM 1.0 is here
+tags: [release, announcement]
+date: 2026-04-17
+description: TypeORM 1.0 is out - the first major in almost five years. A stable API surface, dozens of new features, and a statement that TypeORM is here to stay.
+---
Evidence
The new post’s front matter defines slug/title/tags/date/description but no authors, while the
existing blog post pattern includes authors and the repository contains an authors.yml registry
intended to back those keys.

docs/blog/v1-release/typeorm-v1-release.md[1-7]
docs/blog/2024-10-01-future-of-typeorm/index.md[1-6]
docs/blog/authors.yml[1-19]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The new blog post `docs/blog/v1-release/typeorm-v1-release.md` is missing the `authors` field in its front matter, which causes the post to render without author attribution even though the docs site is configured with an authors registry.
### Issue Context
Other posts in `docs/blog/` already use `authors: [...]`, and `docs/blog/authors.yml` defines the author keys.
### Fix Focus Areas
- docs/blog/v1-release/typeorm-v1-release.md[1-7]
- docs/blog/authors.yml[1-19]
### Suggested change
Add an `authors` list to the post front matter, e.g.:

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Missing blog post date ✓ Resolved 🐞 Bug ≡ Correctness
Description
The new post docs/blog/v1-release/typeorm-v1-release.md has no date in front matter and is not
stored under a date-prefixed path, so the blog plugin may not be able to derive a stable publication
date for ordering and feeds.
Code

docs/blog/v1-release/typeorm-v1-release.md[R1-7]

+---
+slug: typeorm-1-0
+title: TypeORM 1.0 is here
+authors: [michaelbromley, dlhck, naorpeled]
+tags: [release, announcement]
+description: TypeORM 1.0 drops long-deprecated APIs, modernizes the platform baseline, and lands dozens of fixes and features from the 0.3.x cycle. Here's what shipped, what broke on purpose, and how to get there.
+---
Evidence
The new post’s front matter defines slug/title/authors/tags/description but no date. In this repo,
the existing blog post is placed under a date-prefixed directory (2024-10-01-future-of-typeorm),
which commonly serves as the date source when date is omitted. The Docusaurus config also enables
blog feeds, which typically rely on stable post dates.

docs/blog/v1-release/typeorm-v1-release.md[1-7]
docs/blog/2024-10-01-future-of-typeorm/index.md[1-6]
docs/docusaurus.config.ts[60-88]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The new blog post does not define a publish date and is not in a date-prefixed path. This can result in an unstable/incorrect publication date used for ordering and feed metadata.
### Issue Context
Other blog content in this repo appears to communicate the date via a `YYYY-MM-DD-...` directory name when the `date` front matter field is absent.
### Fix Focus Areas
- docs/blog/v1-release/typeorm-v1-release.md[1-7]
### Suggested fix
Choose one of:
1) Add a front matter date, e.g.:

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Grey Divider

  • Author self-review: I have reviewed the code review findings, and addressed the relevant ones.

Previous review results

Review updated until commit 2ca795c

Results up to commit N/A


🐞 Bugs (2) 📘 Rule violations (0) 📎 Requirement gaps (0)


Remediation recommended
1. Misleading NestJS guidance 🐞 Bug ≡ Correctness
Description
The NestJS section claims users are "not affected" but immediately says @nestjs/typeorm v10 and
v11.0.0 will crash at startup, which is internally inconsistent and can mislead readers about
upgrade urgency.
Code

docs/docs/releases/1.0/02-upgrading-from-0.3.md[1075]

+NestJS users are not affected — the `@nestjs/typeorm` package has its own integration that does not depend on TypeORM's removed container system. However, `@nestjs/typeorm` v10 and v11.0.0 attempt to register the removed `Connection` class and will crash at startup. Upgrade to `@nestjs/typeorm` v11.0.1 or later for TypeORM v1 compatibility. The `@typeorm/codemod` tool will bump it for you automatically.
Evidence
The same paragraph simultaneously asserts users are "not affected" and that specific
@nestjs/typeorm versions "will crash at startup", making the guidance self-contradictory.

docs/docs/releases/1.0/02-upgrading-from-0.3.md[1073-1076]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The NestJS upgrade note is contradictory: it says NestJS users are “not affected” and then warns that certain `@nestjs/typeorm` versions crash. This can confuse readers about whether action is required.
### Issue Context
This text is in the v1 upgrading guide and is intended to give clear upgrade instructions.
### Fix Focus Areas
- docs/docs/releases/1.0/02-upgrading-from-0.3.md[1073-1076]
### Proposed change
Rewrite the first sentence to qualify what is “not affected” (e.g., the removal of TypeORM’s container system) while clearly stating that users **must** upgrade `@nestjs/typeorm` to a compatible version to avoid crashes.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


2. Missing post author attribution 🐞 Bug ⚙ Maintainability
Description
The new blog post omits the authors front matter, so it will render without author attribution
despite the site using an authors registry and existing posts specifying authors. This reduces
consistency and prevents the post from being associated with the intended author pages/metadata.
Code

docs/blog/v1-release/typeorm-v1-release.md[R1-7]

+---
+slug: typeorm-1-0
+title: TypeORM 1.0 is here
+tags: [release, announcement]
+date: 2026-04-17
+description: TypeORM 1.0 is out - the first major in almost five years. A stable API surface, dozens of new features, and a statement that TypeORM is here to stay.
+---
Evidence
The new post’s front matter defines slug/title/tags/date/description but no authors, while the
existing blog post pattern includes authors and the repository contains an authors.yml registry
intended to back those keys.

docs/blog/v1-release/typeorm-v1-release.md[1-7]
docs/blog/2024-10-01-future-of-typeorm/index.md[1-6]
docs/blog/authors.yml[1-19]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The new blog post `docs/blog/v1-release/typeorm-v1-release.md` is missing the `authors` field in its front matter, which causes the post to render without author attribution even though the docs site is configured with an authors registry.
### Issue Context
Other posts in `docs/blog/` already use `authors: [...]`, and `docs/blog/authors.yml` defines the author keys.
### Fix Focus Areas
- docs/blog/v1-release/typeorm-v1-release.md[1-7]
- docs/blog/authors.yml[1-19]
### Suggested change
Add an `authors` list to the post front matter, e.g.:

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


3. Missing blog post date ✓ Resolved 🐞 Bug ≡ Correctness
Description
The new post docs/blog/v1-release/typeorm-v1-release.md has no date in front matter and is not
stored under a date-prefixed path, so the blog plugin may not be able to derive a stable publication
date for ordering and feeds.
Code

docs/blog/v1-release/typeorm-v1-release.md[R1-7]

+---
+slug: typeorm-1-0
+title: TypeORM 1.0 is here
+authors: [michaelbromley, dlhck, naorpeled]
+tags: [release, announcement]
+description: TypeORM 1.0 drops long-deprecated APIs, modernizes the platform baseline, and lands dozens of fixes and features from the 0.3.x cycle. Here's what shipped, what broke on purpose, and how to get there.
+---
Evidence
The new post’s front matter defines slug/title/authors/tags/description but no date. In this repo,
the existing blog post is placed under a date-prefixed directory (2024-10-01-future-of-typeorm),
which commonly serves as the date source when date is omitted. The Docusaurus config also enables
blog feeds, which typically rely on stable post dates.

docs/blog/v1-release/typeorm-v1-release.md[1-7]
docs/blog/2024-10-01-future-of-typeorm/index.md[1-6]
docs/docusaurus.config.ts[60-88]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The new blog post does not define a publish date and is not in a date-prefixed path. This can result in an unstable/incorrect publication date used for ordering and feed metadata.
### Issue Context
Other blog content in this repo appears to communicate the date via a `YYYY-MM-DD-...` directory name when the `date` front matter field is absent.
### Fix Focus Areas
- docs/blog/v1-release/typeorm-v1-release.md[1-7]
### Suggested fix
Choose one of:
1) Add a front matter date, e.g.:

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


Qodo Logo

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the TypeORM v1.0 release announcement blog post and aligns supporting docs for the v1 upgrade experience (including NestJS guidance and blog author metadata).

Changes:

  • Added a new “TypeORM 1.0 is here” blog post summarizing key breaking changes, new features, and upgrade guidance.
  • Updated the v1 upgrading guide to include a concrete @nestjs/typeorm version recommendation and mention the codemod’s automatic bump.
  • Added naorpeled to the blog authors registry.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
docs/docs/releases/1.0/02-upgrading-from-0.3.md Clarifies NestJS upgrade guidance and codemod behavior for v1 compatibility.
docs/blog/v1-release/typeorm-v1-release.md New v1 release announcement blog post content.
docs/blog/authors.yml Adds the naorpeled author profile used by the new blog post.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit 06a83f1

@michaelbromley

Copy link
Copy Markdown
Member

Here' my take on the intro paragraphs:


TypeORM v1.0 is out now!

It has been a long road, but we finally made it. TypeORM has been around since 2016, and is one of the most widely-used ORM libraries in the Node.js ecosystem. But it has been stuck in pre-1.0 limbo for that entire time, a fact which does not accurately reflect what the project has grown into over the years.

Pre-1.0 software signals instability and immaturity, when the reality is that TypeORM is one of the most mature, stable and performant Node.js ORM solutions. In fact, it has gone without breaking changes for almost 5 years since the release of v0.3 way back in 2021.

When new maintainers took over the project at the end of 2024, our first goal was to get back on track with regular releases and to start dealing with the backlog of issues and PRs that had built up over the previous couple of years where TypeORM had gone without regular maintenance. We achieved that, and through 2025 we release 8 patch versions, merged 575 PRs (vs 63 the previous year) and closed over 2,300 issues!

Over the past several months, the team has been focused on the next major target: to release v1.0 and signal that TypeORM is here to stay as a stable, mature and well-maintained open source project. This has been a huge effort and countless hours have gone into the work needed to get us here.

The TypeORM team and community is proud to present v1.0. This post covers what you need to know about upgrading.


@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit b1219bd

- drop duplicate 'TypeORM 1.0 is here' opener (same as title)
- remove authors from frontmatter (per Piotr)
- drop 'By the numbers' section; features take priority
- expand 'What's new' with richer, less cryptic descriptions
- rename 'Thank you' to 'The team' and lead with the active
  maintainer team as a direct counter to the 'dead/unmaintained' narrative
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit 52d7232

- add back 'TypeORM v1.0 is out now!' opener (matches Michael's
  full intro at PR #12364 review)
- restore exact closing line 'This post covers what you need to
  know about upgrading.'
- match Michael's heading capitalization 'NestJS Integration'
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit 48bf0e7

- pull headline API changes (DataSource rename, object-shaped
  find options, consolidated repository methods) out of
  'deprecations' and into 'A cleaner API surface'
- promote behavioral changes to a 'Safer by default' section
  (null-in-where throws, non-nullable INNER JOIN)
- add 'Faster tests, cleaner schema work' grouping the test
  ergonomics including the previously-missing batched DROP perf win
- group driver-specific changes into a single 'Driver progress' bullet
- drop the @exclusion deferrable bullet (too niche)
- compress 'await using' (no TS version note) and Spanner specifics
- split old '0.3 deprecations are gone' into a focused 'Platform
  requirements' section with the version bumps
- replace all em-dashes with regular hyphens
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit 43aeb14

- drop awkward 'accumulated dozens...' filler line in What's new
- clarify null/undefined throw scope: high-level APIs only,
  QueryBuilder.where chain unaffected
- remove inaccurate 'working group of companies' line
- tighten sponsorship close, add [email protected] contact
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit 46556fb

- 'allow them' -> 'ignore them' to match the option value
- rephrase '0.3-era APIs' -> 'APIs that existed in v0.3'
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Persistent review updated to latest commit 8940453

@michaelbromley michaelbromley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just have 1 more bit of feedback here, and also who gave feedback to remove the "by the numbers" section? I thought that was quite good.

@naorpeled

Copy link
Copy Markdown
Member Author

I just have 1 more bit of feedback here, and also who gave feedback to remove the "by the numbers" section? I thought that was quite good.

Piotr mentioned he thinks it's less important than the what's new part,
I wasn't sure whether to keep it or not, I've returned it now 🙏

I've also added a note about v0.3, let me know what you think


## By the numbers

From 0.3.28 to 1.0:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we start from 0.3.30?

Comment on lines +82 to +84
v1 closes three attack surfaces that had been accumulating over the 0.3.x series: parameterized schema introspection and DDL, runtime validation on `orderBy` direction values, and semicolons rejected in raw SQL fragments. Details in the [upgrading guide](/docs/releases/1.0/upgrading-from-0.3).

If you pipe user input through raw QueryBuilder fragments, rerun your tests after upgrading.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

semicolon rejection was reverted, as it was not a bug, but a feature ;)

The other security fixes were backported in 0.3.29, so they are not really new in 1.0

@naorpeled

Copy link
Copy Markdown
Member Author

@copilot remove ## Security hardening section

Copilot AI commented May 19, 2026

Copy link
Copy Markdown
Contributor

@copilot remove ## Security hardening section

Done — removed the ## Security hardening section in commit dc5733f.

@naorpeled

Copy link
Copy Markdown
Member Author

@copilot change from 0.3.28 to 0.3 in the numbers section

Copilot AI commented May 19, 2026

Copy link
Copy Markdown
Contributor

@copilot change from 0.3.28 to 0.3 in the numbers section

Done — updated to "From 0.3 to 1.0:" in commit 9e35179.

@naorpeled
naorpeled enabled auto-merge (squash) May 19, 2026 12:20
@naorpeled
naorpeled merged commit 9f5496b into master May 19, 2026
12 checks passed
@naorpeled
naorpeled deleted the docs/blog/add-v1-post branch May 19, 2026 12:22
@github-actions github-actions Bot added this to the 1.0 milestone May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

7 participants