Commit Graph

14551 Commits

Author SHA1 Message Date
italo jose
4576e6938a Meteor version to 3.3-beta.1 ☄️ 2025-05-15 10:45:15 -03:00
Nacho Codoñer
bdf7cb014c bump swc-core to latest 2025-05-15 09:41:08 +02:00
Nacho Codoñer
e81b8b5c6b Merge pull request #13715 from meteor/perf/swc-minifier-core
MinifierJS - Using SWC from zodern's package
2025-05-15 09:25:05 +02:00
italo jose
2ef3861cd1 refactor: enhance debug logging and improve minification logic in MeteorMinifier 2025-05-14 15:13:38 -03:00
Nacho Codoñer
fb400271df Merge branch 'devel' into release-3.3 2025-05-13 08:22:13 +02:00
Gabriel Grubba
cf1dfc2713 Merge pull request #13742 from meteor/release-3.2.2
Release 3.2.2
2025-05-12 19:09:42 -03:00
italo jose
6fa42d4b4c refactor: improve minification methods and enhance code clarity
- Removed outdated comments and replaced them with clear English descriptions for better understanding.
- Refactored the minification methods to utilize Profile for performance tracking.
- Adjusted the handling of the 'unused' option in Terser to ensure it aligns with intended behavior.
- Enhanced error handling in the minification process to provide clearer feedback on failures.
- Overall improvements contribute to a more maintainable and understandable codebase.
2025-05-12 14:59:15 -03:00
italo jose
0a81115f79 chore: remove minifier tests and update package configuration
- Deleted the minifier-tests.js file as it is no longer needed.
- Updated package.js to remove references to the deleted test file, streamlining the package configuration.
- This change helps maintain a cleaner codebase by eliminating obsolete test files.
2025-05-12 14:41:57 -03:00
italo jose
6ebf87e393 test: add unit tests for standard-minifier-js functionality 2025-05-12 10:31:23 -03:00
italo jose
cb6bb11911 refactor: improve package.json retrieval and update minification logic
- Changed the method of retrieving the Meteor project's package.json to use the current working directory.
- Updated the minification logic to only proceed with Terser if the modernTranspiler configuration is explicitly set to false.
- Added a new import for the 'fs' module to facilitate file reading.
- Enhanced code clarity and maintainability with these adjustments.
2025-05-09 13:30:35 -03:00
italo jose
64c7514187 feat: enhance minification process with configuration retrieval and SWC integration
- Added a function to read the Meteor project's package.json for configuration settings.
- Updated the minifier to utilize the new SWC integration, replacing the previous dependency.
- Introduced a constructor in the MeteorMinifier class to store configuration for use during minification.
- Added TODO comments for future enhancements regarding file skipping and build option checks.
2025-05-09 13:30:35 -03:00
italo jose
0bd0fabd4c lint try catch 2025-05-09 13:30:35 -03:00
italo jose
d27218e71b fix: correct summary typo and update npm dependency in standard-minifier-js package
- Fixed a typo in the package summary, changing 'inspered' to 'Inspired'.
- Updated the npm dependency from 'meteor-package-install-swc' to '@meteorjs/swc-core' for better clarity and alignment with current naming conventions.
2025-05-09 13:30:35 -03:00
italo jose
f713d672f4 feat: update standard-minifier-js to version 3.1.0 with SWC integration and new CombinedFile class
- Bumped version to 3.1.0 and updated summary to reflect SWC inspiration.
- Added CombinedFile class for improved handling of minified code and source maps.
- Integrated SWC for JavaScript minification, with Terser as a fallback.
- Enhanced README with credits for SWC and Terser contributions.
- Updated npm dependencies to include 'meteor-package-install-swc', 'acorn', and '@babel/parser'.
2025-05-09 13:30:35 -03:00
Nacho Codoñer
d2954ffa9d ensure meteor mode disabled webArchOnly on necessary 2025-05-07 18:16:41 +02:00
Nacho Codoñer
97eed052a8 Merge branch 'release-3.3' into force-modern-ci 2025-05-07 17:12:22 +02:00
Nacho Codoñer
86fc826b93 Revert "Bump mongodb dependency to version 6.16.0 in npm-mongo package (#13710)"
This reverts commit 43af635d1b.
2025-05-07 14:20:23 +02:00
Nacho Codoñer
40445a37a8 Merge pull request #13729 from meteor/modern-legacy-selftests
Test coverage for modern build stack config
2025-05-06 20:17:43 +02:00
Nacho Codoñer
6f18044ad4 Merge branch 'devel' into release-3.3 2025-05-06 17:22:55 +02:00
Nacho Codoñer
67a7cbe23f Merge branch 'release-3.3' into modern-legacy-selftests 2025-05-06 16:08:55 +02:00
Nacho Codoñer
03080cfb23 resolve custom baseUrl to an absolute path pointing to the project root 2025-05-05 16:32:21 +02:00
Faris
5dbb7e86a1 corrected the return type and added an example (#13724) 2025-05-05 11:27:16 -03:00
Nacho Codoñer
ef72206ab1 add self-test for the modern build stack 2025-05-05 12:31:33 +02:00
italo jose
fdc3c89b87 Meteor version to 3.2.2 ☄️ 2025-05-02 13:40:03 -03:00
italo jose
46047a455c Meteor version to 3.2.1 ☄️ 2025-05-02 13:36:05 -03:00
Italo José
f7ea6817b9 Refactor IP address parsing on Webapp (#13721)
* Implement improvements to 'x-forwarded-for' header parsing in DDP server

- Enhanced the handling of comma-separated values in Session._clientAddress.
- Added explicit trimming of IP addresses using a map function.
- Updated validation to ensure an exact match for httpForwardedCount.
- Bumped package version from 3.1.0 to 3.1.1.
- Created a changelog to document these changes.

* changelog
2025-05-02 13:03:52 -03:00
Nacho Codoñer
23c5f9a1b1 Merge branch 'modern-watcher-config' into force-modern-ci
# Conflicts:
#	packages/babel-compiler/babel-compiler.js
2025-04-30 16:43:16 +02:00
Nacho Codoñer
9682b60f6a fix tests 2025-04-30 16:41:52 +02:00
Nacho Codoñer
22828c3ee7 Merge branch 'release-3.3' into modern-config 2025-04-30 15:59:09 +02:00
Nacho Codoñer
24af25a78a Merge pull request #13717 from meteor/swc-debug-source-maps
Support filename references in sourcemaps during SWC transpilation
2025-04-30 15:54:54 +02:00
Nacho Codoñer
b922a71fc0 clean 2025-04-30 15:50:42 +02:00
Nacho Codoñer
8a2d74bef1 clean 2025-04-30 15:49:30 +02:00
Nacho Codoñer
a00a34fcc9 force CI to pass tests using modern bundler 2025-04-30 15:11:59 +02:00
Nacho Codoñer
2fee467d6c fix normalization 2025-04-30 13:36:04 +02:00
Nacho Codoñer
df576c6604 normalize properly the modern config to ensure defaults even on scenarios of partial configs 2025-04-30 13:15:34 +02:00
Nacho Codoñer
4a232d10ef enable proper transpiler config 2025-04-30 12:51:54 +02:00
Nacho Codoñer
88306046f4 ensure proper modern transpiler compilation 2025-04-30 12:46:11 +02:00
Nacho Codoñer
7660f0a35c refactor the modern config to apply all modern changes through a single setting 2025-04-30 11:28:19 +02:00
Nacho Codoñer
b56957ea84 Merge pull request #13708 from meteor/3.3-docs
Meteor 3.3 & Bundler Docs
2025-04-30 11:05:53 +02:00
Nacho Codoñer
f13a56a284 support filename references in source maps during SWC compilation to improve debugging 2025-04-30 09:16:18 +02:00
Nacho Codoñer
4a89a7fc0c support filename references in source maps during SWC compilation to improve debugging 2025-04-30 09:16:06 +02:00
Welkin Wong
14a35d449f fix: handle all-zero versions in modern browser detection (#13712) 2025-04-28 06:51:53 -03:00
Nacho Codoñer
ee93b1e978 Merge pull request #13711 from meteor/favor-reify-transpile
Favor Reify transpile in SWC all time
2025-04-26 08:00:07 +02:00
Welkin Wong
43af635d1b Bump mongodb dependency to version 6.16.0 in npm-mongo package (#13710) 2025-04-25 15:55:09 -03:00
Nacho Codoñer
7e49bca0e8 favor reify transpile all time 2025-04-25 20:01:03 +02:00
Nacho Codoñer
7460064bf3 allow .swcrc override jsc.parser values 2025-04-24 14:10:21 +02:00
italo jose
2f7bb724a9 Meteor version to 3.3-beta.0 ☄️ 2025-04-15 12:13:32 -03:00
Nacho Codoñer
3315cbf752 Merge branch 'release-3.3' into swc-replacement 2025-04-15 11:16:52 +02:00
Nacho Codoñer
dc7003d62b Merge pull request #13677 from harryadel/feature/add-replace-email-utility
Add Accounts.replaceEmailAsync
2025-04-14 13:34:24 +02:00
Nacho Codoñer
704dfc4ef6 Merge pull request #13692 from welkinwong/fix-callasync-typescript
DEV: Enhance type definitions for Meteor methods
2025-04-14 10:17:04 +02:00