core/CHANGELOG.md

123 KiB
Raw Blame History

Changelog

For some reason, in v2.x.y version, there may also be a Break Change in the x-bit.

History

v3.9.0

What's New Features

Refactor

Style Changes

Other Changes

New Contributors

Full Changelog: https://github.com/opensumi/core/compare/v3.8.2...v3.9.0

v3.8.0

What's New Features

Refactor

Style Changes

Other Changes

New Contributors

Full Changelog: https://github.com/opensumi/core/compare/v3.7.1...v3.8.0

v3.7.0

What's New Features

Refactor

Style Changes

Other Changes

New Contributors

Full Changelog: https://github.com/opensumi/core/compare/v3.6.4...v3.7.0

v3.6.0

What's New Features

Refactor

Other Changes

Full Changelog: https://github.com/opensumi/core/compare/v3.5.0...v3.6.0

v3.5.0

What's New Features

Refactor

Style Changes

Other Changes

New Contributors

Full Changelog: https://github.com/opensumi/core/compare/v3.4.5...v3.5.0

v3.4.0

What's New Features

Style Changes

Other Changes

New Contributors

Full Changelog: https://github.com/opensumi/core/compare/v3.3.3...v3.4.0

v3.3.0

What's New Features

Refactor

Style Changes

Other Changes

New Contributors

Full Changelog: https://github.com/opensumi/core/compare/v3.2.5...v3.3.0

v3.2.0

What's New Features

Refactor

Style Changes

Other Changes

Full Changelog: https://github.com/opensumi/core/compare/v3.1.4...v3.2.0

v3.1.0

What's New Features

Refactor

Bug fixes

Breaking Changes:

1. about useMenubarView configuration

Now the useMenubarView configuration has been moved to the designLayout configuration, please change it in time.

/**
 * AI Native Config
 */
AINativeConfig?: IAINativeConfig;
/**
 * OpenSumi Design Config
 */
designLayout?: IDesignLayoutConfig;

When the useMenubarView configuration is enabled, you also need to register the layoutConfig configuration of SlotLocation.top

+ import { DESIGN_MENUBAR_CONTAINER_VIEW_ID } from '@opensumi/ide-design';

+layoutConfig: {
+  ...
+  [SlotLocation.top]: {
+    modules: [DESIGN_MENUBAR_CONTAINER_VIEW_ID],
+  }
+}

v3.0.0

What's New Features

Bug fixes

Refactor

Style Changes

Other Changes

New Contributors

Breaking Changes:

1. use positionToRange instead of toRange

- import { toRange } from '@opensumi/ide-comments';
+ import { positionToRange } from '@opensumi/ide-monaco';

2. we remove vscode-jsonrpc dependency

If you facing the error like:

Uncaught (in promise) Error: No runtime abstraction layer installed
  at RAL (xxx.js:xx:x)

please add import '@opensumi/vscode-jsonrpc/lib/node/main'; on the top of your main file.

3. new Popover component

Some component props changed.

  • insertClass -> overlayClassName
  • display -> visible
  • onDisplayChange -> onVisibleChange

4. uprage react version to 18

Please upgrade your react version to 18.

5. upgrade mobx version to 6

Please upgrade your mobx version to 6.

v2.27.0

What's New Features

Refactor

Patch Changes

Other Changes

New Contributors

Full Changelog: https://github.com/opensumi/core/compare/v2.26.8...v2.27.0

v2.26.0

What's New Features

Style Changes

Other Changes

New Contributors

Full Changelog: https://github.com/opensumi/core/compare/v2.25.4...v2.26.0

Breaking Changes:

1. Remove ~ prefix in the less file #2906

The ~ expression is deprecated on the latest less-loader, see less-loader/#webpack-resolver.

If you have the Module not found error, you can update your webpack config like this:

