Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/react-meteor-data/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# CHANGELOG

## v4.1.0-beta.0, 2026-07-20
* Add compatibility with the `typescript@6.x` Meteor package so the package can
be used on Meteor releases built against TypeScript 6 (see
[meteor/meteor#14560](https://github.com/meteor/meteor/pull/14560)). The
supported `typescript` range is now set explicitly in `package.js` because
TypeScript 6 is not yet part of a published release and can't be pulled in
through `api.versionsFrom`.

## v4.0.1, 2026-1-30

* Fix performance issues with suspense trackers for stability and performance. [PR#455](https://github.com/meteor/react-packages/pull/455) and [PR#458](https://github.com/meteor/react-packages/pull/458)
Expand Down
16 changes: 13 additions & 3 deletions packages/react-meteor-data/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Package.describe({
name: 'react-meteor-data',
summary: 'React hook for reactively tracking Meteor data',
version: '4.0.1',
version: '4.1.0-beta.0',
documentation: 'README.md',
git: 'https://github.com/meteor/react-packages'
})
Expand All @@ -12,18 +12,28 @@ Npm.depends({
'fast-equals': '5.2.2'
})

// Supported versions of the `typescript` Meteor package. This is set
// explicitly instead of being derived from `api.versionsFrom` because
// TypeScript 6.x is not yet part of any published Meteor release, so it can't
// be pulled in through `versionsFrom`. The 3.7.0/4.1.2/4.3.2/5.4.3 entries
// mirror the typescript versions shipped by the releases listed in
// `versionsFrom` below; 6.0.0 adds compatibility with releases on TypeScript 6
// (see meteor/meteor#14560).
const TYPESCRIPT_VERSIONS = 'typescript@3.7.0 || 4.1.2 || 4.3.2 || 5.4.3 || 6.0.0'

Package.onUse((api) => {
api.versionsFrom(['1.8.2', '1.12', '2.0', '2.3', '3.0'])
api.use('tracker')
api.use('ecmascript')
api.use('typescript')
api.use(TYPESCRIPT_VERSIONS)
api.use('zodern:types@1.0.13', 'server')

api.mainModule('index.ts', ['client', 'server'], { lazy: true })
})

Package.onTest((api) => {
api.use(['ecmascript', 'typescript', 'reactive-dict', 'reactive-var', 'tracker', 'tinytest', 'underscore', 'mongo'])
api.use(['ecmascript', 'reactive-dict', 'reactive-var', 'tracker', 'tinytest', 'underscore', 'mongo'])
api.use(TYPESCRIPT_VERSIONS)
api.use('test-helpers')
api.use('react-meteor-data')
api.use('jquery@3.0.0', 'client');
Expand Down
Loading