Skip to content

Update Migration Guide#1205

Merged
omeraplak merged 2 commits intoalphafrom
update-migration-guide
Nov 3, 2021
Merged

Update Migration Guide#1205
omeraplak merged 2 commits intoalphafrom
update-migration-guide

Conversation

@mhrrmk
Copy link
Contributor

@mhrrmk mhrrmk commented Nov 3, 2021

Test documentation! 'ALPHA'
Link to UPDATE-MIGRATION-GUIDE

@refine-bot
Copy link
Contributor

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

@mhrrmk mhrrmk changed the title add commands for updating packages Update Migration Guide Nov 3, 2021
@omeraplak omeraplak merged commit 0ba74c0 into alpha Nov 3, 2021
@omeraplak omeraplak deleted the update-migration-guide branch November 3, 2021 09:30
refine-bot added a commit that referenced this pull request Nov 9, 2021
* update lerna package version

* revert lerna.json version update

* version bump 1.1.0-alpha.0

* version bump 1.1.0

* add alpha action

* SSR & Route provider support (#1107)

* init next example

* add ssr example project. hack until react-router

* use react-router-dom everywhere

* get client side router elements from props

* add router provider for react-router as a standalone package

* init nextjs-router

* remove react-router from core

* fix temporary router provider components

* update core package-lock

* add resources prop to Refine

* add hooks to nextjs router provider

* add crud compontns to NextRouteComponent

* remoce css components example from nextjs example

* add remaining crud operations to next example

* handle custom routes

* react query ssr

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* refine, nextjs ssr for custom routes

* handle authentication

* remove unnecessary custom routes read

* syncWithLocation for server side rendering

* remove console log

* turn off router types

* remove unused import

* remove console.log's

* fix sider active menu item

* fix active menu item

* create router context

* delete router props in refine context

* use router context in core

* change reactrouter package name to react-router

* react-router package-lock

* Prompt for nextjs-router (#1120)

* implement Prompt component for nextjs-router to handle warnWhenUnsavedChanges

* remove unnecessary line

* better error message

* better type naming

* fix ssr tests (#1121)

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* componentize nextjs-router. add nextroutecomponent to nextjs-router.

* use only one hooks import

* add useRefineContext. use nextroutecomponent from nextjs-route

* use hooks from within the package

* rename react-router package name in base example

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* route provider move to react-router package

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* change NextRouteComponent import

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>
Co-authored-by: mhrrmk <mkocadere@gmail.com>

* add versioning for doc

* add roureProvider to fineFoods. export Link from routerProvider packages.

* re-organize kubectl auth

* update pr doc deployment timeout

* add BrowserRouterProps ro RouterComponent

* fix ssr tests

Co-authored-by: mhrrmk <mkocadere@gmail.com>

* fix syncWithLocationIssues on fineFoods

* add catchAll prop to refine context

* update pr doc deploy helm timeout 15m to 20m

* delete Resource component

* update examples with new resources prop

* update examples with new resources prop

* add routerProvider support for examples

* update doc website Dockerfile

* delete examples folder from lerna

* delete package-lock files for examples

* add missing deps and scripts for examples projects

* version bump 1.1.0 for core

* update nextjs-router and react-router versions

* router provider function convert to object

* fix examples

* handle ssr authentication

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* extract checkAuthentication to nextjs-router package

* add fineFoods package-lock

* redirect to lastpath when user successfully login

* update redirect path

* fix redirect path logic

* remove redirect when go to root path

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>
Co-authored-by: Salih <salihozdemir94@gmail.com>

* version bump 1.1.0-alpha.0 for core

* version bump reacr-router and next-router 0.1.0-alpha.0

* update package-locks

* disable alpha channel tests

* Update authentication redirects on whole project (#1130)

* remove unused props

* fix authentication redirects

* add fineFoods package-lock

* add @pankod/refine dep for fineFoods

* add react-router dep for finefoods

* update Link usage from refine-react-router on fineFoods

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* fix not be able to read url route  current params (#1133)

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* Add finefoods client (#1134)

* fix fineFoods admin

* move admin app to admin dir

* init client app

* add less. remove unnecessary components. add temporary components

* add babel-plugin-import

* update fineFoods example path

* update fineFoods admin package-lock

* add .env file for fineFoods admin

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* Finefoods nextjs client (#1144)

* handle layout

Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com>

* design category card

* remove unused lines

* create product card

* add vsgr. add footer.

* add header

* fix items type

* create responsive design

* add promotional section

* integrate promotional section

* refactoring

* fix homepage background color

* remove unnecessary icons. use ant design icon component

* Ssr for category cards

* move Dockerfile to fineFoods/admin

* handle promtoinal area responsive

* Ssr for products and get dynamic badge title and color

* handle header responsive

* add finefoods client example Dockerfile

* update dockerfile path on PR action

* delete posts components

* update Docker image name for client example

* remove svgr

* add dummy resource for finefoods client

* disable auth provider on finefoods client

* remove auth provider imports

* footer responsive

Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com>
Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* Adding category pages to nextjs client app (#1151)

* handle layout

Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com>

* design category card

* remove unused lines

* create product card

* add vsgr. add footer.

* add header

* fix items type

* create responsive design

* add promotional section

* integrate promotional section

* refactoring

* fix homepage background color

* remove unnecessary icons. use ant design icon component

* Ssr for category cards

* move Dockerfile to fineFoods/admin

* handle promtoinal area responsive

* Ssr for products and get dynamic badge title and color

* handle header responsive

* add finefoods client example Dockerfile

* update dockerfile path on PR action

* delete posts components

* update Docker image name for client example

* remove svgr

* add dummy resource for finefoods client

* disable auth provider on finefoods client

* remove auth provider imports

* footer responsive

* create constant file for constants

* update primary key

* create product list card component

* create category with products page

* add link to category cards

* snake case component name convert to camel case

* delete authProvider import

* remove authProvider imports

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>
Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* update alpha action

* fix ssr bug for category page

* update alpha action

* fix alpha push action

* Create Order Success Page (#1153)

* create order success page

* add confetti

* add animation and redirect link

* fix message arrow position

* Minor improvements on finefood client (#1154)

* remove unused svgs

* rename style file names

* fix vertical card padding

* card fix col size

* update order success animation

* Add Basket to finefoods client (#1152)

* handle layout

Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com>

* design category card

* remove unused lines

* create product card

* add vsgr. add footer.

* add header

* fix items type

* create responsive design

* add promotional section

* integrate promotional section

* refactoring

* fix homepage background color

* remove unnecessary icons. use ant design icon component

* Ssr for category cards

* move Dockerfile to fineFoods/admin

* handle promtoinal area responsive

* Ssr for products and get dynamic badge title and color

* handle header responsive

* add finefoods client example Dockerfile

* update dockerfile path on PR action

* delete posts components

* update Docker image name for client example

* remove svgr

* add dummy resource for finefoods client

* disable auth provider on finefoods client

* remove auth provider imports

* footer responsive

* add basket context

* merge alpha

* remove old component dirs

* fix css

* add add to cart to productlistitem

* add orders modal

* add link to homepage in logo in header

* sticky header

* fix header styles

* add order creation method

* improve orders modal

Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com>
Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* update Dockerfile  for example client

* fix alpha build for nextjs example

* update dayjs version and alpha push action

* fix dayjs dependency

* fix Dockerfile for nextjs client example

* fix fineFoods admin test

* version upgrade nextjs-router and react-router

* update alpha push action

* update alpha push action

* update refine-next deps

* update alpha push action

* Update refine config doc (#1155)

* remove resource component doc

* add resource prop and fix <Refine> usage

* dummy commit

* remove resource component ref and fix some descriptions in basic-views component

* remove resource component ref and fix some descriptions in hook docs

* fix <Resource> ref and descriptions

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* update readme links

* update router provider types (#1174)

* Fix resource usage and add routerProvider to <Refine> (#1162)

* remove resource component doc

* add resource prop and fix <Refine> usage

* dummy commit

* remove resource component ref and fix some descriptions in basic-views component

* remove resource component ref and fix some descriptions in hook docs

* fix <Resource> ref and descriptions

* fix version 1.0.0 file import bug

* add refine react router and refine alpha version

* add routerProvider and fix Resource usage

* fix descriptions containing the <Resource>

* fix missing refrence urls

* fix text which contains <Resource>

* Update documentation/docs/api-references/hooks/resource/useResource.md

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* Update documentation/docs/api-references/hooks/resource/useResourceWithRoute.md

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* Update documentation/docs/tutorial.md

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* Router provider doc (#1160)

* create router provider doc

* add usage of router provider

* fix expected router provider types

* fix router provider type

* add tabs to usage section

* add useHistory section

* add useLocation section

* fix initial router context value

* add useParams and Prompt sections

* finish create a router section

* minor updates

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* add RouterComponent type to react-router

* fix refine-next example's bug

* add subdirectory section to route-provider doc

* handle custom routes with router provider

* fix unit tests

* delete duplicate import IRouterProvider

* handle routes with routerProvider in custom pages doc

* Update documentation/docs/api-references/providers/router-provider.md

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* Update documentation/docs/api-references/providers/router-provider.md

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* Update documentation/docs/api-references/providers/router-provider.md

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* finalize router provider doc

* Update documentation/docs/api-references/components/refine-config.md

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>
Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>

* version bump core 1.1.1

* fix redirect on refine-next

* Docs for SSR/Next.js (#1161)

* init ssr doc. add setup, usagaei custom pages section.

* add ssr support for NextRouteComponent

* fix doc links

* change prop name

* init ssr data section

* add basic usage dıc for NextRouteComponent

* add ssr section for NextRouteComponent

* fix wording

* update next in refine-next example

* add authentication and syncWithLocation docs for SSR

* fix package-lock

* Update documentation/docs/guides-and-concepts/ssr-nextjs.md

Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com>

* fix duplicate autpProvider import

* init migration guide doc

* Update documentation/docs/guides-and-concepts/ssr-nextjs.md

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* Update documentation/docs/guides-and-concepts/ssr-nextjs.md

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* add refine-next as example

* add migration guide doc. fix links.

* add version title

Co-authored-by: Salih Özdemir <salihozdemir94@gmail.com>
Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* add custom route path support for refine-nextjs-router

* Bye bye shiki (#1180)

* bye bye shiki

* update doc highlights

* update some doc highlights

* update doc highlights

* update doc highlights

* update doc highlights

* update doc highlights

* update multipart upload doc highlights

* doc typo fix "recordIdItem" to "recordItemId"

* fix migration guide doc highlights

* update versioned docs highlights

* update doc highlights

* update doc highlights

* useUpdate doc highlight

* fix tutorial highlight

* Handle login page prop for nextjs (#1186)

* add custom route path support for refine-nextjs-router

* handle login page prop on nextjs

* fix catchAll layout wrapper for nextjs

* fix react router provider custom routes

* version bumps

* add routeChangeHandler for nextjs

* version bump react-router 0.1.3

* handle ssr authentication on nextjs-router

* fix refine-next example users page

* update redirect for next.js ssr

* update ssr guide (#1187)

* Next i18n example (#1185)

* init example based on refine-next

* add locale files

* add next-i18next configs

* add refine i18n proivder

* change package name

* remove users resource. use translate in crud pages.

* move i18n examples to own dir

* fix IPost type

* add header component to put menu for changing locale

* remove unnecassary files

* update ssr-nextjs doc highlights

* fix nextjs ssr guide doc highlights

* Simplify SSR usage with NextRouteComponent (#1191)

* update nextroutecomponent and ssr guide

* bump version

* update migration guide title

* add meta tags for finefoods client example

* update nextjs examples

* add parseTableParamsFromQuery for nextjs syncWithLocation

* version bump 1.1.3

* update i18n provider doc

* fix routeChangeHandler for react-router

* fix customRoutes undefined handle on react-router

* version bump 1.1.5

* version bump 2.0.4

* version bump 2.0.4

* version bump 2.0.5

* fix finefoods nextjs client webpack 5 support

* update finefoods client next-env.d.ts

* version bump 2.0.6

* version bump 0.1.7

* version bumps packages

* update lerna.json version

* v2.0.7

* add versionup script

* update package version of examples

* 2.0.0 Support for Examples and Docs (#1202)

* fix custom sider example

* fix topMenuLayout example

* fix altogic example

* fix custom validation example

* fix i18n nextjs example

* version bump core 2.0.0

* version bump 2.0.0

* update doc iframe source paths

* fix base example

* add missing links

* fix hasura example

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* Update next i18n example (#1204)

* update next i18n example

* version bump core 2.0.0

* version bump 2.0.0

* add i18n nextjs example doc

* add i18n nextjs example link in i18n provider doc

* add tips for superplate and related examples

* Update documentation/docs/api-references/providers/i18n-provider.md

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* Update documentation/docs/examples/i18n/i18n-nextjs.md

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* Update documentation/docs/guides-and-concepts/theme.md

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* Update documentation/docs/guides-and-concepts/theme.md

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* migrate 2.0.0 date picker example

* update date picker example codesandbox for v2

* add commands for updating packages (#1205)

* Fix RTL reverse alpha (#1207)

* Refactor Table export path

* Change RTL example structure

* Revert package.json back

* Refactor antd exports file

* Revert antd version back

* Refactor antd expose file

* Fix linting

* Update package json

* Fix manifest project name

* v2.0.8

* update migration guide doc

* Demo page for documentation (#1208)

* create demo page

* update doc Dockerfile

* update demo nav item path

* add mobile view

* Optimised images with calibre/image-actions

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>
Co-authored-by: Pankod Community Bot <53254888+pankod-bot@users.noreply.github.com>

* fix demo page css bug

* update alpha deploy URL's

* update demo page icons

* fix demo page css

* update pageData to initialData (#1219)

* v2.0.9

* update master push action

* Switch Toggle for Demo Pages (#1220)

* create admin switch toggle

* create client switch toggle

* fix admin toggle transform value

* update client toggle link

* update ready page

* Add codemod package (#1222)

* add codemod

* remove unrelated types

* wip: handle custom routes

* finalize routerProvider migration

* get cli to work

* refactor

* use vercel license because of forked cli

* add codemod cli forked from nextjs's codemod

* add refine1-to-refine2 codemod 🎉

* remove example files

* update codemod package dependencies

* update codemod deps

Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>

* v2.0.10

* [DOCS] Add codemod docs (#1223)

* add @pankod/refine-codemod migration recommendation

* add codemod README.md

* use the word "migrating" instead of "migrate" in headers

* bump 2.xx.xx version for doc

* update alpha links

Co-authored-by: Muharrem Kocadere <mkocadere@gmail.com>
Co-authored-by: Salih <salihozdemir94@gmail.com>
Co-authored-by: Necati Özmen <necatiozmn@gmail.com>
Co-authored-by: Pankod Community Bot <53254888+pankod-bot@users.noreply.github.com>
Co-authored-by: Umut Özdemir <umutozdemir997@gmail.com>
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.

3 participants

Comments