module.exports = {
  module: {
    rules: [
      {
        test: /\.less$/i,
        use: [
          {
            loader: 'style-loader',
          },
          {
            loader: 'css-loader',
          },
          {
            loader: 'less-loader',
            options: {
              lessOptions: {
                paths: [path.resolve(__dirname, 'node_modules')],
              },
            },
          },
        ],
      },
    ],
  },
};

v2.25.0

What's New Features

Refactor

Style Changes

Other Changes

New Contributors

Breaking Changes:

1. The package@opensumi/ide-static-resource will be removed soon #2776

In this version, you no longer need to introduce the redundant package @opensumi/ide-static-resource in your project.

At the same time, this package will be removed after version 2.27.0, please pay attention.

v2.24.0

What's New Features

Refactor

Style Changes

Other Changes

New Contributors

v2.23.0

What's New Features

Refactor

Style Changes

Other Changes

Breaking Changes:

1. Remove some useless built-in icons #2204

This version we remove some useless filled icons on the framework and use outlined icons on the Tree Component.

  • warning-circle-fill
  • ubuntu
  • time-circle-fill
  • minus-circle-fill
  • kaitian
  • huoban-blue
  • huoban
  • folder-open-fill
  • folder-open
  • folder-fill
  • execute
  • control-fill
  • dashboard-fill
  • compass-fill
  • codelibrary-fill
  • check-square-fill
  • bulb-fill
  • basement-fileicon
  • basement
  • anymock
  • LinkE

2. Task label format changed

In order to be compatible with the use of Task commands by some extensions.

The task label format change from {0} : {1} to {0}: {1}, like npm : build -> npm: build.

v2.22.0

What's New Features

Refactor

Style Changes

Other Changes

Breaking Changes:

1. The ClientApp is no longer exported by @opensumi/ide-core-browser

We have removed the default export of bootstrap/app.ts in @opensumi/ide-core-browser. The @opensumi/monaco-editor-core in app.ts will cause a lot of memory leaks in the test code.

- import { ClientApp } from '@opensumi/ide-core-browser';
// Change to
+ import { ClientApp } from '@opensumi/ide-core-browser/lib/bootstrap/app';

2. The @opensumi/ide-userstorage module has been permanently removed

If used, please remove this module, it has no practical effect.

3. The Scroll component was removed

Please use Scollerbars component instead.

4. The DeprecatedRecycleTree component was removed

Please use RecycleTree or BasicRecycleTree component instead.

5. Revert to using nsfw watcher library in Linux

Because parcel/watcher has memory out-of-bounds access problem under Linux, which triggers sigsegv and causes crash, so nsfw is still used under Linux. https://github.com/parcel-bundler/watcher/issues/49

It is recommended to add dependencies globally:

+ "nsfw": "2.2.0"

At the same time, nsfw needs to be added back into the builde.g webpack.node.config.ts

externals: [
  ({ context, request }, callback) => {
    if (['node-pty', '@parcel/watcher', 'spdlog', '@opensumi/vscode-ripgrep', 'vm2', 'keytar'].indexOf(request || '') !== -1) {
+   if (['node-pty', '@parcel/watcher', 'nsfw', 'spdlog', '@opensumi/vscode-ripgrep', 'vm2', 'keytar'].indexOf(request || '') !== -1) {
      return callback(undefined, `commonjs ${request}`);
    }
    callback();
  },
],

6. Class And Path changed

  1. FoldersPreferencesProvider -> FolderFilePreferenceProvider
- import { FolderPreferencesProvider } from '@opensumi/ide-preferences/lib/browser/folder-preferences-provider';
+ import { FolderFilePreferenceProvider } from '@opensumi/ide-preferences/lib/browser/folder-file-preference-provider';
  1. ParcelWatcherServer -> FileSystemWatcherServer
- import { ParcelWatcherServer } from '@opensumi/ide-file-service/lib/node/file-service-watcher';
+ import { FileSystemWatcherServer } from '@opensumi/ide-file-service/lib/node/file-service-watcher';

v2.21.0

What's New Features

Refactor

Style Changes

Other Changes

Breaking Changes:

This version have not breaking changes.