Skip to content

Commit e6f41b1

Browse files
committed
chore: update changelog and version
chore: update changelog and version
1 parent cc9cb4d commit e6f41b1

File tree

3 files changed

+7
-265
lines changed

3 files changed

+7
-265
lines changed

CHANGELOG.md

+5-263
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Breaking changes
11+
12+
- More flexible `Memory` ([#246](https://github.com/screepers/typed-screeps/pull/246))
13+
1014
### Added
1115

1216
- Add type inference for params in filter callbacks ([#221](https://github.com/screepers/typed-screeps/pull/221))
@@ -168,266 +172,4 @@ This version was pushed by DefinitelyTyped maintainers, not present in this repo
168172

169173
### Added
170174

171-
- Add missing halt command to CPU ([#141](https://github.com/screepers/typed-screeps/pull/141))
172-
- Add market price history and other updates ([#138](https://github.com/screepers/typed-screeps/pull/138))
173-
- Add support for 'Natural Effects' on RoomObjects ([#135](https://github.com/screepers/typed-screeps/pull/135))
174-
- Add support for Factories, Ruins, Deposits, and Strongholds ([#132](https://github.com/screepers/typed-screeps/pull/132))
175-
176-
### Changed
177-
178-
- Retype constants with same named types ([#143](https://github.com/screepers/typed-screeps/pull/143)), ([#147](https://github.com/screepers/typed-screeps/pull/147))
179-
- Update StoreDefinition ([#130](https://github.com/screepers/typed-screeps/pull/130))
180-
- Explicitly type game object Ids ([#139](https://github.com/screepers/typed-screeps/pull/139))
181-
182-
### Fixed
183-
184-
- Updated dependencies ([#133](https://github.com/screepers/typed-screeps/pull/133)), ([#134](https://github.com/screepers/typed-screeps/pull/134))
185-
186-
### Deprecated
187-
188-
- Deprecated use of string typed ids to get game objects ([#144](https://github.com/screepers/typed-screeps/pull/144))
189-
- Deprecated `creep.carry` ([#130](https://github.com/screepers/typed-screeps/pull/130))
190-
191-
### Removed
192-
193-
- Remove deprecated FIND_DROPPED_ENERGY constant ([#129](https://github.com/screepers/typed-screeps/pull/129))
194-
195-
## [2.5.4] - 2019-05-12
196-
197-
### Added
198-
199-
- Add support for `PowerCreep`, `InterShardMemory` and an `AnyCreep` union ([#117](https://github.com/screepers/typed-screeps/pull/118))
200-
201-
## [2.5.3] - 2018-12-27
202-
203-
### Fixed
204-
205-
- Add missing properties to FindPathOpts (#106)
206-
207-
### Changed
208-
209-
- Change `EventType` to an interface with a type argument (#110)
210-
211-
## [2.5.2] - 2018-11-09
212-
213-
### Added
214-
215-
- Implements `Room.Terrain` and `room.getTerrain()` ([#103](https://github.com/screepers/typed-screeps/pull/103))
216-
217-
## [2.5.1] - 2018-10-11
218-
219-
### Fixed
220-
221-
- Fix definition of `RawMemory.segments`. ([#91](https://github.com/screepers/typed-screeps/pull/91))
222-
- Fixed incorrect definition of `getEventLog()`. ([#101](https://github.com/screepers/typed-screeps/pull/101))
223-
224-
## [2.5.0] - 2018-10-04
225-
226-
### Added
227-
228-
- Added `getRoomTerrain` ([#98](https://github.com/screepers/typed-screeps/pull/98))
229-
- Added WIP types for `room.eventLog` ([#88](https://github.com/screepers/typed-screeps/pull/88))
230-
- Added missing safemode/downgrade constants ([#96](https://github.com/screepers/typed-screeps/pull/96))
231-
232-
### Changed
233-
234-
- `filterOptions` Revamp ([#87](https://github.com/screepers/typed-screeps/pull/87))
235-
236-
## [2.4.1] - 2018-08-24
237-
238-
### Added
239-
240-
- Added `INVADERS_ENERGY_GOAL` ([#83](https://github.com/screepers/typed-screeps/pull/83))
241-
242-
### Changed
243-
244-
- Update CREEP_CLAIM_LIFE_TIME to match with Screeps 2018-03-05 update ([#84](https://github.com/screepers/typed-screeps/pull/84))
245-
246-
## [2.4.0] - 2018-06-24
247-
248-
### Added
249-
250-
- Add inter-shard portals ([#74](https://github.com/screepers/typed-screeps/pull/74))
251-
252-
### Changed
253-
254-
- The findClosestBy\* functions potentially return null ([#69](https://github.com/screepers/typed-screeps/pull/69))
255-
256-
### Fixed
257-
258-
- Various improvements by @pmoehl (thank you!)
259-
- Fix type of StructureLab.mineralType ([#73](https://github.com/screepers/typed-screeps/pull/73))
260-
- Fix result type of Room.lookAtArea ([#75](https://github.com/screepers/typed-screeps/pull/75))
261-
- Add subscription token as market resource types ([#76](https://github.com/screepers/typed-screeps/pull/76))
262-
- Spawn options +directions ([#77](https://github.com/screepers/typed-screeps/pull/77))
263-
- Add createConstructionSite name parameter ([#78](https://github.com/screepers/typed-screeps/pull/78))
264-
- Updated Tombstone docs ([#79](https://github.com/screepers/typed-screeps/pull/79))
265-
- Improve exit typings ([#80](https://github.com/screepers/typed-screeps/pull/80))
266-
- Fixed missing Constructor extends declarations ([#71](https://github.com/screepers/typed-screeps/pull/71))
267-
- Fixed createFlag method return type to include string ([#72](https://github.com/screepers/typed-screeps/pull/72))
268-
- claimController() uses GCL, not RCL ([#81](https://github.com/screepers/typed-screeps/pull/81))
269-
270-
## [2.3.0] - 2018-04-16
271-
272-
### Added
273-
274-
- `TERMINAL_COOLDOWN` constant ([#64](https://github.com/screepers/typed-screeps/pull/64))
275-
- Better tombstone support ([#60](https://github.com/screepers/typed-screeps/pull/60))
276-
277-
### Fixed
278-
279-
- Declare `Game` with `var` instead of `let` ([#62](https://github.com/screepers/typed-screeps/pull/62))
280-
- `ERR_NOT_ENOUGH_RESOURCES` missing in return codes for creep build action ([#66](https://github.com/screepers/typed-screeps/pull/66))
281-
282-
## [2.2.2] - 2018-03-17
283-
284-
### Added
285-
286-
- Added IVM typings ([#55](https://github.com/screepers/typed-screeps/pull/55))
287-
- Added Tombstone typings ([#48](https://github.com/screepers/typed-screeps/pull/48))
288-
289-
### Fixed
290-
291-
- Fixed some DefinitelyTyped linting errors ([#54](https://github.com/screepers/typed-screeps/pull/54))
292-
293-
## [2.2.1] - 2018-03-09
294-
295-
### Added
296-
297-
- Added `StructureSpawn.Spawning` ([#52](https://github.com/screepers/typed-screeps/pull/52))
298-
299-
### Changed
300-
301-
- Changed `StructureLab.mineralType` from `MineralConstant` to `_ResourceConstantSansEnergy | undefined`. ([#49](https://github.com/screepers/typed-screeps/pull/49))
302-
303-
### Fixed
304-
305-
- `RESOURCE_CATALYZED_ZYNTHIUM_ALKALIDE` has a typo ([#51](https://github.com/screepers/typed-screeps/pull/51))
306-
307-
## [2.2.0] - 2018-01-26
308-
309-
### Added
310-
311-
- Added missing constants: `EXTRACTOR_COOLDOWN`, `SYSTEM_USERNAME` ([#34](https://github.com/screepers/typed-screeps/pull/34))
312-
- Added missing `ScreepsReturnCode` definition: `ERR_NAME_EXISTS` ([#44](https://github.com/screepers/typed-screeps/pull/44))
313-
314-
### Removed
315-
316-
- Remove `FIND_DROPPED_ENERGY` ([#39](https://github.com/screepers/typed-screeps/pull/39) [#40](https://github.com/screepers/typed-screeps/pull/40))
317-
318-
### Fixed
319-
320-
- `Creep.attackController()` returns `ERR_TIRED` if the controller has upgrade blocked ([#32](https://github.com/screepers/typed-screeps/pull/32))
321-
- `PowerBank`s are considered to be owned structures (and are owned by "Power Bank") ([#33](https://github.com/screepers/typed-screeps/pull/33))
322-
- Allow `creep.ticksToLive` to be undefined ([#36](https://github.com/screepers/typed-screeps/pull/36))
323-
- Fixes for `PathFinder.search`, `LookAtTypes` ([#41](https://github.com/screepers/typed-screeps/pull/41), [#47](https://github.com/screepers/typed-screeps/pull/47))
324-
325-
## [2.1.0] - 2017-12-22
326-
327-
### Changed
328-
329-
- Restuctured project for DefinitelyTyped publishing ([#24](https://github.com/screepers/typed-screeps/pull/24))
330-
331-
### Fixed
332-
333-
- Allow `Game` interface to be extended ([#29](https://github.com/screepers/typed-screeps/pull/29))
334-
- Allow controller sign + reservation to be undefined ([#28](https://github.com/screepers/typed-screeps/pull/28))
335-
336-
## [2.0.1] - 2017-12-13
337-
338-
### Fixed
339-
340-
- Reduce package size when installing via npm ([#25](https://github.com/screepers/typed-screeps/pull/25))
341-
342-
## [2.0.0] - 2017-12-05
343-
344-
### Added
345-
346-
- Added contributing guidelines and Issue/PR templates ([#18](https://github.com/screepers/typed-screeps/pull/18))
347-
- Added CI tests (thanks, [@Arcath](https://github.com/Arcath)!)
348-
- [Constants] Added `BuildableStructureConstant`, which is a subset of `StructureConstant` ([#17](https://github.com/screepers/typed-screeps/pull/17))
349-
350-
### Changed
351-
352-
- Improved build tooling around compiling scripts and running tests.
353-
- [Room][roomposition] Improved generic-based overloads for `.find*()`, `lookAt()`, and `lookForAt()` functions ([#14](https://github.com/screepers/typed-screeps/pull/14), [#19](https://github.com/screepers/typed-screeps/pull/19))
354-
- [Constants] `OBSTACLE_OBJECT_TYPES` are now strictly defined ([#17](https://github.com/screepers/typed-screeps/pull/17))
355-
356-
### Fixed
357-
358-
- [RawMemory] On `setActiveForeignSegment`, id should be optional. ([commit](https://github.com/screepers/typed-screeps/pull/16/commits/9aa7e3efe457f5500cd0eb6a76804bff657db1db))
359-
360-
## [1.0.4] - 2017-11-09
361-
362-
### Added
363-
364-
- Added `Game.resources`
365-
- Added `Game.map.getWorldSize()`
366-
- Added `RawMemory.interShardSegment`
367-
368-
### Deprecated
369-
370-
- Deprecated `spawn.canCreateCreep(body, [name])`
371-
- Deprecated `spawn.createCreep(body, [name], [memory])`
372-
- Deprecated `spawn.transferEnergy(target, [amount])`
373-
- Deprecated `PathFinder.use(isEnabled)`
374-
375-
## [1.0.3] - 2017-11-05
376-
377-
### Fixed
378-
379-
- Emergency patch to fix mismatched `STRUCTURE_WALL` constant.
380-
381-
## [1.0.2] - 2017-11-05
382-
383-
### Added
384-
385-
- Added `Game.cpu.setShardLimits(limits)`
386-
387-
### Fixed
388-
389-
- [Constants] `STRUCTURE_WALL` should be `'constructedWall'`, not `'wall'`
390-
391-
## [1.0.1] - 2017-11-05
392-
393-
### Changed
394-
395-
- Added forgotten documentation material from v1.0.0
396-
397-
## 1.0.0 - 2017-11-05
398-
399-
### Added
400-
401-
- Initial public `npm` release.
402-
403-
[unreleased]: https://github.com/screepers/typed-screeps/compare/v3.3.1...HEAD
404-
[3.3.1]: https://github.com/screepers/typed-screeps/compare/v3.3.0...v3.3.1
405-
[3.3.0]: https://github.com/screepers/typed-screeps/compare/v3.2.4...v3.3.0
406-
[3.2.4]: https://github.com/screepers/typed-screeps/compare/v3.2.2...v3.2.4
407-
[3.2.2]: https://github.com/screepers/typed-screeps/compare/v3.2.1...v3.2.2
408-
[3.2.1]: https://github.com/screepers/typed-screeps/compare/v3.2.0...v3.2.1
409-
[3.2.0]: https://github.com/screepers/typed-screeps/compare/v3.1.3...v3.2.0
410-
[3.1.3]: https://github.com/screepers/typed-screeps/compare/v3.1.2...v3.1.3
411-
[3.1.2]: https://github.com/screepers/typed-screeps/compare/v3.1.1...v3.1.2
412-
[3.1.1]: https://github.com/screepers/typed-screeps/compare/v3.1.0...v3.1.1
413-
[3.1.0]: https://github.com/screepers/typed-screeps/compare/v3.0.1...v3.1.0
414-
[3.0.1]: https://github.com/screepers/typed-screeps/compare/v3.0.0...v3.0.1
415-
[3.0.0]: https://github.com/screepers/typed-screeps/compare/v2.5.4...v3.0.0
416-
[2.5.4]: https://github.com/screepers/typed-screeps/compare/v2.5.3...v2.5.4
417-
[2.5.3]: https://github.com/screepers/typed-screeps/compare/v2.5.2...v2.5.3
418-
[2.5.2]: https://github.com/screepers/typed-screeps/compare/v2.5.1...v2.5.2
419-
[2.5.1]: https://github.com/screepers/typed-screeps/compare/v2.5.0...v2.5.1
420-
[2.5.0]: https://github.com/screepers/typed-screeps/compare/v2.4.1...v2.5.0
421-
[2.4.1]: https://github.com/screepers/typed-screeps/compare/v2.4.0...v2.4.1
422-
[2.4.0]: https://github.com/screepers/typed-screeps/compare/v2.3.0...v2.4.0
423-
[2.3.0]: https://github.com/screepers/typed-screeps/compare/v2.2.2...v2.3.0
424-
[2.2.2]: https://github.com/screepers/typed-screeps/compare/v2.2.1...v2.2.2
425-
[2.2.1]: https://github.com/screepers/typed-screeps/compare/v2.2.0...v2.2.1
426-
[2.2.0]: https://github.com/screepers/typed-screeps/compare/v2.1.0...v2.2.0
427-
[2.1.0]: https://github.com/screepers/typed-screeps/compare/v2.0.1...v2.1.0
428-
[2.0.1]: https://github.com/screepers/typed-screeps/compare/v2.0.0...v2.0.1
429-
[2.0.0]: https://github.com/screepers/typed-screeps/compare/v1.0.4...v2.0.0
430-
[1.0.4]: https://github.com/screepers/typed-screeps/compare/v1.0.3...v1.0.4
431-
[1.0.3]: https://github.com/screepers/typed-screeps/compare/v1.0.2...v1.0.3
432-
[1.0.2]: https://github.com/screepers/typed-screeps/compare/v1.0.1...v1.0.2
433-
[1.0.1]: https://github.com/screepers/typed-screeps/compare/v1.0.0...v1.0.1
175+
- Add missing halt command to CPU ([#141](https://github.co

dist/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Screeps 3.3.3
1+
// Type definitions for Screeps 4.0.0
22
// Project: https://github.com/screeps/screeps
33
// Definitions by: Nhan Ho <https://github.com/NhanHo>
44
// Bryan <https://github.com/bryanbecker>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "typed-screeps",
3-
"version": "3.3.3",
3+
"version": "4.0.0",
44
"description": "Strong TypeScript declarations for the game Screeps.",
55
"repository": "screepers/typed-screeps",
66
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)