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

v3.1.0 #3079

Merged
merged 89 commits into from
Feb 3, 2025
Merged

v3.1.0 #3079

merged 89 commits into from
Feb 3, 2025

Conversation

farnabaz
Copy link
Member

@farnabaz farnabaz commented Feb 3, 2025

🎉 Highlights

  • To remove runtime overhead, Module now integrates with NuxtHub migration system. This has huge effect on SSR load time, specially on Cold-Start.
  • Module now can be used inside WebContainers (StackBlitz). Just install sqlite3 package in the project alongside the Content module.
  • Improve Database security (Huge thanks to @OhB00 for the help!)

🚀 Enhancements

  • db: Drop built-in database adapters in favor of db0 connectors (#3010)
  • Integrate with NuxtHub database queries (#3019)
  • node-sqlite3 connector (#3032)
  • search: Allow filtering contents in search sections (#3053)
  • module: Extend content transformers (#3056)

🩹 Fixes

  • templates: Handle cors form studio (06b57aca)
  • template: Demo url (#2983)
  • Fix broken install link (#2990)
  • hmr: Ignore sources without cwd (1a8c2bdf)
  • changelog: Image size (7c8e950a)
  • module: Collection detection on windown file-watcher (#3006)
  • parser: De-prioritise code highlighter plugin (#3009)
  • module: Clone layers to prevent side-effect (b4e7dec2)
  • preview: Draft ready not received event (a8ee72e6)
  • Migration doc typo (#3017)
  • Convert boolean value to number in query condition (#2927, #3018)
  • Parse new content when file is modified (5dc34299)
  • wasm: Override logger functions (#3024)
  • module: Content parser error handling (#3046)
  • studio: Return when collection not found (454a22db)
  • module: Remove scule from optimizeDps list (ddb3bc8c)
  • schema: Mark ZodMap as json field (69a14faf)
  • wasm: Ignore OPFS warning as Nuxt Content does not depend on it (5d5506ce)
  • query: Handle comments and improve single selection (8de0f144)
  • preview: Optimize brace-expansion (e84e7f4f)
  • Invalid sqlite3 connector resolve (74dd3e18)
  • highlighter: Support custom languages (cfc9f431)
  • preview: Handle index file in prefix folder (i18n) (37d30083)
  • preview: Take exclude into account to find collection (bddd8343)
  • nuxthub: Ensure database is enabled (b46fc378)
  • vercel: Default database url (042c5489)

📖 Documentation

  • migration: Fix typo (1f737ec0)
  • seo: Update studio page (980b8564)
  • blog: Undraft release article (6c468121)
  • Update visual editor image size (bf968265)
  • Update github link (2fb6a490)
  • seo: Studio ogImage (51190f58)
  • PostPage: Surround order (#2982)
  • Surrounds responsive (d65343be)
  • Update install commands (#2987)
  • Invalid path filed in query-collection-item-surroundings.md (#2989)
  • Fix bsky link (#2986)
  • release: Add note about new storage system (6db8e173)
  • blog: Typo in v3 release (46c309aa)
  • PostPage: Fix surround order (#2985)
  • template: Publish minimal starter (93d6c846)
  • template: Fix GitHub link (c8621155)
  • changelog: Update frontmatter-form (#2995)
  • blog: Update migration article (ad47af0a)
  • blog: Review migration article (ce20ef2c)
  • app: Add discord link (48423577)
  • blog: Publish migration guide (347dbdd1)
  • Fix typo in feature table (#3014)
  • blog: Update date (9979db53)
  • blog: Typo (d5efff1f)
  • Update IN filter operator in docs (#3016)
  • Update binding name (5822e8ad)
  • Redirects old urls to proper location (#3023)
  • Update plugin options example (3e8d6d89)
  • Add example with cwd property (#3031)
  • collections: Source prefix starts by / (a350dc59)
  • markdown: Tip about defining excerpt field in schema (41de576d)
  • Update badges (ad456992)

🏡 Chore

✅ Tests

🤖 CI

  • Disable corepack default to latest (d0c3ddf8)

❤️ Contributors

larbish and others added 30 commits January 16, 2025 16:43
---------

Co-authored-by: Baptiste Leproux <[email protected]>
Co-authored-by: Farnabaz <[email protected]>
)

docs: fix example code by removing underscores from paths

Updated the example to replace `_path` with `path` to match the updated data structure. This ensures the documentation is accurate and reflects the correct usage of path properties in templates.
farnabaz and others added 24 commits January 29, 2025 12:12
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Copy link

gitguardian bot commented Feb 3, 2025

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
15291502 Triggered Generic Password 84d7dc8 pnpm-lock.yaml View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Copy link

cloudflare-workers-and-pages bot commented Feb 3, 2025

Deploying content with  Cloudflare Pages  Cloudflare Pages

Latest commit: 902774f
Status:⚡️  Build in progress...

View logs

Copy link

pkg-pr-new bot commented Feb 3, 2025

npm i https://pkg.pr.new/@nuxt/content@3079

commit: 1cc9ca9

@farnabaz farnabaz merged commit 3e07ad1 into v3 Feb 3, 2025
1 of 3 checks passed
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.