Releases: shuding/nextra
Releases · shuding/nextra
[email protected]
[email protected]
Patch Changes
- 903ddf0: fix: should update scroll when height is dynamic
- 3e3b0a9: feat: add cursor pointer to locale and theme menu
- a0398e0: fix: avoid mutating nextConfig
- 38ccce8: feat(docs): allow
Tabs.items
asReadonlyArray<ReactNode>
- fe2b714: upgrade to react 18
- 6bdb9bf: fix: broken flexsearch styles
- 78f1519: chore: Add strict-peer-dependencies=false
- 582ad96: feat: bump
rehype-pretty-code
version, supportshowLineNumbers
- c8bb94f: UI adjustments
- 707fdc2: fix: Anchor links are not wrapping on the sidebar
[email protected]
[email protected]
Patch Changes
- 8101efe: fix(nextra): use
rehype-mdx-title
to determine page title - 6f987e9: fix: print shallow warning only once
- 97e6141: fix(nextra/docs): fallback search to
en-US
insteaddefault
- 699d131: feat(nextra/docs/blog): allow import
.md
/.mdx
as well - 03e90d8: refresh build system with tsup and fix nextra type
[email protected]
Patch Changes
[email protected]
[email protected]
Major Changes
- 793eedb: chore: Fix CI
Patch Changes
- 6644bd5: pass unstable_flexsearch
- 488f737: fix client console error - Text content does not match server-rendered HTML
- 4a7cc10: feat(nextra): allow define custom languages for shiki with
mdxOptions.rehypePrettyCodeOptions
option - c751458: fix(nextra): ignore in loader files from
pages/api
folder - e573175: Fix release CI
- efd95ec: fix(nextra): allow to contain dots in page filenames
- e35bbf7: chore: rename
module
tomod
to avoid confusing with globalmodule
object
[email protected]
Patch Changes
- 6644bd5: pass unstable_flexsearch
- c15f570: fix: query should not affect nav highlight
- 4730bdc: chore(nextra-theme-docs): refactor
theme-context.ts
- 94a8587: chore: extract
svg
icons in/icons
folder, reusing same icons<MoonIcon />
/<SunIcon />
in blog from docs - e573175: Fix release CI
- c380989: fix(docs): types is missing in bundle
- d34f9f2: feat(nextra-theme-docs): update discord logo to the new one
- 7053959: chore(nextra-theme-docs): remove unneeded
transform-none
css class
[email protected]
Patch Changes
- 6644bd5: pass unstable_flexsearch
- 4fd7c53: chore(nextra-theme-blog): refactor
sort-date.ts
. - 4edca5e: chore(nextra-theme-blog): refactor
traverse.ts
- acf3a1f: fix(blog): types is missing in bundle
- 596ea52: fix(nextra-theme-blog): make nav items center aligned
- 94a8587: chore: extract
svg
icons in/icons
folder, reusing same icons<MoonIcon />
/<SunIcon />
in blog from docs - e573175: Fix release CI
2.0.0-beta.6
What's Changed
- fix(Search): check for active results on
Enter
key by @Dev-CasperTheGhost in #285 - Fix broken "nav" pages by @maltejur in #281
- Typescript, pnpm and Turbo by @promer94 in #286
- Update readme by @jaredpalmer in #294
- Safer turbo caching by @jaredpalmer in #293
- fix mdxOptions and export theme types by @promer94 in #295
- feat: support src directory by @arsnl in #299
- use remark-gfm v3.0.1 by @joostory in #300
- feat: [blog theme] support array typed tags; fix #302 by @geekplux in #303
- feat: [blog theme] add pure nav links; fix #301 by @geekplux in #305
- Redesign by @shuding in #312
- chore: Update upstream dependencies by @shuding in #319
- fix: theme switch menu position by @promer94 in #323
- Add types script to prepublishOnly by @navin-moorthy in #322
- Fix #283: Use util.promisify to wrap graceful-fs methods in nextra loader.js by @robbear in #318
- refactor: improve core by @promer94 in #308
- fix: Upgrade dependencies and fix bug of invalid locale cookie by @shuding in #338
- fix: Locale issues by @shuding in #339
- Group search results by page and other improvements by @shuding in #340
- fix blog theme and add test for normalize-page by @promer94 in #342
- Rename createFeedbackUrl to satisfy hooks useX rule by @jaredpalmer in #344
- Improvements to the search by @shuding in #345
- Fix dependency resolving by @shuding in #370
- breaking: Add theme context fields by @shuding in #371
- fix: upgrade @headlessui/react by @promer94 in #376
- fix(search): add fallback bg-color for search result by @neighborhood999 in #363
- fix sort-date by @jrvidal in #355
- Issue 195: Fixing search in core by @mannybecerra in #317
- MDX 2.0.0 by @shuding in #387
- Styling improvements by @shuding in #388
- breaking: Rename unstable_contentDump to unstable_flexsearch by @shuding in #389
- Option to disable indexing codeblocks by @shuding in #390
- Support for a subset of next-themes options by @shuding in #392
- Options for hiding/adding a link by @shuding in #393
- Expose the page map starting from the current level by @shuding in #394
- Support for adding index page for directories by @shuding in #395
- breaking: Layout element and style improvements by @shuding in #396
- Style improvements by @shuding in #397
- Improve search indexing by @shuding in #398
- Improve search by @shuding in #399
- Improve collapsible animation and support
<details>
by @shuding in #402 - Breadcrumb by @shuding in #403
- Bug fixes by @shuding in #404
- Improve styling of sidebar, menu and ToC by @shuding in #407
- Style fixes, republish packages by @shuding in #408
- Style improvements by @shuding in #409
- the head config to support function in doc theme by @Djuki in #410
- Rename nextra/ssg to nextra/data by @shuding in #413
- Fix blog theme by @promer94 in #406
- Update shiki to 0.10.1 by @robbear in #415
- usee cross-env to set env vars by @aruniverse in #417
- Discussion: Feedback for MDX compilation failure by @robbear in #420
- Add
layout
option and*
fallback of meta.json by @shuding in #425 - Fix bugs when a folder is empty by @shuding in #426
- Improvements by @shuding in #432
- Shu/4200 by @Brooooooklyn in #442
- Add built-in tabs by @shuding in #443
- Handle MDX parse errors gracefully during webpack compilation by @gkaemmer in #439
- Improvements by @shuding in #445
- Export Tabs component in docs theme by @shuding in #447
- Upgrade next-themes and make logo area full-width by @shuding in #456
- Make Flexsearch relative to basePath by @adamshiervani in #457
- Make search result item relative to basePath by @adamshiervani in #460
- Make the layout more stable by @shuding in #471
- Fix layout problem by @promer94 in #451
- Add blue info colors to the callout component by @harrybawsac in #446
- Move ToC out of article from the layout by @shuding in #472
- Bug fixes; add
type: "separator"
; style tweaks by @shuding in #473 - fix(theme-switch): cannot use of ARIA attribute without
role
attribute by @numToStr in #476 - Layout improvements by @shuding in #480
- Fix navbar newWindow styles and raw layout centering by @jaredpalmer in #493
- chore(nextra): remove unnecessary assign by @B2o5T in #486
- chore(nextra): refactor
utils.ts
by @B2o5T in #487 - fix typo, Update features.js by @B2o5T in #488
- fix(blog/docs): remove
css
from content field intailwind.config.js
by @B2o5T in #495 - chore(ci): setup test action by @B2o5T in #506
- chore(nextra): refactor
loader.ts
by @B2o5T in #511 - fix(nextra): remove
p-limit
from dependencies by @B2o5T in #518 - fix(theme-blog): remove extra padding from post-item list by @numToStr in #507
- fix(nextra): specify type of
NextraPlugin.config
by @B2o5T in #510 - feat(nextra): export
compile.tsx
by @B2o5T in #517 - fix(blog): nav styles when there are many links by @B2o5T in #535
- Support new middleware cookies api by @huozhi in #544
New Contributors
- @Dev-CasperTheGhost made their first contribution in #285
- @arsnl made their first contribution in #299
- @joostory made their first contribution in #300
- @robbear made their first contribution in #318
- @neighborhood999 made their first contribution in #363
- @jrvidal made their first contribution in #355
- @mannybecerra made their first contribution in #317
- @Djuki made their first contribution in #410
- @aruniverse made their first contribution in #417
- @Brooooooklyn made their first contribution in #442
- @gkaemmer made their first contribution in #439
- @adamshiervani made their first contribution in #457
- @harrybawsac made their first contribution in #446
- @numToStr made their first contribution in #476
- @B2o5T made their first contribution in #486
Full Changelog: v2.0.0-beta.5...2.0.0-beta.6