66 KiB
@refinedev/cli
2.16.39
Patch Changes
-
#6400
451016a207d4dd6aecb4d56133efc1ad6229acff
Thanks @aliemir! - fix(cli): handle errors while fetching dependencies in get-project-typeWhen working with
deno
or missingpackage.json
file, an error was thrown while determining the project type. This was causing the CLI to crash even though the fallbacks were provided. This PR handles such errors ingetProjectType
and lets it use the fallback type. -
#6354
da9da4ed1a9700c7a48db6520d683168c48b226e
Thanks @arndom! - chore(cli): remove unused express dependencyRemoved
express
dependency which triggers a vulnerability warning fromserve-static
. -
Updated dependencies [
da9da4ed1a9700c7a48db6520d683168c48b226e
]:- @refinedev/devtools-server@1.1.37
2.16.38
Patch Changes
-
#6246
f5501f93a818d6e5811aa94cb354d77a2b1eb1ff
Thanks @YusukeSano! - feat: added scripts for Remix SPA ModeIt is now possible to execute the Remix SPA Mode script by selecting it from the platform options.
Two new project types are added
remix-vite
andremix-spa
.remix-vite
is Remix + Vite andremix-spa
is Remix + Vite SPA Mode. Whileremix-vite
type can be inferred from the project configuration without needing to specify it in the command,remix-spa
type needs to be specified explicitly. -
Updated dependencies [
6963e591f8f307aee9362d5dfff99972eb64bf03
]:- @refinedev/devtools-server@1.1.36
2.16.37
Patch Changes
-
#6162
d7fb07e59ddcbef49437c64d3a92b3d47d850225
Thanks @noritsune! - feat(cli): improve the resource add command to generate page files for Next.jsWhen using the add resource command in a project using Next.js, a page will be generated to perform the selected actions for that resource.
These pages simply display generated components that perform actions on the resource. The placement of page files assumes operation with the App Router. If you prefer to use the Page Router instead, you'll need to move them manually.
-
#6221
cbf2fd70a6a0d54722b6541c948ce8cb3f682fb4
Thanks @alicanerdurmaz! - feat: Automatically install@refinedev/inferencer
if missing after generating new resources. -
#6135
c3a75139f82de022b54855e87e200ab38c803af5
Thanks @alicanerdurmaz! - fix:yarn refine update
removes semver range specifiers(^
,~
) frompackage.json
. #6134 -
#6226
9806a3629256d73bdc18ae808dce217f0108aad2
Thanks @alicanerdurmaz! - fix:refine add resource
generating invalid React component name. #6225refine add resource blog-posts
command was generating invalid React component name when the resource name contains a hyphen. This issue has been fixed by converting the resource name to PascalCase before generating the React component name.- export const Blog-PostsList: React.FC = () => {}; + export const BlogPostsList: React.FC = () => {};
-
#6196
e2b467528f6a799c3219e3a8fefd4834a0ca0431
Thanks @aliemir! - feat(cli): create base translation files for i18n provider in add provider commandCurrently
refine add provider i18n
command is only creating a demo i18n provider implementation but misses the translation files. This PR adds the base translation files for the i18n provider which is used by Refine internally in hooks, notifications and components.Now
locale/en.json
will be added with primarily used translation keys and values for the i18n provider. -
#6185
603c73eb7d376fc2357a577f5921f844a8f444e4
Thanks @aliemir! - fix(cli): avoid pollutingprocess.env
with unwanted environment variablesPreviously, the
@refinedev/cli
useddotenv
to load environment variables from.env
files and populateprocess.env
. This caused issues when the users app has a different convention for environment variables, e.g..env.development
,.env.production
, etc.Now, the
@refinedev/cli
will read the file but avoid populatingprocess.env
with the variables and keep the values in its scope without passing them to the child processes. This will prevent unwanted environment variables from being passed to the child processes and avoid conflicts with the user's environment variables. -
#6185
603c73eb7d376fc2357a577f5921f844a8f444e4
Thanks @aliemir! - feat(devtools): ability to change the port of the devtools serverNow users can change the port of the devtools server by setting the
REFINE_DEVTOOLS_PORT
environment variable. Previously, the port was hardcoded to "5001" and could not be changed.If you're using
@refinedev/cli
's runner commands to start your development server,REFINE_DEVTOOLS_PORT
will be propagated to your app with appropriate prefix. E.g. if you're using Vite, the environment variable will beVITE_REFINE_DEVTOOLS_PORT
and it will be used by the@refinedev/devtools
's<DevtoolsProvider />
component to connect to the devtools server.- In Next.js apps, it will be prefixed with
NEXT_PUBLIC_
- In Craco and Create React App apps, it will be prefixed with
REACT_APP_
- In Remix apps and other custom setups, the environment variable will be used as is.
In some scenarios where the environment variables are not passed to the browser, you may need to manually set the Refine Devtools URL in the
<DevtoolsProvider />
component via theurl
prop. Remix apps do not automatically pass environment variables to the browser, so you will need to set the URL manually. If not set, the default URL will be used.While the port can be changed, this feature also allows users to host the devtools server on a different machine or domain and provide the
<DevtoolsProvider />
with the custom domain URL. This such case will be useful if you're dockerizing your app and devtools server separately.Enterprise Edition: Refine Devtools running on ports other than "5001" is only available in the Enterprise Edition. If you're using the Community Edition, Refine Devtools will not work if the port is changed.
- In Next.js apps, it will be prefixed with
-
Updated dependencies [
603c73eb7d376fc2357a577f5921f844a8f444e4
]:- @refinedev/devtools-server@1.1.35
2.16.36
Patch Changes
-
#6098
8bc2c1c6790d1e098ce0d98e01f608e3310f7b4a
Thanks @aliemir! - chore(cli): remove unused commandPreviously
@refinedev/cli
had aproxy
command that is no longer in use and not required in any of the projects. This change removes the command from the CLI without a fallback. -
#6039
24db047aea42e307a9662c46fde50ea69ca8c381
Thanks @aliemir! - fix(cli): type imports are breaking the code structure on swizzleWhen exporting elements with
swizzle
command, it will try to replace and combine imports from Refine packages. This process was broken if the target file was usingimport type
syntax. This PR updates swizzle command to handleimport type
syntax separately.Resolves #6035
-
Updated dependencies [
8bc2c1c6790d1e098ce0d98e01f608e3310f7b4a
,8bc2c1c6790d1e098ce0d98e01f608e3310f7b4a
,8bc2c1c6790d1e098ce0d98e01f608e3310f7b4a
,50d21076928ca738ec54cc5bcd17fad2683653dd
]:- @refinedev/devtools-server@1.1.34
2.16.34
Patch Changes
-
#6059
ad42665ad9ccb07f6090da353377d016b67acdd0
Thanks @aliemir! - fix(devtools): failing authentication checksDevtools was failing on determining the auth status and always ended up redirecting to the login page or the onboarding step regardless of the actual authentication status.
Resolves #6047
-
Updated dependencies [
ad42665ad9ccb07f6090da353377d016b67acdd0
]:- @refinedev/devtools-server@1.1.32
2.16.33
Patch Changes
-
6bd14228760d3e1e205ea9248e427f9afa2ec046
Thanks @BatuhanW! - fix: remove hardcoded path prefix from bin resolve for remix run command. -
6bd14228760d3e1e205ea9248e427f9afa2ec046
Thanks @BatuhanW! - fix: capitalize RefineCapitalized "Refine" in the user-facing texts
-
6bd14228760d3e1e205ea9248e427f9afa2ec046
Thanks @BatuhanW! - fix(cli): prevent exit on devtools errorUpdated the
dev
command's devtools runner logic to prevent the process from exiting when devtools server fails to start. Previously, the process would exit if devtools server failed to start regardless of the development server's status. -
6bd14228760d3e1e205ea9248e427f9afa2ec046
Thanks @BatuhanW! - feat(cli): prompt to update all inupdate
commandPreviously, if users doesn't provide
--all
option,update
command will display an interactive prompt to pick which packages to update. Now, before displaying the prompt, it will ask if users want to update all packages. -
6bd14228760d3e1e205ea9248e427f9afa2ec046
Thanks @BatuhanW! - chore: addedtype
qualifier to imports used as type only.- import { A } from "./example.ts"; + import type { A } from "./example.ts";
-
Updated dependencies [
6bd14228760d3e1e205ea9248e427f9afa2ec046
,6bd14228760d3e1e205ea9248e427f9afa2ec046
,6bd14228760d3e1e205ea9248e427f9afa2ec046
,6bd14228760d3e1e205ea9248e427f9afa2ec046
,6bd14228760d3e1e205ea9248e427f9afa2ec046
]:- @refinedev/devtools-server@1.1.31
2.16.32
Patch Changes
-
#5945
45b68cc3450618468e938f9540dc52ff088b555a
Thanks @aliemir! - fix: remove hardcoded path prefix from bin resolve for remix run command. -
#5945
429009db854653ab3ca00fbfb84561de38b3a255
Thanks @aliemir! - fix: capitalize RefineCapitalized "Refine" in the user-facing texts
-
#5945
6c22ece19f44ca2b99ad70543f9ee40b4b139863
Thanks @aliemir! - fix(cli): prevent exit on devtools errorUpdated the
dev
command's devtools runner logic to prevent the process from exiting when devtools server fails to start. Previously, the process would exit if devtools server failed to start regardless of the development server's status. -
#5945
429009db854653ab3ca00fbfb84561de38b3a255
Thanks @aliemir! - feat(cli): prompt to update all inupdate
commandPreviously, if users doesn't provide
--all
option,update
command will display an interactive prompt to pick which packages to update. Now, before displaying the prompt, it will ask if users want to update all packages. -
#5945
90930b381d8d369c63bc59beedf69c391875166d
Thanks @aliemir! - chore: addedtype
qualifier to imports used as type only.- import { A } from "./example.ts"; + import type { A } from "./example.ts";
-
Updated dependencies [
429009db854653ab3ca00fbfb84561de38b3a255
,6c22ece19f44ca2b99ad70543f9ee40b4b139863
,6c22ece19f44ca2b99ad70543f9ee40b4b139863
,90930b381d8d369c63bc59beedf69c391875166d
,bb89dc34bf6ef061d0bcdcf0cb3173fe7014ae5e
]:- @refinedev/devtools-server@1.1.30
2.16.31
Patch Changes
-
#5928
db9756e7908
Thanks @aliemir! - fix: type errors on typescript <5Due to the changes in #5881, typescript users below version 5 are facing type errors. This PR fixes the type errors by updating the file extensions required by the
d.mts
declaration files to provide a compatible declarations for both typescript 4 and 5 users. -
Updated dependencies []:
- @refinedev/devtools-server@1.1.29
2.16.30
Patch Changes
-
#5881
ba719f6ea26
Thanks @aliemir! - fix: declaration files in node10, node16 and nodenext module resolutions -
Updated dependencies [
1c9a95f22ab
,1c9a95f22ab
,1c9a95f22ab
,a9dbd808782
]:- @refinedev/devtools-server@1.1.28
2.16.29
Patch Changes
- Updated dependencies [
aedc6a2961c
]:- @refinedev/devtools-server@1.1.27
2.16.28
Patch Changes
-
#5807
b20a18e4dfc
Thanks @BatuhanW! - chore: update jscodeshift version to 0.15.2 -
#5765
0c197d82393
Thanks @aliemir! - refactor: package bundles and package.json configuration for exportsPreviously, Refine packages had exported ESM and CJS bundles with same
.js
extension and same types for both with.d.ts
extensions. This was causing issues with bundlers and compilers to pick up the wrong files for the wrong environment. Now we're outputting ESM bundles with.mjs
extension and CJS bundles with.cjs
extension. Also types are now exported with both.d.mts
and.d.cts
extensions.In older versions ESM and CJS outputs of some packages were using wrong imports/requires to dependencies causing errors in some environments. This will be fixed since now we're also enforcing the module type with extensions.
Above mentioned changes also supported with changes in
package.json
files of the packages to support the new extensions and types. All Refine packages now includeexports
fields in their configuration to make sure the correct bundle is picked up by the bundlers and compilers. -
#5799
33a8a80d80f
Thanks @BatuhanW! - chore: update semver package version to 7.5.2. -
#5754
56ed144a0f5
Thanks @alicanerdurmaz! - chore: TypeScript upgraded to v5.x.x. #5752 -
#5739
e9bbb1aa5af
Thanks @aliemir! - Removed redundant usage ofIResourceComponentsProps
type in component templates ofadd resource
command. This type only works with legacy routers and<RefineRoutes />
component, its usage outside of these scopes are unnecessary. -
Updated dependencies [
b20a18e4dfc
,0c197d82393
,51f368eab1a
,56ed144a0f5
]:- @refinedev/devtools-server@1.1.26
2.16.27
Patch Changes
-
#5695
79865affa1c
Thanks @BatuhanW! - chore: apply biome format and fix lint errors. -
Updated dependencies [
79865affa1c
]:- @refinedev/devtools-server@1.1.25
2.16.26
Patch Changes
- #5663
363fd4ed5f6
Thanks @BatuhanW! - fix: demo access control provider typing.
2.16.25
Patch Changes
-
#5640
e504c5b043c
Thanks @BatuhanW! - feat: added "integration" option to "add" command.Now you can run the following command to add integration into your existing project:
> npm run refine add integration ? Which integration do you want to add? (Use arrow keys) ❯ Ant Design - Setup Ant Design with Refine React Router - Setup routing with React Router
For now,
Ant Design
integration doesn't supportNextJS
andRemix
projects.
2.16.24
Patch Changes
- Updated dependencies []:
- @refinedev/devtools-server@1.1.24
2.16.23
Patch Changes
- Updated dependencies [
ee0f7867c3
]:- @refinedev/devtools-server@1.1.23
2.16.22
Patch Changes
-
#5398
fda3494215
Thanks @alicanerdurmaz! - fix: Remix v2 requires build path as argument forremix-serve
but Refine CLI was not passing it. From now on, Refine CLI will pass the build path as argument toremix-serve
command and uses the default./build/index.js
if not provided.You can pass the build path as argument to
refine start
command.// package.json { "scripts": { "start": "refine start ./build/index.js" } }
2.16.21
Patch Changes
- #5425
190af9fce2
Thanks @aliemir! - Updated@refinedev/core
peer dependencies to latest (^4.46.1
)
2.16.20
Patch Changes
-
#5296
1b031a2c19
Thanks @aliemir! - Updated--devtools
flag in dev command to allow disabling devtools by--devtools=false
. (Issue: #5215) -
Updated dependencies [
1b031a2c19
]:- @refinedev/devtools-server@1.1.22
2.16.19
Patch Changes
- #5292
714841da4b24
Thanks @aliemir! - Bumpnode-emoji
dependency resolution to^2.1.3
to fix broken CJS builds.
2.16.18
Patch Changes
-
#5290
404f16a947f3
Thanks @BatuhanW! - fix: overridenode-emoji
package version used bymarked-terminal
to2.1.0
fixes the issue: https://github.com/refinedev/refine/issues/5279
2.16.17
Patch Changes
- #5281
97d5d9c98b28
Thanks @aliemir! - Fixed the version ofnode-emoji
to2.1.0
. Sincev2.1.1
depends on an ESM-only package, it breaks the build.
2.16.16
Patch Changes
- Updated dependencies []:
- @refinedev/devtools-server@1.1.21
2.16.15
Patch Changes
-
#5208
72f9f608f42
Thanks @BatuhanW! - chore: update announcements source from next to master branch. -
Updated dependencies [
72f9f608f42
]:- @refinedev/devtools-server@1.1.20
2.16.14
Patch Changes
- Updated dependencies []:
- @refinedev/devtools-server@1.1.19
2.16.13
Patch Changes
- Updated dependencies []:
- @refinedev/devtools-server@1.1.18
2.16.12
Patch Changes
-
#5151
b5f93f60f1d
Thanks @aliemir! - Update@refinedev/core
version check for devtools runner to do a wider check to locate the package and its version. If the location is not found, it will start devtools without a version check. -
Updated dependencies [
2bd813f62bf
,38f2a9b2e71
]:- @refinedev/devtools-server@1.1.17
2.16.11
Patch Changes
-
#5151
b5f93f60f1d
Thanks @aliemir! - Update@refinedev/core
version check for devtools runner to do a wider check to locate the package and its version. If the location is not found, it will start devtools without a version check. -
Updated dependencies [
2bd813f62bf
,38f2a9b2e71
]:- @refinedev/devtools-server@1.1.16
2.16.10
Patch Changes
- Updated dependencies [
be419eb31bc
]:- @refinedev/devtools-server@1.1.15
2.16.9
Patch Changes
- Updated dependencies [
be419eb31bc
]:- @refinedev/devtools-server@1.1.14
2.16.8
Patch Changes
- Updated dependencies [
78117485899
]:- @refinedev/devtools-server@1.1.13
2.16.7
Patch Changes
- Updated dependencies [
78117485899
]:- @refinedev/devtools-server@1.1.12
2.16.6
Patch Changes
-
#5073
6c40a720140
Thanks @alicanerdurmaz! - chore: The packagesink
,ink-markdown
, andink-table
have been replaced withmarked
,marked-terminal
, andcli-table3
packages. -
Updated dependencies [
61366ebd866
]:- @refinedev/devtools-server@1.1.11
2.16.5
Patch Changes
-
#5073
6c40a720140
Thanks @alicanerdurmaz! - chore: The packagesink
,ink-markdown
, andink-table
have been replaced withmarked
,marked-terminal
, andcli-table3
packages. -
Updated dependencies [
61366ebd866
]:- @refinedev/devtools-server@1.1.10
2.16.4
Patch Changes
-
#26
7533e541739
Thanks @pull! - feat: From now on,npm run refine devtools init
updates@refinedev/core
to latest version. -
Updated dependencies [
7533e541739
]:- @refinedev/devtools-server@1.1.9
2.16.3
Patch Changes
-
#5055
68f24d5b596
Thanks @alicanerdurmaz! - feat: From now on,npm run refine devtools init
updates@refinedev/core
to latest version. -
Updated dependencies [
1fa531ebe89
]:- @refinedev/devtools-server@1.1.8
2.16.2
Patch Changes
-
#5055
68f24d5b596
Thanks @alicanerdurmaz! - feat: From now on,npm run refine devtools init
updates@refinedev/core
to latest version. -
Updated dependencies [
1fa531ebe89
]:- @refinedev/devtools-server@1.1.7
2.16.1
Patch Changes
-
#5022
80513a4e42f
Thanks @BatuhanW! - chore: update README.md- fix grammar errors.
- make all README.md files consistent.
- add code example code snippets.
-
#5024
1bb29d9fc3d
Thanks @aliemir! - Added dynamic announcements to the CLI to show when a command is executed. Users will be able to receive news and updates about refine without having to update their dependencies. -
Updated dependencies [
80513a4e42f
,20f5b6128d4
]:- @refinedev/devtools-server@1.1.6
2.16.0
Minor Changes
- #5024
1bb29d9fc3d
Thanks @aliemir! - Added dynamic announcements to the CLI to show when a command is executed. Users will be able to receive news and updates about refine without having to update their dependencies.
Patch Changes
-
#5022
80513a4e42f
Thanks @BatuhanW! - chore: update README.md- fix grammar errors.
- make all README.md files consistent.
- add code example code snippets.
-
Updated dependencies [
80513a4e42f
,20f5b6128d4
]:- @refinedev/devtools-server@1.1.5
2.15.4
Patch Changes
-
#5008
c8499114e55
Thanks @aliemir! - Fixed the@refinedev/devtools-server
dependency version for following the releases easily. -
Updated dependencies [
c8499114e55
]:- @refinedev/devtools-server@1.1.4
2.15.3
Patch Changes
-
#5008
c8499114e55
Thanks @aliemir! - Fixed the@refinedev/devtools-server
dependency version for following the releases easily. -
Updated dependencies [
c8499114e55
]:- @refinedev/devtools-server@1.1.3
2.15.2
Patch Changes
-
#4995
ab01e8e32d8
Thanks @omeraplak! - Updated@refinedev/devtools-server
dependency -
Updated dependencies [
ab01e8e32d8
,ab01e8e32d8
]:- @refinedev/devtools-server@1.1.2
2.15.1
Patch Changes
-
#4995
ab01e8e32d8
Thanks @omeraplak! - Updated@refinedev/devtools-server
dependency -
Updated dependencies [
ab01e8e32d8
,ab01e8e32d8
]:- @refinedev/devtools-server@1.1.1
2.15.0
Minor Changes
-
#4979
1958c77e7e3
Thanks @alicanerdurmaz! - feat: addeddevtools init
command. From now on, you can install refine devtools with a single command and add the necessary components to your project.npm run refine devtools init
2.14.0
Minor Changes
-
#4979
1958c77e7e3
Thanks @alicanerdurmaz! - feat: addeddevtools init
command. From now on, you can install refine devtools with a single command and add the necessary components to your project.npm run refine devtools init
2.13.0
Minor Changes
-
#4960
d8e464fa2c4
Thanks @aliemir! - Integration with refine devtools.Now you can start the Devtools server using the
refine devtools
command or when the server will be started automatically when you start your app in development mode usingrefine dev
command if you have@refinedev/devtools
installed.
Patch Changes
-
#4971
34b23d84368
Thanks @omeraplak! - chore: add refine devtools warning -
#4976
ed026da4239
Thanks @aliemir! - Updated dependency of@refinedev/devtools-server
-
25539d23320
Thanks @aliemir! - Updated@refinedev/devtools-server
dependency -
Updated dependencies [
d8e464fa2c4
,246b3cb6a00
,ed026da4239
]:- @refinedev/devtools-server@1.1.0
2.12.2
Patch Changes
-
#4971
34b23d84368
Thanks @omeraplak! - chore: add refine devtools warning -
#4976
ed026da4239
Thanks @aliemir! - Updated dependency of@refinedev/devtools-server
-
Updated dependencies [
ed026da4239
]:- @refinedev/devtools-server@1.0.2
2.12.1
Patch Changes
-
25539d23320
Thanks @aliemir! - Updated@refinedev/devtools-server
dependency -
Updated dependencies [
246b3cb6a00
]:- @refinedev/devtools-server@1.0.1
2.12.0
Minor Changes
-
#4960
d8e464fa2c4
Thanks @aliemir! - Integration with refine devtools.Now you can start the Devtools server using the
refine devtools
command or when the server will be started automatically when you start your app in development mode usingrefine dev
command if you have@refinedev/devtools
installed.
Patch Changes
- Updated dependencies [
d8e464fa2c4
]:- @refinedev/devtools-server@1.0.0
2.11.0
Minor Changes
-
#4904
b1ab9a23520
Thanks @alicanerdurmaz! - feat: addedadd
command to add new features to the project Now you can add a new provider or resource to the project using the commandnpm run refine add <arg>
.npm run refine add resource posts
: will add a new resource to the project with the nameposts
.npm run refine add auth
: will add a new auth provider to the project.npm run refine add data
: will add a new data provider to the project.npm run refine add live
: will add a new live provider to the project.npm run refine add access-control
: will add a new access control provider to the project.npm run refine add audit-log
: will add a new audit log provider to the project.npm run refine add i18n
: will add a new i18n provider to the project.npm run refine add notification
: will add a new notification provider to the project.
2.10.0
Minor Changes
-
#4904
b1ab9a23520
Thanks @alicanerdurmaz! - feat: addedadd
command to add new features to the project Now you can add a new provider or resource to the project using the commandnpm run refine add <arg>
.npm run refine add resource posts
: will add a new resource to the project with the nameposts
.npm run refine add auth
: will add a new auth provider to the project.npm run refine add data
: will add a new data provider to the project.npm run refine add live
: will add a new live provider to the project.npm run refine add access-control
: will add a new access control provider to the project.npm run refine add audit-log
: will add a new audit log provider to the project.npm run refine add i18n
: will add a new i18n provider to the project.npm run refine add notification
: will add a new notification provider to the project.
2.9.0
Minor Changes
- #4833
9a24e46020d
Thanks @mikeyfarina! - add "--platform" option on cli to start, dev, and build to specify project type
2.8.0
Minor Changes
- #4833
9a24e46020d
Thanks @mikeyfarina! - add "--platform" option on cli to start, dev, and build to specify project type
2.7.6
Patch Changes
- #4777
e33f22da1c3
Thanks @yildirayunlu! - feat: addedchangelog
link to version table generated withcheck-updates
command
2.7.5
Patch Changes
- #4777
e33f22da1c3
Thanks @yildirayunlu! - feat: addedchangelog
link to version table generated withcheck-updates
command
2.7.4
Patch Changes
-
#4696
35a2c695a74
Thanks @BatuhanW! - feat: CLI will try to readprojectId
from package.json if exists and send it to the telemetry server.Also removed redundant comment lines on resource generation.
2.7.3
Patch Changes
-
#4696
35a2c695a74
Thanks @BatuhanW! - feat: CLI will try to readprojectId
from package.json if exists and send it to the telemetry server.Also removed redundant comment lines on resource generation.
2.7.2
Patch Changes
- #4614
c9fecca3c33
Thanks @omeraplak! - chore: add refine cloud early access message
2.7.1
Patch Changes
- #4614
c9fecca3c33
Thanks @omeraplak! - chore: add refine cloud early access message
2.7.0
Minor Changes
- #4516
6fdf9c002c5
Thanks @omeraplak! - feat: added HeadlessInferencer support for thecreate-resource
command.
2.6.0
Minor Changes
- #4516
6fdf9c002c5
Thanks @omeraplak! - feat: added HeadlessInferencer support for thecreate-resource
command.
2.5.5
Patch Changes
- #4350
79955f1dfef
Thanks @BatuhanW! - feat: added proxy command to CLI
2.5.4
Patch Changes
- #4350
79955f1dfef
Thanks @BatuhanW! - feat: added proxy command to CLI
2.5.3
Patch Changes
-
#4195
18f955a064e
Thanks @aliemir! - fix(cli): add file system check to find installed packagesUpdated the package find logic and added file system check for double checking if the package is installed or not.
2.5.2
Patch Changes
-
#4195
18f955a064e
Thanks @aliemir! - fix(cli): add file system check to find installed packagesUpdated the package find logic and added file system check for double checking if the package is installed or not.
2.5.1
Patch Changes
-
#4195
18f955a064e
Thanks @aliemir! - fix(cli): add file system check to find installed packagesUpdated the package find logic and added file system check for double checking if the package is installed or not.
2.5.0
Minor Changes
-
#4187
014ad4d5e79
Thanks @aliemir! - refactor: userequire.resolve
to find script executables.Updated the runner command to use
require.resolve
to find the script executable. This allows the script to be run from anywhere in the project and allow mono-repos with workspaces to work. -
#4187
014ad4d5e79
Thanks @aliemir! - refactor: userequire.resolve
to find refine package paths.Updated the refine package search to use
require.resolve
to find the package path. This allows the package to be run from anywhere in the project and allow mono-repos with workspaces to work.
2.4.0
Minor Changes
-
#4187
014ad4d5e79
Thanks @aliemir! - refactor: userequire.resolve
to find script executables.Updated the runner command to use
require.resolve
to find the script executable. This allows the script to be run from anywhere in the project and allow mono-repos with workspaces to work. -
#4187
014ad4d5e79
Thanks @aliemir! - refactor: userequire.resolve
to find refine package paths.Updated the refine package search to use
require.resolve
to find the package path. This allows the package to be run from anywhere in the project and allow mono-repos with workspaces to work.
2.3.0
Minor Changes
- #4149
ca6a2b18576
Thanks @alicanerdurmaz! - feat: added required packages to install after swizzling. Now with this feature, users can automatically install the required packages after swizzling.
Patch Changes
- #4138
a15634d6621
Thanks @alicanerdurmaz! - fix: When the project type is vite, therefine dev
command was runningvite start
. It is now changed tovite dev
, because there is nostart
command in vite.
2.2.0
Minor Changes
- #4149
ca6a2b18576
Thanks @alicanerdurmaz! - feat: added required packages to install after swizzling. Now with this feature, users can automatically install the required packages after swizzling.
Patch Changes
- #4138
a15634d6621
Thanks @alicanerdurmaz! - fix: When the project type is vite, therefine dev
command was runningvite start
. It is now changed tovite dev
, because there is nostart
command in vite.
2.1.2
Patch Changes
-
#3976
7e793ee9dc3
Thanks @BatuhanW! - feat: added parcel supportfixed: refine --version doesn't return refine cli's version. fixed: add error message if user tries to run script with unsupported package. fixed: added "unknown" project type as fallback.
2.1.1
Patch Changes
-
#3976
7e793ee9dc3
Thanks @BatuhanW! - feat: added parcel supportfixed: refine --version doesn't return refine cli's version. fixed: add error message if user tries to run script with unsupported package. fixed: added "unknown" project type as fallback.
2.1.0
Minor Changes
-
Thanks @aliemir, @alicanerdurmaz, @batuhanW, @salihozdemir, @yildirayunlu, @recepkutuk! Moving to the
@refinedev
scope 🎉🎉Moved to the
@refinedev
scope and updated our packages to use the new scope. From now on, all packages will be published under the@refinedev
scope with their new names.Now, we're also removing the
refine
prefix from all packages. So, the@pankod/refine-core
package is now@refinedev/core
,@pankod/refine-antd
is now@refinedev/antd
, and so on.
Patch Changes
1.19.0
Minor Changes
- #3822
0baa99ba787
Thanks @BatuhanW! - - refine v4 release announcement added to "postinstall". - refine v4 is released 🎉 The new version is 100% backward compatible. You can upgrade to v4 with a single command! See the migration guide here: https://refine.dev/docs/migration-guide/3x-to-4x
1.18.0
Minor Changes
- #3822
0baa99ba787
Thanks @BatuhanW! - - refine v4 release announcement added to "postinstall". - refine v4 is released 🎉 The new version is 100% backward compatible. You can upgrade to v4 with a single command! See the migration guide here: https://refine.dev/docs/migration-guide/3x-to-4x
1.17.2
Patch Changes
- #3685
b6812af2293
Thanks @alicanerdurmaz! - - Fixed:provideCliHelpers
function type error.
1.17.1
Patch Changes
- #3685
b6812af2293
Thanks @alicanerdurmaz! - - Fixed:provideCliHelpers
function type error.
1.17.0
Minor Changes
- #3349
4853ac484df
Thanks @vanflux! - Ignoring "npm ls" exit code to get package list
Patch Changes
- #3367
e850fe25400
Thanks @alicanerdurmaz! - Fixed:ReferenceError: btoa is not defined
. #3366 useBuffer.from
whenbtoa
is"undefined"
for base64 encoding.
1.16.0
Minor Changes
- #3349
4853ac484df
Thanks @vanflux! - Ignoring "npm ls" exit code to get package list
Patch Changes
- #3367
e850fe25400
Thanks @alicanerdurmaz! - Fixed:ReferenceError: btoa is not defined
. #3366 useBuffer.from
whenbtoa
is"undefined"
for base64 encoding.
1.15.0
Minor Changes
- #3330
ff2b87f92af
Thanks @aliemir! - Do not prompt the component selection if there is only one component to swizzle.
1.14.0
Minor Changes
- #3330
ff2b87f92af
Thanks @aliemir! - Do not prompt the component selection if there is only one component to swizzle.
1.13.6
Patch Changes
- #3315
dda827e9a58
Thanks @yasnbouz! - Fixed:Ctrl+c
not killing running dev; leaving ports open - #3175 Fixed: terminal output color w/ envFORCE_COLOR=true
1.13.5
Patch Changes
- #3315
dda827e9a58
Thanks @yasnbouz! - Fixed:Ctrl+c
not killing running dev; leaving ports open - #3175 Fixed: terminal output color w/ envFORCE_COLOR=true
1.13.4
Patch Changes
- #3282
996b9077ea0
Thanks @alicanerdurmaz! - Added:npm -ls
was always throws an error. From now returnsnull
, with this wayerror
handling can be done when needed.
1.13.3
Patch Changes
- #3282
996b9077ea0
Thanks @alicanerdurmaz! - Added:npm -ls
was always throws an error. From now returnsnull
, with this wayerror
handling can be done when needed.
1.13.2
Patch Changes
- #3239
989ba9f13a1
Thanks @omeraplak! - fix: the build command was exiting with "0" exit code on error - #3234
1.13.1
Patch Changes
- #3239
989ba9f13a1
Thanks @omeraplak! - fix: the build command was exiting with "0" exit code on error - #3234
1.13.0
Minor Changes
- #3136
b5b99b485f2
Thanks @yildirayunlu! - Downgradejscodeshift
"^0.14.0"
to"0.13.0"
.
Patch Changes
- #3133
87c875fcf51
Thanks @alicanerdurmaz! - Fixed: add await totelemetry
fetch()
1.12.0
Minor Changes
- #3136
b5b99b485f2
Thanks @yildirayunlu! - Downgradejscodeshift
"^0.14.0"
to"0.13.0"
.
Patch Changes
- #3133
87c875fcf51
Thanks @alicanerdurmaz! - Fixed: add await totelemetry
fetch()
1.11.0
Minor Changes
- #3130
0b428512b98
Thanks @yildirayunlu! - Removed UI framework requirement increate-resource
command.
1.10.0
Minor Changes
- #3130
0b428512b98
Thanks @yildirayunlu! - Removed UI framework requirement increate-resource
command.
1.9.0
Minor Changes
- #3109
16549ed3012
Thanks @aliemir! - - Updated command order (swizzle
to the top)- Added installed packages notification at the start of the
swizzle
command. - Updated
swizzle
command to respect project file paths (/src
or/app
) - Added grouping option for installed packages at the first prompt of the
swizzle
command. - Syntax highlighting and improvements for
swizzle
success messages.
- Added installed packages notification at the start of the
1.8.0
Minor Changes
- #3109
16549ed3012
Thanks @aliemir! - - Updated command order (swizzle
to the top)- Added installed packages notification at the start of the
swizzle
command. - Updated
swizzle
command to respect project file paths (/src
or/app
) - Added grouping option for installed packages at the first prompt of the
swizzle
command. - Syntax highlighting and improvements for
swizzle
success messages.
- Added installed packages notification at the start of the
1.7.0
Minor Changes
-
#3062
6c2ed708a9a
Thanks @aliemir! -swizzle
command added to the CLI. 🎉It allows you to copy the latest version of supported components and functions to your project and customize it the way you want.
swizzle
command will prompt you with package and component selection, then copy the latest version of the component to your project and log the path of the copied files.
1.6.0
Minor Changes
-
#3062
6c2ed708a9a
Thanks @aliemir! -swizzle
command added to the CLI. 🎉It allows you to copy the latest version of supported components and functions to your project and customize it the way you want.
swizzle
command will prompt you with package and component selection, then copy the latest version of the component to your project and log the path of the copied files.
1.5.3
Patch Changes
- #3101
355937d7032
Thanks @omeraplak! - No more joke for CLI :(
1.5.2
Patch Changes
- #3101
355937d7032
Thanks @omeraplak! - No more joke for CLI :(
1.5.1
Patch Changes
-
#3092
984f1c21ab6
Thanks @alicanerdurmaz! - Added: Warning command description changed accordingrefine CLI
installed or not.- If
refine CLI
is installed, It will be shown asnpm run refine update
command. - IF
refine CLI
is not installed, It will be shown asnpx refine update
command.- package manager will be detected automatically.
- If
1.5.0
Minor Changes
- #3085
1ff8002f31d
Thanks @yildirayunlu! - Inferencer support added to the resources created with therefine-cli
.
1.4.0
Minor Changes
- #3085
1ff8002f31d
Thanks @yildirayunlu! - Inferencer support added to the resources created with therefine-cli
.
1.3.1
Patch Changes
- #3083
9a2f3bd2d61
Thanks @alicanerdurmaz! - Added: undefinedprocess.NODE_ENV
value set to thedevelopment
fromproduction
.
1.3.0
Minor Changes
- #3067
6f83ddba2ad
Thanks @alicanerdurmaz! - Added:whoami
command torefine-cli
. It's shows details of the development environment. Added: telemetry torefine-cli
commands.
Patch Changes
-
#3080
407250fba24
Thanks @alicanerdurmaz! - Added:@types/figlet
as adevDependencies
-
#3078
37fac3e9cfa
Thanks @alicanerdurmaz! - Fixed:figlet
moved todependencies
fromdevDependencies
1.2.0
Minor Changes
- #3067
6f83ddba2ad
Thanks @alicanerdurmaz! - Added:whoami
command torefine-cli
. It's shows details of the development environment. Added: telemetry torefine-cli
commands.
Patch Changes
-
#3080
407250fba24
Thanks @alicanerdurmaz! - Added:@types/figlet
as adevDependencies
-
#3078
37fac3e9cfa
Thanks @alicanerdurmaz! - Fixed:figlet
moved todependencies
fromdevDependencies
1.1.4
Patch Changes
1fa9e25ac23
Thanks @omeraplak! - Added some fun
1.1.3
Patch Changes
- #3063
949b8bd6ac9
Thanks @yildirayunlu! - Added unique check oncreate-resource
withrefine-cli
.
1.1.2
Patch Changes
-
#3058
5f43dc6361f
Thanks @alicanerdurmaz! - Added: The description ofdev
,start
,build
commands changed according to project type. -
#3060
1a53f4c4699
Thanks @yildirayunlu! - - Rename command namegenerate:resource
tocreate-resource
.- Removed the requirement for the
resource name
parameter. Ask forresource name
andactions
withinquirer
. - Add multiple resource create support. (
refine create-resource post category user
)
- Removed the requirement for the
-
#3056
29417155780
Thanks @alicanerdurmaz! - Fixedrefine check-updates
showing packages when current version ahead of next
1.1.1
Patch Changes
- #3049
da4d6320580
Thanks @yildirayunlu! - - Fixcreate-refine-app
argument error.- Add bin params on
refine-cli
package.json
- Add bin params on
1.1.0
Minor Changes
- #3028
2af26e9b91b
Thanks @yildirayunlu! - Initial release for@pankod/refine-cli
andrefine-create-app
🎉