-
Notifications
You must be signed in to change notification settings - Fork 1
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
AG-12929 Update for 32.2.1 #89
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SalvatorePreviti
approved these changes
Sep 27, 2024
eliasmalik
added a commit
that referenced
this pull request
Sep 27, 2024
* customizable allowed import libs, user configuration js file (#52) - Adds the ability to define and load a js or ts configuration - Expose a way in the configuration to register interceptor methods that can be used to allow custom modules and custom exports from custom libraries to be processed - Fix the import.ts code to handle properly the configuration file interceptors - Adds cli end to end tests * fix build, add link to help screen (#57) - Add link to the documentation when running migrate --help - Add tsx as a dependency so typescript support for configuration is always available - Fix the build configuration to properly emit user-config.cjs and user-config.d.ts - Update some packages - Fix user-config.ts so proper d.ts is generated correctly - the previous version was not generating a valid d.ts * AG-12173 Allow processing the .gitignore file (#58) After the command npx @ag-grid-devtools/cli@32.0 migrate --from=31.2.1, error message Error: Untracked input files stop the process of migration. We can make it work by processing the .gitignore file NOTE: this is a breaking change, files specified in .gitignore will NOT be processed anymore when running the command in a directory, agreed with Stephen that this is however the right behaviour - to decide if we want to alert the users or not in the release info use "glob" and "ignore" to process correctly gitignore files recursively. update e2e tests to verify gitignore files are ignored as expected * AG-11722 improve and fix commandline parsing (#59) Fix command line parsing The "--config=file" should not be included in the files to be processed Partial semvers should be supported, "from=30" should work the same as "from=30.0.0" All boolean flags should have an implicit "--no-flag" so they can be overridden when chaining commangs (normal cli behaviour) --to= should support "latest" and partial semver, for example --to=32.1 or --to=latest * release-32.0.2 (#60) release-32.0.2 Updates in the migrate CLI: - support for .gitignore files - when running in a folder without passing a list of files, .gitignore will be honoured - support for configuration file - this allows to define custom matchers to apply codemods also in wrapped or re-exported AG Grid components. * fix dynamic require (#62) * fix dynamic require * release-32.0.3 (#63) * Release 32.0.3 (#64) * release-32.0.3 * merge main into develop * add package.json to exports * Publish v32.0.3 (#66) (#73) * fix loading of dynamic modules in windows, export map, .cjs and .mjs support * AG-12276 support vue ts (#74) * support typescript language in vue * release-32.0.4 (#75) add support for vue typescript language * support ts language in vue (2) - fix loading of typescript eslint parser module * increment version * AG-12615 remove @ag-grid-devtools/codemods from dependencies, update packages (#80) * remove codemods dependency, update packages * increase test timeout, as node 18 is slower * version-32.0.6 * AG-12615 removes the bundled codemods, use a folder instead (#82) * move codemods in a subfolder, avoid bundled package * AG-12669 - Deprecate getInfiniteRowCount (#84) * ignore .d.ts files and process input directories (#86) * ignore .d.ts files and process input directories * AG-12549 Selection API codemods (#87) * fix create-transform task * add grid options codemod for v32.2 * fix simple js test * wip * codemods for selection properties * add tests * warn on unimplemented transformations * rename scenario * add comments, tidy, reduce type casting * uncommit * missing manifest * update test * Increment package version * test case for deprecated colDef props * pre-compute the value and exit early if no valid transformation * AG-12800 add api renames (#85) * AG-12929 Update for 32.2.1 (#89) * wip * wip * migrate enableRangeSelection, not other nested cell selection properties * wip * wip * wip * wip * increment version to v32.2.1 (#90) --------- Co-authored-by: Salvatore Previti <roorback@gmail.com> Co-authored-by: Salvatore Previti <salvatore.previti@ag-grid.com> Co-authored-by: Andrew Glazier <andrewcglazier@gmail.com> Co-authored-by: Stephen Cooper <scooperdev@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based on changes in https://ag-grid.atlassian.net/browse/AG-12929
Simplifies approach a little:
enableRangeSelection
migrated tocellSelection
. Don't try to migrate to nested cell selection fields, complicates approach significantly and these are probably niche options and the former migration covers majority of cases.rowSelection
migrated torowSelection
object with nested fieldsmigrateDeepProperty
to handle the fact that the migration target property name is the same as the source property name