Skip to content
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

Release v33.0.0 #106

Merged
merged 41 commits into from
Dec 11, 2024
Merged

Release v33.0.0 #106

merged 41 commits into from
Dec 11, 2024

Conversation

StephenCooper
Copy link
Member

No description provided.

SalvatorePreviti and others added 30 commits July 5, 2024 14:01
- 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
- 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
After the command npx @ag-grid-devtools/[email protected] 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
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

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
* release-32.0.3
* fix loading of dynamic modules in windows, export map, .cjs and .mjs support
* support typescript language in vue
add support for vue typescript language
…packages (#80)

* remove codemods dependency, update packages
* increase test timeout, as node 18 is slower
* move codemods in a subfolder, avoid bundled package
* ignore .d.ts files and process input directories
* 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
* wip

* wip

* migrate enableRangeSelection, not other nested cell selection properties

* wip

* wip

* wip

* wip
SalvatorePreviti and others added 11 commits September 27, 2024 11:45
* AG-13294 - migrate 'column' sparklines

* AG-13294 - simplify visitors

* AG-13294 - add sparkline import and cast migrations

* AG-13294 - extend cast migration

* AG-13294 - remove redundant typeguards, fix lint errors

* AG-13294 - add framework tests, make rule more specific to cellRendererParams

* AG-13294 - rename folder

* AG-13294 - delete redundant file
* Update README.md

* test adding new packages

* test adding file that imports jscodeshift

* test adding file that imports jscodeshift

* AG-13294 - add transformers

* AG-13294 - enable column chart transformer

* AG-13294 - enable import and type transformers

* AG-13294 - enable crosshair transformer

* AG-13294 - enable marker transformer

* AG-13294 - enable chart-type subobject transformer

* AG-13294 - enable highlightstyle transformer

* AG-13294 - remove redundant code
* Respect the quote style of the input file

* Respect the quote style of the input file

* Improved code counting
* AG-13294 - add prefer enterprise option

* AG-13294 - promote jscodeshift to plugin

* AG-13294 - add prefer enterprise tests and transformer

* AG-13294 - support multiple test files and test filtering

* AG-13294 - delete redundant files
* AG-13294 - handle all bar/column sparklines

* AG-13294 - move prefer-enterprise to migrate cli
* Automatically add AllCommunityModule

* Update imports in place

* add Angular / Vue tests

* Add sparkline support

* Convert from deprecated ModuleRegistry.register

* Support createGrid with external array

* RangeSelectionModule -> CellSelectionModule

* MenuModule to ColumnMenuModule and ContextMenuModule

* Package conversion

* Respect chart hints for ag-grid-enterprise

* Add a no-op ag-grid-community for now.
@StephenCooper StephenCooper merged commit 15482ac into main Dec 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants